[LLVMbugs] [Bug 7120] New: Assertion failed: (!isAlreadyCodeGenerating && "Error: Recursive compilation detected!"), function runJITOnFunctionUnlocked, file JIT.cpp, line 627.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue May 11 17:12:16 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=7120
Summary: Assertion failed: (!isAlreadyCodeGenerating && "Error:
Recursive compilation detected!"), function
runJITOnFunctionUnlocked, file JIT.cpp, line 627.
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
93-018:build-llvm-bitcode az$ ~/Programmierung/CppIDE/llvm-src/Debug/bin/lli
olx.nodebug.bc.bc
LLVM ERROR: Program used external function 'SDL_CreateMutex' which could not be
resolved!
Assertion failed: (!isAlreadyCodeGenerating && "Error: Recursive compilation
detected!"), function runJITOnFunctionUnlocked, file JIT.cpp, line 627.
0 lli 0x006446da llvm::SearchForAddressOfSpecialSymbol(char
const*) + 478
1 lli 0x00644b20 llvm::sys::SetInterruptFunction(void (*)()) +
436
2 libSystem.B.dylib 0x94cbd2bb _sigtramp + 43
3 libSystem.B.dylib 0xffffffff _sigtramp + 1798581615
4 libSystem.B.dylib 0x94d3123a raise + 26
5 libSystem.B.dylib 0x94d3d679 abort + 73
6 libSystem.B.dylib 0x94d323db __assert_rtn + 101
7 lli 0x0023d320
llvm::JIT::runJITOnFunctionUnlocked(llvm::Function*, llvm::MutexGuard const&) +
72
8 lli 0x0023d6e6
llvm::JIT::getPointerToFunction(llvm::Function*) + 622
9 lli 0x0024f8cf (anonymous
namespace)::JITResolver::JITCompilerFn(void*) + 673
10 lli 0x000c1453
llvm::X86JITInfo::replaceMachineCodeForFunction(void*, void*) + 257
11 lli 0x000c1331 X86CompilationCallback_SSE + 49
pure virtual method called
terminate called without an active exception
Abort trap
Process: lli [89067]
Path: /Users/az/Programmierung/CppIDE/llvm-src/Debug/bin/lli
Identifier: lli
Version: ??? (???)
Code Type: X86 (Native)
Parent Process: bash [88696]
Interval Since Last Report: 18994 sec
Crashes Since Last Report: 2
Per-App Interval Since Last Report: 0 sec
Per-App Crashes Since Last Report: 2
Date/Time: 2010-05-12 01:45:06.632 +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
olx.nodebug.bc.bc
1. Running pass 'X86 Machine Code Emitter' on function '@_GLOBAL__I_a2502'
Thread 0 Crashed:
0 libSystem.B.dylib 0x94cbee42 __kill + 10
1 libSystem.B.dylib 0x94d3123a raise + 26
2 libSystem.B.dylib 0x94d3d679 abort + 73
3 libstdc++.6.dylib 0x9472c005 0x946e4000 + 294917
4 libstdc++.6.dylib 0x9472a10c __gxx_personality_v0 + 1108
5 libstdc++.6.dylib 0x9472a14b std::terminate() + 29
6 libstdc++.6.dylib 0x9472a6da std::type_info::~type_info() +
0
7 lli 0x00638c0f llvm::raw_ostream::write(char
const*, unsigned long) + 99 (raw_ostream.cpp:250)
8 lli 0x00206a3a
llvm::raw_ostream::operator<<(llvm::StringRef) + 78
9 lli 0x0062745d CrashHandler(void*) + 225
10 lli 0x00644b20 SignalHandler(int) + 372
11 libSystem.B.dylib 0x94cbd2bb _sigtramp + 43
12 ??? 0xffffffff 0 + 4294967295
13 libSystem.B.dylib 0x94d3123a raise + 26
14 libSystem.B.dylib 0x94d3d679 abort + 73
15 libSystem.B.dylib 0x94d323db __assert_rtn + 101
16 lli 0x0023d320
llvm::JIT::runJITOnFunctionUnlocked(llvm::Function*, llvm::MutexGuard const&) +
72
17 lli 0x0023d6e6
llvm::JIT::getPointerToFunction(llvm::Function*) + 622
18 lli 0x0024f8cf (anonymous
namespace)::JITResolver::JITCompilerFn(void*) + 673 (JITEmitter.cpp:752)
19 lli 0x000c1453 X86CompilationCallback2 + 179
20 lli 0x000c1331 X86CompilationCallback_SSE +
49
21 ??? 0x0379005d 0 + 58261597
22 libSystem.B.dylib 0x94c79c90 exit + 33
23 lli 0x00623266
llvm::report_fatal_error(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&) + 0
24 lli 0x00623289
llvm::report_fatal_error(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&) + 35
25 lli 0x0023bee6
llvm::JIT::getPointerToNamedFunction(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&, bool) + 382
26 lli 0x0023d69b
llvm::JIT::getPointerToFunction(llvm::Function*) + 547
27 lli 0x0024e8ec (anonymous
namespace)::JITEmitter::getPointerToGlobal(llvm::GlobalValue*, void*, bool) +
340 (JITEmitter.cpp:810)
28 lli 0x00250196 (anonymous
namespace)::JITEmitter::finishFunction(llvm::MachineFunction&) + 814
(JITEmitter.cpp:1150)
29 lli 0x0002eaec (anonymous
namespace)::Emitter<llvm::JITCodeEmitter>::runOnMachineFunction(llvm::MachineFunction&)
+ 780
30 lli 0x002d6e59
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 77
31 lli 0x005be399
llvm::FPPassManager::runOnFunction(llvm::Function&) + 287
32 lli 0x005be5ba
llvm::FunctionPassManagerImpl::run(llvm::Function&) + 80
33 lli 0x005be70f
llvm::FunctionPassManager::run(llvm::Function&) + 195
34 lli 0x0023d353
llvm::JIT::runJITOnFunctionUnlocked(llvm::Function*, llvm::MutexGuard const&) +
123
35 lli 0x0023d6e6
llvm::JIT::getPointerToFunction(llvm::Function*) + 622
36 lli 0x0023e5b9
llvm::JIT::runFunction(llvm::Function*, std::vector<llvm::GenericValue,
std::allocator<llvm::GenericValue> > const&) + 99
37 lli 0x0026428a
llvm::ExecutionEngine::runStaticConstructorsDestructors(llvm::Module*, bool) +
490 (ExecutionEngine.cpp:340)
38 lli 0x0026431b
llvm::ExecutionEngine::runStaticConstructorsDestructors(bool) + 85
(ExecutionEngine.cpp:350)
39 lli 0x000020a1 main + 2045 (lli.cpp:225)
40 lli 0x00001836 start + 54
Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0x94d3d639 ecx: 0xbfffd9ac edx: 0x94cbee42
edi: 0x00000012 esi: 0x0062737c ebp: 0xbfffd9c8 esp: 0xbfffd9ac
ss: 0x0000001f efl: 0x00000282 eip: 0x94cbee42 cs: 0x00000007
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
cr2: 0x004feb16
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