perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edwin S. Ramirez" <rami...@idconcepts.org>
Subject Perl 5.8.7, Embperl 2.2.0 Segmentation Faults
Date Sun, 25 Jun 2006 15:59:11 GMT
Hello,

I am having problems with Embperl 2.2.0 under SuSe 10.  The system is an 
x86_64, running Linux 2.6.13, Apache 1.3.34 and mod_perl 1.29.
I am running a very simple page which results in a segmentation fault, 
but most of the time the page returns successfully.

 From the error_log:
[Sun Jun 25 11:51:44 2006] [notice] child pid 12408 exit signal 
Segmentation fault (11)

I found a number of messages in the mailing list regarding this type of 
error.  I followed the directions to get a gdb trace of the segmentation 
fault.  It is below.

Thanks,
-Edwin S. Ramirez-

(gdb) set args -X -f /usr/local/apache/conf/httpd.conf
(gdb) r
Starting program: /usr/local/apache/bin/httpd -X -f 
/usr/local/apache/conf/httpd.conf
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 46912506903712 (LWP 12282)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912506903712 (LWP 12282)]
0x00002aaaab663da1 in embperl_GetApacheAppName (pDirCfg=0x300666967)
    at mod_embperl.c:904
904         char *n = pDirCfg?pDirCfg -> AppConfig.sAppName:"Embperl" ;
(gdb) BT
#0  0x00002aaaab663da1 in embperl_GetApacheAppName (pDirCfg=0x300666967)
    at mod_embperl.c:904
#1  0x00002aaaab631870 in embperl_SetupApp (my_perl=0x77a180,
    pThread=0x9e7770, pApacheCfg=0x300666967, pPerlParam=0x0,
    ppApp=0x7fffffa443c0) at epinit.c:608
#2  0x00002aaaab639939 in embperl_InitAppForRequest (my_perl=0x77a180,
    pApacheReqSV=0x79d580, pPerlParam=0x0, ppThread=0x7fffffa44480,
    ppApp=0x7fffffa44478, ppApacheCfg=0x7fffffa44468) at epinit.c:2189
#3  0x00002aaaab6399d3 in embperl_InitRequest (my_perl=0x77a180,
    pApacheReqSV=0x79d580, pPerlParam=0x0, ppReq=0x7fffffa44518)
    at epinit.c:2242
#4  0x00002aaaab63a01f in embperl_InitRequestComponent (my_perl=0x77a180,
    pApacheReqSV=0x79d580, pPerlParam=0x0, ppReq=0x7fffffa44518)
    at epinit.c:2331
#5  0x00002aaaab6256a8 in embperl_ExecuteRequest (my_perl=0x77a180,
    pApacheReqSV=0x79d580, pPerlParam=0x0) at epmain.c:1469
#6  0x00002aaaab61797b in XS_Embperl__Req_ExecuteRequest (my_perl=0x77a180,
    cv=0x9bdc90) at Embperl.xs:136
#7  0x00002aaaaaef3182 in Perl_pp_entersub ()
   from /usr/lib/perl5/5.8.7/x86_64-linux-thread-multi/CORE/libperl.so
#8  0x00002aaaaaed55e6 in Perl_runops_debug ()
   from /usr/lib/perl5/5.8.7/x86_64-linux-thread-multi/CORE/libperl.so
#9  0x00002aaaaae8e14c in Perl_call_sv ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/perl5/5.8.7/x86_64-linux-thread-multi/CORE/libperl.so
#10 0x0000000000486aa5 in perl_call_handler ()
#11 0x000000000048758d in perl_run_stacked_handlers ()
#12 0x0000000000488b62 in perl_handler ()
#13 0x00000000004c383f in ap_invoke_handler ()
#14 0x00000000004dc0d3 in ap_some_auth_required ()
#15 0x00000000004dc129 in ap_process_request ()
#16 0x00000000004d1d7e in ap_child_terminate ()
#17 0x00000000004d1fd6 in ap_child_terminate ()
#18 0x00000000004d2153 in ap_child_terminate ()
#19 0x00000000004d28d9 in ap_child_terminate ()
#20 0x00000000004d311b in main ()


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


Mime
View raw message