ID: 40641 Updated by: [EMAIL PROTECTED] Reported By: jfgingras at cegep-ste-foy dot qc dot ca -Status: Open +Status: Feedback -Bug Type: Reproducible crash +Bug Type: Unknown/Other Function Operating System: FreeBSD 6.1-RELEASE PHP Version: 5.2.1
Previous Comments: ------------------------------------------------------------------------ [2007-03-02 18:22:24] jfgingras at cegep-ste-foy dot qc dot ca Well, I compile PHP with --disable-debug and CFLAGS="-O0 -g", can't get a BT. I compile it with --enable-debug and CFLAGS="-O0 -g" again, no BT. I even recompile httpd with either WITHDEBUG=yes and CFLAGS="-O0 -g" still can get a BT. I still can get httpd to run in gdb : gdb in realloc(): error: junk pointer, too high to make sense Abort trap: 6 (core dumped) I'll try to know at least what is the problematic extension that cause httpd to crash when open_basedir is defined (see comment on [26 Feb 7:12pm UTC]). ------------------------------------------------------------------------ [2007-02-28 22:12:41] jfgingras at cegep-ste-foy dot qc dot ca We finaly found a machine on which we can reproduce the error. I'll compile PHP as you recommened. Three servers running FreeBSD 6.1, with the lastest patchs an all, all running on 64bits CPU. Two servers are running with 2x AMD64 Opteron Processor 248 (both crash with open_basedir) and one running with AMD64 Athlon Dual Core (doesn't crash with open_basedir). I'll try to run httpd under gdb again, I want that backtrace ;) ------------------------------------------------------------------------ [2007-02-28 15:00:00] [EMAIL PROTECTED] Try rebuilding PHP with --disable-debug and CFLAGS="-O0 -g". Btw, what GCC version do you use? ------------------------------------------------------------------------ [2007-02-28 14:53:57] jfgingras at cegep-ste-foy dot qc dot ca I should I have read more before posting my last comment, seems like the FreeBSD port only support i386 and the amd64 support is only for Linux right now. Guess I'll have to forget about open_basedir for now :( ------------------------------------------------------------------------ [2007-02-28 14:32:39] jfgingras at cegep-ste-foy dot qc dot ca Well, the portage of Valgrind under FreeBSD 6.1 is only for i386 and it complains because I'm on a amd64. So I can't get valgrind to compile. I'll try the source directly from http://valgrind.org/, they saids it support amd64. Stay tune! ------------------------------------------------------------------------ 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/40641 -- Edit this bug report at http://bugs.php.net/?id=40641&edit=1