Michael Wallner wrote:
> mike          Fri Oct 13 09:03:03 2006 UTC
> 
>   Added files:                 
>     /php-src/tests/output     ob_020.phpt 
>   Log:
>   - add test, segfaults ATM
>   
> 
> http://cvs.php.net/viewvc.cgi/php-src/tests/output/ob_020.phpt?view=markup
> Index: php-src/tests/output/ob_020.phpt
> +++ php-src/tests/output/ob_020.phpt
> --TEST--
> output buffering - memory exhaustion (segv, memory_limit>200k)
> --SKIPIF--
> <?php
> function_exists("memory_get_usage") or die("need --enable-memory-limit\n");
> ?>
> --INI--
> output_buffering=1
> memory_limit=500k
> --FILE--
> <?php
> while(true) echo "foo";
> ?>
> --EXPECTF--
> Fatal error: Allowed memory size of %d bytes exhausted at %s/output.c:%d 
> (tried to allocate %d bytes) in Unknown on line 0

This test causes a crash in the allocator.

I didn't figure out why yet, so I'd appreciate if 
someone else could have a look at it too.

Regards,
-- 
Michael

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to