Bug #64111 [NEW]: Segfault in gc_zval_possible_root
From: remi
Operating system: GNU/Linux (Fedora 18)
PHP version: 5.4.11
Package: *General Issues
Bug Type: Bug
Bug description:Segfault in gc_zval_possible_root
Description:
------------
Running a lot test suite (using phpunit)
Truncated backtrace:
Thread no. 1 (10 frames)
#0 gc_zval_possible_root at /usr/src/debug/php-5.4.11/Zend/zend_gc.c:143
#1 zend_hash_destroy at /usr/src/debug/php-5.4.11/Zend/zend_hash.c:560
#2 _zval_dtor_func at /usr/src/debug/php-5.4.11/Zend/zend_variables.c:45
#3 _zval_dtor at /usr/src/debug/php-5.4.11/Zend/zend_variables.h:35
#4 _zval_ptr_dtor at
/usr/src/debug/php-5.4.11/Zend/zend_execute_API.c:438
#6 destroy_zend_class at /usr/src/debug/php-5.4.11/Zend/zend_opcode.c:278
#7 zend_hash_apply_deleter at
/usr/src/debug/php-5.4.11/Zend/zend_hash.c:650
#8 zend_hash_reverse_apply at
/usr/src/debug/php-5.4.11/Zend/zend_hash.c:804
#9 shutdown_executor at
/usr/src/debug/php-5.4.11/Zend/zend_execute_API.c:305
#10 zend_deactivate at /usr/src/debug/php-5.4.11/Zend/zend.c:938
At first look, I was thinking to a regression introduced by fix for #63635,
but reverting the fix doesn't resolve the issue.
Full traceback, php 5.4.10:
https://bugzilla.redhat.com/attachment.cgi?id=684984
Full traceback, php 5.4.11:
https://bugzilla.redhat.com/attachment.cgi?id=685073
Short traceback, php 5.4.11 with lot extension disable:
https://bugzilla.redhat.com/attachment.cgi?id=686607
Sorry to not being able to produce a simple reproducer, but I could easily
create a test build and ask the initial reporter to test it.
--
Edit bug report at https://bugs.php.net/bug.php?id=64111&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=64111&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=64111&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=64111&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=64111&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=64111&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=64111&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=64111&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=64111&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=64111&r=support
Expected behavior: https://bugs.php.net/fix.php?id=64111&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=64111&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=64111&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=64111&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=64111&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=64111&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=64111&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=64111&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=64111&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=64111&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=64111&r=mysqlcfg
Thread (12 messages)
- remi@php.net
- jaredsmith at jaredsmith dot netBug #64111 [Com]: Segfault in gc_zval_possible_root
- jaredsmith at jaredsmith dot netBug #64111 [Com]: Segfault in gc_zval_possible_root
- djonline at djonline dot ruBug #64111 [Com]: Segfault in gc_zval_possible_root
- mike@php.netBug #64111 [Opn->Csd]: Segfault in gc_zval_possible_root
- mike@php.netBug #64111 [Csd->ReO]: Segfault in gc_zval_possible_root
- valery dot tereshko at gmail dot comBug #64111 [Com]: Segfault in gc_zval_possible_root
- eugene at zhegan dot inBug #64111 [Com]: Segfault in gc_zval_possible_root
- de at plista dot comBug #64111 [Com]: Segfault in gc_zval_possible_root
- razvanphp at yahoo dot comBug #64111 [Com]: Segfault in gc_zval_possible_root
- cmb@php.netBug #64111 [ReO->Fbk]: Segfault in gc_zval_possible_root
- php-bugs at lists dot php dot netBug #64111 [Fbk->NoF]: Segfault in gc_zval_possible_root