Edit report at https://bugs.php.net/bug.php?id=54388&edit=1

 ID:               54388
 Updated by:       [email protected]
 Reported by:      superbaloo at superbaloo dot net
 Summary:          Php segfaults when ob_end_clean() is called into ob
                   handler
-Status:           Feedback
+Status:           No Feedback
 Type:             Bug
 Package:          Reproducible crash
 Operating System: Linux (at least)
 PHP Version:      5.3.6

 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


Previous Comments:
------------------------------------------------------------------------
[2011-03-29 11:36:39] [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 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.

------------------------------------------------------------------------
[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 https://bugs.php.net/bug.php?id=54388&edit=1

Reply via email to