ID: 20841
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Feedback
+Status: Open
Bug Type: *General Issues
Operating System: FreeBSD 4.6.2
PHP Version: 4.3.0RC2
New Comment:
Yes, changed it and it stops segfaulting.
Previous Comments:
------------------------------------------------------------------------
[2002-12-05 19:26:49] [EMAIL PROTECTED]
Do you happen to have session.auto_start=1 in your php.ini?
------------------------------------------------------------------------
[2002-12-05 16:21:36] [EMAIL PROTECTED]
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 this bug report at http://bugs.php.net/?id=20841&edit=1