On 1/22/07, Perrin Harkins <suppressed> wrote:
On 1/21/07, Joel Gwynn <suppressed> wrote: > I've got a mod_perl application which segfaults on every 10th or so > requests. Here's what I get in my error log: > > [notice] child pid xxxx exit signal Segmentation fault (11) > > How would I go about troubleshooting this? There are instructions for getting a backtrace here: http://perl.apache.org/docs/2.0/user/help/help.html#Reporting_Problems - Perrin
Soooo ... I've recompiled mod_perl with MP_DEBUG=1 and I've got some core dumps. I'm hoping I don't need to recompile perl because I'm using debian, and perl and debian are so closely intertwined that that could be tricky. Here's my backtrace, any ideas? #0 0xb7a58743 in modperl_dir_config (my_perl=0x81b6eb0, r=0x823ce98, s=0x203a6e6f, key=0x8800c38 "CONFIG_FILE", sv_val=0x0) at modperl_util.c:516 #1 0xb78dae84 in XS_Apache2__RequestRec_dir_config (my_perl=0x81b6eb0, cv=0x82cd074) at RequestUtil.xs:301 #2 0xb79a3ab9 in Perl_pp_entersub () from /usr/lib/libperl.so.5.8 #3 0xb799bc99 in Perl_runops_standard () from /usr/lib/libperl.so.5.8 #4 0xb793e459 in Perl_call_sv () from /usr/lib/libperl.so.5.8 #5 0xb793e23d in Perl_call_sv () from /usr/lib/libperl.so.5.8 #6 0xb7a5401a in modperl_callback (my_perl=0x81b6eb0, handler=0x80dae20, p=0x8240e70, r=0x8240ea8, s=0x80e2c78, args=0x8aae448) at modperl_callback.c:101 #7 0xb7a54918 in modperl_callback_run_handlers (idx=6, type=4, r=0x8240ea8, c=0x0, s=0x80e2c78, pconf=0x0, plog=0x0, ptemp=0x0, run_mode=MP_HOOK_RUN_FIRST) at modperl_callback.c:262 #8 0xb7a54df5 in modperl_callback_per_dir (idx=6, r=0x8240ea8, run_mode=MP_HOOK_RUN_FIRST) at modperl_callback.c:369 #9 0xb7a4cb09 in modperl_response_handler_run (r=0x8240ea8, finish=0) at mod_perl.c:995 #10 0xb7a4ce3c in modperl_response_handler_cgi (r=0x8240ea8) at mod_perl.c:1090 #11 0x08078375 in ap_run_handler () #12 0x08078980 in ap_invoke_handler () #13 0x08069c6a in ap_process_request () #14 0x0806512d in _start () #15 0x08240ea8 in ?? () #16 0x00000004 in ?? () #17 0x08240ea8 in ?? () #18 0xb7a6e6f1 in modperl_process_connection_handler (c=0x8236f58) at modperl_hooks.c:17 #19 0x080835c5 in ap_run_process_connection ()
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.