ID: 50382
User updated by: dirk at bean-it dot nl
Reported By: dirk at bean-it dot nl
Status: Assigned
Bug Type: Reproducible crash
Operating System: Debian 5.0
PHP Version: 5.3.1
Assigned To: dmitry
New Comment:
I'm going to prepare a server with the software. Please allow me a few
days to arrange this. I'll email the details when things are ready.
Previous Comments:
------------------------------------------------------------------------
[2009-12-08 08:30:06] dmitry@php.net
In case you can provide a long script with instruction it's an option
too. It's not easy to identify the reason of crash caused by garbage
collector and provide a short script. SSH access to a server where I can
play with bug is also an option.
------------------------------------------------------------------------
[2009-12-07 08:43:02] dirk at bean-it dot nl
I can confirm that setting: zend.enable_gc=Off makes the crash go
away.
I'm still looking to pinpoint the problem. I hope I can provide a short
script which crashes php.
------------------------------------------------------------------------
[2009-12-06 15:23:28] srinatar@php.net
alternatively, you can also set "zend.enable_gc=Off" within your
php.ini
and this should make the crash go away as well.
------------------------------------------------------------------------
[2009-12-05 16:14:38] srinatar@php.net
from the bt, I guess, there is memory corruption within Zend engine.
if you are able to reproduce this crash by running a modified version
of
your script from the command line, then , to help us more understand
the
problem, will it be possible for you to run it with valgrind --num-
callers=15 --error-limit=no ./sapi/cli/php <test-script>
alternatively, if you export USE_ZEND_ALLOC=0 in your apachectl script,
your server might run successfully albeit at decreased performance.
thanks for your help
------------------------------------------------------------------------
[2009-12-04 12:56:47] dirk at bean-it dot nl
Up till now, I haven't been able to exactly pinpoint the problem. As
mentioned below, our application works as expected, it looks likes
Apache crashes -after- php has compiled the page. Very strange. The
application is quite large, a lot of code. Tried to debug with Zend
Debugger, but than things work as expected, no segfault.
As much as I would like to give some example code, I cannot at this
moment, since I have no clue where things go wrong (the app works
fine!).
Any suggestions on how to proceed are highly appreciated.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/50382
--
Edit this bug report at http://bugs.php.net/?id=50382&edit=1