Bug #13977 Updated: Sometimes php crashes when executing a script everytime at the same point.
| From: | zork at matrixx-bielefeld dot de | Date: | Wed, 07 Nov 2001 13:07:05 +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-69758@lists.php.net to get a copy of this message | ||
ID: 13977
User updated by: zork@matrixx-bielefeld.de
Reported By: zork@matrixx-bielefeld.de
Status: Open
Bug Type: Reproducible crash
Operating System: Windows 2000 SP2
PHP Version: 4.0.6
New Comment:
I exatly mean the 3. interation of the for-loop!!!
Previous Comments:
------------------------------------------------------------------------
[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> ");
//// THIS IS THE PLACE WHERE PHP CRASHES.
//// Not everytime, but often
for ($i = 1; $i <= count($mmenu) - 1; $i++) {
echo("$mmenu[$i] | ");
}
[...]
============================================================
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