|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-02-10 00:31 UTC] tony2001@php.net
[2005-02-18 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 17:00:01 2025 UTC |
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