[LLVMbugs] [Bug 14455] New: llc crashes with "UNREACHABLE executed at Value.cpp:620!"

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Nov 29 02:35:11 PST 2012


             Bug #: 14455
           Summary: llc crashes with "UNREACHABLE executed at
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: llc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: max at duempel.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

I compiled LLVM from trunk r168861. I compile a program with clang to LLVM
bitcode, then llvm-link to build one large bitcode file, opt to optimize the
file, and then llc to generate assembly. llc crashes with the following

llc TestRadixTree-opt.bc 
While deleting: metadata %
An asserting value handle still pointed to this value!
UNREACHABLE executed at Value.cpp:620!
0  llc             0x0000000000eb11e2
1  llc             0x0000000000eb1673
2  libpthread.so.0 0x00007f24916fc030
3  libc.so.6       0x00007f24909f2475 gsignal + 53
4  libc.so.6       0x00007f24909f56f0 abort + 384
5  llc             0x0000000000ea06a9 llvm::llvm_unreachable_internal(char
const*, char const*, unsigned int) + 457
6  llc             0x0000000000e67be6
llvm::ValueHandleBase::ValueIsDeleted(llvm::Value*) + 806
7  llc             0x0000000000e6762e llvm::Value::~Value() + 46
8  llc             0x0000000000e48eae llvm::MDNode::destroy() + 14
9  llc             0x0000000000e453d9 llvm::LLVMContextImpl::~LLVMContextImpl()
+ 3225
10 llc             0x0000000000e43e4c
11 llc             0x0000000000ea39d9 llvm::llvm_shutdown() + 41
12 llc             0x000000000050f063 main + 6323
13 libc.so.6       0x00007f24909deead __libc_start_main + 253
14 llc             0x000000000050d6e9
Stack dump:
0.      Program arguments: llc TestRadixTree-opt.bc 

(LLVM bitcode file generated by "opt" is attached)

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