Bug #69643 [NEW]: Segmentation fault in i_zval_ptr_dtor() (zend_variables.h:56)

From: Date: Fri, 15 May 2015 20:28:22 +0000
Subject: Bug #69643 [NEW]: Segmentation fault in i_zval_ptr_dtor() (zend_variables.h:56)
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-192686@lists.php.net to get a copy of this message
From: berdir Operating system: Ubuntu PHP version: master-Git-2015-05-15 (Git) Package: Scripting Engine problem Bug Type: Bug Bug description:Segmentation fault in i_zval_ptr_dtor() (zend_variables.h:56) Description: ------------ We're working on making Drupal 8 compatible with PHP7. Around 4 of our test have a segfault and the end of the test, during shutdown. This is relatively new (1-2weeks), they passed before. Program received signal SIGSEGV, Segmentation fault. i_zval_ptr_dtor (zval_ptr=0x7fffed5ffa80) at /home/berdir/tools/php-src/Zend/zend_variables.h:56 56 if (!Z_DELREF_P(zval_ptr)) { (gdb) bt #0 i_zval_ptr_dtor (zval_ptr=0x7fffed5ffa80) at /home/berdir/tools/php-src/Zend/zend_variables.h:56 #1 destroy_zend_class (zv=<optimized out>) at /home/berdir/tools/php-src/Zend/zend_opcode.c:260 #2 0x00000000007cb74c in _zend_hash_del_el_ex (prev=<optimized out>, p=0x136d440, idx=710, ht=0x113ddd0) at /home/berdir/tools/php-src/Zend/zend_hash.c:938 #3 _zend_hash_del_el (p=0x136d440, idx=710, ht=0x113ddd0) at /home/berdir/tools/php-src/Zend/zend_hash.c:962 #4 zend_hash_reverse_apply (ht=0x113ddd0, apply_func=apply_func@entry=0x7a6ee0 <clean_non_persistent_class>) at /home/berdir/tools/php-src/Zend/zend_hash.c:1532 #5 0x00000000007a772b in shutdown_executor () at /home/berdir/tools/php-src/Zend/zend_execute_API.c:351 #6 0x00000000007b6e2b in zend_deactivate () at /home/berdir/tools/php-src/Zend/zend.c:964 #7 0x0000000000758c22 in php_request_shutdown (dummy=<optimized out>) at /home/berdir/tools/php-src/main/main.c:1818 #8 0x0000000000854532 in do_cli (argc=-18992, argv=0x0) at /home/berdir/tools/php-src/sapi/cli/php_cli.c:1135 #9 0x00000000004372a0 in main (argc=-18992, argv=0x0) at /home/berdir/tools/php-src/sapi/cli/php_cli.c:1334 One of the failing tests is Drupal\migrate_drupal\Tests\d6\MigrateUserPictureFileTest. Instructions on how to run the test are in https://bugs.php.net/bug.php?id=69371, for example. -- Edit bug report at https://bugs.php.net/bug.php?id=69643&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=69643&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=69643&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=69643&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=69643&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=69643&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=69643&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=69643&r=needscript Try newer version: https://bugs.php.net/fix.php?id=69643&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=69643&r=support Expected behavior: https://bugs.php.net/fix.php?id=69643&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=69643&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=69643&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=69643&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=69643&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=69643&r=dst IIS Stability: https://bugs.php.net/fix.php?id=69643&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=69643&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=69643&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=69643&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=69643&r=mysqlcfg

« previous php.bugs (#192686) next »