#21478 [Ver]: Zend/zend_alloc.c :: shutdown_memory_manager produces segfault
| From: | sniper@php.net | Date: | Wed, 19 Mar 2003 21:53:36 +0000 |
| Subject: | #21478 [Ver]: Zend/zend_alloc.c :: shutdown_memory_manager produces segfault | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-35967@lists.php.net to get a copy of this message | ||
ID: 21478
Updated by: sniper@php.net
Reported By: pollita@php.net
Status: Verified
Bug Type: Scripting Engine problem
Operating System: linux
PHP Version: 4CVS-2003-01-06 (dev)
New Comment:
I don't know what this 4.5-dev is..since the only official
development branches are PHP_4_3 and the php5 module.
Try this snapshot:
http://snaps.php.net/php4-STABLE-200303192030.tar.gz
If that doesn't work, but the RC1 works, then it's a problem with the
build tools on the snaps.php.net machine.
(Please send me that test script you used when testing 4.3.2-RC1)
Previous Comments:
------------------------------------------------------------------------
[2003-03-19 15:18:36] black@php.net
sniper, yes, i wasn't able to reproduce it on php4.3.2rc1
i did have one segfault it normal operation mode (not inside gdb), but
i couldnt reproduce it in any way or form similar to the process of
reproducing on the latest -STABLE or 4.5-dev snapshots
as far as i can tell 4.3-dev and 4.5-dev are subject to this.. im not
even going to guess what goes on in 5.0-dev yet..
btw, there is a slight difference between the backtrace ilia got above
and mine, so it might be an unrelated problem... still the same scope
and behaviour thou.
------------------------------------------------------------------------
[2003-03-18 20:08:32] sniper@php.net
[To: black@php.net]
Did I understand correctly that you can't reproduce this
with 4.3.2RC1, but you CAN reproduce it with the latest
stable snapshot??
This might mean that some tools on the machine generating
the snapshots are bad versions..
(the RC1 source package was generated on my machine :)
------------------------------------------------------------------------
[2003-03-18 13:45:09] black@php.net
ok, i cant reproduce the behaviour on my part on as low as php-4.3.2RC1
(this one works flawlessly, as far as i can tell).
------------------------------------------------------------------------
[2003-03-18 12:42:44] black@php.net
seems to be identical on the last 4.3-STABLE snapshot from ~20 minutes
ago, i guess its the same on 4.5
i will try to track down the 4.3.1 source version and try if it crashes
there too, i kinda hope it doesn't.
------------------------------------------------------------------------
[2003-03-18 11:34:19] black@php.net
(gdb) frame 0
#0 _zval_ptr_dtor (zval_ptr=0x0) at
/root/src/php4-standard/Zend/zend_execute_API.c:289
289 (*zval_ptr)->refcount--;
(gdb) frame 1
#1 0x4036240c in zend_hash_destroy (ht=0x814131c) at
/root/src/php4-standard/Zend/zend_hash.c:543
543 ht->pDestructor(q->pData);
maybe checking zval_ptr for null would be a nice idea?
(this is another bt, same output just the final pointer is 0x0)
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/21478
--
Edit this bug report at http://bugs.php.net/?id=21478&edit=1