Bug #73471 [Opn->Fbk]: PHP freezes with AppendIterator

From: Date: Mon, 07 Nov 2016 08:23:18 +0000
Subject: Bug #73471 [Opn->Fbk]: PHP freezes with AppendIterator
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-205218@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=73471&edit=1

 ID:                 73471
 Updated by:         requinix@php.net
 Reported by:        saschaprolic at googlemail dot com
 Summary:            PHP freezes with AppendIterator
-Status:             Open
+Status:             Feedback
 Type:               Bug
 Package:            SPL related
 Operating System:   Linux 4.4.0-43-generic Ubuntu
 PHP Version:        7.1.0RC5
 Block user comment: N
 Private report:     N

 New Comment:

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc. If the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.

"Freezes"? Could it be an infinite loop somewhere? Use a debugger to find out exactly
where and when the problem is.


Previous Comments:
------------------------------------------------------------------------
[2016-11-07 07:45:41] saschaprolic at googlemail dot com

The change is here: https://github.com/prooph/event-store/pull/210/commits/61465535e6acc657c80a1bab7ab909470cf579e8

------------------------------------------------------------------------
[2016-11-07 07:43:27] saschaprolic at googlemail dot com

Description:
------------
PHP freezes when I use the append iterator. I could not create an isolated script, where only this
problem is covered, yet.

But here is how to reproduce and how to bypass it, take a look at the following change in my PR to
prooph/event-store:

https://github.com/prooph/event-store/pull/210

I hope this helps you guys already to isolate the problem. Either way, you can always clone our
repository and run the tests with that patch excluded, so you will see the same in real action.



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=73471&edit=1


Thread (11 messages)

« previous php.bugs (#205218) next »