mike,
Tuesday, October 29, 2002, 4:21:40 AM, you wrote:

maddn>         After upgrading mysql to 3.23.53, mysqld would segfault every time 
accessing a certain database. After running checks
maddn> on the database and making sure everything was okay, I started mysqld up in 
gdb. 

maddn> Program received signal SIGSEGV, Segmentation fault.
maddn> [Switching to Thread 2051 (LWP 12699)]
maddn> 0x0012a12c in _nss_dns_gethostbyaddr_r (addr=0x81b9f68, len=4, af=2, 
result=0x337ca4, buffer=0x81bbfc8 "\b33", buflen=1024, 
maddn>     errnop=0x431c68, h_errnop=0x431864) at nss_dns/dns-host.c:223
maddn> 223     nss_dns/dns-host.c: No such file or directory.
maddn>         in nss_dns/dns-host.c
maddn> (gdb) bt
maddn> #0  0x0012a12c in _nss_dns_gethostbyaddr_r (addr=0x81b9f68, len=4, af=2, 
result=0x337ca4, buffer=0x81bbfc8 "\b33", 
maddn> buflen=1024, 
maddn>     errnop=0x431c68, h_errnop=0x431864) at nss_dns/dns-host.c:223
maddn> #1  0x002fc919 in __gethostbyaddr_r (addr=0x81b9f68, len=4, type=2, 
resbuf=0x337ca4, buffer=0x81bbfc8 "\b33", buflen=1024, 
maddn>     result=0x431860, h_errnop=0x431864) at ../nss/getXXbyYY_r.c:200
maddn> #2  0x002fc6fb in gethostbyaddr (addr=0x81b9f68, len=4, type=2) at 
../nss/getXXbyYY.c:131
maddn> #3  0x080ac720 in ip_to_hostname ()
maddn> #4  0x080acecb in check_connections ()
maddn> #5  0x080ad341 in handle_one_connection ()
maddn> #6  0x00137c6f in pthread_start_thread (arg=0x431be0) at manager.c:284
maddn> #7  0x00137d5f in pthread_start_thread_event (arg=0x431be0) at manager.c:308

maddn> How-To-Repeat:
maddn> Not sure if it'll be repeatable on other machines
        
maddn> Fix:

maddn> Turning of name resolution fixes the problem, so does using the binary for 
3.23.53

Mike, compiling MySQL server from source is tricky and complicated. Installation of 
MySQL official binaries is more recommended.



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com




---------------------------------------------------------------------
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

Reply via email to