[LLVMbugs] [Bug 827] NEW: opt crash (maybe in PruneEH)

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Jul 11 13:41:26 PDT 2006


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

           Summary: opt crash (maybe in PruneEH)
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Interprocedural Optimizations
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: jackrobi at gmail.com


opt bugpoint-reduced-simplified.bc -inline -prune-eh
WARNING: You're attempting to print out a bytecode file.
This is inadvisable as it may cause display problems. If
you REALLY want to taste LLVM bytecode first-hand, you
can force output with the `-f' option.

opt((anonymous namespace)::PrintStackTrace()+0x1f)[0x848a90f]
[0x85a1df4]
Segmentation fault

When reducing this testcase I also sometimes got this instead:
opt: /usr/local/llvm/src/llvm/include/llvm/ADT/ilist:120: typename
bidirectional_iterator<NodeTy, ptrdiff_t>::reference
llvm::ilist_iterator<NodeTy>::operator*() const [with NodeTy =
llvm::BasicBlock]: Assertion `Traits::getNext(NodePtr) != 0 && "Dereferencing
end()!"' failed.
opt((anonymous namespace)::PrintStackTrace()+0x1f)[0x848a90f]
/lib/tls/i686/cmov/libc.so.6(abort+0x1dc)[0xb7dd67d8]
/lib/tls/i686/cmov/libc.so.6(__assert_fail+0x109)[0xb7dced5d]
opt((anonymous
namespace)::PruneEH::SimplifyFunction(llvm::Function*)+0x2c5)[0x8300f65]
Aborted



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list