ID: 20800 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Verified +Status: Won\'t fix Bug Type: Output Control Operating System: Redhat 7.0 PHP Version: 4.3.0RC2 New Comment:
As discussed in the past, this behaviour is supposed to be expected. Do not use ob_end_flush() without preceding ob_start() when gzip output handler is enabled. Previous Comments: ------------------------------------------------------------------------ [2002-12-04 12:53:49] [EMAIL PROTECTED] I just assumed you meant segfaults by the word "crash" :-) Okay, Verified in HEAD, both with apache and with apache2. ------------------------------------------------------------------------ [2002-12-04 05:01:10] [EMAIL PROTECTED] The server doesn't create any core dump, it simply exit, as in bug #20802, there is no segmentation fault. ------------------------------------------------------------------------ [2002-12-04 00:34:12] [EMAIL PROTECTED] Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. ------------------------------------------------------------------------ [2002-12-03 15:54:33] [EMAIL PROTECTED] If I try to run this script I receive a blank page (no output): <? ob_end_clean(); echo "a"; ?> If I try to run from the command line it works. Server configuration: Linux Redhat 7.0 Apache 1.3.22 PHP 4.3.0RC2 Zend Optimizer 2.0.3 Mysql 4.0.5 ini: output_buffering On output_handler ob_gzhandler Configure: './configure' '--enable-track-vars' '--prefix=/usr' '--exec-prefix=/usr' '--libexecdir=/usr/lib/apache' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--datadir=/home/httpd' '--sysconfdir=/etc/httpd/conf' '--localstatedir=/var' '--libdir=/usr/lib/apache' '--includedir=/usr/include/apache' '--mandir=/usr/man' '--with-mysql=/usr' '--enable-memory-limit' '--with-config-file-path=/usr/local/Zend/etc' '--with-apxs' '--with-zlib' ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20800&edit=1