Peter Bengtson wrote:
I've recently upgraded the pre-installed Perl 5.6 on a server running Mac OS 10.2 to Perl 5.8.0, and as part of the upgrade I need to recompile mod_perl (mod_perl-1.28). I'm not running Apple's Apache, but Tenon's integrated solution, iTools, based on apache_1.3.27. The make procedure runs without any problems -- make test completes at 100% -- and the install is straightforward.

However, the resulting module crashes Apache during startup, and Tenon seem to be quite nonplussed and are unwilling to help, so I am on my own. I am new to compiling mod_perl, but experienced in other server maintenance areas, so any pointers from you folks who have done this before would be much appreciated.

I have found a couple of articles on the install process, but they are very old and seem to be out of date.

I'm not on darwin, so I can't try to reproduce your problem. Also I can't deduct the possible reason for the crash from your core trace, because it doesn't show the arguments to the calls. You need to rebuild perl and mod_perl with debug support and then get the backtrace again. While you are rebuilding perl I'd suggest to try the latest perl, which is perl-5.8.1-RC5
http://www.cpan.org/authors/id/J/JH/JHI/perl-5.8.1-RC5.tar.gz


You can find more info on rebuilding with debug support at http/perl.apache.org/bugs/

Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_INVALID_ADDRESS (0x0001) at 0xabababab
Thread 0 Crashed:
#0 0x0031d0a4 in Perl_sv_upgrade
#1 0x002af784 in perl_construct
#2 0x00221e24 in perl_startup
#3 0x00229300 in perl_cmd_handler_handlers
#4 0x0000dc80 in invoke_cmd
#5 0x0000e118 in ap_handle_command
#6 0x0000e174 in ap_srm_command_loop
#7 0x00009768 in urlsection
#8 0x0000d6b0 in invoke_cmd
#9 0x0000e118 in ap_handle_command
#10 0x0000e174 in ap_srm_command_loop
#11 0x0000e880 in ap_process_resource_config
#12 0x0000b3c0 in include_config
#13 0x0000d77c in invoke_cmd
#14 0x0000e118 in ap_handle_command
#15 0x0000e174 in ap_srm_command_loop
#16 0x0000e880 in ap_process_resource_config
#17 0x0000f1b8 in ap_read_config
#18 0x00006808 in standalone_main
#19 0x00007294 in main
#20 0x00001a40 in _start
#21 0x00001870 in start
PPC Thread State:
srr0: 0x0031d0a4 srr1: 0x0200f030 vrsave: 0x00000000
xer: 0x00000000 lr: 0x0031cb60 ctr: 0x0031d03c mq: 0x00000000
r0: 0x00000010 r1: 0xbfff9510 r2: 0xabababab r3: 0xabababab
r4: 0x0038cb60 r5: 0x00000000 r6: 0x0031cc0c r7: 0x00000020
r8: 0x0031cbec r9: 0x0031cb60 r10: 0x003a1538 r11: 0x0031d03c
r12: 0x000001ec r13: 0x00000000 r14: 0x00000000 r15: 0x00000000
r16: 0x00000000 r17: 0x00000000 r18: 0x00000000 r19: 0x00000000
r20: 0x00000000 r21: 0x00000000 r22: 0x00000000 r23: 0x00000000
r24: 0x00000000 r25: 0x00000000 r26: 0x0031ce50 r27: 0x0039cb60
r28: 0x003a1538 r29: 0x003a1948 r30: 0x00000004 r31: 0x0031cb60


__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com



Reply via email to