| Issue |
173350
|
| Summary |
[LLVM/Support][Windows] Flaky CRT assert in unittests
|
| Labels |
test-suite,
llvm:support
|
| Assignees |
|
| Reporter |
slydiman
|
Probably sometimes CRT receives an invalid handle to a stream or file while destroying the test environment at the end.
https://lab.llvm.org/buildbot/#/builders/54/builds/14979
https://lab.llvm.org/buildbot/#/builders/54/builds/15135
https://lab.llvm.org/buildbot/#/builders/54/builds/15309
```
******************** TEST 'LLVM-Unit :: Support/./SupportTests.exe/86/209' FAILED ********************
Script(shard):
--
GTEST_OUTPUT=json:C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\build\unittests\Support\.\SupportTests.exe-LLVM-Unit-34608-86-209.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=209 GTEST_SHARD_INDEX=86 C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\build\unittests\Support\.\SupportTests.exe
--
Note: This is test shard 87 of 209.
[==========] Running 8 tests from 8 test suites.
[----------] Global test environment set-up.
[----------] 1 test from BinaryStreamTest
[ RUN ] BinaryStreamTest.StreamReaderIntegers
[ OK ] BinaryStreamTest.StreamReaderIntegers (0 ms)
[----------] 1 test from BinaryStreamTest (0 ms total)
...
[ RUN ] raw_socket_streamTest.CLIENT_TO_SERVER_AND_SERVER_TO_CLIENT
[ OK ] raw_socket_streamTest.CLIENT_TO_SERVER_AND_SERVER_TO_CLIENT (34 ms)
[----------] 1 test from raw_socket_streamTest (34 ms total)
[----------] Global test environment tear-down
[==========] 8 tests from 8 test suites ran. (37 ms total)
[ PASSED ] 8 tests.
Exception Code: 0x80000003
#0 0x00007ff6e2520cb5 (C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\build\unittests\Support\SupportTests.exe+0x5b0cb5)
#1 0x00007ffe2cafd88d (C:\Windows\System32\ucrtbase.dll+0x6d88d)
#2 0x00007ffe2cafe761 (C:\Windows\System32\ucrtbase.dll+0x6e761)
#3 0x00007ffe2cafde5f (C:\Windows\System32\ucrtbase.dll+0x6de5f)
#4 0x00007ffe2cab0dba (C:\Windows\System32\ucrtbase.dll+0x20dba)
#5 0x00007ffe2cab0d1b (C:\Windows\System32\ucrtbase.dll+0x20d1b)
#6 0x00007ffe2cab0cbe (C:\Windows\System32\ucrtbase.dll+0x20cbe)
#7 0x00007ff6e2629323 (C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\build\unittests\Support\SupportTests.exe+0x6b9323)
#8 0x00007ffe2de97ac4 (C:\Windows\System32\KERNEL32.DLL+0x17ac4)
#9 0x00007ffe3075a8c1 (C:\Windows\SYSTEM32\ntdll.dll+0x5a8c1)
--
exit: 2147483651
--
********************
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs