php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: gunnar at bitcon dot no
New email:
PHP Version: OS:

 

 [1998-07-15 20:44 UTC] gunnar at bitcon dot no
I followed the php3 INSTALL document to the letter.

Problem:

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 ?? ()
(gdb)

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).

Regards,
Gunnar Helliesen
gunnar@bitcon.no

Patches

Pull Requests

History

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-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 04:01:27 2025 UTC