Bug #63163 mysql worbench crashes at random when modifying entity relationship diagrams
Submitted: 9 Nov 2011 14:31 Modified: 13 Dec 2011 15:13
Reporter: user 2501 Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S3 (Non-critical)
Version:5.2.35, 5.2.36 OS:Linux (Ubuntu 10.04 using Gnome 2.3)
Assigned to: CPU Architecture:Any

[9 Nov 2011 14:31] user 2501
Description:
MySQL Workbench crashes when I'm editing ERD.  It does not seem to matter when I do, sometimes simply moving a table will cause it to crash.  I find it happens most often when I am in the "foreign keys" tab when editing a table.  Here is the output from my command prompt....

userName@ubuntu:~$ mysql-workbench
Log levels '0111000'
Ready.

Segmentation fault
*** Segmentation fault
Register dump:

 RAX: 0000000000000000   RBX: 0000000002e864c0   RCX: 0000000000000033
 RDX: ffffffffffffffd0   RSI: 0000000000000000   RDI: 0000000002e864c0
 RBP: 00000000ffffffff   R8 : 0000000002bbcb00   R9 : 0000000000000033
 R10: 0000000000000001   R11: 00007fec6583ae10   R12: 0000000002b353e8
 R13: 0000000002e99bc8   R14: 0000000000faae28   R15: 0000000000fa8020
 RSP: 00007fff78d5d2c0

 RIP: 00007fec6d4601d6   EFLAGS: 00010246

 CS: 0033   FS: 0000   GS: 0000

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

 FPUCW: 0000037f   FPUSW: 00000020   TAG: 00007fec
 RIP: 65f97fff   RDP: 78d5a638

 ST(0) 0000 fffffffffff3f7fb   ST(1) 0000 0000000000000000
 ST(2) 0000 00ff009800bf00da   ST(3) 0000 0000000000000000
 ST(4) 0000 0101010101010101   ST(5) 0000 0080008000800080
 ST(6) ffff d3c8000000000000   ST(7) 8000 8000000000000000
 mxcsr: 1fa4
 XMM0:  000000000000000000000000ffffff00 XMM1:  000000000000000000000000ffffff00
 XMM2:  000000000000000000000000ffffff00 XMM3:  000000000000000000000000ffffff00
 XMM4:  000000000000000000000000ffffff00 XMM5:  000000000000000000000000ffffff00
 XMM6:  000000000000000000000000ffffff00 XMM7:  000000000000000000000000ffffff00
 XMM8:  000000000000000000000000ffffff00 XMM9:  000000000000000000000000ffffff00
 XMM10: 000000000000000000000000ffffff00 XMM11: 000000000000000000000000ffffff00
 XMM12: 000000000000000000000000ffffff00 XMM13: 000000000000000000000000ffffff00
 XMM14: 000000000000000000000000ffffff00 XMM15: 000000000000000000000000ffffff00

Backtrace:
/usr/lib/mysql-workbench/libwbpublic.so.0(_ZN5boost6detail12shared_countD1Ev+0x46)[0x7fec6d4601d6]
/usr/lib/mysql-workbench/libwbpublic.so.0(_ZN4base9trackableD2Ev+0x77)[0x7fec6d48da17]
/usr/lib/mysql-workbench/libwbpublic.so.0(_ZN15GrtThreadedTaskD0Ev+0x106)[0x7fec6d4ea996]
/usr/lib/mysql-workbench/libwbpublic.so.0(_ZN10Sql_editorD2Ev+0x593)[0x7fec6d59b843]
/usr/lib/mysql-workbench/modules/db.mysql.sqlide.grt.so(_ZN16Mysql_sql_editorD0Ev+0x17)[0x7fec5ba69af7]
/usr/lib/mysql-workbench/libwbpublic.so.0(_ZN5boost6detail12shared_countD1Ev+0x49)[0x7fec6d4601d9]
/usr/lib/mysql-workbench/libwbpublic.so.0(_ZN3bec16DBObjectEditorBED2Ev+0x2a6)[0x7fec6d520346]
/usr/lib/mysql-workbench/plugins/db.mysql.editors.wbp.so(_ZN3bec13TableEditorBED2Ev+0x16f)[0x7fec5865cb9f]
/usr/lib/mysql-workbench/plugins/db.mysql.editors.wbp.so(_ZN18MySQLTableEditorBED0Ev+0x182)[0x7fec5865dc92]
/usr/lib/mysql-workbench/plugins/db.mysql.editors.wbp.so(_ZN18DbMySQLTableEditorD0Ev+0x143)[0x7fec58667733]
/lib/libglib-2.0.so.0(g_datalist_clear+0xb2)[0x7fec67b008f2]
/usr/lib/libgobject-2.0.so.0(g_object_unref+0x174)[0x7fec68a345a4]
/usr/lib/libgobject-2.0.so.0(g_value_unset+0x23)[0x7fec68a55433]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x819)[0x7fec68a47a99]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x83)[0x7fec68a48033]
/usr/lib/mysql-workbench/liblinux_utilities.so.0(_ZN12FormViewBase17remove_plugin_tabEP16PluginEditorBase+0x12)[0x7fec6de83802]
/usr/lib/mysql-workbench/liblinux_utilities.so.0(_ZN12FormViewBase16close_plugin_tabEP16PluginEditorBase+0x5a)[0x7fec6de8392a]
/usr/lib/libgtkmm-2.4.so.1(+0x33cda2)[0x7fec6ba9bda2]
/usr/lib/libgtk-x11-2.0.so.0(+0x142178)[0x7fec6a908178]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x15e)[0x7fec68a325de]
/usr/lib/libgobject-2.0.so.0(+0x219a4)[0x7fec68a469a4]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x639)[0x7fec68a478b9]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x83)[0x7fec68a48033]
/usr/lib/libgtk-x11-2.0.so.0(+0x2590bf)[0x7fec6aa1f0bf]
/usr/lib/libgtk-x11-2.0.so.0(gtk_propagate_event+0xc3)[0x7fec6a900643]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main_do_event+0x2eb)[0x7fec6a90171b]
/usr/lib/libgdk-x11-2.0.so.0(+0x5c86c)[0x7fec69ef586c]
/lib/libglib-2.0.so.0(g_main_context_dispatch+0x1f2)[0x7fec67b158c2]
/lib/libglib-2.0.so.0(+0x42748)[0x7fec67b19748]
/lib/libglib-2.0.so.0(g_main_loop_run+0x195)[0x7fec67b19c55]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xa7)[0x7fec6a901bb7]
/usr/bin/mysql-workbench-bin(main+0x9cb)[0x6695cb]
/lib/libc.so.6(__libc_start_main+0xfd)[0x7fec657dbc4d]
??:0(??)[0x6689f9]

Memory map:

00400000-00da0000 r-xp 00000000 08:01 7350174 /usr/bin/mysql-workbench-bin
00f9f000-00fa0000 r--p 0099f000 08:01 7350174 /usr/bin/mysql-workbench-bin
00fa0000-00fa6000 rw-p 009a0000 08:01 7350174 /usr/bin/mysql-workbench-bin
00fa6000-00fac000 rw-p 00000000 00:00 0
0

How to repeat:
Not sure how to repeat this.  It seems to happen at random when editing ERD.
[9 Nov 2011 14:33] user 2501
I could add more of the memory map but I'm restricted to 8k characters so this is all of the command line I could enter.
[9 Nov 2011 14:58] MySQL Verification Team
Are you able to provide your project file so we can test with it?. Thanks.
[9 Nov 2011 16:54] user 2501
Yes I can provide my project file.  I submitted it by clicking on the file tab and uploading it so only developers can see it?  Is this okay?  Let me know if you cannot see it.  Thanks.
[9 Nov 2011 16:55] user 2501
project file where error occurs

Attachment: error.mwb (application/octet-stream, text), 8.19 KiB.

[9 Nov 2011 16:56] user 2501
Also should not that I got this latest error message (see below).  I have noticed that it seems to occur when I am setting foreign keys between the tables.

userName@ubuntu:~$ mysql-workbench
Log levels '0111000'
Ready.

*** glibc detected *** /usr/bin/mysql-workbench-bin: corrupted double-linked list: 0x00000000047fce80 ***
======= Backtrace: =========
/lib/libc.so.6(+0x775b6)[0x7fd87c00d5b6]
/lib/libc.so.6(+0x7c394)[0x7fd87c012394]
/lib/libc.so.6(__libc_malloc+0x6e)[0x7fd87c01258e]
/usr/lib/nvidia-current/libGL.so.1(+0x49b11)[0x7fd87db27b11]
======= Memory map: ========
00400000-00da0000 r-xp 00000000 08:01 7350174                            /usr/bin/mysql-workbench-bin
00f9f000-00fa0000 r--p 0099f000 08:01 7350174                            /usr/bin/mysql-workbench-bin
00fa0000-00fa6000 rw-p 009a0000 08:01 7350174                            /usr/bin/mysql-workbench-bin
00fa6000-00fac000 rw-p 00000000 00:00 0 
02dd6000-02ddc000 rw-p 00000000 00:00 0                                  [heap]
02ddc000-02dde000 rw-p 00000000 00:00 0                                  [heap]
02dde000-04903000 rw-p 00000000 00:00 0                                  [heap]
7fd868000000-7fd868040000 rw-p 00000000 00:00 0 
7fd868040000-7fd86c000000 ---p 00000000 00:00 0 
7fd86c355000-7fd86c356000 ---p 00000000 00:00 0 
7fd86c356000-7fd86cb56000 rw-p 00000000 00:00 0 
7fd86cb56000-7fd86cb57000 ---p 00000000 00:00 0 
7fd86cb57000-7fd86d357000 rw-p 00000000 00:00 0 
7fd86d357000-7fd86d367000 r-xp 00000000 08:01 1572908                    /lib/libbz2.so.1.0.4
7fd86d367000-7fd86d566000 ---p 00010000 08:01 1572908                    /lib/libbz2.so.1.0.4
7fd86d566000-7fd86d567000 r--p 0000f000 08:01 1572908                    /lib/libbz2.so.1.0.4
7fd86d567000-7fd86d568000 rw-p 00010000 08:01 1572908                    /lib/libbz2.so.1.0.4
7fd86d568000-7fd86d59e000 r-xp 00000000 08:01 7343066                    /usr/lib/libcroco-0.6.so.3.0.1
7fd86d59e000-7fd86d79d000 ---p 00036000 08:01 7343066                    /usr/lib/libcroco-0.6.so.3.0.1
7fd86d79d000-7fd86d79e000 r--p 00035000 08:01 7343066                    /usr/lib/libcroco-0.6.so.3.0.1
7fd86d79e000-7fd86d7a1000 rw-p 00036000 08:01 7343066                    /usr/lib/libcroco-0.6.so.3.0.1
7fd86d7a1000-7fd86d7db000 r-xp 00000000 08:01 7343328                    /usr/lib/libgsf-1.so.114.0.16
7fd86d7db000-7fd86d9da000 ---p 0003a000 08:01 7343328                    /usr/lib/libgsf-1.so.114.0.16
7fd86d9da000-7fd86d9dd000 r--p 00039000 08:01 7343328                    /usr/lib/libgsf-1.so.114.0.16
7fd86d9dd000-7fd86d9de000 rw-p 0003c000 08:01 7343328                    /usr/lib/libgsf-1.so.114.0.16
7fd86d9de000-7fd86d9e0000 rw-p 00000000 00:00 0 
7fd86d9e0000-7fd86da15000 r-xp 00000000 08:01 7340482                    /usr/lib/librsvg-2.so.2.26.3
7fd86da15000-7fd86dc15000 ---p 00035000 08:01 7340482                    /usr/lib/librsvg-2.so.2.26.3
7fd86dc15000-7fd86dc16000 r--p 00035000 08:01 7340482                    /usr/lib/librsvg-2.so.2.26.3
7fd86dc16000-7fd86dc17000 rw-p 00036000 08:01 7340482                    /usr/lib/librsvg-2.so.2.26.3
7fd86dc17000-7fd86dc19000 r-xp 00000000 08:01 7340476                    /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so
7fd86dc19000-7fd86de18000 ---p 00002000 08:01 7340476                    /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so
7fd86de18000-7fd86de19000 r--p 00001000 08:01 7340476                    /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so
7fd86de19000-7fd86de1a000 rw-p 00002000 08:01 7340476                    /usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so
7fd86de1a000-7fd86e2c3000 r--p 00000000 08:01 9192003                    /usr/share/icons/hicolor/icon-theme.cache
7fd86e2c3000-7fd86e9ae000 r--p 00000000 08:01 9184990                    /usr/share/icons/gnome/icon-theme.cache
7fd86e9ae000-7fd86eac5000 r--p 00000000 00:15 262410                     /home/nate/.icons/Humanities-G/icon-theme.cache
7fd86eac5000-7fd86eb25000 rw-s 00000000 00:04 9306125                    /SYSV00000000 (deleted)
7fd86eb25000-7fd86ebb1000 r--p 00000000 08:01 8261408                    /usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf
7fd86ebb1000-7fd86ebb3000 r-xp 00000000 08:01 7346574                    /usr/lib/gconv/ISO8859-1.so
7fd86ebb3000-7fd86edb2000 ---p 00002000 08:01 7346574                    /usr/lib/gconv/ISO8859-1.so
7fd86edb2000-7fd86edb3000 r--p 00001000 08:01 7346574                    /usr/lib/gconv/ISO8859-1.so
7fd86edb3000-7fd86edb4000 rw-p 00002000 08:01 7346574                    /usr/lib/gconv/ISO8859-1.so
7fd86edb4000-7fd86eeab000 r-xp 00000000 08:01 8654147                    /usr/lib/mysql-workbench/plugins/db.mysql.editors.wbp.so.0.0.0
7fd86eeab000-7fd86f0aa000 ---p 000f7000 08:01 8654147                    /usr/lib/mysql-workbench/plugins/db.mysql.editors.wbp.so.0.0.0
7fd86f0aa000-7fd86f0ba000 r--p 000f6000 08:01 8654147                    /usr/lib/mysql-workbench/plugins/db.mysql.editors.wbp.so.0.0.0
7fd86f0ba000-7fd86f0bb000 rw-p 00106000 08:01 8654147                    /usr/lib/mysql-workbench/plugins/db.mysql.editors.wbp.so.0.0.0
7fd86f0bb000-7fd86f0bc000 rw-p 00000000 00:00 0 
7fd86f0bc000-7fd86f0df000 r-xp 00000000 08:01 8654152                    /usr/lib/mysql-workbench/plugins/wb.printing.wbp.so.0.0.0
7fd86f0df000-7fd86f2df000 ---p 00023000 08:01 8654152                    /usr/lib/mysql-workbench/plugins/wb.printing.wbp.so.0.0.0
7fd86f2df000-7fd86f2e1000 r--p 00023000 08:01 8654152                    /usr/lib/mysql-workbench/plugins/wb.printing.wbp.so.0.0.0
7fd86f2e1000-7fd86f2e2000 rw-p 00025000 08:01 8654152                    /usr/lib/mysql-workbench/plugins/wb.printing.wbp.so.0.0.0
7fd86f2e2000-7fd86f2e6000 r-xp 00000000 08:01 8654154                    /usr/lib/mysql-workbench/plugins/db.checks.wbp.so.0.0.0
7fd86f2e6000-7fd86f4e5000 ---p 00004000 08:01 8654154                    /usr/lib/mysql-workbench/plugins/db.checks.wbp.so.0.0.0
7fd86f4e5000-7fd86f4e6000 r--p 00003000 08:01 8654154                    /usr/lib/mysql-workbench/plugins/db.checks.wbp.so.0.0.0
7fd86f4e6000-7fd86f4e7000 rw-p 00004000 08:01 8654154                    /usr/lib/mysql-workbench/plugins/db.checks.wbp.so.0.0.0
7fd86f4e7000-7fd86f53f000 r-xp 00000000 08:01 8654155                    /usr/lib/mysql-workbench/plugins/db.mysql.diff.reporting.wbp.so.0.0.0Aborted
userName@ubuntu:~$
[5 Dec 2011 8:50] Valeriy Kravchuk
Please, check if this still happens with a newer version, 5.2.36.
[5 Dec 2011 21:08] Sebastien Dejean
Stack trace of error from MySQL Workbench 5.2.36 (using error.mwb)

Attachment: mysql_wb_bug_63163_stack_trace.txt (text/plain), 71.64 KiB.

[13 Dec 2011 15:13] Armando Lopez Valencia
Duplicated of: 13492608
[11 Apr 2012 1:05] Lars Lemberg
This might be related, and is very repeatable. Using WorkBench 5.2.36 on Windows 7. Open a new EER Diagram, place one empty table on the diagram. Double click the table to bring up the table editor pane. Click the Foreign Keys tab. (No foreign keys listed). Click the "X" to close the table editor pane. I get a workbench error every time.
[28 Oct 2013 16:33] Fernando Valota da Silva valota
Message Mysql Workbench

Attachment: messageerror.png (image/png, text), 292.93 KiB.

[28 Oct 2013 16:33] Fernando Valota da Silva valota
I have this same problem, is there any update?