httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Boris Zentner <...@2bz.de>
Subject test failed for libapreq2-2.04_03 on macos x
Date Sat, 04 Sep 2004 14:42:29 GMT
Hi,
I just installed perl 5.8.4 + apache2 2.0.50  + mod_perl 1.99_16 and 
libapreq2-2.04_03 on os x.

All tests for mod_perl worked fine.
But for libapreq2 all cgi.t tests fail.

It tried to build apache with and without ssl and libapreq2 as DSO and 
as static module inside apache. Every-time with the same result, all 
cgi.t tests fail.

Im pretty new to OSX ( 7 days ) so it is likely that something else is 
the cause for the error.

a backtrace in gdb shows this:

Program received signal EXC_BAD_ACCESS, Could not access memory.
0x002ebf90 in apreq_xs_request_get ()

#0  0x002ebf90 in apreq_xs_request_get ()
#1  0x0136c6d0 in Perl_pp_entersub ()
#2  0x0136503c in Perl_runops_standard ()
#3  0x01311dc4 in Perl_call_sv ()
#4  0x004535a8 in modperl_callback ()
#5  0x00453c10 in modperl_callback_run_handlers ()
#6  0x00453d20 in modperl_callback_per_dir ()
#7  0x0044ee6c in modperl_response_handler_run ()
#8  0x0044f0fc in modperl_response_handler_cgi ()
#9  0x0003f1a4 in ap_run_handler (r=0x1b3fa50) at config.c:152
#10 0x0003f934 in ap_invoke_handler (r=0x1b33574) at config.c:358
#11 0x0004bc7c in ap_process_request (r=0x1b3fa50) at http_request.c:246
#12 0x0001bbd8 in ap_process_http_connection (c=0x1b39b28) at 
http_core.c:250
#13 0x000574c4 in ap_run_process_connection (c=0x1b39b28) at 
connection.c:42
#14 0x00027504 in child_main (child_num_arg=0) at prefork.c:609
#15 0x000275e8 in make_child (s=0x1b39b28, slot=567284) at prefork.c:649
#16 0x00027734 in startup_children (number_to_start=1) at prefork.c:721
#17 0x00027b88 in ap_mpm_run (_pconf=0x0, plog=0x1b4eda8, s=0x183f970) 
at prefork.c:940
#18 0x00003918 in main (argc=4, argv=0xbffff67c) at main.c:617


and a peace of assembly:
0x002ebf5c <apreq_xs_request_get+220>:  addis   r5,r31,0
0x002ebf60 <apreq_xs_request_get+224>:  lwz     r2,0(r3)
0x002ebf64 <apreq_xs_request_get+228>:  addi    r5,r5,23160
0x002ebf68 <apreq_xs_request_get+232>:  mr      r3,r30
0x002ebf6c <apreq_xs_request_get+236>:  lwzx    r20,r28,r2
0x002ebf70 <apreq_xs_request_get+240>:  mr      r4,r20
0x002ebf74 <apreq_xs_request_get+244>:  bl      0x2f0874 
<apreq_xs_find_obj>
0x002ebf78 <apreq_xs_request_get+248>:  li      r5,126
0x002ebf7c <apreq_xs_request_get+252>:  mr      r23,r3
0x002ebf80 <apreq_xs_request_get+256>:  mr      r3,r30
0x002ebf84 <apreq_xs_request_get+260>:  mr      r4,r23
0x002ebf88 <apreq_xs_request_get+264>:  bl      0x2f18a0 
<dyld_stub_Perl_mg_find>
0x002ebf8c <apreq_xs_request_get+268>:  li      r2,0
0x002ebf90 <apreq_xs_request_get+272>:  lwz     r0,12(r3)
0x002ebf94 <apreq_xs_request_get+276>:  stw     r0,72(r1)
0x002ebf98 <apreq_xs_request_get+280>:  lwz     r0,20(r3)
0x002ebf9c <apreq_xs_request_get+284>:  cmpwi   cr7,r0,0
0x002ebfa0 <apreq_xs_request_get+288>:  ble-    cr7,0x2ebfa8 
<apreq_xs_request_get+296>


r0             0x2ebf8c 3063692
r1             0xbfffe920       3221219616
r2             0x0      0
r3             0x0      0
r4             0x1b4eda8        28634536
r5             0x7e     126
r6             0x0      0
r7             0x72     114
r8             0x72     114
r9             0xbfffe978       3221219704
r10            0x0      0
r11            0x2f21e0 3088864
r12            0x13591ec        20287980
r13            0x1b3da18        28563992
r14            0x6      6
r15            0x1      1
r16            0x0      0
r17            0x0      0
r18            0x4      4
r19            0x11c8630        18646576
r20            0x1b4ed9c        28634524
r21            0x1      1
r22            0x1b3fa50        28572240
r23            0x1b4eda8        28634536
r24            0x18f480c        26167308
r25            0x0      0
r26            0x2      2
r27            0x1      1
r28            0x8      8
r29            0x2      2
r30            0x1880000        25690112
r31            0x2ebe8c 3063436
pc             0x2ebf90 3063696
ps             0x200f030        33615920
cr             0x48002242       1207968322
lr             0x2ebf8c 3063692
ctr            0x13591ec        20287980
xer            0x3      3
mq             0x0      0
fpscr          0x82002000       2181046272
vscr           0x10001  65537
vrsave         0x0      0

--
Boris


Mime
View raw message