[LLVMbugs] [Bug 7115] New: Assertion failed: (isa<X>(Val) && "cast_or_null<Ty>() argument of incompatible type!"), function cast_or_null, file /Users/az/Programmierung/CppIDE/llvm-src/include/llvm/Support/Casting.h, line 213.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue May 11 11:30:28 PDT 2010


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

           Summary: Assertion failed: (isa<X>(Val) && "cast_or_null<Ty>()
                    argument of incompatible type!"), function
                    cast_or_null, file
                    /Users/az/Programmierung/CppIDE/llvm-src/include/llvm/
                    Support/Casting.h, line 213.
           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


Process:         lli [86741]
Path:            /Users/az/Programmierung/CppIDE/llvm-src/Debug/bin/lli
Identifier:      lli
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  bash [86347]

Interval Since Last Report:          181238 sec
Crashes Since Last Report:           3
Per-App Interval Since Last Report:  0 sec
Per-App Crashes Since Last Report:   1

Date/Time:       2010-05-11 20:28:20.463 +0200
OS Version:      Mac OS X 10.5.8 (9L30)
Report Version:  6
Anonymous UUID:  C99325D9-953E-44CB-A0FE-88CB8BF0B517

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread:  0

Application Specific Information:
Stack dump:
0.    Program arguments: /Users/az/Programmierung/CppIDE/llvm-src/Debug/bin/lli
CMakeFiles/openlierox.dir/src/MacMain.o 
1.    Running pass 'X86 DAG->DAG Instruction Selection' on function '@main'


Thread 0 Crashed:
0   libSystem.B.dylib                 0x94cbee42 __kill + 10
1   libSystem.B.dylib                 0x94d3123a raise + 26
2   libSystem.B.dylib                 0x94d3d622 __abort + 97
3   libSystem.B.dylib                 0x94d3d68a _cproc_fork_child + 0
4   libSystem.B.dylib                 0x94d323db __assert_rtn + 101
5   lli                               0x005444a3 llvm::cast_retty<llvm::MDNode,
llvm::Value*>::ret_type llvm::cast_or_null<llvm::MDNode,
llvm::Value>(llvm::Value*) + 107
6   lli                               0x0059ac2b
llvm::DbgDeclareInst::getAddress() const + 33
7   lli                               0x001c3edb
llvm::SelectionDAGBuilder::visitIntrinsicCall(llvm::CallInst const&, unsigned
int) + 4807
8   lli                               0x001c7523
llvm::SelectionDAGBuilder::visitCall(llvm::CallInst const&) + 231
9   lli                               0x001c87fa
llvm::SelectionDAGBuilder::visit(unsigned int, llvm::User const&) + 1328
10  lli                               0x001e15d7
llvm::SelectionDAGBuilder::visit(llvm::Instruction const&) + 111
11  lli                               0x001fda81
llvm::SelectionDAGISel::SelectBasicBlock(llvm::MachineBasicBlock*,
llvm::BasicBlock const*, llvm::ilist_iterator<llvm::Instruction const>,
llvm::ilist_iterator<llvm::Instruction const>, bool&) + 45
12  lli                               0x001fe116
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 1510
13  lli                               0x001fe422
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 668
14  lli                               0x002d6e59
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 77
15  lli                               0x005be399
llvm::FPPassManager::runOnFunction(llvm::Function&) + 287
16  lli                               0x005be5ba
llvm::FunctionPassManagerImpl::run(llvm::Function&) + 80
17  lli                               0x005be70f
llvm::FunctionPassManager::run(llvm::Function&) + 195
18  lli                               0x0023d353
llvm::JIT::runJITOnFunctionUnlocked(llvm::Function*, llvm::MutexGuard const&) +
123
19  lli                               0x0023d6e6
llvm::JIT::getPointerToFunction(llvm::Function*) + 622
20  lli                               0x0023e5b9
llvm::JIT::runFunction(llvm::Function*, std::vector<llvm::GenericValue,
std::allocator<llvm::GenericValue> > const&) + 99
21  lli                               0x002649a3
llvm::ExecutionEngine::runFunctionAsMain(llvm::Function*,
std::vector<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > > > const&, char const* const*)
+ 1135 (ExecutionEngine.cpp:423)
22  lli                               0x000021ad main + 2313 (lli.cpp:234)
23  lli                               0x00001836 start + 54

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0x00000000  ebx: 0x94d3d639  ecx: 0xbfffe2cc  edx: 0x94cbee42
  edi: 0x01807520  esi: 0x006a177c  ebp: 0xbfffe2e8  esp: 0xbfffe2cc
   ss: 0x0000001f  efl: 0x00000282  eip: 0x94cbee42   cs: 0x00000007
   ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037
  cr2: 0x2c23a042

Binary Images:
    0x1000 -   0x6d3fab +lli ??? (???) <2e06ca8c8123338262f3c3b240af242b>
/Users/az/Programmierung/CppIDE/llvm-src/Debug/bin/lli
0x8fe00000 - 0x8fe2db43  dyld 97.1 (???) <458eed38a009e5658a79579e7bc26603>
/usr/lib/dyld
0x92737000 - 0x9273efe9  libgcc_s.1.dylib ??? (???)
<f53c808e87d1184c0f9df63aef53ce0b> /usr/lib/libgcc_s.1.dylib
0x946e4000 - 0x94741ffb  libstdc++.6.dylib ??? (???)
<04b812dcec670daa8b7d2852ab14be60> /usr/lib/libstdc++.6.dylib
0x94c50000 - 0x94db7ff3  libSystem.B.dylib ??? (???)
<c8f52e158bf540cc000146ca8a705958> /usr/lib/libSystem.B.dylib
0x95237000 - 0x9523bfff  libmathCommon.A.dylib ??? (???)
/usr/lib/system/libmathCommon.A.dylib
0xffff0000 - 0xffff1780  libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib

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