Return-Path: Delivered-To: apmail-perl-embperl-archive@www.apache.org Received: (qmail 42095 invoked from network); 20 Sep 2005 09:59:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Sep 2005 09:59:10 -0000 Received: (qmail 80210 invoked by uid 500); 20 Sep 2005 09:59:09 -0000 Delivered-To: apmail-perl-embperl-archive@perl.apache.org Received: (qmail 79986 invoked by uid 500); 20 Sep 2005 09:59:07 -0000 Mailing-List: contact embperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list embperl@perl.apache.org Received: (qmail 79973 invoked by uid 99); 20 Sep 2005 09:59:07 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Sep 2005 02:59:07 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [212.13.37.242] (HELO gate.criticalsoftware.com) (212.13.37.242) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Sep 2005 02:59:16 -0700 Received: from [192.168.3.67] (alvieboy@[192.168.3.67]) by gate.criticalsoftware.com (8.12.11/8.12.11/check_local-5) with ESMTP id j8K9wYPv058530 for ; Tue, 20 Sep 2005 10:58:34 +0100 (WEST) Message-ID: <432FDD40.5090805@criticalsoftware.com> Date: Tue, 20 Sep 2005 10:58:24 +0100 From: Alvaro Lopes Organization: Critical Software, SA User-Agent: Debian Thunderbird 1.0.2 (X11/20050331) X-Accept-Language: en-us, en MIME-Version: 1.0 To: embperl@perl.apache.org Subject: Segmentation faults in embperl2 X-Enigmail-Version: 0.90.2.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/mixed; boundary="----------=_1127210314-86906-334" X-Scanned-By: MIMEDefang 2.43 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------------=_1127210314-86906-334 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 #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. ------------=_1127210314-86906-334 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org For additional commands, e-mail: embperl-help@perl.apache.org ------------=_1127210314-86906-334--