perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Wheeler <jwhee...@datademons.com>
Subject Re: [MP2] mod_perl 2.0 seg faulting..
Date Wed, 10 Aug 2005 18:01:18 GMT
0x0807be3f in modperl_handler_perl_get_handlers (my_perl=0x82a90c0,
handp=0x8137370, p=0x8566f90) at modperl_handler.c:579
579                     CV *cv = modperl_mgv_cv(gv);
(gdb) info locals
cv = (CV *) 0x84a9260
handler = (modperl_handler_t *) 0x8192c58
gv = (GV *) 0x859e9cc
av = (AV *) 0x8289f04
i = 1
handlers = (modperl_handler_t **) 0x8192df8
__func__ = "modperl_handler_perl_get_handlers"
(gdb) print *gv
$1 = {sv_any = 0x0, sv_refcnt = 1, sv_flags = 2048}
(gdb) print *handler
$2 = {mgv_obj = 0x0, mgv_cv = 0x8388ad8, name = 0x8192c40
"deBiz::Main::dbconnect", cv = 0x0, flags = 33 '!', attrs = 0, next = 0x0}

Justin

Philippe M. Chiasson wrote:
> Justin Wheeler wrote:
> 
>>Here is the backtrace with debugging enabled:
> 
> 
> Can you try :
> 
> (gdb) info locals
> (gdb) print *gv
> (gdb) print *handler
> 
> 
>>#0  0x0807be3f in modperl_handler_perl_get_handlers (my_perl=0x834edb0,
>>handp=0x8137370, p=0x837f3d8) at modperl_handler.c:579
>>#1  0xb7a4658a in XS_Apache2__RequestRec_get_handlers () from
>>/opt/lib/perl/5.8.4//auto/Apache2/RequestUtil/RequestUtil.so
>>#2  0xb7e0ceba in Perl_pp_entersub () from /usr/lib/libperl.so.5.8
>>#3  0xb7e0527a in Perl_runops_standard () from /usr/lib/libperl.so.5.8
>>#4  0xb7da7038 in Perl_get_cv () from /usr/lib/libperl.so.5.8
>>#5  0xb7daabea in Perl_call_sv () from /usr/lib/libperl.so.5.8
>>#6  0x08079b34 in modperl_callback (my_perl=0x834edb0,
>>handler=0x81a8a90, p=0x837f3d8, r=0x837f410, s=0x816ea20,
>>args=0x85995a0) at modperl_callback.c:100
>>#7  0x0807a392 in modperl_callback_run_handlers (idx=6, type=4,
>>r=0x837f410, c=0x0, s=0x816ea20, pconf=0x0, plog=0x0, ptemp=0x0,
>>run_mode=MP_HOOK_RUN_FIRST)
>>    at modperl_callback.c:261
>>#8  0x0807a7ea in modperl_callback_per_dir (idx=6, r=0x837f410,
>>run_mode=MP_HOOK_RUN_FIRST) at modperl_callback.c:368
>>#9  0x080734f2 in modperl_response_handler_run (r=0x837f410, finish=0)
>>at mod_perl.c:979
>>#10 0x08073852 in modperl_response_handler_cgi (r=0x837f410) at
>>mod_perl.c:1074
>>#11 0x080d8583 in ap_run_handler ()
>>#12 0x080d8cbc in ap_invoke_handler ()
>>#13 0x080c2a67 in ap_process_request ()
>>#14 0x080bc89e in ap_process_http_connection ()
>>#15 0x080e54fd in ap_run_process_connection ()
>>#16 0x080e58c8 in ap_process_connection ()
>>#17 0x080d6e8c in child_main ()
>>#18 0x080d6f67 in make_child ()
>>#19 0x080d7079 in startup_children ()
>>#20 0x080d7477 in ap_mpm_run ()
>>#21 0x080de169 in main ()
>>
>>Justin

Mime
View raw message