[LLVMbugs] [Bug 20336] New: clang-cl crash when using /E on translation unit with error

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jul 16 17:51:11 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=20336

            Bug ID: 20336
           Summary: clang-cl crash when using /E on translation unit with
                    error
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: nicolasweber at gmx.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

I added "/E" to a failing compilation in chromium, and got this stack:

D:\src\chrome\src\out\Release>ninja -t msvc -e environment.x86 --
"..\..\../../llvm-ninja/bin/clang-cl" -m32 /nologo /
showIncludes /FC
@obj\third_party\WebKit\Source\core\gen\blink\core\webcore_generated.SVGElementFactory.obj.rsp
/c gen
\blink\core\SVGElementFactory.cpp
/Foobj\third_party\WebKit\Source\core\gen\blink\core\webcore_generated.SVGElementFac
tory.obj /Fdobj\third_party\WebKit\Source\core\webcore_generated.cc.pdb  /E
0x5F0B1938 (0x00000001 0x05523FF8 0x0000001A 0x05FEF778), _write() + 0x148
bytes(s)
0x01BB2B44 (0x05523FF8 0x0000001A 0x00000000 0x0000001A),
llvm::raw_fd_ostream::write_impl() + 0x84 bytes(s), d:\src\l
lvm\lib\support\raw_ostream.cpp, line 524 + 0x17 byte(s)
0x01BB2965 (0x052CE898 0x05FEF7A0 0x01BB2F49 0x00000000),
llvm::raw_ostream::flush_nonempty() + 0x85 bytes(s), d:\src\
llvm\lib\support\raw_ostream.cpp, line 272 + 0x1A byte(s)
0x00A5A814 (0x00000000 0x052CE898 0x05FEF7A8 0x044BD79D),
llvm::raw_ostream::flush() + 0x24 bytes(s), d:\src\llvm\incl
ude\llvm\support\raw_ostream.h, line 137
0x01BB2F49 (0x05FEF7F4 0x5EFDEDF3 0x3FCF3DDE 0x00000000),
llvm::raw_fd_ostream::~raw_fd_ostream() + 0x29 bytes(s), d:\
src\llvm\lib\support\raw_ostream.cpp, line 490
0x044BD79D (0x3FCF3DDE 0x00000000 0x00000000 0x7EFDE000),
`llvm::outs'::`2'::`dynamic atexit destructor for 'S''() + 0
xD bytes(s)
0x5EFDEDF3 (0x00000000 0x00000000 0x00000000 0x05FEF850), _initterm_e() + 0x223
bytes(s)
0x5EFDEEA0 (0x00000000 0x30D2872F 0x00000000 0x00000000), exit() + 0x10
bytes(s)
0x037E4AC6 (0x05FEF864 0x7622338A 0x7EFDE000 0x05FEF8A4), __tmainCRTStartup() +
0x1B6 bytes(s), f:\dd\vctools\crt\crtw
32\dllstuff\crtexe.c, line 662
0x037E4BED (0x7EFDE000 0x05FEF8A4 0x773D9F72 0x7EFDE000), mainCRTStartup() +
0xD bytes(s), f:\dd\vctools\crt\crtw32\dl
lstuff\crtexe.c, line 466
0x7622338A (0x7EFDE000 0x78552FD1 0x00000000 0x00000000), BaseThreadInitThunk()
+ 0x12 bytes(s)
0x773D9F72 (0x037E4BE0 0x7EFDE000 0x00000000 0x00000000),
RtlInitializeExceptionChain() + 0x63 bytes(s)
0x773D9F45 (0x037E4BE0 0x7EFDE000 0x00000000 0x00000000),
RtlInitializeExceptionChain() + 0x36 bytes(s)
clang-cl.exe: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.5.0 (trunk)
Target: i386-pc-windows-msvc
Thread model: posix
clang-cl.exe: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrac
e, 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: d:\src\tmp\SVGElementFactory-ff9f2c.cpp
clang-cl.exe: note: diagnostic msg: d:\src\tmp\SVGElementFactory-ff9f2c.sh
clang-cl.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/20140717/a1a91d44/attachment.html>


More information about the llvm-bugs mailing list