I am trying to run apachectl by loading php5 module into it. This
results in SIGABRT at the time of startup and Apcahe aborts. If I
comment out LoadModule for php library then it starts peacefully.
My apache version is 2.2.3
and PHP is 5.
Please suggest on what can be the cause.
I have attached the GDB backtrace below.
TIA.
bash-3.00# gdb /home/msingh/httpd-2.2.3/usr/local/bin/htt
httpd httxt2dbm
bash-3.00# gdb /home/msingh/httpd-2.2.3/usr/local/bin/httpd
GNU gdb Red Hat Linux (6.3.0.0-1.21_1rh)
Copyright 2004 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 "ppc-linux"...Using host libthread_db
library "/lib/l
ibthread_db.so.1".
(gdb) set args -f /home/msingh/httpd-2.2.3/usr/local/conf/httpd.conf
(gdb) run
Starting program: /home/msingh/httpd-2.2.3/usr/local/bin/httpd -f
/home/msingh/h
ttpd-2.2.3/usr/local/conf/httpd.conf
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 25158)]
httpd: apr_sockaddr_info_get() failed for rxm0
httpd: Could not reliably determine the server's fully qualified domain
name, us
ing 127.0.0.1 for ServerName
Program received signal SIGABRT, Aborted.
[Switching to Thread 16384 (LWP 25158)]
0x0fa800a8 in kill () from /lib/libc.so.6
(gdb) bt
#0 0x0fa800a8 in kill () from /lib/libc.so.6
#1 0x0fbccc70 in pthread_kill () from /lib/libpthread.so.0
#2 0x0fbcd03c in raise () from /lib/libpthread.so.0
#3 0x0fa7fea4 in raise () from /lib/libc.so.6
#4 0x0fa81414 in abort () from /lib/libc.so.6
#5 0x0fb50828 in deregister_frame_info_bases () from /lib/libc.so.6
#6 0x0fb508a8 in deregister_frame_info () from /lib/libc.so.6
#7 0x0f556318 in do_global_dtors_aux ()
from /home/msingh/httpd-2.2.3/usr/local/modules/libphp5.so
#8 0x0f556318 in do_global_dtors_aux ()
from /home/msingh/httpd-2.2.3/usr/local/modules/libphp5.so
#9 0x0f556318 in do_global_dtors_aux ()
from /home/msingh/httpd-2.2.3/usr/local/modules/libphp5.so
#10 0x0f556318 in do_global_dtors_aux ()
from /home/msingh/httpd-2.2.3/usr/local/modules/libphp5.so
#11 0x0f556318 in do_global_dtors_aux ()
from /home/msingh/httpd-2.2.3/usr/local/modules/libphp5.so
#12 0x0f556318 in do_global_dtors_aux ()
from /home/msingh/httpd-2.2.3/usr/local/modules/libphp5.so
#13 0x0f556318 in do_global_dtors_aux ()
from /home/msingh/httpd-2.2.3/usr/local/modules/libphp5.so
#14 0x0f556318 in do_global_dtors_aux ()
from /home/msingh/httpd-2.2.3/usr/local/modules/libphp5.so
---Type <return> to continue, or q <return> to quit---
#15 0x0f556318 in do_global_dtors_aux ()
from /home/msingh/httpd-2.2.3/usr/local/modules/libphp5.so
#16 0x0f556318 in do_global_dtors_aux ()
from /home/msingh/httpd-2.2.3/usr/local/modules/libphp5.so
#17 0x0f556318 in do_global_dtors_aux ()
from /home/msingh/httpd-2.2.3/usr/local/modules/libphp5.so
#18 0x0f556318 in do_global_dtors_aux ()
from /home/msingh/httpd-2.2.3/usr/local/modules/libphp5.so
#19 0x0f556318 in do_global_dtors_aux ()
from /home/msingh/httpd-2.2.3/usr/local/modules/libphp5.so
#20 0x0f556318 in do_global_dtors_aux ()
from /home/msingh/httpd-2.2.3/usr/local/modules/libphp5.so
Previous frame inner to this frame (corrupt stack?)