Bug #68933 [Asn->Fbk]: Invalid read of size 8 in zend_std_read_property

From: Date: Sat, 31 Jan 2015 15:55:30 +0000
Subject: Bug #68933 [Asn->Fbk]: Invalid read of size 8 in zend_std_read_property
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-190367@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68933&edit=1 ID: 68933 Updated by: laruence@php.net Reported by: arjen at react dot com Summary: Invalid read of size 8 in zend_std_read_property -Status: Assigned +Status: Feedback Type: Bug Package: Scripting Engine problem Operating System: Linux PHP Version: master-Git-2015-01-28 (Git) -Assigned To: dmitry +Assigned To: laruence Block user comment: N Private report: N New Comment: could you verify the pcre segfaults still there? Previous Comments: ------------------------------------------------------------------------ [2015-01-31 10:17:03] laruence@php.net the first part must be fixed in: https://github.com/php/php-src/commit/1a60175e2595a24ebc3b6d80a112d574c6c98f58 thanks ------------------------------------------------------------------------ [2015-01-31 09:11:17] laruence@php.net a fix could be: https://gist.github.com/laruence/31d0bbbef990bb548520 but this introuced a new hash lookup, seems a little expensive... ------------------------------------------------------------------------ [2015-01-30 13:11:20] arjen at react dot com Too some time, but I've created a testcase! See https://gist.github.com/arjenschol/3d94195ca51aa44db1c6 It happens when a guard is in active, and a new guard on the same object requires a hashtable resize. So you need to put some guards to trigger the resize. It's for the first part. The php_pcre_exec part causes the segfault is unknown. ------------------------------------------------------------------------ [2015-01-29 14:15:52] arjen at react dot com Sorry, testsuite.php is an internal testsuite which I cannot provide. I understand it's difficult to debug this without testcase. If I can provide anything which makes it easier to debug, please ask. I'll try to create a separate testcase, but I don't know if that's possible. ------------------------------------------------------------------------ [2015-01-28 15:54:02] laruence@php.net where couldI get the testsuite.php? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=68933 -- Edit this bug report at https://bugs.php.net/bug.php?id=68933&edit=1

« previous php.bugs (#190367) next »