Bug #1489: php Crashes at the end
| From: | bonis at solution-service dot de | Date: | Thu, 03 Jun 1999 12:16:11 +0000 |
| Subject: | Bug #1489: php Crashes at the end | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-6509@lists.php.net to get a copy of this message | ||
From: bonis@solution-service.de
Operating system: Linux 2.0.36 glibc 2.0
PHP version: 3.0 Latest CVS (03/06/1999)
PHP Bug Type: Reproduceable crash
Bug description: php Crashes at the end
I have the following crash everytime i invoke the file:
Core was generated by `/opt/src/php-cvs/php3/php main.php3 &server=2'.
Program terminated with signal 11, Segmentation fault.
#0 0x401067e2 in ?? () from /lib/libc.so.6
(gdb) where
#0 0x401067e2 in ?? () from /lib/libc.so.6
#1 0x401066a1 in ?? () from /lib/libc.so.6
#2 0x80606e9 in _efree (ptr=0x811c3d0) at alloc.c:173
#3 0x805d86f in pval_destructor (pvalue=0x40178860) at variables.c:89
#4 0x805f4c2 in tc_destroy (tc=0x80e8880) at token_cache.c:319
#5 0x805f502 in tcm_destroy (tcm=0x80d4438) at token_cache.c:333
#6 0x80592af in php3_request_shutdown (dummy=0x0) at main.c:790
#7 0x805aac5 in main (argc=3, argv=0xbffff790) at main.c:1867
It hardly to reproduce what causes the bug. Minor changes in the code (eg. removing some html
outside of ?php) and the core dump goes away. But it is reproduceable everytime with this script and
the parameters.
With php-3.0.7 everything is working. The bug started with php-3.0.8 and is still in the latest cvs.
./configure --enable-debugger --enable-track-vars --with-dbase --with-mysql=/opt/mysql
--with-iodbc=/opt/mysql --with-config-file -path=/Web/config --with-ldap=/opt/ldap
--enable-force-cgi-redirect