[LLVMbugs] [Bug 2185] New: lli crash on valid bitcode file

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Apr 1 21:21:19 PDT 2008


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

           Summary: lli crash on valid bitcode file
           Product: tools
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: lli
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: viridia at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=1563)
 --> (http://llvm.org/bugs/attachment.cgi?id=1563)
LLVM bitcode file that causes lli to crash

I've included a bitcode file which causes lli to crash. The file verifies fine,
and in fact you can run it through opt with -std-compile-opts and it will come
out fine but still cause lli to crash.

Here's the stack trace:

#0  0x92b64a03 in __dynamic_cast ()
#1  0x003eee7b in llvm::Pass::getAnalysisToUpdate<llvm::AliasAnalysis>
(this=0x1010de0) at PassAnalysisSupport.h:169
#2  0x003ee8a1 in (anonymous namespace)::LoopSimplify::runOnFunction
(this=0x1010de0, F=@0x1007e50) at LoopSimplify.cpp:115
#3  0x004d1123 in llvm::FPPassManager::runOnFunction (this=0x1010a10,
F=@0x1007e50) at PassManager.cpp:1178
#4  0x004d137c in llvm::FunctionPassManagerImpl::run (this=0x1010910,
F=@0x1007e50) at PassManager.cpp:1133
#5  0x004d14fa in llvm::FunctionPassManager::run (this=0x10108c4, F=@0x1007e50)
at PassManager.cpp:1078
#6  0x001911b9 in llvm::JIT::runJITOnFunction (this=0x1010850, F=0x1007e50) at
JIT.cpp:283
#7  0x0019159b in llvm::JIT::getPointerToFunction (this=0x1010850, F=0x1007e50)
at JIT.cpp:332
#8  0x00196069 in (anonymous namespace)::JITResolver::JITCompilerFn
(Stub=0x2080082) at JITEmitter.cpp:282
#9  0x0005cf41 in X86CompilationCallback2 (StackPtr=0xbffff4b8,
RetAddr=34078850) at X86JITInfo.cpp:340
#10 0x0005ce31 in X86CompilationCallback_SSE () at X86JITInfo.cpp:30
#11 0x02080086 in ?? ()
#12 0x00187aef in llvm::ExecutionEngine::runFunctionAsMain (this=0x1010850,
Fn=0x1008010, argv=@0x5a4f60, envp=0xbffff8c8) at ExecutionEngine.cpp:308
#13 0x00001e44 in main (argc=2, argv=0xbffff8bc, envp=0xbffff8c8) at
lli.cpp:141


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list