Bug #70127 mysql-workbench 5.2.47 Segfaults All Over The Place
Submitted: 22 Aug 2013 21:12 Modified: 22 Aug 2013 22:25
Reporter: Alex Barker Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S3 (Non-critical)
Version:5.2.47 OS:Linux (Gentoo)
Assigned to: CPU Architecture:Any

[22 Aug 2013 21:12] Alex Barker
Description:
Using MySQL workbench to edit tables results in segfaults when adding a foreign key on specific tables.

Initializing AdvancedSidebar factory method
Initializing mforms factory
** Message: Gnome keyring daemon seems to not be available. Stored passwords will be lost once quit
Creating WBOptions
Ready.

** Message: overview.home built-in command is being overwritten
*** Segmentation fault
Register dump:

 RAX: 0000000000000003   RBX: 000000008b495801   RCX: 000000000338afe0
 RDX: 0000000001f375e0   RSI: 000000000338ac30   RDI: 00000000030193c0
 RBP: 0000000000000008   R8 : 0000000001e69830   R9 : 0000000000000001
 R10: 0000000000000011   R11: 0000003609a80f60   R12: 00000000030193c0
 R13: 00000000035d65e0   R14: 0000000000000001   R15: 00000000030193c0
 RSP: 00007fffa041bb30

 RIP: 00000035f4e3fbd9   EFLAGS: 00010206

 CS: 0033   FS: 0000   GS: 0000

 Trap: 0000000e   Error: 00000004   OldMask: 00000000   CR2: 00000003

 FPUCW: 0000037f   FPUSW: 00000020   TAG: 00000036
 RIP: 09e27fff   RDP: a041af58

 ST(0) 0000 0000000000000000   ST(1) 0000 0000000000000000
 ST(2) 0000 0000000000000000   ST(3) 0000 0000000000000000
 ST(4) 0000 0000000000000000   ST(5) 0000 0000000000000000
 ST(6) ffff d3c8000000000000   ST(7) 8000 8000000000000000
 mxcsr: 1fa0
 XMM0:  00000000000000000000000020000000 XMM1:  00000000000000000000000020000000
 XMM2:  00000000000000000000000020000000 XMM3:  00000000000000000000000020000000
 XMM4:  00000000000000000000000020000000 XMM5:  00000000000000000000000020000000
 XMM6:  00000000000000000000000020000000 XMM7:  00000000000000000000000020000000
 XMM8:  00000000000000000000000020000000 XMM9:  00000000000000000000000020000000
 XMM10: 00000000000000000000000020000000 XMM11: 00000000000000000000000020000000
 XMM12: 00000000000000000000000020000000 XMM13: 00000000000000000000000020000000
 XMM14: 00000000000000000000000020000000 XMM15: 00000000000000000000000020000000

Backtrace:
/usr/lib64/libgtk-x11-2.0.so.0[0x35f4e3fbd9]
/usr/lib64/libgtk-x11-2.0.so.0[0x35f4e405c2]
/usr/lib64/libgtk-x11-2.0.so.0[0x35f4e37920]
/usr/lib64/libgtkmm-2.4.so.1(_ZN3Gtk6Widget21on_button_press_eventEP15_GdkEventButton+0x44)[0x7f78aa34d634]
/usr/lib64/libgtkmm-2.4.so.1(_ZN3Gtk12Widget_Class27button_press_event_callbackEP10_GtkWidgetP15_GdkEventButton+0x63)[0x7f78aa351693]
/usr/lib64/libgtk-x11-2.0.so.0[0x35f4d3b1a9]
/usr/lib64/libgobject-2.0.so.0(g_closure_invoke+0x190)[0x3b574114e0]
/usr/lib64/libgobject-2.0.so.0[0x3b57421c70]
/usr/lib64/libgobject-2.0.so.0(g_signal_emit_valist+0x9ab)[0x3b5742971b]
/usr/lib64/libgobject-2.0.so.0(g_signal_emit+0x8a)[0x3b57429c9a]
/usr/lib64/libgtk-x11-2.0.so.0[0x35f4e505be]
/usr/lib64/libgtk-x11-2.0.so.0(gtk_propagate_event+0xc4)[0x35f4d39524]
/usr/lib64/libgtk-x11-2.0.so.0(gtk_main_do_event+0x28b)[0x35f4d3988b]
/usr/lib64/libgdk-x11-2.0.so.0[0x35f485e4dc]
/usr/lib64/libglib-2.0.so.0(g_main_context_dispatch+0x135)[0x360ce48b85]
/usr/lib64/libglib-2.0.so.0[0x360ce48eb8]
/usr/lib64/libglib-2.0.so.0(g_main_loop_run+0x72)[0x360ce492a2]
/usr/lib64/libgtk-x11-2.0.so.0(gtk_main+0xa7)[0x35f4d38887]
/usr/libexec/mysql-workbench-bin(main+0x721)[0x8272e3]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x3609a246c5]
??:?(_start)[0x826959]

How to repeat:
Well because you do not have my schema this is going to be difficult.

Suggested fix:
Better Management? Unit Testing? Complete Rewrite?
[22 Aug 2013 21:53] MySQL Verification Team
Please try version 6.0.6. Thanks.
[22 Aug 2013 22:25] Alex Barker
I didn't realize version 6 was out.  I will work with maintainers to update the version in Gentoo.  I am closing the current bug because the segfaults will probably be different if/when they reappear in v6.