Red Hat Bugzilla – Bug 77039
glibc-2.2.93-5 + MySQL-3.23.52-3 = seg fault in _nss_dns_gethostbyaddr_r
Last modified: 2007-04-18 12:48:03 EDT
Description of Problem:
mysql-3.23.52-3 seg faults on remote network connects. Using the mysql client,
and running mysqld under the debugger. I get this:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 24580 (LWP 6865)]
0x40014098 in _nss_dns_gethostbyaddr_r () from /lib/libnss_dns.so.2
#0 0x40014098 in _nss_dns_gethostbyaddr_r () from /lib/libnss_dns.so.2
#1 0x40267cc1 in gethostbyaddr_r@@GLIBC_2.1.2 () from /lib/libc.so.6
#2 0x40267ada in gethostbyaddr () from /lib/libc.so.6
#3 0x080e8476 in ip_to_hostname(in_addr*, unsigned*) (in=0x83d460c,
errors=0xbf3ff978) at hostname.cc:192
#4 0x080e8faf in check_connections (thd=0x83d4218) at sql_parse.cc:344
#5 0x080e9452 in handle_one_connection(void*) (arg=0xbf3ffd9c)
#6 0x4003376e in pthread_start_thread () from /lib/libpthread.so.0
#7 0x400337dd in pthread_start_thread_event () from /lib/libpthread.so.0
Version-Release number of selected component (if applicable):
Just wanted to mention that an upgrade to glibc 2.3.1 (built from Rawhide
SRPM's) resolved this problem on our end. So, it is definetly a problem with
MySQL<->glibc interaction (if not a bug in glibc itself).
This bug is similar to bug 75128.
*** This bug has been marked as a duplicate of 77467 ***