php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3533 Apache coredumps if loading php3 or php4 with oci8 module
Submitted: 2000-02-19 02:24 UTC Modified: 2002-10-01 14:33 UTC
From: Michael dot Bielicki at smart-traveller dot net Assigned:
Status: Not a bug Package: Reproducible Crash
PHP Version: 3.0.14 OS: RH61 with kernel 2.2.14smp (same
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: Michael dot Bielicki at smart-traveller dot net
New email:
PHP Version: OS:

 

 [2000-02-19 02:24 UTC] Michael dot Bielicki at smart-traveller dot net
Now
I thought it's something else but after now testing it 5 days non stop it seems 100% sure that it's oracle.

If I compile ANY version ogf PHP, including the latest snaps with OCI8 or Oracle support, apache immediately crashes after startup. Discussing with a whole bunch of people we came to the point that it's a threading error.

Here is the backtrace :

[root@parmastocks1 /root]# gdb /usr/sbin/httpd /core
GNU gdb 4.18
Copyright 1998 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-redhat-linux"...(no debugging symbols found)...
Core was generated by `httpd -DSSL'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libm.so.6...done.
Reading symbols from /lib/libcrypt.so.1...done.
Reading symbols from /lib/libdb.so.3...done.
Reading symbols from /usr/local/lib/libmm.so.10...done.
Reading symbols from /lib/libdl.so.2...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
Reading symbols from /lib/libnss_files.so.2...done.
Reading symbols from /usr/lib/apache/mod_mmap_static.so...done.
Reading symbols from /usr/lib/apache/mod_vhost_alias.so...done.
Reading symbols from /usr/lib/apache/mod_env.so...done.
Reading symbols from /usr/lib/apache/mod_define.so...done.
Reading symbols from /usr/lib/apache/mod_log_config.so...done.
Reading symbols from /usr/lib/apache/mod_log_agent.so...done.
Reading symbols from /usr/lib/apache/mod_log_referer.so...done.
Reading symbols from /usr/lib/apache/mod_mime_magic.so...done.
Reading symbols from /usr/lib/apache/mod_mime.so...done.
Reading symbols from /usr/lib/apache/mod_negotiation.so...done.
Reading symbols from /usr/lib/apache/mod_status.so...done.
Reading symbols from /usr/lib/apache/mod_info.so...done.
Reading symbols from /usr/lib/apache/mod_include.so...done.
Reading symbols from /usr/lib/apache/mod_autoindex.so...done.
Reading symbols from /usr/lib/apache/mod_dir.so...done.
Reading symbols from /usr/lib/apache/mod_cgi.so...done.
Reading symbols from /usr/lib/apache/mod_asis.so...done.
Reading symbols from /usr/lib/apache/mod_imap.so...done.
Reading symbols from /usr/lib/apache/mod_actions.so...done.
Reading symbols from /usr/lib/apache/mod_speling.so...done.
Reading symbols from /usr/lib/apache/mod_userdir.so...done.
Reading symbols from /usr/lib/apache/mod_alias.so...done.
---Type <return> to continue, or q <return> to quit---
Reading symbols from /usr/lib/apache/mod_rewrite.so...done.
Reading symbols from /usr/lib/apache/mod_access.so...done.
Reading symbols from /usr/lib/apache/mod_auth.so...done.
Reading symbols from /usr/lib/apache/mod_auth_anon.so...done.
Reading symbols from /usr/lib/apache/mod_auth_dbm.so...done.
Reading symbols from /usr/lib/apache/mod_auth_db.so...done.
Reading symbols from /usr/lib/apache/mod_digest.so...done.
Reading symbols from /usr/lib/apache/libproxy.so...done.
Reading symbols from /usr/lib/apache/mod_cern_meta.so...done.
Reading symbols from /usr/lib/apache/mod_expires.so...done.
Reading symbols from /usr/lib/apache/mod_headers.so...done.
Reading symbols from /usr/lib/apache/mod_usertrack.so...done.
Reading symbols from /usr/lib/apache/mod_example.so...done.
Reading symbols from /usr/lib/apache/mod_unique_id.so...done.
Reading symbols from /usr/lib/apache/mod_setenvif.so...done.
Reading symbols from /usr/lib/apache/libssl.so...done.
Reading symbols from /usr/lib/libssl.so.0...done.
Reading symbols from /usr/lib/libcrypto.so.0...done.
Reading symbols from /usr/lib/apache/libphp4.so...done.
Reading symbols from /usr/lib/libgdbm.so.2...done.
Reading symbols from /opt/oracle/ora01/app/oracle/product/8.1.5/lib/libclntsh.so.8.0...done.
Reading symbols from /lib/libpam.so.0...done.
Reading symbols from /usr/lib/libz.so.1...done.
Reading symbols from /usr/lib/libreadline.so.3...done.
Reading symbols from /usr/lib/libhistory.so.3...done.
Reading symbols from /usr/lib/libncurses.so.4...done.
Reading symbols from /usr/lib/libgd.so.1...done.
Reading symbols from /lib/libresolv.so.2...done.
Reading symbols from /lib/libnsl.so.1...done.
Reading symbols from /lib/libpthread.so.0...done.
Reading symbols from /lib/libtermcap.so.2...done.
#0  0x40b17780 in ?? ()
(gdb)
(gdb) bt
#0  0x40b17780 in ?? ()
#1  0x400fd070 in _IO_new_file_xsputn (f=0x40195280, data=0xbfffba80, n=163) at fileops.c:328
#2  0x400f99e7 in fputs () at iofputs.c:46
#3  0x8058e46 in ap_error_log2stderr ()
#4  0x8058ea1 in ap_log_error ()
#5  0x805040d in ap_get_server_built ()
#6  0x80542f4 in ap_clear_module_list ()
#7  0x80548c9 in ap_handle_command ()
#8  0x8054918 in ap_srm_command_loop ()
#9  0x8054c43 in ap_process_resource_config ()
#10 0x80552b4 in ap_read_config ()
#11 0x805bfa2 in ap_child_terminate ()
#12 0x805c65f in main ()
#13 0x400bf94b in __libc_start_main () at ../sysdeps/generic/libc-start.c:122
(gdb)


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-01 14:33 UTC] hholzgra@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.


 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Tue Jun 02 09:01:27 2020 UTC