[LLVMbugs] [Bug 24066] New: Crash when running llvm-lib

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Jul 8 08:47:02 PDT 2015


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

            Bug ID: 24066
           Summary: Crash when running llvm-lib
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: llvm-ar
          Assignee: unassignedbugs at nondot.org
          Reporter: aaron at aaronballman.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

I compiled the following trivial C program using clang -c to generate a .o file
named test.o:

extern int func(void) {
  return 42;
}

I then ran llvm-lib test.o in an attempt to generate a .lib file from the
object file. This resulted in an unreachable error:

e:\llvm\2013>llvm-lib test.o
internal error
UNREACHABLE executed at E:\llvm\llvm\lib\LibDriver\LibDriver.cpp:69!
0x0145BA39 (0x00000016 0x25424DB0 0x00C6F2A8 0x00C6F128), HandleAbort() + 0x9
by
tes(s), e:\llvm\llvm\lib\support\windows\signals.inc, line 296
0x0F7BF7F9 (0x00000016 0x0145BA30 0x00C6F12C 0x01431A09), raise() + 0x2B9
bytes(
s)
0x0F7CB284 (0x00C6F6D8 0x00C6F2A8 0x013DB198 0x022C139C), abort() + 0x34
bytes(s
)
0x01431A09 (0x022C139C 0x022C1370 0x00000045 0x00C6F6D0),
llvm::llvm_unreachable
_internal() + 0x89 bytes(s), e:\llvm\llvm\lib\support\errorhandling.cpp, line
11
7 + 0x8 byte(s)
0x013DB198 (0x00C6F380 0x00C6F4F0 0x00C6F450 0x00000001), getOutputPath() +
0x1F
8 bytes(s), e:\llvm\llvm\lib\libdriver\libdriver.cpp, line 70
0x013DAC95 (0x00C6F678 0x00000002 0x00000000 0x00000000), llvm::libDriverMain()
+ 0x645 bytes(s), e:\llvm\llvm\lib\libdriver\libdriver.cpp, line 147 + 0x1C
byte
(s)
0x011CC4DE (0x00000002 0x00F60ED8 0x00F64B08 0xA4E6858F), main() + 0xEE
bytes(s)
, e:\llvm\llvm\tools\llvm-ar\llvm-ar.cpp, line 727 + 0x28 byte(s)
0x015EB479 (0x00C6F7B4 0x758D337A 0x7EFDE000 0x00C6F7F4), __tmainCRTStartup() +
0x199 bytes(s), f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c, line 626 + 0x19
byte
(s)
0x015EB5BD (0x7EFDE000 0x00C6F7F4 0x773692E2 0x7EFDE000), mainCRTStartup() +
0xD
 bytes(s), f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c, line 466
0x758D337A (0x7EFDE000 0xF6E641C6 0x00000000 0x00000000), BaseThreadInitThunk()
+ 0x12 bytes(s)
0x773692E2 (0x015EB5B0 0x7EFDE000 0x00000000 0x00000000),
RtlInitializeException
Chain() + 0x63 bytes(s)
0x773692B5 (0x015EB5B0 0x7EFDE000 0x00000000 0x00000000),
RtlInitializeException
Chain() + 0x36 bytes(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/20150708/36c280f2/attachment.html>


More information about the llvm-bugs mailing list