From: [EMAIL PROTECTED]
Operating system: FreeBSD 4.6.2
PHP version: 4.3.0RC2
PHP Bug Type: *General Issues
Bug description: php segfaults all the time
everything seems to work, but php segfaults afterwards.
How I compiled it:
./configure --with-apxs2=/usr/local/sbin/apxs --with-tsrm-pth \
--with-config-file-path=/usr/local/etc --enable-versioning
--with-regex=system \
--with-gd=/usr/local --enable-gd-native-ttf \
--with-freetype-dir=/usr/local --with-jpeg-dir=/usr/local \
--with-png-dir=/usr/local --with-zlib --with-bz2=/usr
--with-mcrypt=/usr/local \
--with-mhash=/usr/local --with-pdflib=/usr/local --with-zlib-dir=/usr \
--with-jpeg-dir=/usr/local --with-png-dir=/usr/local
--with-tiff-dir=/usr/local\
--with-imap=/usr/local --with-mysql=/usr/local --with-ldap=/usr/local \
--with-snmp=/usr/local --enable-ucd-snmp-hack \
--with-openssl=/usr --with-expat-dir=/usr/local --enable-ftp \
--with-iconv=/usr/local --enable-sockets --enable-sysvsem --enable-sysvshm
\
--enable-trans-sid --prefix=/usr/local --with-gettext
gdb backtrace:
#0 0x813cccd in _efree (ptr=0x81ac30c)
at /usr/home/danne/tmp/php-4.3.0RC2/Zend/zend_alloc.c:229
229 REMOVE_POINTER_FROM_LIST(p);
(gdb) back
#0 0x813cccd in _efree (ptr=0x81ac30c)
at /usr/home/danne/tmp/php-4.3.0RC2/Zend/zend_alloc.c:229
#1 0x814aaa5 in _zval_dtor (zvalue=0x82573c0)
at /usr/home/danne/tmp/php-4.3.0RC2/Zend/zend_variables.c:44
#2 0x81423c6 in free_zend_constant (c=0x82573c0)
at /usr/home/danne/tmp/php-4.3.0RC2/Zend/zend_constants.c:31
#3 0x8150063 in zend_hash_destroy (ht=0x81a8180)
at /usr/home/danne/tmp/php-4.3.0RC2/Zend/zend_hash.c:543
#4 0x8142798 in zend_shutdown_constants ()
at /usr/home/danne/tmp/php-4.3.0RC2/Zend/zend_constants.c:151
#5 0x814b6fd in zend_shutdown ()
at /usr/home/danne/tmp/php-4.3.0RC2/Zend/zend.c:552
#6 0x8123d5f in php_module_shutdown ()
at /usr/home/danne/tmp/php-4.3.0RC2/main/main.c:1196
#7 0x81653bc in main (argc=6, argv=0xbfbff5f4)
at /usr/home/danne/tmp/php-4.3.0RC2/sapi/cli/php_cli.c:809
#8 0x806c4c9 in _start ()
--
Edit bug report at http://bugs.php.net/?id=20841&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20841&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20841&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20841&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20841&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20841&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20841&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20841&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20841&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20841&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20841&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20841&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20841&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20841&r=isapi