>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 +++
>How-To-Repeat:
just run mysqladmin with any options
>Fix:
>Submitter-Id: <submitter ID>
>Originator: Aaron Newcomb
>Organization:
>MySQL support: none
>Synopsis: mysqladmin causes segmentation fault
>Severity: serious
>Priority: medium
>Category: mysql
>Class: support
>Release: mysql-3.23.49a (Official MySQL RPM)
>Environment:
System: Linux ns2.newcombnet.com 2.4.9-31 #1 Tue Feb 26 06:25:35 EST 2002 i586 unknown
Architecture: i586
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.1 2.96-85)
Compilation info: CC='gcc' CFLAGS='-O6 -fno-omit-frame-pointer -mpentium' CXX='gcc'
CXXFLAGS='-O6 -fno-omit-frame-pointer -felide-constructors
-fno-exceptions -fno-rtti -mpentium' LDFLAGS=''
LIBC:
lrwxrwxrwx 1 root root 13 Nov 30 08:31 /lib/libc.so.6 -> libc-2.2.4.so
-rwxr-xr-x 2 root root 5723311 Dec 8 09:04 /lib/libc-2.2.4.so
-rw-r--r-- 1 root root 27314296 Dec 8 09:02 /usr/lib/libc.a
-rw-r--r-- 1 root root 178 Dec 8 09:02 /usr/lib/libc.so
Configure command: ./configure --disable-shared --with-mysqld-ldflags=-all-static
--with-client-ldflags=-all-static --with-other-libc=/usr/local/mysql-glibc
--without-berkeley-db --without-innodb --enable-assembler --enable-local-infile
--with-mysqld-user=mysql --with-unix-socket-path=/var/lib/mysql/mysql.sock --prefix=/
--with-extra-charsets=complex --exec-prefix=/usr --libexecdir=/usr/sbin
--sysconfdir=/etc --datadir=/usr/share --localstatedir=/var/lib/mysql
--infodir=/usr/info --includedir=/usr/include --mandir=/usr/man
'--with-comment=Official MySQL RPM' CC=gcc 'CFLAGS=-O6 -fno-omit-frame-pointer
-mpentium' 'CXXFLAGS=-O6 -fno-omit-frame-pointer -felide-constructors
-fno-exceptions -fno-rtti -mpentium' CXX=gcc
---------------------------------------------------------------------
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