[LLVMbugs] [Bug 24105] New: Crash in WinCOFFObjectWriter::recordRelocation

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jul 13 07:30:05 PDT 2015


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

            Bug ID: 24105
           Summary: Crash in WinCOFFObjectWriter::recordRelocation
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: MC
          Assignee: unassignedbugs at nondot.org
          Reporter: ehsan at mozilla.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

$ clang-cl -EHsc  -c test3.cpp
In file included from
c:/moz/src/intl/icu/source/i18n/collationtailoring.cpp:17:
c:/moz/src/intl/icu/source/common\unicode/unistr.h(3506,16) :  warning:
unqualified friend declaration referring to type outside of the nearest
enclosing
      namespace is a Microsoft extension; add a nested name specifier
[-Wmicrosoft]
  friend class StringThreadTest;
               ^
               ::
0x016DB381 (0x070C16D8 0x00DDE644 0x0717D1D0 0x06190FC0), `anonymous
namespace'::WinCOFFObjectWriter::recordRelocation() + 0x341 bytes(s),
c:\moz\llvm\lib\mc\wi
ncoffobjectwriter.cpp, line 769 + 0x3 byte(s)
0x016C1E73 (0x00DDE634 0x00DDE644 0x0717D1D0 0x06190F00),
llvm::MCAssembler::handleFixup() + 0x73 bytes(s),
c:\moz\llvm\lib\mc\mcassembler.cpp, line 854
0x016BE7C3 (0x00000019 0x061F4480 0x04227A48 0x72017CBD),
llvm::MCAssembler::Finish() + 0x343 bytes(s),
c:\moz\llvm\lib\mc\mcassembler.cpp, line 934
0x01CFF9EC (0x04227A48 0x72017CBD 0x06336910 0x04227AC4),
llvm::AsmPrinter::doFinalization() + 0x62C bytes(s),
c:\moz\llvm\lib\codegen\asmprinter\asmprinter.cpp
, line 1152
0x01455443 (0x04227A48 0x00000000 0x07056928 0x04227A48),
llvm::FPPassManager::doFinalization() + 0x73 bytes(s),
c:\moz\llvm\lib\ir\legacypassmanager.cpp, line
1558 + 0x50 byte(s)
0x0145B0C3 (0x04227A48 0x04227A20 0x04227A20 0x00000000), `anonymous
namespace'::MPPassManager::runOnModule() + 0x303 bytes(s),
c:\moz\llvm\lib\ir\legacypassman
ager.cpp, line 1613 + 0x53 byte(s)
0x0145A8DE (0x04227A48 0x041FFF38 0x04201AE8 0x00DDE8C8),
llvm::legacy::PassManagerImpl::run() + 0x10E bytes(s),
c:\moz\llvm\lib\ir\legacypassmanager.cpp, line
1699
0x019D9BF9 (0x00000005 0x04201AE8 0x0000002F 0x04226F60), `anonymous
namespace'::EmitAssemblyHelper::EmitAssembly() + 0x219 bytes(s),
c:\moz\llvm\tools\clang\li
b\codegen\backendutil.cpp, line 655 + 0x5 byte(s)
0x019D9C8D (0x041FFF38 0x041FF880 0x041F7DC0 0x041F7CD0),
clang::EmitBackendOutput() + 0x5D bytes(s),
c:\moz\llvm\tools\clang\lib\codegen\backendutil.cpp, line
671
0x02DBB65F (0x04227A48 0x041FF858 0x72017CBD 0x041F7C10),
clang::BackendConsumer::HandleTranslationUnit() + 0x19F bytes(s),
c:\moz\llvm\tools\clang\lib\codegen\
codegenaction.cpp, line 186
0x02263B48 (0x042500E8 0x00000000 0x00000000 0x04200348), clang::ParseAST() +
0x1C8 bytes(s), c:\moz\llvm\tools\clang\lib\parse\parseast.cpp, line 154
0x01C8523F (0x04200348 0x00000000 0x72017CBD 0x041F7C10),
clang::ASTFrontendAction::ExecuteAction() + 0xBF bytes(s),
c:\moz\llvm\tools\clang\lib\frontend\fronte
ndaction.cpp, line 537 + 0x47 byte(s)
0x02DBB18D (0x72017CBD 0x041F7C10 0x041F7C2C 0x04200348),
clang::CodeGenAction::ExecuteAction() + 0x3ED bytes(s),
c:\moz\llvm\tools\clang\lib\codegen\codegenact
ion.cpp, line 745
0x01C850B2 (0x041F7C10 0x04200348 0x72017CBD 0x00000000),
clang::FrontendAction::Execute() + 0x52 bytes(s),
c:\moz\llvm\tools\clang\lib\frontend\frontendaction.
cpp, line 444
0x01C5B4BF (0x04200348 0x041FFEC0 0x041F7C10 0x041F7C1C),
clang::CompilerInstance::ExecuteAction() + 0x29F bytes(s),
c:\moz\llvm\tools\clang\lib\frontend\compil
erinstance.cpp, line 819
0x01CF8BDF (0x041F7C10 0x00DDF140 0x72017CBD 0x72017CBD),
clang::ExecuteCompilerInvocation() + 0x3AF bytes(s),
c:\moz\llvm\tools\clang\lib\frontendtool\executec
ompilerinvocation.cpp, line 222 + 0x8 byte(s)
0x00F8EC86 (0x00DDF148 0x00000041 0x04200438 0x00F51366), cc1_main() + 0x2B6
bytes(s), c:\moz\llvm\tools\clang\tools\driver\cc1_main.cpp, line 112 + 0x6
byte(s)

0x00F860DC (0x00DDF140 0x00000043 0x04200460 0x00000000), ExecuteCC1Tool() +
0x8C bytes(s), c:\moz\llvm\tools\clang\tools\driver\driver.cpp, line 358 + 0x61
byt
e(s)
0x00F8AF36 (0x00000043 0x041F5398 0x041F5D20 0x465C8E4D), main() + 0x496
bytes(s), c:\moz\llvm\tools\clang\tools\driver\driver.cpp, line 404 + 0x45
byte(s)
0x02CB5EEE (0x7EFDE000 0x00DDFBE4 0x773192B2 0x7EFDE000), __tmainCRTStartup() +
0xFD bytes(s), f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c, line 626 + 0x17
byte(
s)
0x76BF336A (0x7EFDE000 0x77041EE8 0x00000000 0x00000000), BaseThreadInitThunk()
+ 0x12 bytes(s)
0x773192B2 (0x02CB5F9C 0x7EFDE000 0x00000000 0x00000000),
RtlInitializeExceptionChain() + 0x63 bytes(s)
0x77319285 (0x02CB5F9C 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.7.0 (http://llvm.org/git/clang.git
3517074ea2ddc51c1cd8b66ed1e127b939e3c3d7) (http://llvm.org/git/llvm.git
98da4704dde8d2cd36bcdf9281cf167fddf1e
db7)
Target: i686-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 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/EHSANA~1/AppData/Local/Temp\test3-f904cb.cpp
clang-cl.exe: note: diagnostic msg:
C:/Users/EHSANA~1/AppData/Local/Temp\test3-f904cb.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/20150713/c84e153c/attachment.html>


More information about the llvm-bugs mailing list