Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62505 - MySQL Administrator crashes when trying to use it's backup function
Summary: MySQL Administrator crashes when trying to use it's backup function
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
: 67814 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-01 06:10 UTC by Nicolas Laplante
Modified: 2005-01-15 05:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Laplante 2004-09-01 06:10:27 UTC
When I click on "Backup" in MySQL Administrator, I get a list of profiles. If I click a profile name or the "New project..." button, the application closes and "segmentation fault" appears on the console.

Reproducible: Always
Steps to Reproduce:
1. Start mysql-administrator
2. Click "Backup"
3. Click on a profile or "New project..."

Actual Results:  
The application crashed 

Expected Results:  
It shouldn't have crashed with "segmentation fault". 

twix@sinistry ~ $ emerge info 
Portage 2.0.50-r10 (telvanni-x86-2004.1, gcc-3.3.4, glibc-2.3.3.20040420-r1, 
2.6.8-ck5) 
================================================================= 
System uname: 2.6.8-ck5 i686 AMD Athlon(tm) XP 2100+ 
Gentoo Base System version 1.5.3 
Autoconf: sys-devel/autoconf-2.59-r4 
Automake: sys-devel/automake-1.8.5-r1 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -fstack-protector -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -fstack-protector -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs buildpkg ccache sandbox usepkg" 
GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo http://mirrors.tds.net/gentoo 
ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.seren.com/gentoo 
http://open-systems.ufl.edu/mirrors/gentoo" 
MAKEOPTS="-j4" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage/" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="3dnow X alsa apache2 apm arts avi berkdb cdr crypt cups dvd encode flash 
foomaticdb gd gdbm gif gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad mcal 
mhash mikmod mmx motif mpeg mysql ncurses nls nptl oav oggvorbis opengl oss pam 
perl png python qt quicktime readline samba sdl slang spell sse ssl svga tcpd 
tiff truetype wmf x86 xml xml2 xmms xv zlib"
Comment 1 Antonio 2004-09-02 04:44:34 UTC
Same problem on my machine.

Portage 2.0.50-r10 (default-x86-1.4, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8-gentoo-r3)
=================================================================
System uname: 2.6.8-gentoo-r3 i686 AMD Athlon(tm) MP 1700+
Gentoo Base System version 1.4.16
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /opt/resin/conf /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/lib/jboss /var/qmail/control /var/spool/fax/etc /var/www/localhost/htdocs/mythweb/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache collision-protect sandbox"
GENTOO_MIRRORS="http://sunsite.cnlab-switch.ch/mirror/gentoo/ ftp://planetmirror.com/pub/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X X509 Xaw3d aac aalib acl acpi acpi4linux aim alsa amd apache2 apm arts audiofile avi berkdb blender-game bonobo cddb cdparanoia cdr clamav clisp cmucl codecs crypt cups curl devfs26 dillo divx4linux doc dv dvb dvd dvdr dvdread emacs emacs-w3 encode escreen esd etwin evms2 evo exif f77 faac faad fam ffmpeg flac flash fluidsynth fmod foomaticdb ftp gcl gd gdbm geoip ggi gif gimp gimpprint gnome gnomedb gnuplot gphoto2 gpm gs gstreamer gtk gtk2 gtkhtml guile hbci high-ints icq imagemagick imap imlib imlib2 ipv6 jabber jack java javamail javascript jpeg justify kadu-modules kadu-voice kde kerberos lcms ldirectord libdsk libg++ libgda libwww live ltsp lzo lzw-tiff mad mbox mcal mdb mikmod mime ming mmx mmx2 mng monkey motif mozaccess mozcalendar mozilla mozsvg mpeg mpeg4 mplayer msdav msn mysql mythtv nas ncurses net network nls nptl ntlm nvidia oav odbc offensive ofx oggvorbis openal opengl oscar oss pam pdf pdflib perl php pic png portaudio posix postgres ppds pthreads python qt quicktime readline rtc ruby samba sasl scanner sdl silverxp slang sndfile speex spell sqlite sse sse2 ssl stats svg svga tcltk tcpd tetex theora tiff transcode truetype type1 unicode usb v4l v4l2 virus-scan vnc wmf wxwindows x86 xface xfs xine xinerama xml xml2 xmms xosd xpm xprint xrandr xv xvid yahoo zlib"
Comment 2 Sven Wegener gentoo-dev 2004-10-22 16:02:39 UTC
*** Bug 67814 has been marked as a duplicate of this bug. ***
Comment 3 Sven Wegener gentoo-dev 2004-10-22 16:13:49 UTC
Hm, I don't get a segfault with mysql-administrator-1.0.13. I'm running ~x86.
I'll check once I've got some time on my stable x86 machine. To see if it
segfaults there. But currently it's a WORKSFORME.
Comment 4 Sven Wegener gentoo-dev 2004-12-20 14:45:34 UTC
Does dev-db/mysql-administrator-1.0.18 still crash for you?
Comment 5 Sven Wegener gentoo-dev 2004-12-30 16:54:53 UTC
Waiting for response.
Comment 6 Nicolas Laplante 2004-12-30 21:17:39 UTC
The new ebuild fixes the problem. The application doesn't crash anymore :)
Comment 7 Sven Wegener gentoo-dev 2004-12-30 22:03:18 UTC
Good, closing.
Comment 8 Nicolas Laplante 2005-01-10 17:12:12 UTC
The app started to crash again. I did delete ~/.mysqlgui and tried again, same result. It does when creating a new backup project or selecting an existing one.

"Segmentation fault".


bifrost root # emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r2-bifrost i686)
=================================================================
System uname: 2.6.10-gentoo-r2-bifrost i686 AMD Athlon(tm) XP 2100+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r2
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo ftp://mir.zyrianes.net/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X acl alsa apm arts avi berkdb bitmap-fonts cdr crypt cscope cups dvd dvdr encode esd fam flac foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 imlib jpeg junit libwww mad mcal mikmod mmx motif mpeg mysql ncurses nptl oggvorbis opengl oss pam pdflib perl png python quicktime readline samba sdl slang spell sse ssl svga tcpd tiff truetype xml xml2 xmms xv zlib"
Comment 9 Sven Wegener gentoo-dev 2005-01-11 05:54:54 UTC
Hm, strange. I'm not able to reproduce this. I can create new profiles and execute
backup jobs without a hitch. This bug and bug #68635 are two bugs of mysql-
administrator that I can't reproduce. I'm thinking if the error might be in one
of the libraries used by mysql-administrator.

If you're familar with gdb, can you give me a backtrace? You need to emerge
mysql-administrator with FEATURES="nostrip" and CFLAGS="-ggdb3" to include
debugging information in the binary.
Comment 10 Nicolas Laplante 2005-01-11 09:52:31 UTC
I'm re-emerging mysql-administrator with the following flags:

FEATURES="nostrip" CFLAGS="-march=athlon-xp -mtune=athlon-xp -ggdb3 -pipe" CXXFLAGS="$CFLAGS"

I'll post a backtrace if it crashes again.
Comment 11 Nicolas Laplante 2005-01-11 10:21:10 UTC
Here's the backtrace I managed to get with gdb:

(gdb) bt
#0  0xb73f8b87 in strstr () from /lib/libc.so.6
#1  0x0815fa8e in MCrontab::load() (this=0xbfffee60) at MCrontab.cc:225
#2  0x080fca13 in MABackupPanel::show_schedule() (this=0x83c56b8)
    at MABackupPanel.cc:1279
#3  0x080fec60 in MABackupPanel::show_profile(MYX_BACKUP_PROFILE*) (
    this=0x83c56b8, profile=0x85e99d0) at MABackupPanel.cc:720
#4  0x080ff1de in MABackupPanel::profile_selected(MGBrowserList*, Gtk::TreeIter const&) (this=0x83c56b8, sender=0x85afab8, node=@0xbffff220)
    at MABackupPanel.cc:1449
#5  0x0813fd91 in SigC::Signal2<void, MGBrowserList*, Gtk::TreeIter const&, SigC::Marshal<void> >::emit_(MGBrowserList* const&, Gtk::TreeIter const&, void*) (
    p1=@0xbffff21c, p2=@0xbffff220, data=0x0) at signal.h:761
#6  0x0813dc51 in MGBrowserList::emit_when_idle() (this=0x85afab8)
    at signal.h:726
#7  0x0814049e in SigC::ObjectSlot0_<bool, MGBrowserList>::proxy(void*) (s=0x0)
    at object_slot.h:62
#8  0xb778706a in (anonymous namespace)::glibmm_source_callback(void*) ()
   from /usr/lib/libglibmm-2.0.so.1
#9  0xb75a4950 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#10 0x083adc40 in ?? ()
#11 0xbffff2b0 in ?? ()
#12 0xbffff2b4 in ?? ()
#13 0xb75fb1a4 in ?? () from /usr/lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#14 0xb75a4936 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#15 0xb75a116d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#16 0x08583ca8 in ?? ()
#17 0xbffff2c8 in ?? ()
#18 0x41e418a7 in ?? ()
#19 0x0003bf14 in ?? ()
#20 0xb75fb1a4 in ?? () from /usr/lib/libglib-2.0.so.0
#21 0xb75caecc in ?? () from /usr/lib/libglib-2.0.so.0
#22 0xb75a4930 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#23 0x085e6a48 in ?? ()
#24 0xb75cae6f in ?? () from /usr/lib/libglib-2.0.so.0
#25 0xb75ce36f in ?? () from /usr/lib/libglib-2.0.so.0
Comment 12 Sven Wegener gentoo-dev 2005-01-11 10:47:58 UTC
Which cron daemon do you have installed?
Comment 13 Sven Wegener gentoo-dev 2005-01-11 11:31:17 UTC
I just added a package.mask'ed -r1 to CVS. It applies a patch that should fix this bug. Please unmask, test and report back. Thanks!
Comment 14 Nicolas Laplante 2005-01-11 12:12:53 UTC
I'm running sys-apps/vixie-cron-4.1-r4 as a cron daemon. I'll emerge your -r1 package and report. 

Thanks
Comment 15 Nicolas Laplante 2005-01-11 12:54:25 UTC
The new 1.0.19-r1 version fixed the problem. I think your patch should be submitted upstream to the MySQL folks. :)

Thanks!
Comment 16 Sven Wegener gentoo-dev 2005-01-15 05:09:46 UTC
Patch has been commited to the mysql-administrator bitkeeper repository and will
be included in the next release.