[LLVMbugs] [Bug 18553] New: WinCOFFObjectWriter crash

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Jan 19 22:07:54 PST 2014


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

            Bug ID: 18553
           Summary: WinCOFFObjectWriter crash
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: eugeny.grishul at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Tested with r199548. No crash when emitting assembly, only when emitting obj.

llc -filetype=obj HelloWorld.ll

Unfortunately I was unable to reduce testcase with bugpoint - it tried to
remove thousands of instructions one by one during several hours...

0.      Program arguments: llc -filetype=obj HelloWorld.ll
0x01FF1E6C (0x00D7CD80 0x00C0F3DC 0x14D1C6F8 0x14D1C770), `anonymous
namespace'::WinCOFFObjectWriter::RecordRelocation() + 0x41C bytes(s),
e:\bamelg\nbamelgcompiler\external\llvm\lib\mc\wincoffobjectw
riter.cpp, line 694 + 0x6 byte(s)
0x01FC6EA9 (0x00C0F3DC 0x14D1C6F8 0x14D1C770 0x00C0F64C),
llvm::MCAssembler::handleFixup() + 0x89 bytes(s),
e:\bamelg\nbamelgcompiler\external\llvm\lib\mc\mcassembler.cpp, line 748 + 0x4A
byte(s)
0x01FC7F2E (0x0E4EFA30 0x0BAA77B8 0x00C0F464 0x01FBF9AA),
llvm::MCAssembler::Finish() + 0x47E bytes(s),
e:\bamelg\nbamelgcompiler\external\llvm\lib\mc\mcassembler.cpp, line 814 + 0x1A
byte(s)
0x02003798 (0x0BAA77B8 0x00C0F474 0x01FADA40 0x00C0F47C),
llvm::MCObjectStreamer::FinishImpl() + 0x78 bytes(s),
e:\bamelg\nbamelgcompiler\external\llvm\lib\mc\mcobjectstreamer.cpp, line 393
0x01FBF9AA (0x00C0F47C 0x0BAA77B8 0x00C0F64C 0x016B333E), `anonymous
namespace'::WinCOFFStreamer::FinishImpl() + 0x2A bytes(s),
e:\bamelg\nbamelgcompiler\external\llvm\lib\mc\wincoffstreamer.cpp, line
 321
0x01FADA40 (0x00C0F734 0x00C0F658 0x0F90A3D8 0x077F7C88),
llvm::MCStreamer::Finish() + 0x50 bytes(s),
e:\bamelg\nbamelgcompiler\external\llvm\lib\mc\mcstreamer.cpp, line 620 + 0x12
byte(s)
0x016B333E (0x00D7EF18 0x00C0F678 0x0BAA7890 0x00000044),
llvm::AsmPrinter::doFinalization() + 0x8AE bytes(s),
e:\bamelg\nbamelgcompiler\external\llvm\lib\codegen\asmprinter\asmprinter.cpp,
line 996
0x01E20413 (0x00D7EF18 0x00C0FB9C 0x00C0F740 0x00000000),
llvm::FPPassManager::doFinalization() + 0x63 bytes(s),
e:\bamelg\nbamelgcompiler\external\llvm\lib\ir\legacypassmanager.cpp, line 1575
+ 0x22
byte(s)
0x01E21295 (0x00D7EF18 0x00C0F784 0x7EFDE000 0xCCCCCCCC), `anonymous
namespace'::MPPassManager::runOnModule() + 0x2D5 bytes(s),
e:\bamelg\nbamelgcompiler\external\llvm\lib\ir\legacypassmanager.cpp, li
ne 1632 + 0x2B byte(s)
0x01E217A1 (0x00D7EF18 0x00C0F8A0 0x00C0FB9C 0x012A5B9E),
llvm::legacy::PassManagerImpl::run() + 0x101 bytes(s),
e:\bamelg\nbamelgcompiler\external\llvm\lib\ir\legacypassmanager.cpp, line 1710
+ 0x1B
byte(s)
0x01E1C48D (0x00D7EF18 0x00C0FBEC 0x00000000 0xCCCCCCCC),
llvm::legacy::PassManager::run() + 0x1D bytes(s),
e:\bamelg\nbamelgcompiler\external\llvm\lib\ir\legacypassmanager.cpp, line 1746
0x012A5B9E (0x00D6CD30 0x00D68DB8 0x00000000 0xCCCCCCCC), compileModule() +
0x109E bytes(s), e:\bamelg\nbamelgcompiler\external\llvm\tools\llc\llc.cpp,
line 377
0x012A6307 (0x00000003 0x00D6CD30 0x00D67700 0x03636F02), main() + 0xE7
bytes(s), e:\bamelg\nbamelgcompiler\external\llvm\tools\llc\llc.cpp, line 197 +
0xD byte(s)
0x020CBB09 (0x00C0FC50 0x7602336A 0x7EFDE000 0x00C0FC90), __tmainCRTStartup() +
0x199 bytes(s), f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c, line 536 +
0x19 byte(s)

-- 
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/20140120/ee9057e3/attachment.html>


More information about the llvm-bugs mailing list