perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alvaro Lopes <alvaro.lo...@criticalsoftware.com>
Subject Segmentation faults in embperl2
Date Tue, 20 Sep 2005 09:58:24 GMT
Hi list

I'm having some technical problems with embperl. When apache2 handles a
second request, the child dies with segmentation fault. The first
request is processed fine. I was able to do a backtrace using gdb and
httpd -X (the signal handler shown in #3 was installed by me to handle
SIGSEGV):


#3  <signal handler called>
#4  0xb7a7a966 in Perl_hv_fetch_ent () from
/usr/lib/httpd/modules/mod_perl.so
#5  0xb7a7a6b8 in Perl_hv_fetch () from /usr/lib/httpd/modules/mod_perl.so
#6  0xb7940d95 in EMBPERL2_GetHashValueStr () from
/usr/lib/perl5/auto/Embperl/Embperl.so
#7  0xb794f341 in embperl_GetCGIReqConfig () from
/usr/lib/perl5/auto/Embperl/Embperl.so
#8  0xb796c403 in embperl_GetApacheReqConfig () from
/usr/lib/perl5/auto/Embperl/Embperl.so
#9  0xb794b1aa in embperl_SetupRequest () from
/usr/lib/perl5/auto/Embperl/Embperl.so
#10 0xb794d40b in embperl_InitRequest () from
/usr/lib/perl5/auto/Embperl/Embperl.so
#11 0xb794d84a in embperl_InitRequestComponent () from
/usr/lib/perl5/auto/Embperl/Embperl.so
#12 0xb793dfad in embperl_ExecuteRequest () from
/usr/lib/perl5/auto/Embperl/Embperl.so
#13 0xb7933439 in XS_Embperl__Req_ExecuteRequest () from
/usr/lib/perl5/auto/Embperl/Embperl.so
#14 0xb7a875d6 in Perl_pp_entersub () from
/usr/lib/httpd/modules/mod_perl.so
#15 0xb7a800c9 in Perl_runops_standard () from
/usr/lib/httpd/modules/mod_perl.so
#16 0xb7a289d9 in Perl_call_sv () from /usr/lib/httpd/modules/mod_perl.so
#17 0xb7a287d1 in Perl_call_sv () from /usr/lib/httpd/modules/mod_perl.so
#18 0xb7a0e92b in modperl_callback () from
/usr/lib/httpd/modules/mod_perl.so
#19 0xb7a0ed29 in modperl_callback_run_handlers () from
/usr/lib/httpd/modules/mod_perl.so
#20 0xb7a0f215 in modperl_callback_per_dir () from
/usr/lib/httpd/modules/mod_perl.so
#21 0xb7a0962e in modperl_response_finish () from
/usr/lib/httpd/modules/mod_perl.so
#22 0xb7a098e6 in modperl_response_handler_cgi () from
/usr/lib/httpd/modules/mod_perl.so
#23 0x08068c35 in ap_run_handler (r=0x81fd128) at config.c:152
#24 0x08069230 in ap_invoke_handler (r=0x81fd128) at config.c:364
#25 0x08065b1a in ap_process_request (r=0x81fd128) at http_request.c:249
#26 0x08060e2c in ap_process_http_connection (c=0x81f71e8) at
http_core.c:251
#27 0x08072b85 in ap_run_process_connection (c=0x81f71e8) at connection.c:43
#28 0x08067234 in child_main (child_num_arg=40) at prefork.c:610
#29 0x0806744b in make_child (s=0xb7fb9628, slot=0) at prefork.c:650
#30 0x080674a8 in startup_children (number_to_start=5) at prefork.c:722
#31 0x08067d1a in ap_mpm_run (_pconf=0x80a30a8, plog=0x80cd150,
s=0x80a4e58) at prefork.c:941
#32 0x0806e30d in main (argc=4, argv=0xbfbbcd44) at main.c:618


Version of embperl is 2.0.0, mod_perl 2.0.1, apache 2.0.54 (prefork mpm
only), perl 5.8.4.

Any ideas ?



DISCLAIMER: This message may contain confidential information or privileged material and is
intended only for the individual(s) named. If you are not a named addressee and mistakenly
received this message you should not copy or otherwise disseminate it: please delete this
e-mail from your system and notify the sender immediately. E-mail transmissions are not guaranteed
to be secure or error-free as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete or contain viruses. Therefore, the sender does not accept liability
for any errors or omissions in the contents of this message that arise as a result of e-mail
transmissions. Please request a hard copy version if verification is required. Critical Software.




Mime
View raw message