environment: linux redhat 2.2.12-20, modperl 1.24, apache 1.3.12

i've tried it with both perl 5.6 and with 5.005-03.
in both cases, i get a segv crash almost immediately the first time i issue
a request for a url using a perl handler (static file handling is fine).

below are the stack traces for the two perl versions, when run with -X .
any suggestions for fixes or workarounds are very appreciated.
(maybe building without EVERYTHING=1? who knows....)

-mda

0x8123195 in Perl_sv_setsv ()
(gdb) whe
#0  0x8123195 in Perl_sv_setsv ()
#1  0x811a333 in Perl_pp_sassign ()
#2  0x8119fbd in Perl_runops_standard ()
#3  0x80e2055 in S_call_body ()
#4  0x80e1e1e in perl_call_sv ()
#5  0x807ebbb in perl_call_handler (sv=0x8329db8, r=0x85360bc, args=0x0)
    at mod_perl.c:1643
#6  0x807e3cb in perl_run_stacked_handlers (hook=0x815cbf9 "PerlHandler",
    r=0x85360bc, handlers=0x832a04c) at mod_perl.c:1362
#7  0x807c99d in perl_handler (r=0x85360bc) at mod_perl.c:905
#8  0x8098eb3 in ap_invoke_handler (r=0x85360bc) at http_config.c:508
#9  0x80ac479 in process_request_internal (r=0x85360bc) at http_request.c:1215
#10 0x80ac4dc in ap_process_request (r=0x85360bc) at http_request.c:1231
#11 0x80a3dbe in child_main (child_num_arg=0) at http_main.c:4177
#12 0x80a3f4c in make_child (s=0x8192bbc, slot=0, now=963211804)
    at http_main.c:4281
#13 0x80a40a9 in startup_children (number_to_start=5) at http_main.c:4363
#14 0x80a46d6 in standalone_main (argc=6, argv=0xbffffbf4) at http_main.c:4651
#15 0x80a4e63 in main (argc=6, argv=0xbffffbf4) at http_main.c:4978
(gdb) 

Program received signal SIGSEGV, Segmentation fault.
0x8102050 in Perl_pp_rv2hv ()
(gdb) whe
#0  0x8102050 in Perl_pp_rv2hv ()
#1  0x812f25d in Perl_runops_standard ()
#2  0x811b5bb in sortcv ()
#3  0x811f8cf in qsortsv ()
#4  0x8119e66 in Perl_pp_sort ()
#5  0x812f25d in Perl_runops_standard ()
#6  0x80d76a1 in perl_call_sv ()
#7  0x807ca6b in perl_call_handler (sv=0x81f3850, r=0x84dce6c, args=0x0)
    at mod_perl.c:1643
#8  0x807c27b in perl_run_stacked_handlers (hook=0x8134b19 "PerlHandler",
    r=0x84dce6c, handlers=0x84c192c) at mod_perl.c:1362
#9  0x807a7fd in perl_handler (r=0x84dce6c) at mod_perl.c:905
#10 0x8095983 in ap_invoke_handler (r=0x84dce6c) at http_config.c:508
#11 0x80a8e69 in process_request_internal (r=0x84dce6c) at http_request.c:1215
#12 0x80a8ecc in ap_process_request (r=0x84dce6c) at http_request.c:1231
#13 0x80a07ae in child_main (child_num_arg=0) at http_main.c:4177
#14 0x80a093c in make_child (s=0x816a9ec, slot=0, now=963213899)
    at http_main.c:4281
#15 0x80a0a99 in startup_children (number_to_start=5) at http_main.c:4363
#16 0x80a10c6 in standalone_main (argc=6, argv=0xbffffbf4) at http_main.c:4651
#17 0x80a1853 in main (argc=6, argv=0xbffffbf4) at http_main.c:4978


Reply via email to