I've recompiled CamelBones for 5.8.0, which I installed over 5.6.0 in
the default Apple locations. When I compiled the framework I used
Apples instructions for making it able to be included in
applications. I wrote a program to post entries to my use Perl
Journal. Below is what I get in Project Builder when I run the
program and trigger the sendEntry() event.
dyld: /Users/cwest/Use Perl Journal/build/Use Perl
Journal.app/Contents/MacOS/Use Perl Journal Undefined symbols:
_Perl_get_sv
_Perl_safesysfree
_Perl_safesysmalloc
_Perl_sv_2pv_flags
_Perl_sv_catpvn_flags
Use Perl Journal has exited due to signal 5 (SIGTRAP).
In the console I get the following.
Sep 25 15:50:35 ibook crashdump: Crash report written to:
/Users/cwest/Library/Logs/CrashReporter/Use Perl Journal.crash.log
Now, I'm fully aware of the issues of old XS modules creating these
sorts of errors with 5.8.0 and I've not seen any issues since I
installed 5.8.0 (correctly :). Any clues about this would be most
appreciated, it's just a little wrapper around WWW::UsePerl::Journal,
that's why I'm so confused. I'll send the whole project if anyone
thinks it will be useful.
Last, in the crash log it reads this.
**********
Date/Time: 2002-09-25 11:07:27 -0400
OS Version: 10.2.1 (Build 6D52)
Host: ibook.local.
Command: Use Perl Journal
PID: 3955
Exception: EXC_BREAKPOINT (0x0006)
Code[0]: 0x00000001Code[1]: 0x8fe01280
Thread 0 Crashed:
#0 0x8fe01280 in halt
#1 0x8fe106b4 in link_in_need_modules
#2 0x8fe12230 in _dyld_link_module
#3 0x900171c8 in NSLinkModule
#4 0x10015fb4 in dlopen
#5 0x100161a4 in XS_DynaLoader_dl_load_file
#6 0x90ef1ebc in Perl_pp_entersub
#7 0x90eeafdc in Perl_runops_standard
#8 0x90ea3380 in perl_call_sv
#9 0x90ea2e50 in perl_call_method
#10 0x10009c00 in CBForwardObjectInvocationToObject
(CBPerlGuts.m:867)
#11 0x100035d0 in -[CBPerlObject forwardInvocation:]
(CBPerlObject.m:110)
#12 0x907f10b4 in -[NSObject(NSForwardInvocation) forward::]
#13 0x9068c130 in _objc_msgForward
#14 0x930cfe2c in -[NSApplication sendAction:to:from:]
#15 0x9315bff0 in -[NSControl sendAction:to:]
#16 0x93113a38 in -[NSCell _sendActionFrom:]
#17 0x93113fc4 in -[NSCell trackMouse:inRect:ofView:untilMouseUp:]
#18 0x930fef78 in -[NSButtonCell
trackMouse:inRect:ofView:untilMouseUp:]
#19 0x9315c898 in -[NSControl mouseDown:]
#20 0x9336dfd4 in -[NSWindow sendEvent:]
#21 0x930ce328 in -[NSApplication sendEvent:]
#22 0x930ca524 in -[NSApplication run]
#23 0x9068c258 in objc_msgSendv
#24 0x907ed17c in -[NSInvocation invoke]
#25 0x1000761c in CBCallNativeMethod (CBPerlGuts.m:272)
#26 0x10005bd4 in XS_Foundation__callObjectMethod
(Foundation_xs.m:33)
#27 0x90ef1ebc in Perl_pp_entersub
#28 0x90eeafdc in Perl_runops_standard
#29 0x90ea389c in perl_eval_sv
#30 0x90ea3b30 in perl_eval_pv
#31 0x100020ac in -[CBPerl eval:] (CBPerl.m:94)
#32 0x10001c84 in CBApplicationMain2 (CBPerl.m:28)
#33 0x10001b2c in CBApplicationMain (CBPerl.m:14)
#34 0x00001da8 in main (main.m:14)
#35 0x00001b2c in _start (crt.c:267)
#36 0x000019ac in start
PPC Thread State:
srr0: 0x8fe01280 srr1: 0x0002d030 vrsave: 0x00000000
xer: 0x20000000 lr: 0x8fe09c38 ctr: 0x8fe29468 mq: 0x00000000
r0: 0x00000004 r1: 0xbfffd3a0 r2: 0x8fe0b7f4 r3: 0x000000ce
r4: 0x00000000 r5: 0x000000ce r6: 0x0000000a r7: 0x6c5f7376
r8: 0x5f636174 r9: 0x00000000 r10: 0x8fe4850c r11: 0x00000015
r12: 0x8fe71af5 r13: 0x00000000 r14: 0x00000000 r15: 0x00000000
r16: 0xa0ea19bc r17: 0xa3093b98 r18: 0x00000001 r19: 0xa0ea19bc
r20: 0x00000000 r21: 0xa30a3b98 r22: 0x00000000 r23: 0x003793b0
r24: 0x00080bc0 r25: 0x10016078 r26: 0x10016078 r27: 0x00008224
r28: 0x8fe4841c r29: 0x8fe484ec r30: 0x8fe484ec r31: 0x8fe099bc
**********
Date/Time: 2002-09-25 15:50:35 -0400
OS Version: 10.2.1 (Build 6D52)
Host: ibook.local.
Command: Use Perl Journal
PID: 5553
Exception: EXC_BREAKPOINT (0x0006)
Code[0]: 0x00000001Code[1]: 0x8fe01280
Thread 0 Crashed:
#0 0x8fe01280 in halt
#1 0x8fe106b4 in link_in_need_modules
#2 0x8fe12230 in _dyld_link_module
#3 0x900171c8 in NSLinkModule
#4 0x10015fb4 in dlopen
#5 0x100161a4 in XS_DynaLoader_dl_load_file
#6 0x90ef1ebc in Perl_pp_entersub
#7 0x90eeafdc in Perl_runops_standard
#8 0x90ea3380 in perl_call_sv
#9 0x90ea2e50 in perl_call_method
#10 0x10009c00 in CBForwardObjectInvocationToObject
(CBPerlGuts.m:867)
#11 0x100035d0 in -[CBPerlObject forwardInvocation:]
(CBPerlObject.m:110)
#12 0x907f10b4 in -[NSObject(NSForwardInvocation) forward::]
#13 0x9068c130 in _objc_msgForward
#14 0x930cfe2c in -[NSApplication sendAction:to:from:]
#15 0x9315bff0 in -[NSControl sendAction:to:]
#16 0x93113a38 in -[NSCell _sendActionFrom:]
#17 0x93113fc4 in -[NSCell trackMouse:inRect:ofView:untilMouseUp:]
#18 0x930fef78 in -[NSButtonCell
trackMouse:inRect:ofView:untilMouseUp:]
#19 0x9315c898 in -[NSControl mouseDown:]
#20 0x9336dfd4 in -[NSWindow sendEvent:]
#21 0x930ce328 in -[NSApplication sendEvent:]
#22 0x930ca524 in -[NSApplication run]
#23 0x9068c258 in objc_msgSendv
#24 0x907ed17c in -[NSInvocation invoke]
#25 0x1000761c in CBCallNativeMethod (CBPerlGuts.m:272)
#26 0x10005bd4 in XS_Foundation__callObjectMethod
(Foundation_xs.m:33)
#27 0x90ef1ebc in Perl_pp_entersub
#28 0x90eeafdc in Perl_runops_standard
#29 0x90ea389c in perl_eval_sv
#30 0x90ea3b30 in perl_eval_pv
#31 0x100020ac in -[CBPerl eval:] (CBPerl.m:94)
#32 0x10001c84 in CBApplicationMain2 (CBPerl.m:28)
#33 0x10001b2c in CBApplicationMain (CBPerl.m:14)
#34 0x00001da8 in main (main.m:14)
#35 0x00001b2c in _start (crt.c:267)
#36 0x000019ac in start
PPC Thread State:
srr0: 0x8fe01280 srr1: 0x0002d030 vrsave: 0x00000000
xer: 0x20000000 lr: 0x8fe09c38 ctr: 0x8fe29468 mq: 0x00000000
r0: 0x00000004 r1: 0xbfffd3a0 r2: 0x8fe0b7f4 r3: 0x000000ce
r4: 0x00000000 r5: 0x000000ce r6: 0x0000000a r7: 0x6c5f7376
r8: 0x5f636174 r9: 0x00000000 r10: 0x8fe4850c r11: 0x00000015
r12: 0x8fe71af5 r13: 0x00000000 r14: 0x00000000 r15: 0x00000000
r16: 0xa0ea19bc r17: 0xa3093b98 r18: 0x00000001 r19: 0xa0ea19bc
r20: 0x00000000 r21: 0xa30a3b98 r22: 0x00000000 r23: 0x0037a430
r24: 0x00080c40 r25: 0x10016078 r26: 0x10016078 r27: 0x00008224
r28: 0x8fe4841c r29: 0x8fe484ec r30: 0x8fe484ec r31: 0x8fe099bc
--
Casey West