php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3589 Memory Fault (core dump)
Submitted: 2000-02-23 11:32 UTC Modified: 2000-06-09 15:25 UTC
From: rmorgan at covalent dot net Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0 Beta 4 Patch Level 1 OS: OpenBSD 2.4
Private report: No CVE-ID: None
 [2000-02-23 11:32 UTC] rmorgan at covalent dot net
I am getting a a core dump with 4.0 Beta 4 Patch Level 1.  Everything was working fine under 4.0 Beta 3.  On startup Apache fails with:

Memory fault (core dumped)

Here is a backtrace of the core file.

#> gdb httpsd httpsd.core 
GNU gdb 4.16.1
Copyright 1996 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or 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.
This GDB was configured as "i386-unknown-openbsd2.4"...
Core was generated by `httpsd'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/libexec/ld.so...done.
Reading symbols from /usr/lib/libc.so.20.3...done.
Reading symbols from /usr/local/apache/libexec/mod_env.so...done.
Reading symbols from /usr/local/apache/libexec/mod_log_config.so...done.
Reading symbols from /usr/local/apache/libexec/mod_mime.so...done.
Reading symbols from /usr/local/apache/libexec/mod_negotiation.so...done.
Reading symbols from /usr/local/apache/libexec/mod_status.so...done.
Reading symbols from /usr/local/apache/libexec/mod_info.so...done.
Reading symbols from /usr/local/apache/libexec/mod_include.so...done.
Reading symbols from /usr/local/apache/libexec/mod_autoindex.so...done.
Reading symbols from /usr/local/apache/libexec/mod_dir.so...done.
Reading symbols from /usr/local/apache/libexec/mod_cgi.so...done.
Reading symbols from /usr/local/apache/libexec/mod_asis.so...done.
Reading symbols from /usr/local/apache/libexec/mod_imap.so...done.
---Type <return> to continue, or q <return> to quit---
Reading symbols from /usr/local/apache/libexec/mod_actions.so...done.
Reading symbols from /usr/local/apache/libexec/mod_speling.so...done.
Reading symbols from /usr/local/apache/libexec/mod_userdir.so...done.
Reading symbols from /usr/local/apache/libexec/mod_alias.so...done.
Reading symbols from /usr/local/apache/libexec/mod_rewrite.so...done.
Reading symbols from /usr/local/apache/libexec/mod_access.so...done.
Reading symbols from /usr/local/apache/libexec/mod_auth.so...done.
Reading symbols from /usr/local/apache/libexec/mod_digest.so...done.
Reading symbols from /usr/local/apache/libexec/mod_cern_meta.so...done.
Reading symbols from /usr/local/apache/libexec/mod_expires.so...done.
Reading symbols from /usr/local/apache/libexec/mod_headers.so...done.
Reading symbols from /usr/local/apache/libexec/mod_usertrack.so...done.
Reading symbols from /usr/local/apache/libexec/mod_unique_id.so...done.
Reading symbols from /usr/local/apache/libexec/mod_setenvif.so...done.
Reading symbols from /usr/local/apache/libexec/mod_auth_mysql.so...done.
Reading symbols from /usr/local/lib/mysql/libmysqlclient.so.6.0...done.
Reading symbols from /usr/lib/libm.so.0.1...done.
Reading symbols from /usr/local/apache/libexec/mod_auth_key_sql.so...done.
Reading symbols from /usr/local/apache/libexec/libphp4.so...done.
Reading symbols from /usr/local/apache/libexec/raven_ssl.so...done.
#0  0x4018eda9 in sapi_startup (sf=0xa5000) at SAPI.c:68
68              sapi_module = *sf;
(gdb) bt
#0  0x4018eda9 in sapi_startup (sf=0xa5000) at SAPI.c:68
#1  0x401c6eee in php_init_handler (s=0x45034, p=0x4500c) at mod_php4.c:640
#2  0x8f41 in ap_init_modules ()
#3  0x1714d in main ()

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-03-01 19:02 UTC] joey at cvs dot php dot net
rmorgan added the following on the list:
I forgot to mention in the bug report that I compiled PHP with
the following options

--with-apxs=/usr/local/apache/bin/apxs --with-mysql --enable-trans-sid --enable-track-vars
 [2000-03-18 13:16 UTC] evan at cvs dot php dot net
Can you please try the latest CVS and see if it still crashes? Thank you.
 [2000-06-09 15:25 UTC] andi at cvs dot php dot net
I remember such a bug having been fixed. Please try the latest CVS (might actually be fixed in 4.0.0 too).
If you still have such problems then open a new bug report.
Thanks.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 18 02:01:33 2024 UTC