[llvm-bugs] [Bug 36486] New: clang 5.0.1 coverage crashes on header only unit test project

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Feb 22 22:51:56 PST 2018


https://bugs.llvm.org/show_bug.cgi?id=36486

            Bug ID: 36486
           Summary: clang 5.0.1 coverage crashes on header only unit test
                    project
           Product: clang
           Version: 5.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: Sebastian.Schneider at sae-it.de
                CC: llvm-bugs at lists.llvm.org

Created attachment 19933
  --> https://bugs.llvm.org/attachment.cgi?id=19933&action=edit
Preprocessed source and associated run script to reproduce crash

when running 

#clang --coverage -g -Wall sample_tests.cpp -o testCov 

clang crashes and writes the following crash dump:






0x000000014015D774 (0x000000000439AE08 0x000000013F34061F 0x000048665CAA4742
0x0
000000003280A90)
0x000000014015F1CB (0x0000000000000200 0x000007FE00000000 0x0000000000B50488
0x0
00007FEFD841B3B)
0x00000001402F2B27 (0x0000000000000046 0x0000000000000000 0x0000000000B57C10
0x0
000000000000380)
0x00000001402F1975 (0x0000000000000000 0x00000001401153F5 0x0000000000A7C7B0
0x0
000000100000000)
0x0000000140116091 (0x0000000000A7CAA8 0x0000000000000000 0x000048665CAA4742
0x0
000000000000000)
0x0000000140698371 (0x00000000033D3340 0x0000000000B5B4C0 0x0000000000A7DCC0
0x0
000000000A7DBC0)
0x0000000141C71708 (0x0000000142777C61 0x000000000000000B 0x0000000000000008
0x0
0000001427764D3)
0x0000000140F829C2 (0x0000000000000000 0x0000000000000000 0x000000000000000D
0x0
000000000BE55D0)
0x00000001409EFDDA (0x000007FE00000012 0x0000000142777CC3 0x0000000000000009
0x0
000000000000013)
0x00000001409BB460 (0x0000000000A7DFA8 0x00000001409B601B 0x0000000000BFF1F0
0x0
000000000000031)
0x0000000140A3027C (0x00B5000100000110 0x0000000000BFD2F0 0x0000000000BFB6C0
0x0
000000000B57C10)
0x000000013F315E6B (0x000007FEE35D69D8 0x0000000000BD439B 0x0000000000BD4300
0x0
000000000000101)
0x000000013F314293 (0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0
1D3AC6EABF74634)
0x0000000141C92D81 (0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0
000000000000000)
0x00000000778B59CD (0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0
000000000000000), BaseThreadInitThunk() + 0xD bytes(s)
0x0000000077A1383D (0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0
000000000000000), RtlUserThreadStart() + 0x1D bytes(s)
clang.exe: error: clang frontend command failed due to signal (use -v to see
inv
ocation)
clang version 5.0.1 (tags/RELEASE_501/final)
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: C:\Program Files\LLVM\bin
clang.exe: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/b
ugs/ and include the crash backtrace, preprocessed source, and associated run
sc
ript.
clang.exe: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang.exe: note: diagnostic msg:
C:\Users\SRS\AppData\Local\Temp\sample_tests-c2
39fb.cpp
clang.exe: note: diagnostic msg:
C:\Users\SRS\AppData\Local\Temp\sample_tests-c2
39fb.sh
clang.exe: 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/20180223/bfe9a171/attachment.html>


More information about the llvm-bugs mailing list