#19752 [Fbk->NoF]: Break causing crash
| From: | sniper@php.net | Date: | Mon, 21 Oct 2002 04:32:37 +0000 |
| Subject: | #19752 [Fbk->NoF]: Break causing crash | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-22930@lists.php.net to get a copy of this message | ||
ID: 19752
Updated by: sniper@php.net
Reported By: kkk@escsa.pl
-Status: Feedback
+Status: No Feedback
Bug Type: Reproducible crash
Operating System: Win98
PHP Version: 4.2.3
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:
------------------------------------------------------------------------
[2002-10-04 11:38:37] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
Also, if the crash still happens with that snapshot,
then please provide a complete, short and self-contained sript which
does't have any database functions in it. (unless of course the reason
for the crash is in those)
------------------------------------------------------------------------
[2002-10-04 05:41:47] kkk@escsa.pl
This script crashes php:
$stan_sql= "SELECT * FROM check_rozkaz ($id_roz)";
$start = time()+15;
$licz=0;
while ($start >= $obecna_godz){
$obecna_godz = time();
$trans = ibase_trans (IBASE_NOWAIT,$polaczenie);
$stan = ibase_query($trans , $stan_sql);
while ($row = ibase_fetch_object ($stan))
{
$nazwa_tabeli = $row->AT_1;
if ($nazwa_tabeli == "XT1")
{$licz++;
break 2;
}
}
ibase_commit($trans);
}
When I change Break to 1 or 3 it works but the script wait for the time
loop to end. This function worked on linux without crash.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=19752&edit=1