| Summary: | dev-lang/php-5.2.4_p20070914 - libphp5 does munmap_chunk() on an invalid pointer, Apache segfaults | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Paul McDermott <pmcdermott98> |
| Component: | Current packages | Assignee: | PHP Bugs <php-bugs> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | critical | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Copy of /var/log/apache2/error_log | ||
|
Description
Paul McDermott
2007-09-20 20:08:48 UTC
Created attachment 131448 [details]
Copy of /var/log/apache2/error_log
At least I am unable to extract any useful data from the log and I think there isn't much we can do about. Can you please try to reproduce the problem without any 3rd-party extensions (xcache, eA, APC, xdebug etc., if you use any of those)? If it's still reproducible you should try to use a vanilla snapshot [1] and build it from source (don't use any of our patches). If it still segfaults for you then, file an upstream bug [2] (and please link the bug you file here). If not then it is our problem. Sorry that I have to ask you to do so much debugging, but I really cannot guess what the problem is from the given information. A gdb backtrace *could* also help (and maybe upstream wants one as well if you file a bug). Also, is this reproducible using a very simple PHP file (<?php echo "foo"; ?>) as well or does it only happen on your (maybe complex) set up? [1] http://snaps.php.net/ [2] http://bugs.php.net/ Re-emerging with: USE='mpm-prefork -threads' emerge -av --newuse apache php appears to have stopped the crashes happening. Not sure I fully understand the performance impact of this step, but I just need a development platform for the moment. hoffie, to respond to your points: I haven't put in any third party extension myself, but I don't know if there were some as part of the original packages? I am not using any of the apps. listed. I could not reproduce the segfault with a simple PHP file. It is Horde that I am currently trying to get to work, which I guess you can describe as a complex setup (although I am not too far removed from just a basic Gentoo install). |