boostorg / boostorg/python

Boost failed to run libs\python\test on x64 and x86 on release and debug configuration with MSVC on windows

未關閉
#404 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
C++
星號
537
分支
223
平均合併
11 小時 22 分鐘
30 天內合併 PR
2

描述

Hi all,

Boost failed to run libs\python\test on x64 and x86 on release and debug configuration with **MSVC** on windows. it can be reproduced on c368e0b on master branch. Could you please help look at this issue?

**Environment:**
VS 2019 + Windows Server 2019

**Repro steps:**

1. git clone https://github.com/boostorg/boost.git F:\gitP
2. cd F:\gitP\boostorg\boost
3. .\bootstrap 2>&1
4. .\b2 headers variant=debug --build-dir=F:\gitP\boostorg\boost\out\amd64rel address-model=64 2>&1
5. .\b2 variant=debug --build-dir=F:\gitP\boostorg\boost\out\amd64rel address-model=64 2>&1
6. set _CL_=/D_SILENCE_EXPERIMENTAL_FILESYSTEM_DEPRECATION_WARNING
7. set OPENSSL_ROOT=F:\tools\OpenSSL\64
8. set path=F:\tools\OpenSSL\64\bin
9. set path=C:\Python\Python27
10. .\b2 -j16 variant=debug --build-dir=F:\gitP\boostorg\boost\out\amd64rel libs\python\test 2>&1

**Error info:**
[boost_test_debug.log](https://github.com/boostorg/boost/files/10193369/boost_test_debug.log)

F:\gitP\boostorg\boost\out\amd64rel\boost\bin.v2\libs\python\test\exec-dynamic.test\msvc-14.2\debug\python 2.7\threading-multi\exec-dynamic.run
====== BEGIN OUTPUT ======

EXIT STATUS: -1073741819
====== END OUTPUT ======

set Path=C:\Python\Python27;C:\Python\Python27\libs;F:\gitP\boostorg\boost\out\amd64rel\boost\bin.v2\libs\python\build\msvc-14.2\debug\python-2.7\threading-multi;%Path%

set status=0
if %status% NEQ 0 (
echo Skipping test execution due to testing.execute=off
exit 0
)
set PYTHONPATH=C:\Python\Python27/Lib;%PYTHONPATH%
"F:\gitP\boostorg\boost\out\amd64rel\boost\bin.v2\libs\python\test\exec-dynamic.test\msvc-14.2\debug\python-2.7\threading-multi\exec-dynamic.exe" "libs\python\test\exec.py" > "F:\gitP\boostorg\boost\out\amd64rel\boost\bin.v2\libs\python\test\exec-dynamic.test\msvc-14.2\debug\python-2.7\threading-multi\exec-dynamic.output" 2>&1
set status=%ERRORLEVEL%
echo. >> "F:\gitP\boostorg\boost\out\amd64rel\boost\bin.v2\libs\python\test\exec-dynamic.test\msvc-14.2\debug\python-2.7\threading-multi\exec-dynamic.output"
echo EXIT STATUS: %status% >> "F:\gitP\boostorg\boost\out\amd64rel\boost\bin.v2\libs\python\test\exec-dynamic.test\msvc-14.2\debug\python-2.7\threading-multi\exec-dynamic.output"
if %status% EQU 0 (
copy "F:\gitP\boostorg\boost\out\amd64rel\boost\bin.v2\libs\python\test\exec-dynamic.test\msvc-14.2\debug\python-2.7\threading-multi\exec-dynamic.output" "F:\gitP\boostorg\boost\out\amd64rel\boost\bin.v2\libs\python\test\exec-dynamic.test\msvc-14.2\debug\python-2.7\threading-multi\exec-dynamic.run"
)
set verbose=0
if %status% NEQ 0 (
set verbose=1
)
if %verbose% EQU 1 (
echo ====== BEGIN OUTPUT ======
type "F:\gitP\boostorg\boost\out\amd64rel\boost\bin.v2\libs\python\test\exec-dynamic.test\msvc-14.2\debug\python-2.7\threading-multi\exec-dynamic.output"
echo ====== END OUTPUT ======
)
exit %status%

...failed testing.capture-output F:\gitP\boostorg\boost\out\amd64rel\boost\bin.v2\libs\python\test\exec-dynamic.test\msvc-14.2\debug\python-2.7\threading-multi\exec-dynamic.run...

testing.capture-output F:\gitP\boostorg\boost\out\amd64rel\boost\bin.v2\libs\python\test\exec.test\msvc-14.2\debug\python-2.7\threading-multi\exec.run
====== BEGIN OUTPUT ======

EXIT STATUS: -1073741819
====== END OUTPUT ======

set Path=C:\Python\Python27;C:\Python\Python27\libs;%Path%

set status=0
if %status% NEQ 0 (
echo Skipping test execution due to testing.execute=off
exit 0
)
set PYTHONPATH=C:\Python\Python27/Lib;%PYTHONPATH%
"F:\gitP\boostorg\boost\out\amd64rel\boost\bin.v2\libs\python\test\exec.test\msvc-14.2\debug\python-2.7\threading-multi\exec.exe" "libs\python\test\exec.py" > "F:\gitP\boostorg\boost\out\amd64rel\boost\bin.v2\libs\python\test\exec.test\msvc-14.2\debug\python-2.7\threading-multi\exec.output" 2>&1
set status=%ERRORLEVEL%
echo. >> "F:\gitP\boostorg\boost\out\amd64rel\boost\bin.v2\libs\python\test\exec.test\msvc-14.2\debug\python-2.7\threading-multi\exec.output"
echo EXIT STATUS: %status% >> "F:\gitP\boostorg\boost\out\amd64rel\boost\bin.v2\libs\python\test\exec.test\msvc-14.2\debug\python-2.7\threading-multi\exec.output"
if %status% EQU 0 (
copy "F:\gitP\boostorg\boost\out\amd64rel\boost\bin.v2\libs\python\test\exec.test\msvc-14.2\debug\python-2.7\threading-multi\exec.output" "F:\gitP\boostorg\boost\out\amd64rel\boost\bin.v2\libs\python\test\exec.test\msvc-14.2\debug\python-2.7\threading-multi\exec.run"
)
set verbose=0
if %status% NEQ 0 (
set verbose=1
)
if %verbose% EQU 1 (
echo ====== BEGIN OUTPUT ======
type "F:\gitP\boostorg\boost\out\amd64rel\boost\bin.v2\libs\python\test\exec.test\msvc-14.2\debug\python-2.7\threading-multi\exec.output"
echo ====== END OUTPUT ======
)
exit %status%

...failed testing.capture-output F:\gitP\boostorg\boost\out\amd64rel\boost\bin.v2\libs\python\test\exec.test\msvc-14.2\debug\python-2.7\threading-multi\exec.run...

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

Reproduce the failure from the listed Boost.Python commands, focusing on libs\python\test and the exec.py test cases. Inspect boost_test_debug.log and the failing exec.exe and exec-dynamic.exe runs; done means the Python tests pass for x64 and x86 in both debug and release configurations with MSVC on Windows.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
cpp, python
領域
build-system, operating-systems, testing
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。