php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5096 segfault when any php script executes
Submitted: 2000-06-17 03:38 UTC Modified: 2000-08-18 18:44 UTC
From: wayne dot izatt at myself dot com Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0.0 Release OS: linux redhat 6.1
Private report: No CVE-ID: None
 [2000-06-17 03:38 UTC] wayne dot izatt at myself dot com
./configure --with-mysql

running with vanilla setup, any php script causes the child process to segfault. php3 runs perfectly with exact same setup

here is the backtrace

I added --enable-debug to the above configure and here is the gdb backtrace:

(gdb) run httpd -X
Starting program: /usr/local/apache/bin/httpd httpd -X

Program received signal SIGSEGV, Segmentation fault.
0x4044b7d2 in ?? () from /usr/local/apache/libexec/libphp4.so
(gdb) bt
#0  0x4044b7d2 in ?? () from /usr/local/apache/libexec/libphp4.so
#1  0x807f8f3 in ap_invoke_handler ()
#2  0x8092f09 in process_request_internal ()
#3  0x8092f6c in ap_process_request ()
#4  0x808a80e in child_main ()
#5  0x808a99c in make_child ()
#6  0x808aaf9 in startup_children ()
#7  0x808b126 in standalone_main ()
#8  0x808b8b3 in main ()
#9  0x400d31eb in __libc_start_main (main=0x808b56c <main>, argc=3,
argv=0xbffffd04, init=0x8062548 <_init>, fini=0x813794c <_fini>,
    rtld_fini=0x4000a610 <_dl_fini>, stack_end=0xbffffcfc) at
../sysdeps/generic/libc-start.c:90


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-06 19:00 UTC] stas@php.net
yuor build is probaly broken. Try downloading latest version from http://snaps.php.net/ and build it cleanly. Please report the results.
 [2000-08-18 18:44 UTC] sniper@php.net
No feedback from user.
And propably another module in apache which uses mysql.
Please add path to --with-mysql 

--Jani


 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 09:00:01 2026 UTC