|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2013-01-31 11:23 UTC] remi@php.net
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. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 19 22:00:02 2025 UTC |
I'm also seeing this on PHP 5.4.12, for what it's worth. Program terminated with signal 11, Segmentation fault. #0 0x00007fce6f4635b9 in gc_zval_possible_root (zv=0x7fce7e2cbbd8) at /usr/src/debug/php-5.4.12/Zend/zend_gc.c:143 143 GC_ZOBJ_CHECK_POSSIBLE_ROOT(zv); Full backtrace at http://web2.jaredsmith.net/core.6360.backtrace.txt, and core file at http://web2.jaredsmith.net/core.6360.backtrace.txt. Again, if a PHP developer is interested in looking more closely, I'm happy to help facilitate access to a server.Same issue on latest 5.5.32 root@foo:[/var/tmp/core-dumps] # gdb /usr/sbin/php5-fpm core-php5-fpm.25079 Reading symbols from /usr/sbin/php5-fpm...Reading symbols from /usr/lib/debug/.build-id/ae/59c542ebeaa2fb26d4b6dcffd52eb1c63e76bb.debug...done. done. [New LWP 25079] b[Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `php-fpm: pool www '. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00000000006f1651 in gc_zval_possible_root (zv=0x3a60050) at /build/php5-uqo5AS/php5-5.5.32+dfsg/Zend/zend_gc.c:143 143 /build/php5-uqo5AS/php5-5.5.32+dfsg/Zend/zend_gc.c: No such file or directory. tTraceback (most recent call last): File "/usr/share/gdb/auto-load/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.19-gdb.py", line 63, in <module> from libstdcxx.v6.printers import register_libstdcxx_printers ImportError: No module named 'libstdcxx' (gdb) (gdb) (gdb) bt #0 0x00000000006f1651 in gc_zval_possible_root (zv=0x3a60050) at /build/php5-uqo5AS/php5-5.5.32+dfsg/Zend/zend_gc.c:143 #1 0x00000000006f4587 in zend_object_std_dtor (object=0x35829e0) at /build/php5-uqo5AS/php5-5.5.32+dfsg/Zend/zend_objects.c:54 #2 0x00000000006f45b9 in zend_objects_free_object_storage (object=0x35829e0) at /build/php5-uqo5AS/php5-5.5.32+dfsg/Zend/zend_objects.c:137 #3 0x00000000006f9fb7 in zend_objects_store_free_object_storage (objects=objects@entry=0xe6b6a0 <executor_globals+928>) at /build/php5-uqo5AS/php5-5.5.32+dfsg/Zend/zend_objects_API.c:97 #4 0x00000000006c2663 in shutdown_executor () at /build/php5-uqo5AS/php5-5.5.32+dfsg/Zend/zend_execute_API.c:290 #5 0x00000000006d1ce2 in zend_deactivate () at /build/php5-uqo5AS/php5-5.5.32+dfsg/Zend/zend.c:946 #6 0x0000000000672572 in php_request_shutdown (dummy=dummy@entry=0x0) at /build/php5-uqo5AS/php5-5.5.32+dfsg/main/main.c:1813 #7 0x0000000000461c54 in main (argc=<optimized out>, argv=<optimized out>) at /build/php5-uqo5AS/php5-5.5.32+dfsg/sapi/fpm/fpm/fpm_main.c:1981 (gdb) quit root@foo:[/var/tmp/core-dumps] # php -v PHP 5.5.32-1+deb.sury.org~trusty+1 (cli) (built: Feb 5 2016 10:07:16) Copyright (c) 1997-2015 The PHP Group Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies