Bug #68527 [Opn->Fbk]: iterator_to_array causing segfaults
| From: | requinix@php.net | Date: | Mon, 01 Dec 2014 00:29:59 +0000 |
| Subject: | Bug #68527 [Opn->Fbk]: iterator_to_array causing segfaults | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-188859@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: requinix@php.net
Reported by: sjaillet at gmail dot com
Summary: iterator_to_array causing segfaults
-Status: Open
+Status: Feedback
Type: Bug
Package: SPL related
Operating System: Ubuntu 12.04
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[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