You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Michael Greenish <gr...@yahoo.com> on 2005/10/26 16:32:14 UTC

segmentation fault after installing mod_perl2

Hello,

I am trying to migrate from mod_cgi to mod_perl.  My
system is as follows:

linux suse 9.2

(installed via rpm from suse)
apache2-mod_php4-4.3.8-8.9
apache2-2.0.50-7.3
apache2-devel-2.0.50-7.3
apache2-prefork-2.0.50-7.3
apache2-mod_perl-2.0.1-2.1

I added the 'LoadModule perl_module
/usr/lib/apache2/mod_perl.so' directive to my config
file.  I also commented out the check for GATEWAY in
mod_perl-startup.pl.

I attempt to start the server as follows:

   httpd -f /path/to/configs/httpd.conf -X

The process starts but the stops with a segmentation
fault.  The server starts when I comment out the
LoadModule directive.  I attempted to debug with gdb
and got the following:

This GDB was configured as "i586-suse-linux"...(no
debugging symbols found)...Using host libthread_db
library "/lib/tls/libthread_db.so.1".

(gdb) b ap_process_request
Breakpoint 1 at 0x80668d8
(gdb) run -X -f /http/greanie/server/httpd.conf -E
/http/greanie/server/startup.log -e debug
Starting program: /usr/sbin/httpd2 -X -f
/http/greanie/server/httpd.conf -E
/http/greanie/server/startup.log -e debug
(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(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 1076952416 (LWP 17697)]
(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols
found)...
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1076952416 (LWP 17697)]
0x404c6adc in ap_pcw_walk_files_config () from
/usr/lib/apache2/mod_perl.so

The debugger definitely shows the seg fault happening
inside mod_perl.so.  

Help!!  What do I do now?

thanks,

greanie



	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com