Bug #68527 [Fbk->NoF]: iterator_to_array causing segfaults

From: Date: Tue, 30 Dec 2014 10:43:04 +0000
Subject: Bug #68527 [Fbk->NoF]: iterator_to_array causing segfaults
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-189511@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68527&edit=1 ID: 68527 Updated by: php-bugs@lists.php.net Reported by: sjaillet at gmail dot com Summary: iterator_to_array causing segfaults -Status: Feedback +Status: No Feedback Type: Bug Package: SPL related Operating System: Ubuntu 12.04 PHP Version: Irrelevant Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2014-12-01 00:29:59] requinix@php.net Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php for *NIX and http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32 Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. ------------------------------------------------------------------------ [2014-11-30 13:29:32] sjaillet at gmail dot com Description: ------------ During the past 12 months we experienced some weird segfaults issue. We worked on a project with a of tests and our CI proccess kept segfaulting randomly again and again. Adding an echo somewhere in the code make it suddenly pass for an unknown reason. This error occured on PHP 5.4 as well as PHP 5.5 and on many different platforms (essentially Ubuntu & Mac). Since we experienced some segfault issues by using the SPL library in the past we decided to remove the couple of iterator_to_array() references in our code base. And now 2 months later we didn't experienced any more segfaults during our CI proccess. Due to the random aspect of the issue I wasn't able to produce a deterministic test script but wanted to share this experience in case of it can help other people. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=68527&edit=1

« previous php.bugs (#189511) next »