#48888 [Opn->Fbk]: script crashing when running simultaneously
| From: | jani@php.net | Date: | Sun, 12 Jul 2009 12:30:09 +0000 |
| Subject: | #48888 [Opn->Fbk]: script crashing when running simultaneously | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-139644@lists.php.net to get a copy of this message | ||
ID: 48888
Updated by: jani@php.net
Reported By: contact at juzaz dot com
-Status: Open
+Status: Feedback
-Bug Type: Unknown/Other Function
+Bug Type: Reproducible crash
Operating System: Linux 2.6.24-gentoo-r8
PHP Version: 5.2.10
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
Previous Comments:
------------------------------------------------------------------------
[2009-07-12 08:00:45] sjoerd-php at linuxonly dot nl
Thank you for your bug report.
How do you run these scripts? From the command line or from the
browser?
------------------------------------------------------------------------
[2009-07-11 17:12:36] contact at juzaz dot com
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 this bug report at http://bugs.php.net/?id=48888&edit=1