[cffi-devel] For the CFFI gurus: Tcl/Tk: Tk_Init crashes (Lispworks)
Frank Goenninger
frgo at mac.com
Thu Sep 20 15:50:32 UTC 2007
Am 20.09.2007 um 17:37 schrieb Frank Goenninger:
>
> Thread 4 Crashed:
> 0 <<00000000>> 0x00000002 0 + 2
>
This looks better:
Date/Time: 2007-09-20 17:46:13.786 +0200
OS Version: 10.4.10 (Build 8R2232)
Report Version: 4
Command: lispworks-personal-5-0-1-macos-universal
Path: /Applications/LispWorks 5.0/LispWorks Personal.app/Contents/
MacOS/lispworks-personal-5-0-1-macos-universal
Parent: WindowServer [74]
Version: ??? (5.0.1)
PID: 619
Thread: 4
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x8fe050f8
Thread 0:
0 com.apple.QD 0x91718cc2 AcquirePatXMapHandle + 9
1 com.apple.QD 0x91718b31 NewPixPat + 72
2 com.apple.QD 0x91718a12 SetPortPat + 190
3 com.apple.QD 0x917186ae ResetPort + 121
4 com.apple.QD 0x91717ee9 OpenCPort + 551
5 com.apple.QD 0x9172044f NewGWorldPB + 1061
6 com.apple.QD 0x91731336 NewGWorld + 207
7 com.tcltk.tklibrary 0x1717bab8 Tk_GetPixmap + 202
8 com.tcltk.tklibrary 0x171889b3 XCreateBitmapFromData
+ 48
9 com.tcltk.tklibrary 0x170bf0bc GetBitmap + 868
10 com.tcltk.tklibrary 0x170bf1a9 Tk_GetBitmap + 20
11 com.tcltk.tklibrary 0x170f6090
TkMenuConfigureDrawOptions + 411
12 com.tcltk.tklibrary 0x170f2477 ConfigureMenu + 607
13 com.tcltk.tklibrary 0x170f4c08 MenuCmd + 713
14 com.tcltk.tcllibrary 0x16db570f TclExecuteByteCode + 4326
15 com.tcltk.tcllibrary 0x16df0dba TclObjInterpProcCore +
1001
16 com.tcltk.tcllibrary 0x16d7d675 TclEvalObjvInternal + 578
17 com.tcltk.tcllibrary 0x16d7fd8a TclEvalEx + 1719
18 com.tcltk.tcllibrary 0x16d800ec Tcl_EvalEx + 46
19 com.tcltk.tcllibrary 0x16dd5fb9 Tcl_FSEvalFileEx + 550
20 com.tcltk.tcllibrary 0x16d8ddd5 Tcl_SourceObjCmd + 178
21 com.tcltk.tcllibrary 0x16d7d675 TclEvalObjvInternal + 578
22 com.tcltk.tcllibrary 0x16d7fd8a TclEvalEx + 1719
23 com.tcltk.tcllibrary 0x16d80278 Tcl_Eval + 50
24 com.tcltk.tcllibrary 0x16d802ae Tcl_GlobalEval + 35
25 com.tcltk.tklibrary 0x170c6082 Tk_CreateConsoleWindow
+ 777
26 com.tcltk.tklibrary 0x17170e53 TkpInit + 1479
27 com.tcltk.tklibrary 0x170e39ba Initialize + 2005
Thread 1:
0 libSystem.B.dylib 0x9001a1cc select + 12
1 <<00000000>> 0x2057ef8c 0 + 542633868
2 <<00000000>> 0x2057f4af 0 + 542635183
3 <<00000000>> 0x2068e58e 0 + 543745422
4 <<00000000>> 0x2068e1b9 0 + 543744441
5 <<00000000>> 0x2068dc10 0 + 543742992
6 <<00000000>> 0x2068e58e 0 + 543745422
7 <<00000000>> 0x20355d8a 0 + 540368266
8 <<00000000>> 0x2087abab 0 + 545762219
Thread 2:
0 libSystem.B.dylib 0x9002493f semaphore_wait_trap + 7
1 libSystem.B.dylib 0x90024227 _pthread_body + 84
Thread 3:
0 libSystem.B.dylib 0x900248c7
semaphore_wait_signal_trap + 7
1 com.lispworks.personal 0x0000462d
p_wait_for_stack_condition + 140
Thread 4 Crashed:
0 com.apple.Foundation 0x927d900e NSPushAutoreleasePool
+ 246
Thread 5:
0 libSystem.B.dylib 0x90026d5c kevent + 12
1 ...ple.CoreServices.CarbonCore 0x90cb8c6c PrivateMPEntryPoint + 51
2 libSystem.B.dylib 0x90024227 _pthread_body + 84
Thread 6:
0 libSystem.B.dylib 0x900248c7
semaphore_wait_signal_trap + 7
1 ...ple.CoreServices.CarbonCore 0x90cb8e11 MPWaitOnQueue + 198
2 com.apple.DesktopServices 0x9271c953
TNodeSyncTask::SyncTaskProc(void*) + 143
3 ...ple.CoreServices.CarbonCore 0x90cb8c6c PrivateMPEntryPoint + 51
4 libSystem.B.dylib 0x90024227 _pthread_body + 84
Thread 7:
0 libSystem.B.dylib 0x900248c7
semaphore_wait_signal_trap + 7
1 com.apple.Foundation 0x9284b26c -[NSConditionLock
lockWhenCondition:] + 39
2 com.apple.AppKit 0x9336a270 -[NSUIHeartBeat
_heartBeatThread:] + 377
3 com.apple.Foundation 0x927f52e0 forkThreadForFunction
+ 123
4 libSystem.B.dylib 0x90024227 _pthread_body + 84
Thread 8:
0 libSystem.B.dylib 0x900248c7
semaphore_wait_signal_trap + 7
1 com.lispworks.personal 0x0000462d
p_wait_for_stack_condition + 140
Thread 9:
0 libSystem.B.dylib 0x900248c7
semaphore_wait_signal_trap + 7
1 com.lispworks.personal 0x0000462d
p_wait_for_stack_condition + 140
Thread 4 crashed with X86 Thread State (32-bit):
eax: 0x8fe050f8 ebx: 0x927d8f26 ecx: 0x8fe54860 edx: 0x171ee000
edi: 0xb02031a8 esi: 0xb02031a4 ebp: 0xb0203148 esp: 0xb0203110
ss: 0x0000001f efl: 0x00010282 eip: 0x927d900e cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
... looks like pointer stuff to me, now. NSPushAutoreleasePool in
Thread 4 ...
Hopefully a bit more helpful for determining the cause...
Frank
More information about the cffi-devel
mailing list