You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Simon Hollier <si...@hn2.org> on 2004/04/20 23:02:01 UTC

[mp2] segfault backtrace to mpxs_Apache__RequestRec_send_cgi_header(r, buffer)

I haven't looked at any code yet, nor done any debugging; but if someone
has any pointers here's the backtrace :

Starting program: /usr/local/apache/bin/httpd -DONE_PROCESS
[New Thread 1075546784 (LWP 845)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1075546784 (LWP 845)]
0x40407000 in XS_Apache__RequestRec_send_cgi_header (my_perl=0x82156d8,
cv=0x835a224) at Response.xs:149
149         mpxs_Apache__RequestRec_send_cgi_header(r, buffer);
(gdb) bt
#0  0x40407000 in XS_Apache__RequestRec_send_cgi_header
(my_perl=0x82156d8, cv=0x835a224) at Response.xs:149
#1  0x40285dd0 in Perl_pp_entersub () from
/usr/local/apache/modules/mod_perl.so
#2  0x40280182 in Perl_runops_standard () from
/usr/local/apache/modules/mod_perl.so
#3  0x4022cc96 in S_call_body () from
/usr/local/apache/modules/mod_perl.so
#4  0x4022ca55 in Perl_call_sv () from
/usr/local/apache/modules/mod_perl.so
#5  0x40210daa in modperl_callback (my_perl=0x82156d8,
handler=0x81b9d48, p=0x89ba560, r=0x89ba598, s=0x819f508,
args=0x83d3c3c) at modperl_callback.c:99
#6  0x40211553 in modperl_callback_run_handlers (idx=6, type=4,
r=0x89ba598, c=0x0, s=0x819f508, pconf=0x0, plog=0x0, ptemp=0x0,
run_mode=MP_HOOK_RUN_FIRST) at modperl_callback.c:262
#7  0x4021179b in modperl_callback_per_dir (idx=6, r=0x89ba598,
run_mode=MP_HOOK_RUN_FIRST) at modperl_callback.c:350
#8  0x4020a58c in modperl_response_handler_run (r=0x89ba598, finish=0)
at mod_perl.c:841
#9  0x4020a8b9 in modperl_response_handler_cgi (r=0x89ba598) at
mod_perl.c:936
#10 0x08092bb6 in ap_run_handler (r=0x89ba598) at config.c:152
#11 0x080930ce in ap_invoke_handler (r=0x89ba598) at config.c:358
#12 0x080904f3 in ap_process_request (r=0x89ba598) at http_request.c:246
#13 0x0808c5dd in ap_process_http_connection (c=0x83d87a8) at
http_core.c:250
#14 0x0809af92 in ap_run_process_connection (c=0x83d87a8) at
connection.c:42
#15 0x0809173b in child_main (child_num_arg=2016245807) at prefork.c:609
#16 0x080918e6 in make_child (s=0x819f508, slot=0) at prefork.c:649
#17 0x0809193f in startup_children (number_to_start=5) at prefork.c:721
#18 0x08092041 in ap_mpm_run (_pconf=0x8091104, plog=0x819af00,
s=0x819f508) at prefork.c:940
#19 0x08096fee in main (argc=2, argv=0xbfffee24) at main.c:617
#20 0x420156a4 in __libc_start_main () from /lib/tls/libc.so.6

Thanks, Simon.
-- 
Simon Hollier
Computer Services
Northeast Health District


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Re: [mp2] segfault backtrace to mpxs_Apache__RequestRec_send_cgi_header(r, buffer)

Posted by Stas Bekman <st...@stason.org>.
Simon Hollier wrote:
> I haven't looked at any code yet, nor done any debugging; but if someone
> has any pointers here's the backtrace :

Simon, please show us a short test handler/script that we can reproduce the 
problem with.

> Starting program: /usr/local/apache/bin/httpd -DONE_PROCESS
> [New Thread 1075546784 (LWP 845)]
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 1075546784 (LWP 845)]
> 0x40407000 in XS_Apache__RequestRec_send_cgi_header (my_perl=0x82156d8,
> cv=0x835a224) at Response.xs:149
> 149         mpxs_Apache__RequestRec_send_cgi_header(r, buffer);

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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org