Re: Bug #14226 Updated: multiple ob_end_clean() problem
| From: | Yasuo Ohgaki | Date: | Sun, 02 Dec 2001 21:07:13 +0000 |
| Subject: | Re: Bug #14226 Updated: multiple ob_end_clean() problem | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-72279@lists.php.net to get a copy of this message | ||
Markus Fischer wrote:
It seems CGI version output is ok to me also. (4.2.0-dev 2001/11/15. I thought I've tested with CGI version when I reported this bug. It seems I'm not.) Today's HEAD & 4.1.0RC with Aapche SAPI has problem, at least with my config. -- Yasuo OhgakiI tested the CGI version (command line) and the first outptus:$ php -f 14226.php BBBBBBBBBBBBBBBBBBBBBBB$$ php -v 4.2.0-dev(with usual enable debug, etc)so this does only apply to apache? can you test the CGI version too?- Markus
On Sun, Dec 02, 2001 at 01:20:20PM -0000, yasuo_ohgaki@yahoo.com wrote :_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.comID: 14226 User updated by: yasuo_ohgaki@yahoo.com Reported By: yasuo_ohgaki@yahoo.com Status: Open Bug Type: Output Control Old Operating System: Linux Operating System: Linux 2.4.4/glibc 2.2.2 Old PHP Version: 4.1.0RC1 PHP Version: 4.1.0RC CVS (2001/12/2) New Comment: A little update. ob_end_flush() has problem also. Previous Comments: ------------------------------------------------------------------------ [2001-11-26 06:16:30] yasuo_ohgaki@yahoo.com I cannot reproduce segfualt, but it seems PHP may segfault with this. Here is apache error log. [Mon Nov 26 19:45:19 2001] Script: '/home/yohgaki/public_html/bugs/output/bug.php' --------------------------------------- output.c(245) : Block 0x0818A668 status:Beginning: Overrun (magic=0x401D1178, expected=0x7312F8DC) End: Unknown--------------------------------------- [Mon Nov 26 19:45:19 2001] Script: '/home/yohgaki/public_html/bugs/output/bug.php' --------------------------------------- output.c(245) : Block 0x0818A668 status:Beginning: Overrun (magic=0x401D1178, expected=0x7312F8DC) End: Unknown--------------------------------------- [Mon Nov 26 19:45:19 2001] Script: '/home/yohgaki/public_html/bugs/output/bug.php' --------------------------------------- output.c(245) : Block 0x0818A668 status:Beginning: Overrun (magic=0x401D1178, expected=0x7312F8DC) End: Unknown--------------------------------------- [Mon Nov 26 19:45:19 2001] [notice] child pid 6681 exit signal Segmentation fault (11) ------------------------------------------------------------------------ [2001-11-26 06:06:17] yasuo_ohgaki@yahoo.com 4.1.0RC and 4.2.0-dev doesn't output last echo statement. Nesting level handling problem? <?php ob_start(); echo "AAAAAAAAAAAAAAAAAAAAAAA"; ob_end_clean(); ob_end_clean(); ob_end_clean(); ob_end_clean(); ob_end_clean(); ob_end_clean(); ob_end_clean(); ob_end_clean(); ob_end_clean(); echo "BBBBBBBBBBBBBBBBBBBBBBB"; ?> ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14226&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net