php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19261 Segmentation fault at startup
Submitted: 2002-09-06 03:57 UTC Modified: 2002-09-26 19:56 UTC
From: Janos dot Zana at elfiz2 dot kee dot hu Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 4.1.2 OS: linux woody
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: Janos dot Zana at elfiz2 dot kee dot hu
New email:
PHP Version: OS:

 

 [2002-09-06 03:57 UTC] Janos dot Zana at elfiz2 dot kee dot 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?

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-06 03:57 UTC] 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 05:48 UTC] 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-26 19:56 UTC] 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-10-18 03:52 UTC] Janos dot Zana at elfiz2 dot kee dot hu
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
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 17 14:04:04 2025 UTC