<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/106915>106915</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
clang-cl terminated by signal
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
R-Goc
</td>
</tr>
</table>
<pre>
This is the crash report, as asked by the text. This was a local build of LLVM, from git, around a month ago. Most tests passed after the build, here are the few that didn't:
```
********************
Failed Tests (24):
AddressSanitizer-x86_64-windows-dynamic :: TestCases/Windows/delay_dbghelp.cpp
BOLT :: X86/bolt-address-translation-yaml.test
BOLT :: X86/dwarf4-ftypes-dwp-input-dwo-output.test
BOLT :: X86/end-symbol.test
BOLT :: X86/infer_no_exits.test
BOLT :: X86/is-strip.s
BOLT :: X86/register-fragments-bolt-symbols.s
BOLT :: lsda-section-name.cpp
BOLT :: yaml-profile-kind.c
Clang :: Preprocessor/macro-multiline.c
Clang Tools :: clang-tidy/infrastructure/config-files.cpp
LLVM :: tools/yaml2obj/ELF/header-elfdatanone.yaml
ORC-x86_64-windows :: TestCases/Windows/x86-64/hello-world.c
ORC-x86_64-windows :: TestCases/Windows/x86-64/hello-world.cpp
ORC-x86_64-windows :: TestCases/Windows/x86-64/priority-static-initializer-three.c
ORC-x86_64-windows :: TestCases/Windows/x86-64/priority-static-initializer.c
ORC-x86_64-windows :: TestCases/Windows/x86-64/sehframe-handling.cpp
ORC-x86_64-windows :: TestCases/Windows/x86-64/static-initializer.S
ORC-x86_64-windows :: TestCases/Windows/x86-64/static-initializer.cpp
ORC-x86_64-windows :: TestCases/Windows/x86-64/trivial-atexit.c
ORC-x86_64-windows :: TestCases/Windows/x86-64/trivial-jit-dlopen.c
libFuzzer-x86_64-default-Windows :: fuzzer-implicit-signed-integer-truncation-or-sign-change.test
lit :: shtest-format.py
lldb-shell :: Unwind/windows-unaligned-x86_64.test
Testing Time: 1097.37s
Total Discovered Tests: 110016
Skipped : 365 (0.33%)
Unsupported : 36625 (33.29%)
Passed : 72833 (66.20%)
Passed With Retry: 1 (0.00%)
Expectedly Failed: 163 (0.15%)
Timed Out : 5 (0.00%)
Failed : 24 (0.02%)
14 warning(s) in tests
```
Crash text:
```
[159/2484] Building CXX object 3rdparty\protobuf\CMakeFiles\libprotobuf.dir\src\google\protobuf\descriptor.cc.obj
FAILED: 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/descriptor.cc.obj
sccache C:\Users\rysza\bin\LLVM\bin\clang-cl.exe /nologo -TP -D_CRT_SECURE_NO_WARNINGS=1 -D_VARIADIC_MAX=10 -D_WIN32_WINNT=0x0601 -IC:\Users\rysza\lib\opencv\build\3rdparty\ippicv\ippicv_win\icv\include -IC:\Users\rysza\lib\opencv\build\3rdparty\ippicv\ippicv_win\iw\include -IC:\Users\rysza\lib\opencv\build -imsvcC:\Users\rysza\lib\opencv\3rdparty\protobuf\src -imsvc"C:\Program Files (x86)\Intel\oneAPI\mkl\latest\include" /DWIN32 /D_WINDOWS /W3 /GR /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _SCL_SECURE_NO_WARNINGS /Gy /bigobj /Oi /fp:precise -W -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winconsistent-missing-override -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-comment -Wno-deprecated-enum-enum-conversion -Wno-deprecated-anon-enum-enum-conversion -Wno-long-long -Qunused-arguments /FS -msse3 -mssse3 -msse4.1 -mpopcnt -msse4.2 -mavx -mf16c -mavx2 -mfma /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /wd4819 /wd4244 /wd4267 /wd4018 /wd4355 /wd4800 /wd4251 /wd4996 /wd4146 /wd4305 /wd4127 /wd4100 /wd4512 /wd4125 /wd4389 /wd4510 /wd4610 /wd4702 /wd4456 /wd4457 /wd4065 /wd4310 /wd4661 /wd4506 /wd4701 /wd4703 /wd4505 /O2 /Ob2 /DNDEBUG -DNDEBUG -MD /showIncludes /Fo3rdparty\protobuf\CMakeFiles\libprotobuf.dir\src\google\protobuf\descriptor.cc.obj /Fd3rdparty\lib\libprotobuf.pdb -c -- C:\Users\rysza\lib\opencv\3rdparty\protobuf\src\google\protobuf\descriptor.cc
C:\Users\rysza\lib\opencv\3rdparty\protobuf\src\google\protobuf\descriptor.cc(7905,14): warning: declaration shadows a local variable [-Wshadow]
7905 | Symbol result = file()->pool()->CrossLinkOnDemandHelper(name, true);
| ^
C:\Users\rysza\lib\opencv\3rdparty\protobuf\src\google\protobuf\descriptor.cc(7883,10): note: previous declaration is here
7883 | Symbol result = file()->pool()->CrossLinkOnDemandHelper(
| ^
C:\Users\rysza\lib\opencv\3rdparty\protobuf\src\google\protobuf\descriptor.cc(553,23): warning: unused variable 'bucket_size' [-Wunused-const-variable]
553 | static const size_t bucket_size = 4;
| ^~~~~~~~~~~
C:\Users\rysza\lib\opencv\3rdparty\protobuf\src\google\protobuf\descriptor.cc(554,23): warning: unused variable 'min_buckets' [-Wunused-const-variable]
554 | static const size_t min_buckets = 8;
| ^~~~~~~~~~~
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.Program arguments: C:\\Users\\rysza\\bin\\LLVM\\bin\\clang-cl.exe -c -Fo3rdparty\\protobuf\\CMakeFiles\\libprotobuf.dir\\src\\google\\protobuf\\descriptor.cc.obj -D_CRT_SECURE_NO_WARNINGS=1 -D_VARIADIC_MAX=10 -D_WIN32_WINNT=0x0601 -IC:\\Users\\rysza\\lib\\opencv\\build\\3rdparty\\ippicv\\ippicv_win\\icv\\include -IC:\\Users\\rysza\\lib\\opencv\\build\\3rdparty\\ippicv\\ippicv_win\\iw\\include -IC:\\Users\\rysza\\lib\\opencv\\build -imsvcC:\\Users\\rysza\\lib\\opencv\\3rdparty\\protobuf\\src "-imsvcC:\\Program Files (x86)\\Intel\\oneAPI\\mkl\\latest\\include" /DWIN32 /D_WINDOWS /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE /D_SCL_SECURE_NO_WARNINGS /DNDEBUG -DNDEBUG /showIncludes /nologo -TP /W3 /GR /Gy /bigobj /Oi /fp:precise -W -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winconsistent-missing-override -Wno-delete-non-virtual-dtor -Wno-unnamed-type-template-args -Wno-comment -Wno-deprecated-enum-enum-conversion -Wno-deprecated-anon-enum-enum-conversion -Wno-long-long -Qunused-arguments -msse3 -mssse3 -msse4.1 -mpopcnt -msse4.2 -mavx -mf16c -mavx2 -mfma /EHa /wd4127 /wd4251 /wd4324 /wd4275 /wd4512 /wd4589 /wd4819 /wd4244 /wd4267 /wd4018 /wd4355 /wd4800 /wd4251 /wd4996 /wd4146 /wd4305 /wd4127 /wd4100 /wd4512 /wd4125 /wd4389 /wd4510 /wd4610 /wd4702 /wd4456 /wd4457 /wd4065 /wd4310 /wd4661 /wd4506 /wd4701 /wd4703 /wd4505 /O2 /Ob2 -MD /Fd3rdparty\\lib\\libprotobuf.pdb -- C:\\Users\\rysza\\lib\\opencv\\3rdparty\\protobuf\\src\\google\\protobuf\\descriptor.cc
1.<eof> parser at end of file
2.Code generation
3.Running pass 'Function Pass Manager' on module 'C:\Users\rysza\lib\opencv\3rdparty\protobuf\src\google\protobuf\descriptor.cc'.
4.Running pass 'X86 DAG->DAG Instruction Selection' on function '@"?AddPackage@DescriptorBuilder@protobuf@google@@AEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBVMessage@23@PEAVFileDescriptor@23@@Z"'
Exception Code: 0xC0000005
#0 0x00007ff6b6b90025 (C:\Users\rysza\bin\LLVM\bin\clang-cl.exe+0x1620025)
#1 0x00007ff6b6b85c1c (C:\Users\rysza\bin\LLVM\bin\clang-cl.exe+0x1615c1c)
#2 0x00007ff6b5c0036c (C:\Users\rysza\bin\LLVM\bin\clang-cl.exe+0x69036c)
#3 0x00007ff6b6b84ac8 (C:\Users\rysza\bin\LLVM\bin\clang-cl.exe+0x1614ac8)
#4 0x00007ff6b5b491a3 (C:\Users\rysza\bin\LLVM\bin\clang-cl.exe+0x5d91a3)
#5 0x00007ff6b5765e3d (C:\Users\rysza\bin\LLVM\bin\clang-cl.exe+0x1f5e3d)
#6 0x00007ff6b576f403 (C:\Users\rysza\bin\LLVM\bin\clang-cl.exe+0x1ff403)
#7 0x00007ff6b5771896 (C:\Users\rysza\bin\LLVM\bin\clang-cl.exe+0x201896)
#8 0x00007ff6b6415c6b (C:\Users\rysza\bin\LLVM\bin\clang-cl.exe+0xea5c6b)
#9 0x00007ff6b67bb714 (C:\Users\rysza\bin\LLVM\bin\clang-cl.exe+0x124b714)
#10 0x00007ff6b7fea188 (C:\Users\rysza\bin\LLVM\bin\clang-cl.exe+0x2a7a188)
#11 0x00007ff6b66f62b8 (C:\Users\rysza\bin\LLVM\bin\clang-cl.exe+0x11862b8)
#12 0x00007ff6b5a51cbd (C:\Users\rysza\bin\LLVM\bin\clang-cl.exe+0x4e1cbd)
#13 0x00007ff6b55866db (C:\Users\rysza\bin\LLVM\bin\clang-cl.exe+0x166db)
#14 0x00007ff6b5576be7 (C:\Users\rysza\bin\LLVM\bin\clang-cl.exe+0x6be7)
#15 0x00007ff6b6450f4d (C:\Users\rysza\bin\LLVM\bin\clang-cl.exe+0xee0f4d)
#16 0x00007ff6b6450e07 (C:\Users\rysza\bin\LLVM\bin\clang-cl.exe+0xee0e07)
#17 0x00007ff6b5a329b8 (C:\Users\rysza\bin\LLVM\bin\clang-cl.exe+0x4c29b8)
#18 0x00007ff6b5575e98 (C:\Users\rysza\bin\LLVM\bin\clang-cl.exe+0x5e98)
#19 0x00007ff6b55938be (C:\Users\rysza\bin\LLVM\bin\clang-cl.exe+0x238be)
#20 0x00007ff6b9e4b7e0 (C:\Users\rysza\bin\LLVM\bin\clang-cl.exe+0x48db7e0)
#21 0x00007ffed38b257d (C:\Windows\System32\KERNEL32.DLL+0x1257d)
#22 0x00007ffed4c4af28 (C:\Windows\SYSTEM32\ntdll.dll+0x5af28)
clang-cl: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 20.0.0git (https://github.com/llvm/llvm-project.git 4db37a49a72bb9cff7a78e77439008c058383099)
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: C:\Users\rysza\bin\LLVM\bin
clang-cl: note: diagnostic msg:
```
[descriptor-236805.cpp.txt](https://github.com/user-attachments/files/16829888/descriptor-236805.cpp.txt)
[descriptor-236805.sh.txt](https://github.com/user-attachments/files/16829889/descriptor-236805.sh.txt)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzsWsty2zqTfhp6g4KKBK9aeKHokt81ju2xnePMbFwgAUo4JgEOAPpyFvPsUw2SMulLkhMlqan6j8slQUDj-xqNS3eDpMaIreT82Is_ePHqiLZ2p_TxJf6oiqNcsafj650wSBhkdxwVmpod0rxR2npkiahB1NxxhvIn1275o50h1-MB2lClClqhvBUVQ6pEp6d_fIJ-pVY12ooOQ6tWMkRRraTdIbpVM_RJGYssN9aghhrDGaKl5dpxODDouOOaI6q5qy35A7I7ahETTHoktV648PyV5y-8xO__u5_kgH-HsKGi4gxdO_U8kpHII_M9HVowprkxV1QKK_7iGj9myW0S4QchmXowmD1JWosCQY9w4WCW1HDjkc1NJ-KRDeMVfbpl-XbHq2ZWNE0Pjj6cn14PXb9kiUc2uaosph0ptppKU1ErlMRPtK5mYMT3-7IHqssIl_ap4QazhwYL2bQWsweFVWub1n4DgEuGzVOdq28xCVl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