On Friday 26 April 2002 08:19 pm, [EMAIL PROTECTED] wrote:
> >Description:
> After installing MySQL on my RedHat Linux 7.2 server with 
MySQL-3.23.49a-1.i386.rpm I can't run mysqladmin. mysqladmin with any 
parameter results in a segmentation fault and core dump. I can run mysql and 
connect to the test database just fine. Here is the output from "strace 
mysqladmin version":
> 
> strace mysqladmin version
> execve("/usr/bin/mysqladmin", ["mysqladmin", "version"], [/* 31 vars */]) = 
0
> fcntl64(0, F_GETFD) ? ? ? ? ? ? ? ? ? ? = 0
> fcntl64(1, F_GETFD) ? ? ? ? ? ? ? ? ? ? = 0
> fcntl64(2, F_GETFD) ? ? ? ? ? ? ? ? ? ? = 0
> geteuid32() ? ? ? ? ? ? ? ? ? ? ? ? ? ? = 0
> getuid32() ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0
> getegid32() ? ? ? ? ? ? ? ? ? ? ? ? ? ? = 0
> getgid32() ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0
> brk(0) ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?= 0x80fc44c
> brk(0x80fc46c) ? ? ? ? ? ? ? ? ? ? ? ? ?= 0x80fc46c
> brk(0x80fd000) ? ? ? ? ? ? ? ? ? ? ? ? ?= 0x80fd000
> open("/etc/nsswitch.conf", O_RDONLY) ? ?= 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=1782, ...}) = 0
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
0) = 0x40000000
> read(3, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) = 1782
> --- SIGSEGV (Segmentation fault) ---
> +++ killed by SIGSEGV +++

Aaron:

Thanks for the bug report. We are aware of the problem - it is caused by a 
bug in our glibc patch to avoid dynamic library loading for DNS resolution. A 
workaround is to remove all names from /etc/nsswitch.conf that are not 
"files", "dns" and are less than 5 characters long (eg "db", or "nis")

-- 
MySQL Development Team
For technical support contracts, visit https://order.mysql.com/?ref=mspa
   __  ___     ___ ____  __ 
  /  |/  /_ __/ __/ __ \/ /   Sasha Pachev <[EMAIL PROTECTED]>
 / /|_/ / // /\ \/ /_/ / /__  MySQL AB, http://www.mysql.com/
/_/  /_/\_, /___/\___\_\___/  Provo, Utah, USA
       <___/                  

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