php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37802 crash on callback calling static methods
Submitted: 2006-06-14 12:48 UTC Modified: 2006-06-27 01:00 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: romy4 at online dot ua Assigned:
Status: No Feedback Package: Output Control
PHP Version: 5.1.4 OS: WINNT 5.1 SP2
Private report: No CVE-ID: None
 [2006-06-14 12:48 UTC] romy4 at online dot ua
Description:
------------
PHP crashes at callback calls of static class functions


Reproduce code:
---------------
sample:
<?php
class MyClass{
static public function mycbk($data)
{
//mine code
}
}
//for example any callback
ob_start("MyClass::mycbk");
//...
echo "bla bla bla";
//...
ob_end_flush();//<-- here crashes
?>

Expected result:
----------------
expected normal calling

Actual result:
--------------
php crashes
Application error php.exe, version 5.1.4.4, module unknown, version 0.0.0.0, address 0x013b1c80.
i used php as cgi module and apache integrated module.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-06-14 13:40 UTC] romy4 at online dot ua
-
 [2006-06-19 08:04 UTC] mike@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc.

If possible, make the script source available online and provide
an URL to it here. Try to avoid embedding huge scripts into the report.

I don't see a crash happening.
 [2006-06-27 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 10:01:29 2024 UTC