Bug #17058 Updated: child pid XXX exit signal Segmentation Fault (11)
| From: | alan_k@php.net | Date: | Wed, 08 May 2002 23:26:07 +0000 |
| Subject: | Bug #17058 Updated: child pid XXX exit signal Segmentation Fault (11) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-7273@lists.php.net to get a copy of this message | ||
ID: 17058
Updated by: alan_k@php.net
Reported By: karyn.joseph@teradyne.com
Status: Open
Bug Type: Reproducible crash
Operating System: Solaris 2.7
PHP Version: 4.2.0
New Comment:
if you need to check a php binary to see how it was configured
apart from <? phpinfo() ?>
strings libphp4.so | grep configure
I did notice that your apache modules directory was this
/opt/apache_1.3_64/libexec/libphp4.so
and you used apxs from here -
"--with-apxs=/opt/apache/bin/apxs"
I presume they are the same install of apache?
Previous Comments:
------------------------------------------------------------------------
[2002-05-08 16:08:00] karyn.joseph@teradyne.com
I thought it was. I'm new to php, so am not sure what else I could do
to change the install.
I'll try to recompile php again and remove the previous install. Once
installed, how can I tell if the correct modules are loaded or not?
Thanks,
Karyn
------------------------------------------------------------------------
[2002-05-08 16:04:38] mfischer@php.net
The line
#0 0xfed00178 in ?? () from /opt/apache_1.3_64/libexec/libphp4.so
tells me the debugger can't find the symbols which means that this
binary doesn't have the debug symbols which are normally generated when
compiling with --enable-debug
Have you made sure the right binary is installed and loaded in the
debugger?
------------------------------------------------------------------------
[2002-05-08 16:00:36] karyn.joseph@teradyne.com
It was compiled with --enable-debug.
Here's the config. Did I do something
incorrectly?:
cat config.nice
#! /bin/sh
#
# Created by configure
"./configure" \
"--with-mysql" \
"--prefix=/opt/php-4ORC1" \
"--enable-debug" \
"--with-apxs=/opt/apache/bin/apxs" \
"$@"
Thank you for the help.
Karyn
------------------------------------------------------------------------
[2002-05-08 15:57:38] mfischer@php.net
Now that we know it crashes in libphp4.so you need to recompile PHP
with --enable-debug in other to get more information where it exactly
crashed.
------------------------------------------------------------------------
[2002-05-08 15:43:56] karyn.joseph@teradyne.com
Backtrace information ... I hope this is right:
binder# gdb ../bin/httpd
GNU gdb 4.18
Copyright 1998 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 "sparc-sun-solaris2.7"...
(gdb) run -X
Starting program: /opt/apache_1.3_64/conf/../bin/httpd -X
Program received signal SIGSEGV, Segmentation fault.
0xfed00178 in ?? () from /opt/apache_1.3_64/libexec/libphp4.so
(gdb) exit
Undefined command: "exit". Try "help".
(gdb) bye
Undefined command: "bye". Try "help".
(gdb) exit
Undefined command: "exit". Try "help".
(gdb) quit
The program is running. Exit anyway? (y or n) n
Not confirmed.
(gdb) bt
#0 0xfed00178 in ?? () from /opt/apache_1.3_64/libexec/libphp4.so
#1 0x86bd0 in ap_invoke_handler ()
#2 0xa3518 in process_request_internal ()
#3 0xa3a38 in ap_internal_redirect ()
#4 0x75fe8 in handle_dir ()
#5 0x86bd0 in ap_invoke_handler ()
#6 0xa3518 in process_request_internal ()
#7 0xa359c in ap_process_request ()
#8 0x96fe4 in child_main ()
#9 0x97278 in make_child ()
#10 0x97494 in startup_children ()
#11 0x97e84 in standalone_main ()
#12 0x98a90 in main ()
(gdb) quit
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/17058
--
Edit this bug report at http://bugs.php.net/?id=17058&edit=1