Bug #54388 [Opn->Fbk]: Php segfaults when ob_end_clean() is called into ob handler
| From: | aharvey@php.net | Date: | Tue, 29 Mar 2011 09:36:39 +0000 |
| Subject: | Bug #54388 [Opn->Fbk]: Php segfaults when ob_end_clean() is called into ob handler | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-159828@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=54388&edit=1
ID: 54388
Updated by: aharvey@php.net
Reported by: superbaloo at superbaloo dot net
Summary: Php segfaults when ob_end_clean() is called into ob
handler
-Status: Open
+Status: Feedback
Type: Bug
Package: Reproducible crash
Operating System: Linux (at least)
PHP Version: 5.3.6
Block user comment: N
Private report: N
New Comment:
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
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32
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.
I can't reproduce this on any machine I have to hand, so a backtrace is
definitely going to be needed here.
Previous Comments:
------------------------------------------------------------------------
[2011-03-26 10:40:35] superbaloo at superbaloo dot net
Description:
------------
This is an incorrect use of output buffering stuff okay ... but i don't
think
segfaults are a feature.
Test script:
---------------
function handler($message) {
ob_end_clean();
echo $message;
}
ob_start('handler');
echo "foo";
Expected result:
----------------
foo
Actual result:
--------------
segfault
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=54388&edit=1