PHP 4.0 Bug #3589: Memory Fault (core dump)
| From: | rmorgan at covalent dot net | Date: | Wed, 23 Feb 2000 16:33:00 +0000 |
| Subject: | PHP 4.0 Bug #3589: Memory Fault (core dump) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-15857@lists.php.net to get a copy of this message | ||
From: rmorgan@covalent.net
Operating system: OpenBSD 2.4
PHP version: 4.0 Beta 4 Patch Level 1
PHP Bug Type: Reproduceable crash
Bug description: Memory Fault (core dump)
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 ()