From:             mamatkazin at ivc dot orw dot ru
Operating system: Linux (Slackware 11.0)
PHP version:      5.2.4
PHP Bug Type:     Reproducible crash
Bug description:  php crashes from time to time

Description:
------------
I got this error on some BIG script and can't reproduce it on small
example. This error happens nearly 1 from 5-10 request to this script.

This GDB was configured as "i486-slackware-linux"...Using host
libthread_db libr
ary "/lib/tls/libthread_db.so.1".

(gdb) r  -b 127.0.0.1:1026
Starting program: /usr/local/php5-fcgi/bin/php-cgi -b 127.0.0.1:1026
[Thread debugging using libthread_db enabled]
[New Thread -1217173824 (LWP 25841)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1217173824 (LWP 25841)]
0x082f9949 in _zend_mm_free_int ()
(gdb) bt
#0  0x082f9949 in _zend_mm_free_int ()
#1  0x08307062 in _zval_ptr_dtor ()
#2  0x083213b8 in zend_hash_destroy ()
#3  0x0831510c in _zval_dtor_func ()
#4  0x0830708d in _zval_ptr_dtor ()
#5  0x083213b8 in zend_hash_destroy ()
#6  0x0831510c in _zval_dtor_func ()
#7  0x0830708d in _zval_ptr_dtor ()
#8  0x08321598 in zend_hash_apply_deleter ()
#9  0x08321647 in zend_hash_graceful_reverse_destroy ()
#10 0x083077f1 in shutdown_executor ()
#11 0x08315f4c in zend_deactivate ()
#12 0x082d03e8 in php_request_shutdown ()
#13 0x083b944e in main ()
(gdb) 

My configure line is:
./configure 
--prefix=/usr/local/php5-fcgi
--host=i686-pc-linux-gnu
--sysconfdir=/etc
--with-config-file-path=/etc/lighttpd
--enable-safe-mode
--with-openssl
--with-mhash
--enable-bcmath
--with-bz2
--with-pic
--enable-calendar
--enable-ctype
--with-gdbm
--with-db4
--with-ldap
--with-imap-ssl=/usr/local/lib/c-client
--with-imap=/usr/local/lib/c-client
--enable-dbase
--enable-ftp
--with-iconv
--with-exif
--enable-exif
--with-gd
--enable-gd-native-ttf
--with-jpeg-dir=/usr
--with-png
--with-pdflib
--with-ttf
--with-freetype-dir=/usr
--with-gmp
--enable-mbstring
--with-curl=/usr
--with-pcre-regex=/usr
--enable-pdo=shared
--with-pgsql




-- 
Edit bug report at http://bugs.php.net/?id=42695&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=42695&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=42695&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=42695&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=42695&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=42695&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=42695&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=42695&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=42695&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=42695&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=42695&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=42695&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=42695&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=42695&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=42695&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=42695&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=42695&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=42695&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=42695&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=42695&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=42695&r=mysqlcfg

Reply via email to