Bug #69464 [Com]: Segfault in zend_hash_destroy() during shutdown

From: Date: Thu, 16 Apr 2015 07:32:09 +0000
Subject: Bug #69464 [Com]: Segfault in zend_hash_destroy() during shutdown
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-192122@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69464&edit=1 ID: 69464 Comment by: berdir@php.net Reported by: berdir@php.net Summary: Segfault in zend_hash_destroy() during shutdown Status: Feedback Type: Bug Package: Scripting Engine problem Operating System: Linux PHP Version: master-Git-2015-04-15 (Git) Assigned To: dmitry Block user comment: N Private report: N New Comment: Not exactly sure what you need. You need to get drupal and drush: git clone http://git.drupal.org/project/drupal.git git clone https://github.com/drush-ops/drush.git cd drupal gdb --args '/path/to/php7' '../drush/drush.php' '--db-url=mysql://user:pass@localhost/db' 'si' '-y' 'standard' '-v' '-d' Update the path to php7 and use a valid mysql username/password and that should install drupal (which takes a while... ) and at the end, it crashes with the mentioned segfault. Previous Comments: ------------------------------------------------------------------------ [2015-04-15 21:16:47] dmitry@php.net I didn't get how to reproduce this. Please provide a detailed instruction: what to download, which commands to run, etc. ------------------------------------------------------------------------ [2015-04-15 15:41:23] berdir@php.net https://gist.github.com/Berdir/f93e56c8a2643501ce51 has a more up to date debug output now, which shows which object is causing the crash, based on instructions from @ircmaxell ------------------------------------------------------------------------ [2015-04-15 15:28:16] berdir@php.net Description: ------------ This is part of our efforts to get Drupal 8 green on PHP 7, see https://www.drupal.org/node/2454439. I've been trying to test with the latest PHP 7 build, but I'm now getting a lot of segfaults during the installer and running any web test. You can see the backtrace and code where it happens here: https://gist.githubusercontent.com/Berdir/f93e56c8a2643501ce51/raw/653fa8fea95d322f9f7836838177951db7fe57db/gistfile1.txt I'll try to bisect this down to a certain commit, but I had troubles the last time I tried to do something like that. Test script: --------------- To debug, get drupal and drush (from https://github.com/drush-ops/drush), then: gdb --args '/path/to/php7' '/path/to/drush.php' '--db-url=mysql://user:pass@localhost/db' 'si' '-y' 'standard' '-v' '-d' ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=69464&edit=1

« previous php.bugs (#192122) next »