#20841 [Opn->Bgs]: php segfaults all the time
| From: | sniper@php.net | Date: | Fri, 06 Dec 2002 12:18:07 +0000 |
| Subject: | #20841 [Opn->Bgs]: php segfaults all the time | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-26837@lists.php.net to get a copy of this message | ||
ID: 20841
Updated by: sniper@php.net
Reported By: danne@wiberg.nu
-Status: Open
+Status: Bogus
Bug Type: *General Issues
Operating System: FreeBSD 4.6.2
PHP Version: 4.3.0RC2
New Comment:
There's already a report about this problem:
http://bugs.php.net/bug.php?id=20539
You can add your comments there.
Closing this one as this is duplicate.
Previous Comments:
------------------------------------------------------------------------
[2002-12-06 01:22:30] danne@wiberg.nu
Yes, changed it and it stops segfaulting.
------------------------------------------------------------------------
[2002-12-05 19:26:49] sniper@php.net
Do you happen to have session.auto_start=1 in your php.ini?
------------------------------------------------------------------------
[2002-12-05 16:21:36] danne@wiberg.nu
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