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

2005-09-15 Thread dmitry dot poltaryonok at gmail dot com
 ID:   34501
 User updated by:  dmitry dot poltaryonok at gmail dot com
 Reported By:  dmitry dot poltaryonok at gmail dot com
 Status:   Open
 Bug Type: Reproducible crash
 Operating System: Windows XP SP2
 PHP Version:  5.0.5
 New Comment:

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.


Previous Comments:


[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] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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)



[2005-09-14 22:32:17] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip

And fix your script. The wrapper class is incomplete.




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


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

2005-09-15 Thread dmitry dot poltaryonok at gmail dot com
 ID:   34501
 User updated by:  dmitry dot poltaryonok at gmail dot com
 Reported By:  dmitry dot poltaryonok at gmail dot com
-Status:   Feedback
+Status:   Open
 Bug Type: Reproducible crash
 Operating System: Windows XP SP2
 PHP Version:  5.0.5
 New Comment:

Ok with the latest versions of PHP 5 my actual wrapper works (not the
fragment I posted)


Previous Comments:


[2005-09-15 09:31:07] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

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)



[2005-09-14 22:32:17] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip

And fix your script. The wrapper class is incomplete.




[2005-09-14 20:48:23] dmitry dot poltaryonok at gmail dot com

Crash is right after call to stream_open



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


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

2005-09-15 Thread dmitry dot poltaryonok at gmail dot com
 ID:   34501
 User updated by:  dmitry dot poltaryonok at gmail dot com
 Reported By:  dmitry dot poltaryonok at gmail dot com
-Status:   Feedback
+Status:   Open
 Bug Type: Reproducible crash
 Operating System: Windows XP SP2
 PHP Version:  5.0.5
 New Comment:

My actual wrapper is complete (contains all functions)


Previous Comments:


[2005-09-14 22:32:17] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5-win32-latest.zip

And fix your script. The wrapper class is incomplete.




[2005-09-14 20:48:23] dmitry dot poltaryonok at gmail dot com

Crash is right after call to stream_open



[2005-09-14 20:37:59] dmitry dot poltaryonok at gmail dot com

Description:

After you register custom wrapper PHP crashes during inclusion of the
file using this wrapper.

Reproduce code:
---
';
}
}
stream_wrapper_register('mywrap', 'mywrap');
include(suAPI.'config/config.php');
?>

Expected result:

I expect to see "test" string echoed from included code. included code
returned by stream_read()

Actual result:
--
Windows displays that CLI PHP application crashed (or that Apache is
crashed).





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


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

2005-09-14 Thread dmitry dot poltaryonok at gmail dot com
 ID:   34501
 User updated by:  dmitry dot poltaryonok at gmail dot com
 Reported By:  dmitry dot poltaryonok at gmail dot com
 Status:   Open
 Bug Type: Reproducible crash
 Operating System: Windows XP SP2
 PHP Version:  5.0.5
 New Comment:

Crash is right after call to stream_open


Previous Comments:


[2005-09-14 20:37:59] dmitry dot poltaryonok at gmail dot com

Description:

After you register custom wrapper PHP crashes during inclusion of the
file using this wrapper.

Reproduce code:
---
';
}
}
stream_wrapper_register('mywrap', 'mywrap');
include(suAPI.'config/config.php');
?>

Expected result:

I expect to see "test" string echoed from included code. included code
returned by stream_read()

Actual result:
--
Windows displays that CLI PHP application crashed (or that Apache is
crashed).





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


#34501 [NEW]: PHP crashes when you use include for user defined stream wrapper

2005-09-14 Thread dmitry dot poltaryonok at gmail dot com
From: dmitry dot poltaryonok at gmail dot com
Operating system: Windows XP SP2
PHP version:  5.0.5
PHP Bug Type: Reproducible crash
Bug description:  PHP crashes when you use include for user defined stream 
wrapper

Description:

After you register custom wrapper PHP crashes during inclusion of the file
using this wrapper.

Reproduce code:
---
';
}
}
stream_wrapper_register('mywrap', 'mywrap');
include(suAPI.'config/config.php');
?>

Expected result:

I expect to see "test" string echoed from included code. included code
returned by stream_read()

Actual result:
--
Windows displays that CLI PHP application crashed (or that Apache is
crashed).

-- 
Edit bug report at http://bugs.php.net/?id=34501&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=34501&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=34501&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=34501&r=trysnapshot51
Fixed in CVS:http://bugs.php.net/fix.php?id=34501&r=fixedcvs
Fixed in release:http://bugs.php.net/fix.php?id=34501&r=alreadyfixed
Need backtrace:  http://bugs.php.net/fix.php?id=34501&r=needtrace
Need Reproduce Script:   http://bugs.php.net/fix.php?id=34501&r=needscript
Try newer version:   http://bugs.php.net/fix.php?id=34501&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=34501&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=34501&r=notwrong
Not enough info: 
http://bugs.php.net/fix.php?id=34501&r=notenoughinfo
Submitted twice: 
http://bugs.php.net/fix.php?id=34501&r=submittedtwice
register_globals:http://bugs.php.net/fix.php?id=34501&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=34501&r=php3
Daylight Savings:http://bugs.php.net/fix.php?id=34501&r=dst
IIS Stability:   http://bugs.php.net/fix.php?id=34501&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=34501&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=34501&r=float
No Zend Extensions:  http://bugs.php.net/fix.php?id=34501&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=34501&r=mysqlcfg