|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #557 php3 makes Apache crash with "Segmentation fault - core dumped"
Submitted: 1998-07-15 20:44 UTC Modified: 1998-07-17 08:17 UTC
From: gunnar at bitcon dot no Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 3.0.1 OS: NetBSD/i386 1.3.2
Private report: No CVE-ID: None
 [1998-07-15 20:44 UTC] gunnar at bitcon dot no
I followed the php3 INSTALL document to the letter.


When Apache 1.3.0 is compiled with the php3 module it dies with "Segmentation fault - core dumped".

I know next to nothing about gdb, but when invoked with the core dump file it says:

gdb -c httpd.core 
GDB is free software and you are welcome to 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.
GDB 4.16 (i386-netbsd), Copyright 1996 Free Software Foundation, Inc.
Core was generated by `httpd'.
Program terminated with signal 11, Segmentation fault.
#0  0xa9cb5 in ?? ()
(gdb) bt
#0  0xa9cb5 in ?? ()
#1  0xaa40c in ?? ()
#2  0x8bc2c in ?? ()
#3  0x10da in ?? ()

My PHP3 configure line:

./configure --with-apache=/usr/local/tmp/apache_1.3.0 --with-mysql

My Apache configure line:

./configure --prefix=/usr/local --activate-module=src/modules/php3/libphp3.a --enable-module=most

If I configure and build Apache without the php3 module it works fine.

Compilation of php3 went without any errors.

My php3.ini file is untouched from the php3.ini-dist file.

I can try helping with running gdb on the core file but you will have to tell me how as I know nothing about gdb (sorry).

Please let me know if there is any other info you need (or if you think I should get in touch with the Apache people instead).

Gunnar Helliesen


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [1998-07-17 08:17 UTC] rasmus
This has been resolved.  Had to do with the order of libraries.  Should be fixed in CVS already.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Tue Dec 05 07:01:27 2023 UTC