From: contact at juzaz dot com Operating system: Linux 2.6.24-gentoo-r8 PHP version: 5.2.10 PHP Bug Type: Unknown/Other Function Bug description: script crashing when running simultaneously
Description: ------------ When running 2 batch scripts simultaneously, getting weird errors like: Fatal error: Call to undefined function substr() in xxx.php on line 125 The problem is obviously not related to the source code as it happens with built-in functions. It also happens with custom class functions sometimes. The problem doesn't seem to exist when a single php process is running. Unfortunately the problem is not reproductible intentionnally. The exact same code and conditions will sometimes work and other times fail. -- Edit bug report at http://bugs.php.net/?id=48888&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48888&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48888&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48888&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=48888&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48888&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=48888&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=48888&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=48888&r=needscript Try newer version: http://bugs.php.net/fix.php?id=48888&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=48888&r=support Expected behavior: http://bugs.php.net/fix.php?id=48888&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=48888&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=48888&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=48888&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48888&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=48888&r=dst IIS Stability: http://bugs.php.net/fix.php?id=48888&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=48888&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=48888&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=48888&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=48888&r=mysqlcfg