#22975 [Fbk->Opn]: PHP crashed at/after the 26 system-call
| From: | kju at arcor dot de | Date: | Mon, 31 Mar 2003 10:34:15 +0000 |
| Subject: | #22975 [Fbk->Opn]: PHP crashed at/after the 26 system-call | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-36795@lists.php.net to get a copy of this message | ||
ID: 22975
User updated by: kju at arcor dot de
Reported By: kju at arcor dot de
-Status: Feedback
+Status: Open
Bug Type: Reproducible crash
Operating System: Windows NT 4 SP 6a
PHP Version: 4.3.1
New Comment:
we have installed the following version (win32):
PHP Version 4.3.2-RC
Build Date Mar 31 2003 09:11:59
No improvements...
Previous Comments:
------------------------------------------------------------------------
[2003-03-31 03:34:34] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2003-03-31 03:30:31] kju at arcor dot de
After we have updated the PHP-Version from 4.1 to 4.3.1 we have
reproducable crashes...
In some of our scripts are exec-commands to use system-commands... With
version 4.1 all our scripts were ok...
But after updating the scripts crash at the 26. system-call...
I have a small example here:
--
n=30;
for ($i=0;$i<$n;$i++)
{
exec("echo $i >> c:\test.log");
}
--
For any n<26 the script is running fine...
But when n=26 and above the script crashes and the last entry in the
test.log-file is "25" (the 26. system-call).
We have tested the system-calls with exec, system and passthru: same
results.
We also have tested many different commands also with commands who
don't use the filesystem, f.e. "ping $ip".
We also have increased the "set_time_limit" up to a very high value
(much more than we need normally) but the problem is persistent... no
"normal ending"...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22975&edit=1