#34501 [Opn->Bgs]: PHP crashes when you use include for user defined stream wrapper

From: Date: Thu, 15 Sep 2005 07:54:05 +0000
Subject: #34501 [Opn->Bgs]: PHP crashes when you use include for user defined stream wrapper
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-85075@lists.php.net to get a copy of this message
ID: 34501 Updated by: sniper@php.net Reported By: dmitry dot poltaryonok at gmail dot com -Status: Open +Status: Bogus Bug Type: Reproducible crash Operating System: Windows XP SP2 PHP Version: 5.0.5 New Comment: And the crash was caused because this incomplete wrapper ends up in an endless loop, eats all memory and finally crashes. It's not really PHP bug, just user error. Previous Comments: ------------------------------------------------------------------------ [2005-09-15 09:47:43] dmitry dot poltaryonok at gmail dot com Sorry for posting code which will get the error stream_eof is not implement or stream_stat is not implemented, because I wasn't able to see this errors because php just crashed. ------------------------------------------------------------------------ [2005-09-15 09:45:06] dmitry dot poltaryonok at gmail dot com Ok with the latest versions of PHP 5 my actual wrapper works (not the fragment I posted) ------------------------------------------------------------------------ [2005-09-15 09:31:07] sniper@php.net No it isn't. I get an error while running your script about not having implemented stream_eof(). Try the snapshot. ------------------------------------------------------------------------ [2005-09-15 09:30:14] tony2001@php.net Then provide your actual reproduce code, not the one that doesn't work at all. ------------------------------------------------------------------------ [2005-09-15 09:23:30] dmitry dot poltaryonok at gmail dot com My actual wrapper is complete (contains all functions) ------------------------------------------------------------------------ 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 http://bugs.php.net/34501 -- Edit this bug report at http://bugs.php.net/?id=34501&edit=1

« previous php.bugs (#85075) next »