From: [EMAIL PROTECTED] Operating system: RedHat PHP version: 5CVS-2003-01-13 (dev) PHP Bug Type: Reproducible crash Bug description: Turning on Magic quotes Segfaults PHP
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 bug report at http://bugs.php.net/?id=21623&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=21623&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=21623&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=21623&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=21623&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=21623&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=21623&r=support Expected behavior: http://bugs.php.net/fix.php?id=21623&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=21623&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=21623&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=21623&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21623&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=21623&r=dst IIS Stability: http://bugs.php.net/fix.php?id=21623&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=21623&r=gnused