>Description: MySQLd 3.23.51 receives a SIGSEGV (aborting the backtrace with an "fp=(nil)") connecting via TCP/IP when compiled with "--with-libwrap". Connecting via a Unix socket works. MySQLd 3.23.49 and below are not affected.
I've spent the entire day compiling with various options, and on various Linux platforms, to identify the culprit. The bug does not seem related to compiler (tried egcs-1.1.2 and gcc-2.95.3), libc (tried both glibc 2.1 and 2.2), linux kernel (2.2 and 2.4), or other code-altering configuration options tried (--enable-assembler, --with-berkeley-db). The only ingredient necessary to trigger the bug is to add in --with-libwrap, and then connect via TCP/IP. >How-To-Repeat: linux:~# mysql -uadmin -pxyzzy -h127.0.0.1 -P3306 ERROR 2013: Lost connection to MySQL server during query linux:~# >Fix: >Submitter-Id: <submitter ID> >Originator: Kristofer T. Karas >Organization: CareGroup, Boston, MA US > >MySQL support: none >Synopsis: Use of --with-libwrap segfaults mysqld under misc. conditions. >Severity: serious >Priority: low >Category: mysql >Class: sw-bug >Release: mysql-3.23.51 (Source distribution) >Environment: System: Linux enterprise 2.2.21 #1 SMP Tue May 21 16:21:06 EDT 2002 i686 unknown Architecture: i686 Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc /usr/bin/cc GCC: Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/egcs-2.91.66/specs gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release) Compilation info: CC='gcc' CFLAGS='' CXX='g++' CXXFLAGS='' LDFLAGS='' LIBC: lrwxrwxrwx 1 root root 13 Mar 29 2000 /lib/libc.so.6 -> libc-2.1.3.so -rwxr-xr-x 1 root root 4184716 Jan 15 13:56 /lib/libc-2.1.3.so -rw-r--r-- 1 root root 20313466 Jan 15 13:56 /usr/lib/libc.a -rw-r--r-- 1 root root 178 Jan 15 13:56 /usr/lib/libc.so Configure command: ./configure --quiet --prefix=/usr/local/mysql --localstatedir=/data/mysql --enable-shared --enable-static --enable-assember --with-libwrap --with-mysqld-user=mysql --without-debug --with-berkeley-db --without-bench --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php