php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10462 PHP Core with Backtrace
Submitted: 2001-04-23 13:00 UTC Modified: 2001-04-29 13:32 UTC
From: a at rmci dot net Assigned:
Status: Closed Package: Unknown/Other Function
PHP Version: 4.0.4pl1 OS: Linux Redhat 6.2
Private report: No CVE-ID: None
 [2001-04-23 13:00 UTC] a at rmci dot net
We cannot include the scripts that produced this problem.

custom odbc, fastcgi

php.ini is default

This was caused while using members of a class in a string, im not sure why or how. A co worker fixed it before I could figure out the exact cause but I did get a BT

[root@development Attivus2]# gdb /usr/local/zeus/fastcgi/php core 
GNU gdb 19991004
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"...
Core was generated by `/usr/local/zeus/fastcgi/php'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /opt/odbc/lib/libodbc.so...done.
Reading symbols from /lib/libpam.so.0...done.
Reading symbols from /lib/libdl.so.2...done.
Reading symbols from /usr/lib/libz.so.1...done.
Reading symbols from /lib/libm.so.6...done.
Reading symbols from /lib/libcrypt.so.1...done.
Reading symbols from /lib/libnsl.so.1...done.
Reading symbols from /lib/libresolv.so.2...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/libpthread.so.0...done.
Reading symbols from /opt/odbc/lib/libodbcinst.so...done.
Reading symbols from /usr/lib/libstdc++-libc6.1-1.so.2...done.
Reading symbols from /lib/ld-linux.so.2...done.
Reading symbols from /usr/lib/gconv/ISO8859-1.so...done.
Reading symbols from /opt/odbc/lib/ivmsss16.so...done.
Reading symbols from /lib/libnss_files.so.2...done.
Reading symbols from /opt/odbc/lib/odbccurs.so...done.
#0  0x80cbe1d in _zval_ptr_dtor (zval_ptr=0xbfff93f0) at zend_execute_API.c:259
259             (*zval_ptr)->refcount--;
(gdb) bt
#0  0x80cbe1d in _zval_ptr_dtor (zval_ptr=0xbfff93f0) at zend_execute_API.c:259
#1  0x80fc901 in zend_switch_free (opline=0x8948938, Ts=0xbfff8fe0) at ./zend_execute.c:236
#2  0x80f9bd3 in execute (op_array=0x81bca94) at ./zend_execute.c:1831
#3  0x80fa6c0 in execute (op_array=0x842aa6c) at ./zend_execute.c:2039
#4  0x80fa6c0 in execute (op_array=0x8270844) at ./zend_execute.c:2039
#5  0x80d25a8 in zend_execute_scripts (type=8, file_count=3) at zend.c:743
#6  0x8063f08 in php_execute_script (primary_file=0xbffff9e0) at main.c:1196
#7  0x80626c3 in fastcgi_module_main () at fastcgi.c:186
#8  0x8062aea in main (argc=1, argv=0xbffffaa4) at fastcgi.c:409
(gdb) q
[root@development Attivus2]# 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-29 13:32 UTC] andi@php.net
A shame you didn't attach a short reproducing script. We can't tell from this backtrace what the problem might have been. Please try to cut it down next time so that we can fix these kind of problems quickly.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Jul 23 03:01:28 2024 UTC