PHP 4.0 Bug #8554 Updated: ob_gzhandler

From: Date: Fri, 12 Jan 2001 15:44:37 +0000
Subject: PHP 4.0 Bug #8554 Updated: ob_gzhandler
Groups: php.dev 
Request: Send a blank email to php-dev+get-43873@lists.php.net to get a copy of this message
ID: 8554 User Update by: cecot@dirbg.com Old-Status: Open Status: Closed Bug Type: Reproduceable crash Description: ob_gzhandler well in php4.0.4pl1 this problem seems to disappear output_handler = ob_gzhandler works fine (even compresses the output :)) Previous Comments: --------------------------------------------------------------------------- [2001-01-04 11:58:10] cecot@dirbg.com when I tried the example of Zeev Suraski at http://www.zend.com/zend/art/buffering.php, with the php.ini directive output_handler = ob_gzhandler it caused Segmentation fault of the apache. I tried to use ob_start("ob_gzhandler"); and again segmentation fault ... here are some tests $test = ob_gzhandler("test") makes unpredictable results; $test = gzencode("test") work fine (it even compress the text); ob_start("gzencode") end with segfault again; this happend on two different machines (both with debian) but one with a precompiled php debian package the other php compiled from me. both are compiled --with-zlib phpinfo() gives this zlib ZLib Support enabled 'zlib:' fopen wrapper enabled Compiled Version 1.1.3 Linked Version 1.1.3 --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8554

« previous php.dev (#43873) next »