[LLVMbugs] [Bug 17251] New: opt segmentation fault x86 Linux kernel file

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Sep 15 11:42:38 PDT 2013


            Bug ID: 17251
           Summary: opt segmentation fault x86 Linux kernel file
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: marceloabsousa at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 11204
  --> http://llvm.org/bugs/attachment.cgi?id=11204&action=edit
Bytecode file

LLVM (http://llvm.org/):
  LLVM version 3.4svn
  DEBUG build.
  Built Sep 14 2013 (21:22:42).
  Default target: x86_64-unknown-linux-gnu
  Host CPU: corei7-avx

clang version 3.4 (trunk 190758)
Target: x86_64-unknown-linux-gnu
Thread model: posix

Running the optimizer with instnamer and lowerswitch seg faults. This file is
part of the Linux kernel (drivers/w1/w1_family.c). I'm able to run llvm-dis on
it for inspection. Any of the passes independently result in seg fault. The .bc
goes in attach.

0  opt             0x00000000018a5a15 llvm::sys::PrintStackTrace(_IO_FILE*) +
1  opt             0x00000000018a5c9c
2  opt             0x00000000018a56e0
3  libpthread.so.0 0x00002aaaab311030
4  opt             0x0000000000952a07
5  opt             0x00000000016c6c70
llvm::DebugInfoFinder::processType(llvm::DIType) + 110
6  opt             0x00000000016c716b
llvm::DebugInfoFinder::processSubprogram(llvm::DISubprogram) + 111
7  opt             0x00000000016c68ce
llvm::DebugInfoFinder::processModule(llvm::Module const&) + 632
8  opt             0x000000000179ba65
9  opt             0x000000000177da3c
llvm::FPPassManager::doInitialization(llvm::Module&) + 68
10 opt             0x000000000177dbdc
llvm::MPPassManager::runOnModule(llvm::Module&) + 240
11 opt             0x000000000177e269 llvm::PassManagerImpl::run(llvm::Module&)
+ 249
12 opt             0x000000000177e47b llvm::PassManager::run(llvm::Module&) +
13 opt             0x000000000094a50f main + 5564
14 libc.so.6       0x00002aaaabef2ead __libc_start_main + 253
15 opt             0x000000000093cd99
Stack dump:
0.      Program arguments: opt -instnamer -lowerswitch
Segmentation fault
make: *** [drivers/w1/w1_family.o.bc] Error 139

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/20130915/563e8730/attachment.html>

More information about the llvm-bugs mailing list