ID:               29769
 Updated by:       php-bugs@lists.php.net
 Reported By:      sascha dot uhl at gmx dot net
-Status:           Feedback
+Status:           No Feedback
 Bug Type:         Reproducible crash
 Operating System: Windows 2000
 PHP Version:      5.0.1
 New Comment:

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".


Previous Comments:
------------------------------------------------------------------------

[2005-02-10 00:31:01] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.0-win32-latest.zip



------------------------------------------------------------------------

[2004-08-20 10:45:22] sascha dot uhl at gmx dot net

Description:
------------
PHP crashes while using the ibase event alerter feature with firebird
1.5.1.

I am using Apache 2.0.50, Firebird 1.5.1 and finally PHP 5.0.1.

I execute the script, which is waiting for an db event. When the event
happens, Dr.Watson appeares and PHP crashes.



Reproduce code:
---------------
function event_handler($event_name, $connection) 
{
        echo "<br>ein event";
    if ($event_name=="RBS_UPDATE") {
        $query = "SELECT RBS_RFPI, RBS_ISON FROM TBL_RBS ORDER BY
RBS_RFPI";
                $result = ibase_query($query);

                while ($row = ibase_fetch_object ($result)) {
                // echo $row->RBS_RFPI . "  " . $row->RBS_ISON . "<br>";
                        echo "<script type='text/javascript'>
updateRBSState('$row->RBS_RFPI',s".$row->RBS_ISON."); </script>";
}
    } 
}

ibase_set_event_handler($connection, "event_handler", "RBS_UPDATE");

ibase_wait_event($connection, "RBS_UPDATE");

Expected result:
----------------
After receiving the event, the callback function should write the
output to the browser.

Actual result:
--------------
Sorry, no backtrace...

Receiving the result ends in Dr.Watson for PHP


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=29769&edit=1

Reply via email to