Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libcxx: Sporadic crash in thread.thread.destr/dtor.pass.cpp #5074

Open
StephanTLavavej opened this issue Nov 10, 2024 · 1 comment
Open

libcxx: Sporadic crash in thread.thread.destr/dtor.pass.cpp #5074

StephanTLavavej opened this issue Nov 10, 2024 · 1 comment
Labels
test Related to test code

Comments

@StephanTLavavej
Copy link
Member

#5073 encountered a sporadic crash in libcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.destr/dtor.pass.cpp.

Test logs, x64:

Build steps:
Command: "C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.42.34430\bin\HostX64\x64\cl.EXE" "D:\a\_work\1\s\llvm-project\libcxx\test\std\thread\thread.threads\thread.thread.class\thread.thread.destr\dtor.pass.cpp" "-ID:\build\out\inc" "-ID:\a\_work\1\s\llvm-project\libcxx\test\support" "/nologo" "/Od" "/W4" "/w14061" "/w14242" "/w14265" "/w14582" "/w14583" "/w14587" "/w14588" "/w14749" "/w14841" "/w14842" "/w15038" "/w15214" "/w15215" "/w15216" "/w15217" "/w15262" "/sdl" "/WX" "/D_ENABLE_STL_INTERNAL_CHECK" "/bigobj" "/EHsc" "/MTd" "/std:c++latest" "/permissive-" "/utf-8" "/FImsvc_stdlib_force_include.h" "/wd4643" "/D_STL_CALL_ABORT_INSTEAD_OF_INVALID_PARAMETER" "/analyze:autolog-" "/Zc:preprocessor" "/wd6262" "-FeD:\build\tests\libcxx\std\thread\thread.threads\thread.thread.class\thread.thread.destr\Output\dtor.pass.cpp.dir\0\dtor.pass.exe" "-link" "-LIBPATH:D:\build\out\lib\amd64" "-LIBPATH:C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.42.34430\lib\x64" "/MANIFEST:EMBED"
Exit Code: 0 (0x0)
Standard Output:
--
dtor.pass.cpp
--

Intellisense response file steps:
Test setup steps:
Test steps:
Test step failed unexpectedly.
Command: "D:\build\tests\libcxx\std\thread\thread.threads\thread.thread.class\thread.thread.destr\Output\dtor.pass.cpp.dir\0\dtor.pass.exe"
Exit Code: 3221225477 (0xC0000005)
@StephanTLavavej StephanTLavavej added the test Related to test code label Nov 10, 2024
@CaseyCarter
Copy link
Member

CaseyCarter commented Nov 11, 2024

Maybe the problem is the data race on n_alive - not likely, but UB is UB - or maybe it's the timing assumption. In either case, we should skip this test case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test Related to test code
Projects
None yet
Development

No branches or pull requests

2 participants