Edit report at https://bugs.php.net/bug.php?id=62929&edit=1
ID: 62929
Comment by: sergiu dot ionescu at gmail dot com
Reported by: sergiu dot ionescu at gmail dot com
Summary: Segmentation fault on Zend Framework application
Status: Open
Type: Bug
Package: *General Issues
Operating System: Ubuntu 10.04.4 LTS
PHP Version: PHP 5.3.16
Block user comment: N
Private report: N
New Comment:
After updating all the extensions i still get the same thing.
I extra detail i can provide is that i occasionally get
zend_mm_heap corrupted
instead of segmentation fault
and the line where the segfault occurs is the condition line from:
#if ZEND_MM_SAFE_UNLINKING
if (UNEXPECTED(prev->next_free_block != mm_block) ||
UNEXPECTED(next->prev_free_block != mm_block)) {
zend_mm_panic("zend_mm_heap corrupted");
}
#endif
Previous Comments:
------------------------------------------------------------------------
[2012-08-27 14:55:12] sergiu dot ionescu at gmail dot com
Hello,
I have compiled PHP 5.3.16(http://kr.php.net/get/php-5.3.16.tar.bz2) and i am
experiencing similar issues.
The new back-trace is:
[Thread debugging using libthread_db enabled]
Program received signal SIGSEGV, Segmentation fault.
0x000000000068a7fb in zend_mm_remove_from_free_list (heap=0xe73290,
mm_block=0x2ee4168) at /home/vagrant/php-5.3.16/Zend/zend_alloc.c:845
845 if (UNEXPECTED(prev->next_free_block != mm_block) ||
UNEXPECTED(next->prev_free_block != mm_block)) {
(gdb) bt
#0 0x000000000068a7fb in zend_mm_remove_from_free_list (heap=0xe73290,
mm_block=0x2ee4168) at /home/vagrant/php-5.3.16/Zend/zend_alloc.c:845
#1 0x000000000068a9ab in _zend_mm_free_int (heap=0xe73290, p=0x2ee4128) at
/home/vagrant/php-5.3.16/Zend/zend_alloc.c:2029
#2 0x000000000069fcd0 in destroy_zend_class (pce=<value optimized out>) at
/home/vagrant/php-5.3.16/Zend/zend_opcode.c:187
#3 0x00000000006b43d5 in zend_hash_apply_deleter (ht=0xe73be0, p=0x142dda0) at
/home/vagrant/php-5.3.16/Zend/zend_hash.c:612
#4 0x00000000006b44e9 in zend_hash_reverse_apply (ht=0xe73be0,
apply_func=0x69aed0 <clean_non_persistent_class>) at
/home/vagrant/php-5.3.16/Zend/zend_hash.c:762
#5 0x000000000069bbbe in shutdown_executor () at
/home/vagrant/php-5.3.16/Zend/zend_execute_API.c:312
#6 0x00000000006a85c2 in zend_deactivate () at
/home/vagrant/php-5.3.16/Zend/zend.c:891
#7 0x0000000000654305 in php_request_shutdown (dummy=<value optimized out>) at
/home/vagrant/php-5.3.16/main/main.c:1661
#8 0x0000000000733dfa in main (argc=<value optimized out>, argv=<value
optimized out>) at /home/vagrant/php-5.3.16/sapi/cli/php_cli.c:1368
I am still using some on the old php5.3.2 extensions but i am upgrading the one
by one - just in case i catch the culprit.
Please let me know if i can provide additional details.
Thanks.
------------------------------------------------------------------------
[2012-08-26 05:54:15] [email protected]
There is no changelog entry for it. Your report is not specific enough, but we
need to know if it is happening in a current version before we bother spending
any time looking for it. chasing fixed bugs isn't the best use of our time.
------------------------------------------------------------------------
[2012-08-26 05:26:02] sergiu dot ionescu at gmail dot com
Can you please point me to the change-log note for this fix?
I want to be 100% sure that it's the same issue, as we are trying to be as
conservative as possible with environment updates.
Thanks!
------------------------------------------------------------------------
[2012-08-25 17:42:42] [email protected]
Ah, I see the version at the bottom of your report now. I have fixed it in the
report. 5.3.2 is from March 2010. Please upgrade to something more recent.
------------------------------------------------------------------------
[2012-08-25 17:41:00] [email protected]
The PHP version is not irrelevant at all. We can't possibly do anything with
this
bug unless you tell us which version you are seeing it in.
------------------------------------------------------------------------
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
https://bugs.php.net/bug.php?id=62929
--
Edit this bug report at https://bugs.php.net/bug.php?id=62929&edit=1