[llvm-bugs] [Bug 26552] New: clang-cl 3.8.0-rc2 64 bit binary crashes in MSVC 2015 compatibility mode

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Feb 9 11:32:09 PST 2016


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

            Bug ID: 26552
           Summary: clang-cl 3.8.0-rc2 64 bit binary crashes in MSVC 2015
                    compatibility mode
           Product: clang
           Version: 3.8
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: insertinterestingnamehere at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 15871
  --> https://llvm.org/bugs/attachment.cgi?id=15871&action=edit
preprocessed source and build command for reproducing crash

clang-cl 3.8.0-rc2 64 bit binary crashes with an assertion error in msvc 14
compatibility mode. This bug is not present in the snapshot build from January
28th based on based on r259040. Here is the output:

Assertion failed: FuncInfo.EHPadStateMap.count(PadInst) && "EH Pad has no
state!", file D:\src\llvm_package_3.8.0-rc2\llvm\lib\CodeGen\WinEHPrepare.cpp,
line 202
0x00007FF761F26436 (0x0000000000000001 0x00007FF773A16500 0x00007FF700000144
0x00007FF9B382C6D7)
0x00007FF763849C31 (0x0000007600000001 0x00007FF700000000 0x00007FF7640E4648
0x0000000000000028)
0x00007FF763842BF4 (0x0002000000000050 0x0000000000000009 0x00007FF76444F330
0x00007FF7640E51F2)
0x00007FF76383F324 (0x00007FF700000040 0x0000000000000000 0x0000000000000000
0x000001781B1D8BF0)
0x00007FF7619F4718 (0x0000000000000004 0x0000017814AD0314 0x000001781A935760
0x00000000000001D0)
0x00007FF76270F7FA (0x000001781ABA26D0 0x000001781ABA2730 0xFFFFFFFFFFFFFFFF
0xFFFFFFFFFFFFFFFF)
0x00007FF7625BDF7A (0x000000766BF8D150 0x000001781A5D4960 0x000000000000000F
0x000000766BF8D178)
0x00007FF760F19CF4 (0x000000000000000F 0x000001781A5D4960 0x000000766BF8D178
0x000001781A5D4940)
0x00007FF761914F15 (0x000000000000001B 0x000001781AAE49E0 0x000000766BF8D150
0x000000766BF8D180)
0x00007FF761AA4753 (0x00007FF76446D91C 0x000001781AAE49C0 0x0000000000000002
0x000001781AAE49C0)
0x00007FF761AA49BB (0x00007FF76386F1E0 0x00000178180A67F0 0x00000178180A67E8
0x0000000000000000)
0x00007FF761AA4F9D (0x0000000000000020 0x0000000000000000 0x0000000000000021
0x00007FF9B37F58D4)
0x00007FF76212DCD5 (0x0000000000000000 0x0000017818104B88 0x0000017818104B90
0x00007FF76383FB20)
0x00007FF7638181D5 (0x00000178149E42A8 0x0000017814A1AB28 0x00007FF700000000
0x0000000000000000)
0x00007FF762AC53A2 (0x00007FF76414D2FE 0x00000178149E1870 0x0000017814A11F10
0x0000017814A11F40)
0x00007FF76250E64D (0x00007FF76414D254 0x0000000000000005 0x00000178149E42A8
0x0000000000000001)
0x00007FF7624C1B31 (0x00007FF760C26790 0x00007FF76383FB97 0x0000000000000028
0x0000017814A014A0)
0x00007FF7625532C4 (0x0000000000000021 0x00000178149D0000 0x0000000000000A10
0x00007FF9B37F83AD)
0x00007FF760C26642 (0x0000000000000001 0x000000766BF8E3C8 0x0000000000000000
0x0000000000000003)
0x00007FF760C24A86 (0x0000000000000000 0x0000000000000000 0x000000766B4AC000
0x000000766B4AC000)
0x00007FF763840810 (0x0000000000000000 0x00007FF763840878 0x0000000000000000
0x0000000000000000)
0x00007FF9B32B8102 (0x00007FF9B32B80E0 0x0000000000000000 0x0000000000000000
0x0000000000000000), BaseThreadInitThunk() + 0x22 bytes(s)
0x00007FF9B382C2E4 (0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000), RtlUserThreadStart() + 0x34 bytes(s)
clang-cl.exe: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.8.0 (branches/release_38)
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: C:\LLVM\bin
clang-cl.exe: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
clang-cl.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-cl.exe: note: diagnostic msg:
C:\Users\Owner\AppData\Local\Temp\base_memory_type-2a9e5d.cpp
clang-cl.exe: note: diagnostic msg:
C:\Users\Owner\AppData\Local\Temp\base_memory_type-2a9e5d.sh
clang-cl.exe: note: diagnostic msg:


I've attached the preprocessed source and build command as well.

-- 
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/20160209/b9579c13/attachment-0001.html>


More information about the llvm-bugs mailing list