From: kju at arcor dot de
Operating system: Windows NT 4 SP 6a
PHP version: 4.3.1
PHP Bug Type: Reproducible crash
Bug description: PHP crashed at/after the 26 system-call
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 bug report at http://bugs.php.net/?id=22975&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22975&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22975&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22975&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22975&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22975&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22975&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22975&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22975&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22975&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22975&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22975&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22975&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22975&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22975&r=gnused