perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lingyan Zhu" <ling...@paracel.com>
Subject RE: seg fault with SuSE SLES 8
Date Thu, 22 Jan 2004 20:11:23 GMT
Just found a fix to the segmentation fault and thought it might be helpful to other people
later on:

What I had to do is to add "PerlModule Embperl" in /etc/httpd/srm.conf, which means Embperl
will be loaded at server startup.

Now 'apachectl configtest' and 'apachectl restart' still fail with segmentation fault, but
'apachectl start' no longer seg-faults!  Good enough for me ;)

Lingyan


> -----Original Message-----
> From: Lingyan Zhu 
> Sent: Wednesday, January 21, 2004 4:41 PM
> To: embperl@perl.apache.org
> Subject: RE: seg fault with SuSE SLES 8
> 
> 
> Forgot to mention:
> 
> This is what I got when I ran 'httpd -t' under gdb:
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 1024 (LWP 30194)]
> 0x000000004000ecb8 in ap_remove_module ()
> (gdb) backtrace
> #0  0x000000004000ecb8 in ap_remove_module ()
> #1  0x000000004000edc9 in ap_remove_loaded_module ()
> #2  0x000000004000a1b5 in ap_get_server_built ()
> #3  0x000000004000c046 in ap_run_cleanup ()
> #4  0x000000004000a9cd in ap_clear_pool ()
> #5  0x000000004000aa61 in ap_destroy_pool ()
> #6  0x000000004000aa29 in ap_clear_pool ()
> #7  0x000000004000aa61 in ap_destroy_pool ()
> #8  0x0000000040017342 in ap_exists_scoreboard_image ()
> #9  0x000000004001a13c in main ()
> #10 0x0000002a95f05087 in __libc_start_main () from /lib64/libc.so.6
> #11 0x000000004000a09a in _start ()
> 
> Just thought it might be useful.  Thanks again,
> Lingyan
> 
> 
> > -----Original Message-----
> > From: Lingyan Zhu 
> > Sent: Wednesday, January 21, 2004 4:30 PM
> > To: embperl@perl.apache.org
> > Subject: seg fault with SuSE SLES 8
> > 
> > 
> > Hi there,
> > 
> > I have a segmentation fault problem running 'httpd -t' on my 
> > SuSE system with the following config:
> > 
> > SuSE Enterprise Server 8 for AMD 64 (perl 5.8.0, apache 
> > 1.3.26-105, mod_perl 1.27-146) + Embperl 2.0b9
> > 
> > I compiled Embperl 2.0b9.
> > 
> > Once I add configurations for Embperl (PerlModule Embperl 
> > etc.) into httpd.conf, httpd -t gives a segmentation fault.
> > 
> > Any ideas/suggestions/pointers will be greatly appreciated.
> > Thanks,
> > 
> > Lingyan
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> > For additional commands, e-mail: embperl-help@perl.apache.org
> > 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
> 
> 

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


Mime
View raw message