Bug #13977 Updated: Sometimes php crashes when executing a script everytime at the same point.

From: Date: Thu, 08 Nov 2001 16:51:10 +0000
Subject: Bug #13977 Updated: Sometimes php crashes when executing a script everytime at the same point.
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-69805@lists.php.net to get a copy of this message
ID: 13977
Updated by: derick
Reported By: zork@matrixx-bielefeld.de
Old Status: Open
Status: Feedback
Bug Type: Reproducible crash
Operating System: Windows 2000 SP2
PHP Version: 4.0.6
New Comment:

Please include the shortest possible script (preferrably link to it) that crashes PHP.

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

[2001-11-07 08:07:05] zork@matrixx-bielefeld.de

I exatly mean the 3. interation of the for-loop!!!

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

[2001-11-07 08:03:51] zork@matrixx-bielefeld.de

Using Win2k/SP2, MySQL 3.23.44 Windows 95/98/NT/2000/XP on an AMD-Athlon-System. 
The problem is, that sometimes PHP crashes when getting data from the db.

I'm using the following code-snip to generate an click-menu:

============================================================
// Get Main-Menu from database
$mmenu = generate_menu(1,$location);

echo("<table cellspacing=0 cellpadding=0 border=0 width=\"800\">
<tr><td class=conmenu>&nbsp;&nbsp;");

//// THIS IS THE PLACE WHERE PHP CRASHES.
//// Not everytime, but often

for ($i = 1; $i <= count($mmenu) - 1; $i++) {

  echo("$mmenu[$i]&nbsp;&nbsp;|&nbsp;");

}
[...]
============================================================

I'm using more than one computer to work with the code and two diferent OS'ses (Win2k /
SuSE-Linux 7.3). I just encountered problems with Win2k on the mashine with AMD-CPU.

thx,

Meikel Bode

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



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



Thread (7 messages)

« previous php.dev (#69805) next »