#21623 [Opn->Fbk]: Turning on Magic quotes Segfaults PHP
| From: | derick@php.net | Date: | Mon, 13 Jan 2003 19:33:06 +0000 |
| Subject: | #21623 [Opn->Fbk]: Turning on Magic quotes Segfaults PHP | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-29896@lists.php.net to get a copy of this message | ||
ID: 21623
Updated by: derick@php.net
Reported By: john@php.net
-Status: Open
+Status: Feedback
Bug Type: Reproducible crash
Operating System: RedHat
PHP Version: 5CVS-2003-01-13 (dev)
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2003-01-13 13:31:51] john@php.net
I thought this might be because I was running an older version 4.4-dev
version of PHP from CVS that I had hacked up a bit, but it turns out
it's in the current CVS as well..
I am honestly not sure why PHP is crashing, but it has something to do
with turning magic_quotes_runtime on. It doesn't break all the time,
only when using the PostNuke package. Unfortunately I have no idea
how/where it crashes...
here's the backtrace...
(gdb) run -X
Starting program: /usr/local/apache/bin/httpd -X
Program received signal SIGSEGV, Segmentation fault.
chunk_alloc (ar_ptr=0x401cd520, nb=105) at malloc.c:2993
2993 malloc.c: No such file or directory.
in malloc.c
Obviously something has gone wrong trying to malloc memory, however I
don't have any real way to see what PHP code actually breaks
everything... Perhaps I'll try to install one of the realtime debuggers
and attempt to determine where exactly it's crashing.
Configured with: --with-mysql --with-apxs
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21623&edit=1