Bug #70805 (Segmentation faults whilst running Drupal 8 test suite)

From: Date: Tue, 03 Nov 2015 19:58:14 +0000
Subject: Bug #70805 (Segmentation faults whilst running Drupal 8 test suite)
Groups: php.internals 
Request: Send a blank email to internals+get-89059@lists.php.net to get a copy of this message
Hi, I think, I found the root problem of https://bugs.php.net/bug.php?id=70805 unset($a) or unser($GLOBAL["a"]) triggered GC and destructors calls that tried to release the same global variable $a once again. As result it's reference counter was decremented twice and this caused use-after-free, double-free, etc. The proposed cumulative fix for all related problems: https://gist.github.com/dstogov/7aa9d24876e2b3fce8c5 Xinchen, could you please review and verify this once again, then add necessary tests and commit. Thanks. Dmitry.

« previous php.internals (#89059) next »