Bug #13977: 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:03:52 +0000 |
| Subject: | Bug #13977: Sometimes php crashes when executing a script everytime at the same point. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-69757@lists.php.net to get a copy of this message | ||
From: zork@matrixx-bielefeld.de
Operating system: Windows 2000 SP2
PHP version: 4.0.6
PHP Bug Type: Reproducible crash
Bug description: Sometimes php crashes when executing a script everytime at the same point.
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 bug report at: http://bugs.php.net/?id=13977&edit=1