[LLVMbugs] [Bug 7121] New: LLVM ERROR: Could not resolve external global address: __dso_handle, pure virtual method called

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue May 11 19:01:11 PDT 2010


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

           Summary: LLVM ERROR: Could not resolve external global address:
                    __dso_handle, pure virtual method called
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: lli
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: ich at az2000.de
                CC: llvmbugs at cs.uiuc.edu


I am not sure if the LLVM ERROR is also a bug in lli (or just related to a
problem in my code). At least the pure virtual method call seems to be a bug in
lli.


LLVM ERROR: Could not resolve external global address: __dso_handle
pure virtual method called
terminate called without an active exception

Program received signal SIGABRT, Aborted.
0x94cbee42 in __kill ()
(gdb) bt
#0  0x94cbee42 in __kill ()
#1  0x94cbee34 in kill$UNIX2003 ()
#2  0x94d3123a in raise ()
#3  0x94d3d679 in abort ()
#4  0x9472c005 in __gnu_cxx::__verbose_terminate_handler ()
#5  0x9472a10c in __gxx_personality_v0 ()
#6  0x9472a14b in std::terminate ()
#7  0x9472a6da in __cxa_pure_virtual ()
#8  0x00638c0f in llvm::raw_ostream::write (this=0x6f9b80, Ptr=0x69494d "While
deleting: ", Size=16) at raw_ostream.cpp:249
#9  0x0063810e in llvm::circular_raw_ostream::write_impl (this=0x6f98c0,
Ptr=0x69494d "While deleting: ", Size=16) at circular_raw_ostream.cpp:20
#10 0x00638c0f in llvm::raw_ostream::write (this=0x6f98c0, Ptr=0x69494d "While
deleting: ", Size=16) at raw_ostream.cpp:249
#11 0x00206a3a in llvm::raw_ostream::operator<< (this=0x6f98c0, Str={static
npos = 4294967295, Data = 0x69494d "While deleting: ", Length = 16}) at
raw_ostream.h:179
#12 0x001ac141 in llvm::raw_ostream::operator<< (this=0x6f98c0, Str=0x69494d
"While deleting: ") at raw_ostream.h:190
#13 0x005e1e24 in llvm::Value::~Value (this=0x48dc3d0) at Value.cpp:69
#14 0x000125e2 in llvm::User::~User (this=0x48dc3d0) at User.h:79
#15 0x000132f8 in llvm::Constant::~Constant (this=0x48dc3d0) at Constant.h:42
#16 0x000139f4 in llvm::ConstantExpr::~ConstantExpr (this=0x48dc3d0) at
Constants.h:650
#17 0x00541de4 in llvm::GetElementPtrConstantExpr::~GetElementPtrConstantExpr
(this=0x48dc3d0) at ConstantsContext.h:204
#18 0x005a080f in llvm::ConstantUniqueMap<llvm::ExprMapKeyType, llvm::Type,
llvm::ConstantExpr, false>::freeConstants (this=0x180728c) at
ConstantsContext.h:604
#19 0x0059c9d0 in llvm::LLVMContextImpl::~LLVMContextImpl (this=0x1807000) at
LLVMContextImpl.cpp:64
#20 0x0059ae1c in llvm::LLVMContext::~LLVMContext (this=0x1501330) at
LLVMContext.cpp:35
#21 0x0059b855 in llvm::object_deleter<llvm::LLVMContext>::call (Ptr=0x1501330)
at ManagedStatic.h:31
#22 0x00624af4 in llvm::ManagedStaticBase::destroy (this=0x6f9308) at
ManagedStatic.cpp:61
#23 0x00624b2d in llvm::llvm_shutdown () at ManagedStatic.cpp:71
#24 0x0000189e in do_shutdown () at lli.cpp:102
#25 0x94c79da7 in __cxa_finalize ()
#26 0x94c79c90 in exit ()
#27 0x00623266 in llvm::report_fatal_error (reason=@0xbfffe74c) at
ErrorHandling.cpp:55
#28 0x00267e44 in llvm::ExecutionEngine::emitGlobals (this=0x1501620) at
ExecutionEngine.cpp:1055
#29 0x0023b5ee in llvm::Interpreter::Interpreter (this=0x1501620, M=0x1511680)
at Interpreter.cpp:55
#30 0x0023b663 in llvm::Interpreter::create (M=0x1511680, ErrStr=0xbfffe988) at
Interpreter.cpp:41
#31 0x00263384 in llvm::EngineBuilder::create (this=0xbfffe910) at
ExecutionEngine.cpp:480
#32 0x00001da3 in main (argc=30, argv=0xbfffea64, envp=0xbfffeae0) at
lli.cpp:175

-- 
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