Bug #15384 Segmentation Fault + Aborted
Submitted: 1 Dec 2005 15:16 Modified: 17 Feb 2006 10:06
Reporter: Himihtzahyah HYHA Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Administrator Severity:S2 (Serious)
Version:1.1.4 OS:Linux (Mandriva 2006)
Assigned to: CPU Architecture:Any

[1 Dec 2005 15:16] Himihtzahyah HYHA
Description:
Mandriva 2006 with in-box mysql 4.1.12 / mysql client 5.0.13
P4 Centrino notebook, 512MBRam(btw. on MySQL Administrator,
server information page, client information group, says "503.2 GB RAM",
its amazing...)

downl. MySQL Administrator 1.1.4 today (rpm), at first after login(connect),
"User Administration",i changed password for root but then when i try to
Apply changes it says duplicate user(theres another correct way to change
the pass?), after a few tries, the true problem comes, any click at any task 
listed leftside(Health, UserAdministration, ServiceControl...etc.) causes inmediate exit and "segmentation fault", so i cant even create a user, after a few touches using a tool called "mysql_setpermission" i created a user as root, and then
the same MySQL Administrator worked again, BUT:

when i click on Backup: 
the program fails(exit) and says:
/usr/bin/mysql-administrator: line 18: 23622 Segmentation fault   $PRG-bin

when i click on Restore Backup:
the program fails(exit) and says:
*** glibc detected *** freee(): invalid pointer: 0x084e8c18 ***
/usr/bin/mysql-administrator: line 18: 23655 Aborted                  $PRG-bin

when i click on Startup Parameters->(two options)mysqld->ok:
the program fails(exit) and says:
*** glibc detected *** freee(): invalid pointer: 0x084e8c18 ***
/usr/bin/mysql-administrator: line 18: 23734 Aborted                  $PRG-bin

that concludes the bug, all about line 18, Segmentation fault or Aborted.
impossible to complete any kind of task using that program now.
i also tried the another pack, mysql-administrator-1.0.22a-linux.tar.gz,
its same, seg. fault+aborted or directly seg.fault when i click on connect
at first.

How to repeat:
just open mysql-administrator
write user/pass/host and click connect
sometimes fails and Segmentation Fault
if it enters:
  click on Backup
     if it works:
        click on Restore Backup
           if it works:
             try to change a user's password.

Suggested fix:
The measure of memory seems like mistyped(MB to GB)
"Segmentation error and abort", theorically im using the lastest public version of 
that prog, if no other ppl getting this "bug", maybe its some kind of incompatibility
with other progs, like the case of "scim"<->"realplay".
[8 Dec 2005 12:36] Aleksey Kishkin
tested against mysql administrator 1.1.4,
confirm about funny error MB/GB , but was not be able to reproduce SIGSEGV on that sequence connect-backup-restore-user
Do you have any other ideas how to reproduce it?
[14 Dec 2005 6:10] Himihtzahyah HYHA
I think without any intl-input methods you can't reproduce that,
i found a very interesting case of realplayer, en-US users have no problem of
using it, some zh-CN users receive only Segmentation Fault errors, just
because they installed a input method called scim.
[14 Dec 2005 16:16] Aleksey Kishkin
So if you suspect i18n is cause of this problem, could you write your locale and what input method do you use? (scim, chinput, xcin, xim etc etc)?
[15 Dec 2005 14:37] Himihtzahyah HYHA
actually im using fcitx, it's prefered by many ppl
cuz its lightweight and easy to use. its part of the
distro.

btw, the simplest way to reproduce the error is
launch mysql-administrator -> login -> click on Backup -> got error.

p.s. i can offer my ps -A as a reference..:
    1 ?        00:00:00 init
    2 ?        00:00:00 ksoftirqd/0
    3 ?        00:00:00 events/0
    4 ?        00:00:00 khelper
    5 ?        00:00:00 kthread
    7 ?        00:00:00 kacpid
  105 ?        00:00:00 kblockd/0
  135 ?        00:00:00 pdflush
  136 ?        00:00:00 pdflush
  138 ?        00:00:00 aio/0
  137 ?        00:00:00 kswapd0
  727 ?        00:00:00 kseriod
  801 ?        00:00:00 reiserfs/0
  934 ?        00:00:00 udevd
 1090 ?        00:00:00 khubd
 2255 ?        00:00:00 pccardd
 2347 ?        00:00:00 cardmgr
 2568 ?        00:00:00 ifplugd
 2751 ?        00:00:00 mysqld_safe
 2784 ?        00:00:00 mysqld
 2831 ?        00:00:00 portmap
 2855 ?        00:00:00 syslogd
 2863 ?        00:00:00 klogd
 2917 ?        00:00:00 acpid
 2967 ?        00:00:00 rpc.statd
 3255 ?        00:00:00 dhclient
 3474 ?        00:00:00 xfs
 3499 ?        00:00:00 dbus-daemon-1
 3524 ?        00:00:00 hald
 3600 ?        00:00:00 nifd
 3660 ?        00:00:00 mDNSResponder
 3686 ?        00:00:00 atd
 3898 ?        00:00:00 freshclam
 3923 ?        00:00:00 crond
 4141 ?        00:00:00 httpd
 4142 ?        00:00:00 advxsplitlogfil
 4152 ?        00:00:00 httpd
 4153 ?        00:00:00 httpd
 4154 ?        00:00:00 httpd
 4155 ?        00:00:00 httpd
 4156 ?        00:00:00 httpd
 4157 ?        00:00:00 httpd
 4158 ?        00:00:00 httpd
 4159 ?        00:00:00 httpd
 4197 ?        00:00:00 lisa
 4264 ?        00:00:00 login
 4265 tty2     00:00:00 mingetty
 4266 tty3     00:00:00 mingetty
 4267 tty4     00:00:00 mingetty
 4268 tty5     00:00:00 mingetty
 4269 tty6     00:00:00 mingetty
 4337 tty1     00:00:00 bash
 4382 tty1     00:00:00 startx
 4398 tty1     00:00:00 xinit
 4399 tty7     00:00:11 X
 4445 tty1     00:00:00 startkde
 4494 tty1     00:00:00 net_applet
 4504 ?        00:00:00 s2u
 4512 tty1     00:00:00 fcitx
 4522 tty1     00:00:00 startkde
 4528 tty1     00:00:00 gnome-volume-ma
 4545 tty1     00:00:00 gconfd-2
 4546 ?        00:00:00 kdeinit
 4549 ?        00:00:00 dcopserver
 4552 ?        00:00:00 klauncher
 4556 ?        00:00:02 kded
 4558 ?        00:00:00 gam_server
 4574 ?        00:00:00 artsd
 4577 ?        00:00:00 kaccess
 4580 tty1     00:00:00 kwrapper
 4582 ?        00:00:00 ksmserver
 4585 ?        00:00:01 kwin
 4590 ?        00:00:02 kdesktop
 4596 ?        00:00:00 xsettings-kde
 4599 ?        00:00:04 kicker
 4601 ?        00:00:00 kio_file
 4604 ?        00:00:00 knotify
 4605 ?        00:00:01 korgac
 4606 ?        00:00:00 ksysguardd
 4646 ?        00:00:01 konsole
 4669 pts/1    00:00:00 bash
 4743 ?        00:00:00 mozilla-firefox
 4756 ?        00:00:00 run-mozilla.sh
 4761 ?        00:00:07 mozilla-firefox
 4794 pts/1    00:00:00 ps
[17 Jan 2006 10:06] Valeriy Kravchuk
Please, try to repeat with the newer version, 1.1.6, available at http://dev.mysql.com/downloads/administrator/1.1.html now. Inform about the results.
[18 Feb 2006 0:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".