>Description: After upgrading mysql to 3.23.53, mysqld would segfault every time accessing a certain database. After running checks on the database and making sure everything was okay, I started mysqld up in gdb.
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 2051 (LWP 12699)] 0x0012a12c in _nss_dns_gethostbyaddr_r (addr=0x81b9f68, len=4, af=2, result=0x337ca4, buffer=0x81bbfc8 "\b33", buflen=1024, errnop=0x431c68, h_errnop=0x431864) at nss_dns/dns-host.c:223 223 nss_dns/dns-host.c: No such file or directory. in nss_dns/dns-host.c (gdb) bt #0 0x0012a12c in _nss_dns_gethostbyaddr_r (addr=0x81b9f68, len=4, af=2, result=0x337ca4, buffer=0x81bbfc8 "\b33", buflen=1024, errnop=0x431c68, h_errnop=0x431864) at nss_dns/dns-host.c:223 #1 0x002fc919 in __gethostbyaddr_r (addr=0x81b9f68, len=4, type=2, resbuf=0x337ca4, buffer=0x81bbfc8 "\b33", buflen=1024, result=0x431860, h_errnop=0x431864) at ../nss/getXXbyYY_r.c:200 #2 0x002fc6fb in gethostbyaddr (addr=0x81b9f68, len=4, type=2) at ../nss/getXXbyYY.c:131 #3 0x080ac720 in ip_to_hostname () #4 0x080acecb in check_connections () #5 0x080ad341 in handle_one_connection () #6 0x00137c6f in pthread_start_thread (arg=0x431be0) at manager.c:284 #7 0x00137d5f in pthread_start_thread_event (arg=0x431be0) at manager.c:308 >How-To-Repeat: Not sure if it'll be repeatable on other machines >Fix: Turning of name resolution fixes the problem, so does using the binary for 3.23.53 >Submitter-Id: Alien88 >Originator: root >Organization: >MySQL support: none >Synopsis: mysqld segfaults doing name resolutions >Severity: serious >Priority: low >Category: mysql >Class: sw-bug >Release: mysql-3.23.53 (Source distribution) >Environment: System: Linux webserv2.divide0.net 2.4.18-grsec-1.9.4 #2 SMP Sat Mar 23 21:27:39 PST 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-redhat-linux/2.96/specs gcc version 2.96 20000731 (Red Hat Linux 7.2 2.96-108.7.2) Compilation info: CC='gcc' CFLAGS='' CXX='g++' CXXFLAGS='' LDFLAGS='' LIBC: lrwxrwxrwx 1 root root 13 Oct 6 00:36 /lib/libc.so.6 -> libc-2.2.4.so -rwxr-xr-x 1 root root 1285884 Sep 9 09:10 /lib/libc-2.2.4.so -rw-r--r-- 1 root root 27336078 Sep 9 08:48 /usr/lib/libc.a -rw-r--r-- 1 root root 178 Sep 9 08:48 /usr/lib/libc.so Configure command: ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/home/mysql/var --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