Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104178 - segfault in mysql-administrator
Summary: segfault in mysql-administrator
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-29 13:19 UTC by Dean Pierce
Modified: 2007-11-05 07:41 UTC (History)
2 users (show)

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 Dean Pierce 2005-08-29 13:19:32 UTC
On a fresh install of mysql, when I run mysql-administrator, and click the "New
User" button in the "User Administration" panel, I get an immediate segfault.

Also, I get this error
(mysql-administrator-bin:15893): Gtk-WARNING **: Ignoring the separator setting

and a bunch of these errors
** (mysql-administrator-bin:15893): CRITICAL **: draw_box: assertion `height >=
-1' failed

Just from that I would guess this has something to do with the way
mysql-administrator is using GTK

Reproducible: Always
Steps to Reproduce:
1. run mysqladministrator
2. click into the user administration menu
3. click the "new user" button

Actual Results:  
segfault

Expected Results:  
It seems like it should have added a new user

(gdb) bt
#0  0x080960ba in std::list<SigC::Slot0<void>, std::allocator<SigC::Slot0<void>
> >::_M_create_node ()
#1  0x0809a370 in std::list<SigC::Slot0<void>, std::allocator<SigC::Slot0<void>
> >::_M_create_node ()
#2  0xb7639ec1 in Glib::SignalProxyNormal::slot0_void_callback () from
/usr/lib/libglibmm-2.0.so.1
#3  0xb74b64c4 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#4  0xb74a5a5a in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#5  0xb74b5e7b in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#6  0xb74b50db in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#7  0xb74b5354 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#8  0xb76c43da in gtk_button_clicked () from /usr/lib/libgtk-x11-2.0.so.0
#9  0xb76c5141 in gtk_button_get_relief () from /usr/lib/libgtk-x11-2.0.so.0
#10 0xb74b64c4 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
#11 0xb74a5cc8 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#12 0xb74a5a5a in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#13 0xb74b5862 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#14 0xb74b50db in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#15 0xb74b5354 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#16 0xb76c4355 in gtk_button_released () from /usr/lib/libgtk-x11-2.0.so.0
#17 0xb76c501d in gtk_button_get_relief () from /usr/lib/libgtk-x11-2.0.so.0
#18 0xb778037a in gtk_marshal_VOID__UINT_STRING () from /usr/lib/libgtk-x11-2.0.so.0
#19 0xb74a5cc8 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#20 0xb74a5a5a in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#21 0xb74b5a65 in g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
#22 0xb74b4ed5 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#23 0xb74b5354 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#24 0xb78647dc in gtk_widget_send_expose () from /usr/lib/libgtk-x11-2.0.so.0
#25 0xb777ef90 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#26 0xb777df66 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#27 0xb75c66e5 in gdk_x11_register_standard_event_type () from
/usr/lib/libgdk-x11-2.0.so.0
#28 0xb743c3cd in g_main_depth () from /usr/lib/libglib-2.0.so.0
#29 0xb743d374 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#30 0xb743d692 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#31 0xb743dbd9 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#32 0xb777d8ba in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#33 0xb7ac9027 in Gtk::Main::run_impl () from /usr/lib/libgtkmm-2.0.so.1
#34 0xb7ac8e12 in Gtk::Main::run () from /usr/lib/libgtkmm-2.0.so.1
#35 0x0808753d in std::list<SigC::Slot0<void>, std::allocator<SigC::Slot0<void>
> >::_M_create_node ()
#36 0xb726251d in __libc_start_main () from /lib/libc.so.6
#37 0x08060b71 in ?? ()


# emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r1,
2.6.13-rc5-mm1 i686)
=================================================================
System uname: 2.6.13-rc5-mm1 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System version 1.12.0_pre6
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /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=pentium4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts crypt cups curl dba dvd
dvdread eds emboss encode esd f77 fam fbcon foomaticdb fortran gcj gd
gd-external gdbm gif gmp gnome gpm gstreamer gtk gtk2 imap imlib ipv6 jpeg kde
kerberos libg++ libwww mad mikmod mmx mmxext motif mp3 mpeg mysql ncurses nls
nvidia objc ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime
readline real sdl silc snmp spell sse ssl tcltk tcpd threads tiff truetype
truetype-fonts type1-fonts unicode vorbis win32codecs xml2 xmms xv xvid zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Sven Wegener gentoo-dev 2005-08-29 16:16:06 UTC
I have no problem using it.

Which version of mysql are you using?
Comment 2 Sven Wegener gentoo-dev 2005-08-29 16:36:56 UTC
bleh, that should've been gtk+ and also which version of gtkmm
Comment 3 Martin Schwier 2005-10-11 09:38:36 UTC
Same problem here with gtkmm-2.2.12 gtk+-2.6.8
Comment 4 Jay Phelps 2005-12-10 21:23:56 UTC
When I click on the user administration menu I receive this error on the console:
(mysql-administrator-bin:25081): Gtk-WARNING **: Ignoring the separator setting
It also opens a error dialog stating "Could not retrieve user privilege
information'.

I click OK to close the error dialog and then if I click on the New User button
it segfaults.

dev-cpp/gtkmm (2.4.11), x11-libs/gtk+ (2.6.10-r1) & dev-db/mysql-administrator
(1.1.2)
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-11-05 07:41:20 UTC
If you have issues with dev-db/mysql-gui-tools, file a new bug please. dev-db/mysql-administrator ebuild was removed.