ID: 33058 Updated by: [EMAIL PROTECTED] Reported By: jas at cs dot yorku dot ca -Status: Open +Status: Bogus Bug Type: Reproducible crash Operating System: Redhat 7.3 PHP Version: 4.3.11 New Comment:
As long as it works -> not PHP bug. Previous Comments: ------------------------------------------------------------------------ [2005-05-19 19:05:23] jas at cs dot yorku dot ca env CFLAGS="-DEAPI" ./configure '--prefix=/cs/local' '--with-mysql=/cs/local/packages/mysql' '--with-apxs=/cs/local/packages/apache/bin/apxs' '--with-imap=/tmp/imap-2004c1' '--with-imap-ssl=/tmp/imap-2004c1' '--with-openssl=/cs/local' '--enable-ftp' '--with-gettext' '--with-xml' '--with-mcrypt=/cs/local' '--with-exec-dir=/cs/local/bin' '--with-zlib=/cs/local' I tried upgrading mysql from 4.0.13 to 4.0.24, and this solved the problem (for me). PHP 4.3.11 now works. I still don't understand how 4.3.11 would not work with the existing mysql 4.0.13 when it WOULD work with 4.3.10. ------------------------------------------------------------------------ [2005-05-18 20:23:28] [EMAIL PROTECTED] What was your configure line before (i.e. when you compiled it with mysql support)? ------------------------------------------------------------------------ [2005-05-18 19:09:13] jas at cs dot yorku dot ca If it helps, I compiled again without the mysql support, and php works. strange? I'm just running the "php" command straight from sapi/cli/php. jas. ------------------------------------------------------------------------ [2005-05-18 18:40:09] [EMAIL PROTECTED] Are you sure you're not trying to load an extension compiled for 4.3.4 ? ------------------------------------------------------------------------ [2005-05-18 18:32:40] jas at cs dot yorku dot ca here is the backtrace requested... sorry for omitting that.. GNU gdb 6.0 Copyright 2003 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"... (gdb) run Starting program: /tmp/php-4.3.11/sapi/cli/php Program received signal SIGSEGV, Segmentation fault. 0x4207fa78 in strcmp () from /lib/i686/libc.so.6 (gdb) bt #0 0x4207fa78 in strcmp () from /lib/i686/libc.so.6 #1 0x400d7840 in obj_name_cmp () from /cs/local/packages/mysql-4.0.13/lib/mysql/libmysqlclient.so.12 #2 0x400d77d8 in obj_name_cmp () from /cs/local/packages/mysql-4.0.13/lib/mysql/libmysqlclient.so.12 #3 0x400b1388 in getrn () from /cs/local/packages/mysql-4.0.13/lib/mysql/libmysqlclient.so.12 #4 0x4207a058 in malloc () from /lib/i686/libc.so.6 #5 0x400b10fb in lh_insert () from /cs/local/packages/mysql-4.0.13/lib/mysql/libmysqlclient.so.12 #6 0xbfffddd0 in ?? () it appears the problem is related to mysql? seems strange since mysql didn't change when I moved from 4.3.10 to 4.3.11, but php did... hmm. ------------------------------------------------------------------------ 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/33058 -- Edit this bug report at http://bugs.php.net/?id=33058&edit=1