Bug #8554 Updated: ob_gzhandler

From: Date: Sun, 29 Apr 2001 16:06:07 +0000
Subject: Bug #8554 Updated: ob_gzhandler
Groups: php.dev 
Request: Send a blank email to php-dev+get-52948@lists.php.net to get a copy of this message
ID: 8554 Updated by: jmoore Reported By: cecot@dirbg.com Old-Status: Duplicate Status: Closed Bug Type: Reproduceable crash PHP Version: 4.0.4pl1 Assigned To: Comments: fixed in CVS Previous Comments: --------------------------------------------------------------------------- [2001-01-26 10:49:32] cecot@dirbg.com there's something more to say about see http://bugs.php.net/?id=8938 the machines are the same :) --------------------------------------------------------------------------- [2001-01-12 10:44:37] cecot@dirbg.com well in php4.0.4pl1 this problem seems to disappear output_handler = ob_gzhandler works fine (even compresses the output :)) --------------------------------------------------------------------------- [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 --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=8554&edit=2

« previous php.dev (#52948) next »