php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19752 Break causing crash
Submitted: 2002-10-04 05:41 UTC Modified: 2002-10-20 23:32 UTC
From: kkk at escsa dot pl Assigned:
Status: No Feedback Package: Reproducible crash
PHP Version: 4.2.3 OS: Win98
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: kkk at escsa dot pl
New email:
PHP Version: OS:

 

 [2002-10-04 05:41 UTC] kkk at escsa dot 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-04 11:38 UTC] 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-20 23:32 UTC] sniper@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 13:01:30 2024 UTC