Bug #71691 Workbench crash after check foreign key index column

Submitted: 12 Feb 2014 20:56 Modified: 23 Sep 2014 11:04
Reporter: Matej Zapletal Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:6.0.9 OS:Linux (OpenSuse 13.1)
Assigned to: CPU Architecture:Any

[12 Feb 2014 20:56] Matej Zapletal
Description:
In table edit in Foreign Keys tab when I select foreign key and check checkbox for any column in Index Columns section workbench immediately crash.

Console output:

(mysql-workbench-bin:4313): Gtk-CRITICAL **: IA__gtk_tree_view_get_background_area: assertion 'column == NULL || GTK_IS_TREE_VIEW_COLUMN (column)' failed

(mysql-workbench-bin:4313): Gtk-CRITICAL **: gtk_tree_view_unref_tree_helper: assertion 'node != NULL' failed
*** Segmentation fault
Register dump:

 RAX: 00000000024eaff0   RBX: 0000000012b11020   RCX: 00007fff02fcd860
 RDX: 3f0000003f000000   RSI: 0000000002566f80   RDI: 0000000002566f80
 RBP: 00007fff02fcd860   R8 : 00000000025b11f0   R9 : 0000000000000000
 R10: 0000000000000014   R11: 0000000012cabb60   R12: 0000000012983710
 R13: 0000000012448fe0   R14: 000000000000024d   R15: 0000000000000021
 RSP: 00007fff02fcd820

 RIP: 00007f64d69b652a   EFLAGS: 00010206

 CS: 0033   FS: 0000   GS: 0000

 Trap: 0000000d   Error: 00000000   OldMask: 00000000   CR2: 00000000

 FPUCW: 0000037f   FPUSW: 00000000   TAG: 00000000
 RIP: 00000000   RDP: 00000000

 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 ffffffff990e9000   ST(7) ffff ffffffff990e9000
 mxcsr: 1fa4
 XMM0:  000000000000000000000000ffff0000 XMM1:  000000000000000000000000ffff0000
 XMM2:  000000000000000000000000ffff0000 XMM3:  000000000000000000000000ffff0000
 XMM4:  000000000000000000000000ffff0000 XMM5:  000000000000000000000000ffff0000
 XMM6:  000000000000000000000000ffff0000 XMM7:  000000000000000000000000ffff0000
 XMM8:  000000000000000000000000ffff0000 XMM9:  000000000000000000000000ffff0000
 XMM10: 000000000000000000000000ffff0000 XMM11: 000000000000000000000000ffff0000
 XMM12: 000000000000000000000000ffff0000 XMM13: 000000000000000000000000ffff0000
 XMM14: 000000000000000000000000ffff0000 XMM15: 000000000000000000000000ffff0000

Backtrace:
/usr/lib64/libgtk-x11-2.0.so.0(gtk_tree_view_get_background_area+0x8a)[0x7f64d69b652a]
/usr/lib64/gtk-2.0/2.10.0/engines/liboxygen-gtk.so(_ZNK6Oxygen3Gtk8CellInfo14backgroundRectEP12_GtkTreeView+0x36)[0x7f64c6af6036]
/usr/lib64/gtk-2.0/2.10.0/engines/liboxygen-gtk.so(_ZN6Oxygen12TreeViewData14updatePositionEP10_GtkWidgetii+0xff)[0x7f64c6ae3acf]
/usr/lib64/gtk-2.0/2.10.0/engines/liboxygen-gtk.so(_ZN6Oxygen12TreeViewData17motionNotifyEventEP10_GtkWidgetP15_GdkEventMotionPv+0x8e)[0x7f64c6ae3dbe]
/usr/lib64/libgtk-x11-2.0.so.0(+0x1379d5)[0x7f64d68c39d5]
/usr/lib64/libgobject-2.0.so.0(g_closure_invoke+0x138)[0x7f64d5f78318]
/usr/lib64/libgobject-2.0.so.0(+0x22cad)[0x7f64d5f89cad]
/usr/lib64/libgobject-2.0.so.0(g_signal_emit_valist+0xab9)[0x7f64d5f91689]
/usr/lib64/libgobject-2.0.so.0(g_signal_emit+0x82)[0x7f64d5f91c72]
/usr/lib64/libgtk-x11-2.0.so.0(+0x247864)[0x7f64d69d3864]
/usr/lib64/libgtk-x11-2.0.so.0(gtk_propagate_event+0xc4)[0x7f64d68c2184]
/usr/lib64/libgtk-x11-2.0.so.0(gtk_main_do_event+0x2db)[0x7f64d68c253b]
/usr/lib64/libgdk-x11-2.0.so.0(+0x5ba8c)[0x7f64d6532a8c]
/usr/lib64/libglib-2.0.so.0(g_main_context_dispatch+0x146)[0x7f64d5caf316]
/usr/lib64/libglib-2.0.so.0(+0x4b668)[0x7f64d5caf668]
/usr/lib64/libglib-2.0.so.0(g_main_loop_run+0x6a)[0x7f64d5cafa6a]
/usr/lib64/libgtk-x11-2.0.so.0(gtk_main+0xa7)[0x7f64d68c1627]
/usr/lib64/mysql-workbench/mysql-workbench-bin(main+0x2e1)[0x69cb91]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7f64d2a39be5]
??:?(_start)[0x69ff31]

How to repeat:
1) Start edit table
2) Go to Foreign Keys tab
3) Select foreign key
4) Check column in Index Columns section
[12 Feb 2014 20:59] Matej Zapletal
Screenshot of error source

Attachment: snapshot1.png (image/png, text), 38.90 KiB.

[13 Feb 2014 7:07] Matej Zapletal
I can reproduce this bug in Workbench 6.0.8 and 6.0.9
It looks that bug is not presented in 6.0.7
[13 Feb 2014 7:10] MySQL Verification Team
Hello Matej,

Thank you for the bug report.
Verified as described.

Thanks,
Umesh
[4 Jul 2014 14:44] Marco Lanzotti
Still have issue on 6.1.7
[23 Sep 2014 11:04] Miguel Tadeu Mota
This points to a problem in liboxygen-gtk. A bug was filed in https://bugs.kde.org/show_bug.cgi?id=339324
[23 Sep 2014 11:08] Miguel Tadeu Mota
Posted by developer:
 
This points to a problem in liboxygen-gtk. A bug was filed in https://bugs.kde.org/show_bug.cgi?id=339324
[1 Oct 2014 18:11] Miklós Márton
As a workaround you can try to change the gtk2-theme to Raleigh (or something different than oxygen-gtk) under the KDE system settings -> Workspace appearance -> GTK -> GTK2 theme.
[1 Aug 2015 12:57] noName noSurname
Nice bug fixing... Scince 2014 year...

Ubuntu 14.04 x86
Gnome 3.10.4-0ubuntu5
mysql-workbench-community-6.3.4 build from sources (https://dev.mysql.com/downloads/file.php?id=457803)

When I try to append foreign key to table. (Screenshot: https://gist.github.com/stdex/3b26f2d0e98e1a9c7b73#gistcomment-1540412)

Full error log: https://gist.github.com/stdex/3b26f2d0e98e1a9c7b73

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.062 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.