perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John P. Gibbons" <j...@dashing.com>
Subject Re: Embperl 2.0 segmentation fault on apachectl configtest
Date Fri, 23 Jul 2004 17:26:46 GMT
Gerald Richter wrote:

>Rebuild with debug options. In Embperl directory
>
>perl Makefile.PL debug
>make install
>
>
>Then run
>
>gdb /path/to/httpd
>set args -X -t -f /path/to/your/httpd.conf
>r
>--> program is running, segfault should occur
>BT
>--> shows stackbacktrace
>
>  
>
I did the above but this was the result:

# gdb /usr/sbin/httpd
set argsGNU gdb Red Hat Linux (5.2-2)
 Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...-X(no debugging symbols 
found)...
 (gdb) set args -X -t -f /etc/httpd/conf/httpd.conf
(gdb) r
Starting program: /usr/sbin/httpd -X -t -f /etc/httpd/conf/httpd.conf
(no debugging symbols found)...[New Thread 1024 (LWP 18423)]
(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)...(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)...

Syntax OK

(no debugging symbols found)...(no debugging symbols found)...(no 
debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 18423)]
0x08054a60 in ap_remove_module ()
(gdb) BT
#0  0x08054a60 in ap_remove_module ()
#1  0x08054b6f in ap_remove_loaded_module ()
#2  0x0804fdf3 in unload_module ()
#3  0x08051bf9 in run_cleanups ()
#4  0x080506ab in ap_clear_pool ()
#5  0x08050711 in ap_destroy_pool ()
#6  0x0805067c in ap_clear_pool ()
#7  0x08050711 in ap_destroy_pool ()
#8  0x0805dcc2 in clean_parent_exit ()
#9  0x08060e45 in main ()
#10 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6
(gdb)
#0  0x08054a60 in ap_remove_module ()
#1  0x08054b6f in ap_remove_loaded_module ()
#2  0x0804fdf3 in unload_module ()
#3  0x08051bf9 in run_cleanups ()
#4  0x080506ab in ap_clear_pool ()
#5  0x08050711 in ap_destroy_pool ()
#6  0x0805067c in ap_clear_pool ()
#7  0x08050711 in ap_destroy_pool ()
#8  0x0805dcc2 in clean_parent_exit ()
#9  0x08060e45 in main ()
#10 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6
(gdb)
#0  0x08054a60 in ap_remove_module ()
#1  0x08054b6f in ap_remove_loaded_module ()
#2  0x0804fdf3 in unload_module ()
#3  0x08051bf9 in run_cleanups ()
#4  0x080506ab in ap_clear_pool ()
#5  0x08050711 in ap_destroy_pool ()
#6  0x0805067c in ap_clear_pool ()
#7  0x08050711 in ap_destroy_pool ()
#8  0x0805dcc2 in clean_parent_exit ()
#9  0x08060e45 in main ()
#10 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6
(gdb) BT
#0  0x08054a60 in ap_remove_module ()
#1  0x08054b6f in ap_remove_loaded_module ()
#2  0x0804fdf3 in unload_module ()
#3  0x08051bf9 in run_cleanups ()
#4  0x080506ab in ap_clear_pool ()
#5  0x08050711 in ap_destroy_pool ()
#6  0x0805067c in ap_clear_pool ()
#7  0x08050711 in ap_destroy_pool ()
#8  0x0805dcc2 in clean_parent_exit ()
#9  0x08060e45 in main ()
#10 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6



Not sure what the debugging symbols errors are about. I did recompile 
and re-install with the debug flag.  I hope that helps.

>On which system do run this test and which Perl version do you using?
>
>  
>
Redhat 7.2 (kernel  2.4.20-28.7)
Apache 1.3.27
mod_perl 1.26
Embperl 2.0b11
perl 5.6.1

These are all the standard packages from Redhat with the exception of 
Embperl of course.



>Could you run 
>
>make test TESTARGS="-i"
>
>  
>

As expected make test TESTARGS="-i" completes with no errors.

Cheers,
John


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


Mime
View raw message