#42395 [Fbk->Opn]: httpd crashes near file uploading
| From: | jille at hexon dot cx | Date: | Thu, 30 Aug 2007 12:55:24 +0000 |
| Subject: | #42395 [Fbk->Opn]: httpd crashes near file uploading | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-116883@lists.php.net to get a copy of this message | ||
ID: 42395
User updated by: jille at hexon dot cx
Reported By: jille at hexon dot cx
-Status: Feedback
+Status: Open
Bug Type: Apache related
Operating System: MacOS 10.4.9
PHP Version: 5.2.3
New Comment:
Well, I disabled the zend extensions on one server, but it crashed
anyway...
Got any other ideas to try to locate the problem (without slowing down
the entire server) ?
Previous Comments:
------------------------------------------------------------------------
[2007-08-23 14:12:09] jani@php.net
So it crashes but you can't build a debug version of PHP for your live
site to get better backtraces so that we could actually fix it and you
don't know how to reproduce it reliably..quite a chicken'n'egg problem
here. :)
------------------------------------------------------------------------
[2007-08-23 11:48:36] jille at hexon dot cx
true, but I can't reproduce it on my dev server...
------------------------------------------------------------------------
[2007-08-23 11:46:12] jani@php.net
Nobody asked you to run it on live site..
------------------------------------------------------------------------
[2007-08-23 11:33:40] jille at hexon dot cx
I can't run 5.2.4-dev in gdb on a live server.
That will slow down about 1000+ sites i`m hosting.
But I will try to run one server without Zend extensions.
Let`s see whether I still get crashes on that one
------------------------------------------------------------------------
[2007-08-23 10:26:12] jani@php.net
First get the latst 5.2.4-dev snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
Then compile it with using --enable-debug in your configure line.
Before you launch Apache, disable all Zend extensions in your php.ini.
Run Apache under GDB:
# gdb --arg httpd -X
(gdb) run
Then do the things required to crash it and:
<segfault>
(gdb) bt
And you should have better backtrace. Although it seems to be coming
from the filter extension by looking at the current backtrace, it's
easier to pinpoint the exact place when the debug symbols are around.
------------------------------------------------------------------------
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/42395
--
Edit this bug report at http://bugs.php.net/?id=42395&edit=1