Bug #17058 Updated: child pid XXX exit signal Segmentation Fault (11)

From: Date: Wed, 08 May 2002 23:34:10 +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-7274@lists.php.net to get a copy of this message
ID: 17058 Updated by: karyn.joseph@teradyne.com Reported By: karyn.joseph@teradyne.com Status: Open Bug Type: Reproducible crash Operating System: Solaris 2.7 PHP Version: 4.2.0 New Comment: Your assumption is exactly correct. The /opt/apache is just a link to /opt/apache.1.X. This way I can upgrade quickly without disrupting the whole server. So I removed the /opt/apache_1.3_64/libexec/libphp4.so file, removed the entries from the httpd.conf file, re-ran the config.nice, make, and make install for php4ORC1, then re-ran the gdb and still got the question marks. How do I remove a previous php install? Or any idea why it is not enabling the debugs? I'm obviously missing something. Any ideas? Karyn Previous Comments: ------------------------------------------------------------------------ [2002-05-08 19:26:06] alan_k@php.net 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? ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ 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

« previous php.bugs (#7274) next »