#19261 [Com]: Segmentation fault at startup
| From: | Janos dot Zana at elfiz2 dot kee dot hu | Date: | Fri, 18 Oct 2002 08:52:24 +0000 |
| Subject: | #19261 [Com]: Segmentation fault at startup | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-22747@lists.php.net to get a copy of this message | ||
ID: 19261
Comment by: Janos.Zana@elfiz2.kee.hu
Reported By: Janos.Zana@elfiz2.kee.hu
Status: Bogus
Bug Type: Reproducible crash
Operating System: linux woody
PHP Version: 4.1.2
New Comment:
I tried with rewrite the following lind in the /etc/nsswitch.conf:
# services: db files
services: files
(The db commented out) and I recompiled the php4
The apache-php connection works well, without segmentation fault
A new problem was generated at mySQL:
The place of the socket is /var/run/mysql
If I try to connect from outside, the system looks for the socket
in the /tmp/mysql.sock which does not exist! Why?
Notice that not mysqld.sock but mysql.sock
Previous Comments:
------------------------------------------------------------------------
[2002-09-26 19:56:36] sniper@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP --
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php
If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
------------------------------------------------------------------------
[2002-09-06 05:48:20] sniper@php.net
1. Update first to 4.2.2 (or 4.2.3 if it released already)
2. Add your configure line here
------------------------------------------------------------------------
[2002-09-06 03:57:45] derick@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
------------------------------------------------------------------------
[2002-09-06 03:57:01] Janos.Zana@elfiz2.kee.hu
httpd.conf consists of the line:
LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
apachectl restart
/usr/sbin/apachectl: line 171: 5023 Segmentation fault $HTTPD -t
>/dev/null 2>&1
$HTTPD -t >/dev/null 2>&1
/usr/sbin/apachectl restart: configuration broken, ignoring restart
/usr/sbin/apachectl restart: (run 'apachectl configtest' for details)
The bug can be reproduced with any version of apache and
any version os php4
Why? Whom can I send the strace debug result?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19261&edit=1