Edit report at https://bugs.php.net/bug.php?id=61253&edit=1
ID: 61253 Patch added by: cataphr...@php.net Reported by: cataphr...@php.net Summary: Wrappers opened with errors concurrency problem Status: Assigned Type: Bug Package: Streams related Operating System: Any (ZTS) PHP Version: 5.4SVN-2012-03-02 (SVN) Assigned To: mattficken Block user comment: N Private report: N New Comment: The following patch has been added/updated: Patch Name: bug61253.diff Revision: 1331129135 URL: https://bugs.php.net/patch-display.php?bug=61253&patch=bug61253.diff&revision=1331129135 Previous Comments: ------------------------------------------------------------------------ [2012-03-03 20:42:12] paj...@php.net Matt, can you test this patch please? and add the test to our suites while being at it :) ------------------------------------------------------------------------ [2012-03-02 22:13:36] cataphr...@php.net Pierre, please see if this fixes the problem. ------------------------------------------------------------------------ [2012-03-02 22:13:02] cataphr...@php.net The following patch has been added/updated: Patch Name: bug61253.diff Revision: 1330726381 URL: https://bugs.php.net/patch-display.php?bug=61253&patch=bug61253.diff&revision=1330726381 ------------------------------------------------------------------------ [2012-03-02 22:08:08] cataphr...@php.net Description: ------------ When opening the same wrapper in several threads and this generates errors, a segfault may result. Test script: --------------- <?php file_get_contents('http://localhost/notfound'); Expected result: ---------------- Each requests shows a 404 error. Actual result: -------------- Segfault given enough concurrency ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=61253&edit=1