Skip to content

Instantly share code, notes, and snippets.

@degski
Last active May 6, 2019 13:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save degski/e3717cc9c432d5f15564e334912d5bf7 to your computer and use it in GitHub Desktop.
Save degski/e3717cc9c432d5f15564e334912d5bf7 to your computer and use it in GitHub Desktop.
Clang bug 41745-3
1>Stack dump:
1>0. Program arguments: C:\Program Files\LLVM\bin\clang-cl.exe -cc1 -triple x86_64-pc-windows-msvc19.16.27030 -emit-obj -mincremental-linker-compatible -disable-free -main-file-name main.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix -relaxed-aliasing -menable-no-infs -menable-no-nans -menable-unsafe-fp-math -fno-signed-zeros -mreassociate -freciprocal-math -fno-trapping-math -ffp-contract=fast -ffast-math -ffinite-math-only -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu haswell -mllvm -x86-asm-syntax=intel -D_MT -flto-visibility-public-std --dependent-lib=libcmt --dependent-lib=oldnames -stack-protector 2 -fcxx-exceptions -fexceptions -fexternc-nounwind -fms-volatile -fdefault-calling-conv=cdecl -fdiagnostics-format msvc -dwarf-column-info -momit-leaf-frame-pointer -ffunction-sections -coverage-notes-file Y:\REPOS\gmp_random\gmp_random\main.gcno -resource-dir C:\Program Files\LLVM\lib\clang\9.0.0 -I y:\vcpkg\installed\x64-windows-static\include -D WIN64 -D NDEBUG -D _CONSOLE -D NOMINMAX -D MPPP_BUILD_STATIC_LIBRARY -D MPPP_STATIC -D MPPP_PUBLIC= -D _UNICODE -D UNICODE -internal-isystem C:\Program Files\LLVM\lib\clang\9.0.0\include -internal-isystem y:\vc\x64\include -internal-isystem y:\vc\x64 -internal-isystem C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include -internal-isystem C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\atlmfc\include -internal-isystem C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\VS\include -internal-isystem C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt -internal-isystem C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\um -internal-isystem C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\shared -internal-isystem C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\winrt -internal-isystem C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\cppwinrt -internal-isystem Include\um -O2 -Wall -Wno-error -fdeprecated-macro -fdebug-compilation-dir Y:\REPOS\gmp_random\gmp_random -ferror-limit 19 -fmessage-length 0 -fno-use-cxa-atexit -fms-extensions -fms-compatibility -fms-compatibility-version=19.16.27030 -std=c++17 -fdelayed-template-parsing -fobjc-runtime=gcc -fno-caret-diagnostics -fdiagnostics-show-option -fno-show-column -vectorize-loops -vectorize-slp -o Y:\REPOS\gmp_random\x64\Release\main.obj -x c++ main.cpp -faddrsig
1>1. y:\vcpkg\installed\x64-windows-static\include\mp++/integer.hpp:2841:59: current parser token ';'
1>2. y:\vcpkg\installed\x64-windows-static\include\mp++/integer.hpp:2839:5: parsing function body 'mppp::integer::binary_load'
1>3. y:\vcpkg\installed\x64-windows-static\include\mp++/integer.hpp:2839:5: in compound statement ('{}')
1>0x00007FF6E2F82E66 (0x0000000000000016 0x00007FF6E2F82E60 0x0000001000000000 0x00007FFCEEC8A510)
1>0x00007FFCEEC0DA2D (0x0000000000000901 0x00007FF600000000 0x000000000000092B 0x00007FF6E656C93E), raise() + 0x1DD bytes(s)
1>0x00007FFCEEC0E901 (0x00007FFC00000003 0x00007FFC00000003 0x00007FF6E656C93E 0x00007FF6E656C430), abort() + 0x31 bytes(s)
1>0x00007FFCEEC10261 (0x000000000000092B 0x00007FF6E656C93E 0x0000001027D87A70 0x0000000000000010), _get_wpgmptr() + 0x18A1 bytes(s)
1>0x00007FFCEEC10591 (0x0000016D778403F8 0x0000000000000000 0x0000016D7783F940 0x0000016D7783F940), _wassert() + 0x71 bytes(s)
1>0x00007FF6E4D90595 (0x0000016D00000000 0x00007FF6E4D83A7C 0x0000016D77826C70 0x0000000000000000)
1>0x00007FF6E45BCE19 (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000)
1>0x00007FF6E46C7098 (0x0000000000000000 0x00000000E4900023 0x0000016D77825830 0x00007FF6E4E101DD)
1>0x00007FF6E46C61BD (0x0000000000000013 0x0000016D70F20090 0x0000016D7099E8B0 0x0000001027D8BC08)
1>0x00007FF6E447111B (0x0000016D001347A5 0x0000000000000000 0x0000016D77822DE0 0x0000016D7736C990)
1>0x00007FF6E446E65C (0x0000000000000000 0x00007FF6E532DE1C 0x00007FFCEEC10520 0x0000001027D8C7C0)
1>0x00007FF6E4468EFB (0xFFFFFFFFFFFFFFF8 0x0000001027D8C854 0x00000000004ECFF7 0x0000016D7096A260)
1>0x00007FF6E446898D (0x00000000000038E3 0x00007FF6E316D2DB 0x0000016D7096A260 0x0000000000000010)
1>0x00007FF6E44A6E8B (0x0000016D77826888 0x0100000000134790 0x0000FAC1BC6F388B 0x0000016D7096A200)
1>0x00007FF6E44A689F (0x0000001000000003 0x0000016D712AE730 0x0000016D75914668 0x0000016D709949B0)
1>0x00007FF6E44B0107 (0x0000000000000026 0x0000016D759146B0 0x00007FF6E50D6494 0x0000000000000000)
1>0x00007FF6E44B0D84 (0x0000000000000002 0x00007FFCF259267D 0x0000016D709EDA90 0x00007FFCF259267D)
1>0x00007FF6E443FB39 (0x0000000100000000 0x0000FAC100000000 0x0000000000000000 0x0000000000000000)
1>0x00007FF6E4BBB07B (0x0000000000000001 0x00007FF6E460EE8C 0x0000000000000000 0x0000016D70F20400)
1>0x00007FF6E4BBEB9D (0x0000000000000000 0x0000001027D8D4C8 0x0000000400000000 0x0000000000000001)
1>0x00007FF6E45213D5 (0x0000016D70936400 0x00007FF6E531DDEC 0x0000016D70F20090 0x0000000000000000)
1>0x00007FF6E441DF32 (0x0000000000000000 0x00007FF6E36D67FF 0x00007FF6E5F93DC6 0x0000000000000004)
1>0x00007FF6E441A0F9 (0x0000000000000000 0x0000000000000000 0x0000FAC1BC6F249B 0x0000016D709202F0)
1>0x00007FF6E371D330 (0x0000016D7093D380 0x00007FF6E532A023 0x00000000000000C0 0x0000016D7099FAE0)
1>0x00007FF6E36D9DAF (0x00007FF6E532E901 0x0000000000000000 0x0000000000000000 0x000000000000007B)
1>0x00007FF6E377E4B5 (0x0000000000000000 0x0000016D709749A0 0x0000000000001801 0x0000000000000000)
1>0x00007FF6E1357284 (0x00000000000006A6 0x0000000000000000 0x0000000019000019 0x00000000000006B0)
1>0x00007FF6E1354715 (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000)
1>0x00007FF6E532A248 (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000)
1>0x00007FFCF2437974 (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000), BaseThreadInitThunk() + 0x14 bytes(s)
1>0x00007FFCF25EA271 (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000), RtlUserThreadStart() + 0x21 bytes(s)
1>clang-cl : error : clang frontend command failed due to signal (use -v to see invocation)
1>clang version 9.0.0 (trunk)
1>Target: x86_64-pc-windows-msvc
1>Thread model: posix
1>InstalledDir: C:\Program Files\LLVM\bin
1>clang-cl: note: diagnostic msg: PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
1>clang-cl: note: diagnostic msg:
1>********************
1>
1>PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
1>Preprocessed source(s) and associated run script(s) are located at:
1>clang-cl: note: diagnostic msg: C:\Users\x\AppData\Local\Temp\main-469827.cpp
1>clang-cl: note: diagnostic msg: C:\Users\x\AppData\Local\Temp\main-469827.sh
1>clang-cl: note: diagnostic msg:
1>
1>********************
1>Done building project "gmp_random.vcxproj" -- FAILED.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment