[llvm-bugs] [Bug 45145] New: Clang slowly ate all memory and die
via llvm-bugs
llvm-bugs at lists.llvm.org
Sun Mar 8 12:45:16 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=45145
Bug ID: 45145
Summary: Clang slowly ate all memory and die
Product: clang
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Keywords: crash-on-invalid
Severity: enhancement
Priority: P
Component: -New Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: nok.raven at gmail.com
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
neeilans at live.com, richard-llvm at metafoo.co.uk
Created attachment 23215
--> https://bugs.llvm.org/attachment.cgi?id=23215&action=edit
reproducer and console output
LLVM ERROR: out of memory
Stack dump:
0. Program arguments: G:\LLVM\bin\clang-cl.exe -cc1 -triple
i386-pc-windows-msvc19.24.28316 -emit-obj -mrelax-all
-mincremental-linker-compatible -disable-free -disable-llvm-verifier
-discard-val
ue-names -main-file-name zip_view.cpp -mrelocation-model static -mthread-model
posix -mdisable-fp-elim -relaxed-aliasing -fmath-errno -masm-verbose
-mconstructor-aliases -target-cpu pentium4 -mllvm -x
86-asm-syntax=intel -D_DEBUG -D_MT -D_DLL --dependent-lib=msvcrtd
--dependent-lib=oldnames -stack-protector 2 -fcxx-exceptions -fexceptions
-fms-volatile -fdiagnostics-format msvc -gcodeview -debug-in
fo-kind=limited -coverage-notes-file
C:\Working\Repositories\boost\zip_view.gcno -resource-dir
G:\LLVM\lib\clang\9.0.1 -D BOOST_ALL_NO_LIB=1 -I . -internal-isystem
G:\LLVM\lib\clang\9.0.1\include -int
ernal-isystem C:\Program Files (x86)\Microsoft Visual
Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include -internal-isystem
C:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt -intern
al-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\um -internal-isystem C:\Program Files (x86)\
Windows Kits\10\include\10.0.17763.0\winrt -O0 -Wall -fdeprecated-macro
-fdebug-compilation-dir C:\Working\Repositories\boost -ferror-limit 19
-fmessage-length 0 -fno-use-cxa-atexit -fms-extensions -f
ms-compatibility -fms-compatibility-version=19.24.28316 -std=c++14
-fdelayed-template-parsing -fno-inline -fobjc-runtime=gcc
-fdiagnostics-show-option -faddrsig -o bin.v2\libs\mpl\test\zip_view.test\c
lang-win-9.0.1\debug\threading-multi\zip_view.obj -x c++
libs\mpl\test\zip_view.cpp
1. libs\mpl\test\zip_view.cpp:38:5
<Spelling=.\boost/mpl/assert.hpp:264:32>: current parser token ','
2. libs\mpl\test\zip_view.cpp:32:1: parsing function body 'test31'
3. libs\mpl\test\zip_view.cpp:32:1: in compound statement ('{}')
0x0000000140FC90C6 (0x0000000000000016 0x000007FEE0DF8741 0x0000001B00000000
0x000000014246FE62)
0x000007FEE0E4A9FF (0x0000000000000001 0x0000000000000000 0x0000000000000014
0x0000000000A39AD0), raise() + 0x1CF bytes(s)
0x000007FEE0E4B6F1 (0x0000000000000003 0x0000000000000003 0x0000000000A39AD0
0x0000000142D5DCE1), abort() + 0x31 bytes(s)
0x0000000140FBCB8D (0x0000000000000014 0x0000000000A39B60 0x0000000142914490
0x000000014291447C)
0x000000013F99158D (0x0000000000000001 0x0000000005C71858 0x0000000005C71850
0x0000000000A3A4C8)
0x00000001428CF668 (0x0000000000A39F28 0x00000001424DFF4C 0x0000000000000030
0x0000EBD203F62070)
0x000000014247B100 (0x0000000002820960 0x0000000000000000 0x0000000000000000
0x0000000000019000)
0x0000000142482F99 (0x0000000000000000 0x0000000000A3AB00 0x0000000000000015
0x0000000002820080)
0x0000000142482206 (0x0000000000A3A4F0 0x00000001429A8652 0x0000000005678800
0x0000000004E93718)
0x000000014247C9F3 (0x0000000005C73090 0x0000000000000000 0x0000000004FE27F8
0x00000001423DB077)
0x000000014247B0C1 (0x0000000280A88153 0x0000000000BC1DB3 0x0000000000000007
0x0000000180A88155)
0x0000000142482F99 (0x0000000000030000 0x0000000880A83EB7 0x0000000005E51210
0x0000000000020005)
0x0000000142482206 (0x0000000000000000 0x0000000000AD0000 0x0000000009250190
0x0000000000000000)
0x000000014247C9F3 (0x0000000000B68BA0 0x0000000100000000 0x0000000000000000
0x0000000142B9B0CE)
0x000000014247B0C1 (0x000000007FFFFFFF 0x0000000002E601B8 0x0000000000000000
0x0000000000000000)
0x0000000142482F99 (0x0000000000000000 0x0000000000000000 0x0000EBD203F614B0
0x0000000000A3B200)
0x0000000142482206 (0x0000000005C70700 0x0000000000A3B750 0x0000000002E601B8
0x0000000000BC6E90)
0x000000014247C9F3 (0x0000000080A88188 0x0000000000000000 0x0000000002E5FEA0
0x0000000000000000)
0x000000014247B0C1 (0x0000000000000000 0x0000000000A3BE00 0x0000000000A3C010
0x0000000000000001)
0x00000001424750AA (0x0000000000A3B9DC 0x000000000000000E 0x0000000005C72DB0
0x0000000142D5A2C3)
0x000000014246FF6A (0x0000000005BB08E0 0x0000000100000000 0x00000000036A5038
0x0000000000000000)
0x00000001424797ED (0x0000000000A3BCF0 0x000002EF00000000 0x0000000077AB3128
0x0000000000000000)
0x0000000142470426 (0x0000000000000000 0x0000000000000000 0x0000000000A3BEF0
0x0000000400000000)
0x000000014246FC2C (0x0000000005BB0878 0x0000000000B8E3F8 0x0000000000A3C040
0x0000000000B67CB0)
0x00000001424517F5 (0x0000000000000000 0x0000EBD203F67BE0 0x0000000000000000
0x0000000000000000)
0x00000001424EAFD5 (0x0000000000000000 0x00000001424DFC0F 0x0000000000000008
0x0000000002820080)
0x0000000142164755 (0x0000000000B85DB0 0x0000000000BC1CD5 0x0000000000000007
0x00000000036599F0)
0x00000001421008C7 (0x0000000000BCE870 0x0000000142B597D0 0x0000000000BC1CD5
0x0000000000A3C510)
0x000000014211BE30 (0x0000000005BB0610 0x0000000005BB0610 0x0000000000000000
0x0000000000000000)
0x0000000142151328 (0x0000000005BB0580 0x0000000005BB0580 0x0000000000000000
0x0000000000000000)
0x0000000142150E4C (0x0000000000B67CB0 0x0000000000A3C7A8 0x00000000000564AF
0x00000001411611CE)
0x0000000142159C69 (0x0000000005C706D8 0x000000014236EB76 0x000000000519E090
0x0000EBD280A88050)
0x000000014215A906 (0x0000000000B67CB0 0x0000000141161907 0x000000007FFFFFFF
0x0000000000A3CBC8)
0x00000001420DDD08 (0x00000000058C7170 0x0000000100A8468F 0x0000EBD203F67760
0x0000000000B4BC00)
0x0000000142121382 (0x0000000000010000 0x00000000007933C2 0x0000EBD203F66CD0
0x0000000000010000)
0x00000001420DD06B (0x00000000050943F0 0x0000000142B5EAA4 0x0000000000A3D860
0x00000000007913FA)
0x00000001420DC9FC (0x0000000000B89860 0x0000000000000000 0x0000000000000000
0x0000000000000000)
0x00000001420DB88C (0x0000000000B87C70 0x0000000142D461DE 0x0000000002820080
0x0000000000000000)
0x00000001420D9DC2 (0x0000000000A3DE08 0x0000000000A3DE18 0x0000000000A3DE48
0x00000001415EB70A)
0x00000001420D5BCE (0x000000000000001F 0x0000EBD203F662A0 0x0000000000000000
0x000000000000000F)
0x000000014162AC52 (0x0000000000B50D80 0x0000000142D5A2C3 0x00000000000000C0
0x0000000000A3DE38)
0x00000001415EE64F (0x0000000000B62101 0x0000000000000000 0x0000000000A3ED01
0x0000000000000000)
0x0000000141681A37 (0x0000000000000282 0x000000000000017E 0x0000000000000000
0x0000000000000000)
0x000000013F976F57 (0x0000000000AD0000 0x0061000000000002 0x0000000077AB3128
0x0000000000000000)
0x000000013F974564 (0x0000000000000000 0x0000000000000000 0x01D5F57C4684595C
0x01D5F57C46847878)
0x0000000142D5A4F0 (0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000)
0x00000000778A556D (0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000), BaseThreadInitThunk() + 0xD bytes(s)
0x0000000077B0372D (0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000)
clang-cl: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 9.0.1
Target: i386-pc-windows-msvc
Thread model: posix
InstalledDir: G:\LLVM\bin
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.
clang-cl: note: diagnostic msg:
********************
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-cl: note: diagnostic msg:
C:\Users\User\AppData\Local\Temp\zip_view-b8f023.cpp
clang-cl: note: diagnostic msg:
C:\Users\User\AppData\Local\Temp\zip_view-b8f023.sh
clang-cl: note: diagnostic msg:
********************
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200308/ba64873d/attachment.html>
More information about the llvm-bugs
mailing list