mysqladmin segmentation fault
Hi,
Whenever I try to run mysqladmin I get a seg fault.
Below are my installed packages and the output of
strace. Any ideas? I did search the archives and
found the message about removing names from nsswitch
which I tried but I end up with the same result.
Thanks in advance,
Jeremy
$ rpm -qa |grep MySQL
MySQL-client-3.23.52-1mdk
MySQL-4.0.14-1mdk
MySQL-common-4.0.14-1mdk
$ strace mysqladmin version
execve("/usr/bin/mysqladmin", ["mysqladmin",
"version"], [/* 41 vars */]) = 0
fcntl64(0, F_GETFD) = 0
fcntl64(1, F_GETFD) = 0
fcntl64(2, F_GETFD) = 0
uname({sys="Linux", node="myhostname.org", ...}) = 0
geteuid32() = 500
getuid32() = 500
getegid32() = 500
getgid32() = 500
brk(0) = 0x80e5510
brk(0x80e5530) = 0x80e5530
brk(0x80e6000) = 0x80e6000
open("/etc/nsswitch.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=1728, ...})
= 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) = 1728
brk(0x80e7000) = 0x80e7000
read(3, "", 4096) = 0
close(3) = 0
munmap(0x40000000, 4096) = 0
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=51239, ...})
= 0
old_mmap(NULL, 51239, PROT_READ, MAP_PRIVATE, 3, 0) =
0x40000000
close(3) = 0
open("/lib/libnss_files.so.2", O_RDONLY) = 3
read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\35\0"... ,
1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=34516, ...})
= 0
old_mmap(NULL, 33712, PROT_READ|PROT_EXEC,
MAP_PRIVATE, 3, 0) = 0x4000d000
mprotect(0x40015000, 944, PROT_NONE) = 0
old_mmap(0x40015000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x8000) = 0x40015000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0
]\1\000"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1213376,
....}) = 0
old_mmap(NULL, 1222692, PROT_READ|PROT_EXEC,
MAP_PRIVATE, 3, 0) = 0x40016000
mprotect(0x4013b000, 22564, PROT_NONE) = 0
old_mmap(0x4013b000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x124000) = 0x4013b000
old_mmap(0x4013e000, 10276, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) =
0x4013e000
close(3) = 0
open("/lib/ld-linux.so.2", O_RDONLY) = 3
read(3,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\n\0"... ,
1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=80296, ...})
= 0
old_mmap(NULL, 81752, PROT_READ|PROT_EXEC,
MAP_PRIVATE, 3, 0) = 0x40141000
mprotect(0x40154000, 3928, PROT_NONE) = 0
old_mmap(0x40154000, 4096, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED, 3, 0x12000) = 0x40154000
close(3) = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs [at] m.gmane.org
Re: mysqladmin segmentation fault
Jeremy Williams writes:
> Hi,
>
> Whenever I try to run mysqladmin I get a seg fault.
> Below are my installed packages and the output of
> strace. Any ideas? I did search the archives and
> found the message about removing names from nsswitch
> which I tried but I end up with the same result.
>
> Thanks in advance,
>
> Jeremy
>
>
> $ rpm -qa |grep MySQL
> MySQL-client-3.23.52-1mdk
> MySQL-4.0.14-1mdk
> MySQL-common-4.0.14-1mdk
>
Sorry, are the above packages from www.mysql.com ???
What does 1mdk mean anyway ??
--
Sincerely,
--
For technical support contracts, go to https://order.mysql.com/?ref=msmi
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic <sinisa [at] mysql.com>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB
/_/ /_/\_, /___/\___\_\___/ Fulltime Developer and Support Coordinator
<___/ www.mysql.com Larnaca, Cyprus
--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs [at] m.gmane.org
RE: mysqladmin segmentation fault
'-?mdk' means it's a Mandrake Linux package
Regards,
--Tim
-----Original Message-----
From: Sinisa Milivojevic [mailto:sinisa [at] mysql.com]
Sent: dinsdag 9 september 2003 13:33
To: potato46320 [at] yahoo.com
Cc: bugs [at] lists.mysql.com
Subject: Re: mysqladmin segmentation fault
Jeremy Williams writes:
> Hi,
>
> Whenever I try to run mysqladmin I get a seg fault.
> Below are my installed packages and the output of
> strace. Any ideas? I did search the archives and
> found the message about removing names from nsswitch
> which I tried but I end up with the same result.
>
> Thanks in advance,
>
> Jeremy
>
>
> $ rpm -qa |grep MySQL
> MySQL-client-3.23.52-1mdk
> MySQL-4.0.14-1mdk
> MySQL-common-4.0.14-1mdk
>
Sorry, are the above packages from www.mysql.com ???
What does 1mdk mean anyway ??
--
Sincerely,
--
For technical support contracts, go to https://order.mysql.com/?ref=msmi
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic <sinisa [at] mysql.com>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB
/_/ /_/\_, /___/\___\_\___/ Fulltime Developer and Support Coordinator
<___/ www.mysql.com Larnaca, Cyprus
--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe:
http://lists.mysql.com/bugs?unsub=tim.leeuwvander [at] nl.unisys. com
--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs [at] m.gmane.org
RE: mysqladmin segmentation fault
Leeuw van der, Tim writes:
> '-?mdk' means it's a Mandrake Linux package
>
> Regards,
>
> --Tim
Please use our binaries only.
We do not have good experience with many distros.
--
Sincerely,
--
For technical support contracts, go to https://order.mysql.com/?ref=msmi
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Mr. Sinisa Milivojevic <sinisa [at] mysql.com>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB
/_/ /_/\_, /___/\___\_\___/ Fulltime Developer and Support Coordinator
<___/ www.mysql.com Larnaca, Cyprus
--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs [at] m.gmane.org
Re: mysqladmin segmentation fault
Hi!
On Sep 08, Jeremy Williams wrote:
> Hi,
>
> Whenever I try to run mysqladmin I get a seg fault.
> Below are my installed packages and the output of
> strace. Any ideas? I did search the archives and
> found the message about removing names from nsswitch
> which I tried but I end up with the same result.
>
> Thanks in advance,
> Jeremy
>
> $ rpm -qa |grep MySQL
> MySQL-client-3.23.52-1mdk
> MySQL-4.0.14-1mdk
> MySQL-common-4.0.14-1mdk
It could be
1. bad build (that's why we recommend to use our binaries)
2. version mismatch between MySQL-client and MySQL-common
(as I don't know what's in MySQL-common-4.0.14-1mdk - and I was not able
to find it on rpmfind - I cannot say whether this version mismatch
matters or not)
3. something else :)
Let's exclude 1 and 2 first, before going any deeper.
Regards,
Sergei
--
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Sergei Golubchik <serg [at] mysql.com>
/ /|_/ / // /\ \/ /_/ / /__ MySQL AB, Senior Software Developer
/_/ /_/\_, /___/\___\_\___/ Osnabrueck, Germany
<___/ www.mysql.com
--
MySQL Bugs Mailing List
For list archives: http://lists.mysql.com/bugs
To unsubscribe: http://lists.mysql.com/bugs?unsub=gcdmb-bugs [at] m.gmane.org