Bug #72872 Segmentation fault
Submitted: 4 Jun 2014 12:12 Modified: 14 Jul 2014 13:38
Reporter: Pavel Yatsukhnenko Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:6.1.6.11834 OS:Linux (Linux localhost 3.12.20-gentoo #1 SMP Mon May 26 10:42:28 EEST 2014 x86_64 AMD FX(tm)-6100 Six-Core)
Assigned to: CPU Architecture:Any

[4 Jun 2014 12:12] Pavel Yatsukhnenko
Description:
pyatsukhnenko@localhost ~ $ mysql-workbench
** Message: Gnome keyring daemon seems to not be available. Stored passwords will be lost once quit
Ready.

(mysql-workbench-bin:11204): GLib-GObject-WARNING **: attempting to add an interface (GtkTreeModel) to class (gtkmm__CustomObject_13GridViewModel) after class_init

(mysql-workbench-bin:11204): GLib-GObject-WARNING **: attempting to add an interface (GtkTreeDragDest) to class (gtkmm__CustomObject_13GridViewModel) after class_init

(mysql-workbench-bin:11204): GLib-GObject-WARNING **: attempting to add an interface (GtkTreeDragSource) to class (gtkmm__CustomObject_13GridViewModel) after class_init

(mysql-workbench-bin:11204): GLib-GObject-WARNING **: Attempt to add property gtkmm__CustomObject_14CustomRendererIN3Gtk16CellRendererSpinEN4Glib7ustringEiE::pixbuf after class was initialised

(mysql-workbench-bin:11204): GLib-GObject-WARNING **: Attempt to add property gtkmm__CustomObject_14CustomRendererIN3Gtk16CellRendererSpinEN4Glib7ustringEiE::text after class was initialised

(mysql-workbench-bin:11204): GLib-GObject-WARNING **: Attempt to add property gtkmm__CustomObject_14CustomRendererIN3Gtk16CellRendererSpinEN4Glib7ustringEiE::editable after class was initialised

(mysql-workbench-bin:11204): GLib-GObject-WARNING **: Attempt to add property gtkmm__CustomObject_14CustomRendererIN3Gtk16CellRendererTextEN4Glib7ustringES3_E::pixbuf after class was initialised

(mysql-workbench-bin:11204): GLib-GObject-WARNING **: Attempt to add property gtkmm__CustomObject_14CustomRendererIN3Gtk16CellRendererTextEN4Glib7ustringES3_E::text after class was initialised

(mysql-workbench-bin:11204): GLib-GObject-WARNING **: Attempt to add property gtkmm__CustomObject_14CustomRendererIN3Gtk16CellRendererTextEN4Glib7ustringES3_E::editable after class was initialised
*** Segmentation fault
Register dump:

 RAX: 0000000000000000   RBX: 00007f6224006030   RCX: 0000000000000000
 RDX: 00007f62240008c0   RSI: 0000000000000000   RDI: 0000000000000000
 RBP: ffffffffffffffff   R8 : 00007f625f8c1160   R9 : 0000000000002bd6
 R10: 0000000000000000   R11: 00007f625f64faf0   R12: 0000000000000000
 R13: 0000000000000000   R14: 0000000000000004   R15: 00007f6224005740
 RSP: 00007f622bffc6d0

 RIP: 00007f6261be84a7   EFLAGS: 00010246

 CS: 0033   FS: 0000   GS: 0000

 Trap: 0000000e   Error: 00000004   OldMask: 00000000   CR2: 000000c8

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

 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) 0000 0000000000000000   ST(7) 0000 00007f62240021a0
 mxcsr: 1fa0
 XMM0:  0000000000000000000000005f555e4f XMM1:  0000000000000000000000005f555e4f
 XMM2:  0000000000000000000000005f555e4f XMM3:  0000000000000000000000005f555e4f
 XMM4:  0000000000000000000000005f555e4f XMM5:  0000000000000000000000005f555e4f
 XMM6:  0000000000000000000000005f555e4f XMM7:  0000000000000000000000005f555e4f
 XMM8:  0000000000000000000000005f555e4f XMM9:  0000000000000000000000005f555e4f
 XMM10: 0000000000000000000000005f555e4f XMM11: 0000000000000000000000005f555e4f
 XMM12: 0000000000000000000000005f555e4f XMM13: 0000000000000000000000005f555e4f
 XMM14: 0000000000000000000000005f555e4f XMM15: 0000000000000000000000005f555e4f

Backtrace:
/usr/lib64/libmysqlclient.so.16(+0x584a7)[0x7f6261be84a7]
/usr/lib64/libmysqlclient.so.16(my_net_read+0x172)[0x7f6261be8fd2]
/usr/lib64/libmysqlclient.so.16(cli_safe_read+0x2f)[0x7f6261be1cef]
/usr/lib64/libmysqlclient.so.16(cli_read_rows+0x21)[0x7f6261be1f21]
/usr/lib64/libmysqlclient.so.16(cli_read_prepare_result+0xe9)[0x7f6261bb8b09]
/usr/lib64/libmysqlclient.so.16(mysql_stmt_prepare+0x133)[0x7f6261bb8db3]
/usr/lib64/libmysqlcppconn.so.6(_ZN3sql5mysql16MySQL_Connection16prepareStatementERKNS_9SQLStringE+0x9c)[0x7f62650746dc]
/usr/lib64/libmysqlcppconn.so.6(_ZN3sql5mysql24MySQL_ConnectionMetaData10getColumnsERKNS_9SQLStringES4_S4_S4_+0x1f32)[0x7f6265094b32]
/usr/lib64/libmysqlcppconn.so.6(_ZN3sql5mysql24MySQL_ConnectionMetaData20getBestRowIdentifierERKNS_9SQLStringES4_S4_ib+0x274)[0x7f626508a274]
/usr/lib64/mysql-workbench/libwbpublic.so(_ZN22Recordset_cdbc_storage14do_unserializeEP9RecordsetPN6sqlite10connectionE+0xf0f)[0x7f6268b2496f]
/usr/lib64/mysql-workbench/libwbpublic.so(_ZN9Recordset5resetEN5boost8weak_ptrI22Recordset_data_storageEEb+0x13f)[0x7f6268b10b7f]
/usr/lib64/mysql-workbench/libwbpublic.so(_ZN9Recordset5resetEb+0x34)[0x7f6268b118b4]
/usr/bin/mysql-workbench-bin(_ZN13SqlEditorForm11do_exec_sqlEPN3grt3GRTEN5boost8weak_ptrIS_EENS3_10shared_ptrISsEENS6_I10Sql_editorEENS_9ExecFlagsENS6_ISt6vectorINS6_I9RecordsetEESaISD_EEEE+0x25f6)[0x925c16]
/usr/bin/mysql-workbench-bin(_ZNK5boost4_mfi3mf6IN3grt3RefINS2_8internal6StringEEE13SqlEditorFormPNS2_3GRTENS_8weak_ptrIS7_EENS_10shared_ptrISsEENSC_I10Sql_editorEENS7_9ExecFlagsENSC_ISt6vectorINSC_I9RecordsetEESaISJ_EEEEEclEPS7_S9_SB_SD_SF_SG_SM_+0xc8)[0x93ab88]
/usr/bin/mysql-workbench-bin(_ZN5boost3_bi5list7INS0_5valueIP13SqlEditorFormEENS_3argILi1EEENS2_INS_8weak_ptrIS3_EEEENS2_INS_10shared_ptrISsEEEENS2_INSB_I10Sql_editorEEEENS2_INS3_9ExecFlagsEEENS2_INSB_ISt6vectorINSB_I9RecordsetEESaISL_EEEEEEEclIN3grt3RefINSS_8internal6StringEEENS_4_mfi3mf6ISW_S3_PNSS_3GRTES9_SC_SF_SH_SO_EENS0_5list1IRS10_EEEET_NS0_4typeIS15_EERT0_RT1_l+0xb6)[0x93ad36]
/usr/bin/mysql-workbench-bin(_ZN5boost6detail8function21function_obj_invoker1INS_3_bi6bind_tIN3grt3RefINS5_8internal6StringEEENS_4_mfi3mf6IS9_13SqlEditorFormPNS5_3GRTENS_8weak_ptrISC_EENS_10shared_ptrISsEENSH_I10Sql_editorEENSC_9ExecFlagsENSH_ISt6vectorINSH_I9RecordsetEESaISO_EEEEEENS3_5list7INS3_5valueIPSC_EENS_3argILi1EEENSU_ISG_EENSU_ISI_EENSU_ISK_EENSU_ISL_EENSU_ISR_EEEEEES9_SE_E6invokeERNS1_15function_bufferESE_+0x2f)[0x93ae6f]
/usr/lib64/mysql-workbench/libwbpublic.so(_ZNK5boost9function1IN3grt3RefINS1_8internal6StringEEEPNS1_3GRTEEclES7_+0x1b)[0x7f6268a40b1b]
/usr/lib64/mysql-workbench/libwbpublic.so(_ZN5boost6detail8function21function_obj_invoker1INS_8functionIFN3grt3RefINS4_8internal6StringEEEPNS4_3GRTEEEENS4_8ValueRefESA_E6invokeERNS1_15function_bufferESA_+0x13)[0x7f6268a40b73]
/usr/lib64/mysql-workbench/libwbpublic.so(_ZNK5boost9function1IN3grt8ValueRefEPNS1_3GRTEEclES4_+0x1b)[0x7f62689e2ddb]
/usr/lib64/mysql-workbench/libwbpublic.so(_ZN3bec7GRTTask7executeEPN3grt3GRTE+0xd)[0x7f62689e022d]
/usr/lib64/mysql-workbench/libwbpublic.so(_ZN3bec13GRTDispatcher12execute_taskEPNS_11GRTTaskBaseE+0x2a)[0x7f62689df42a]
/usr/lib64/mysql-workbench/libwbpublic.so(_ZN3bec13GRTDispatcher13worker_threadEPv+0x33a)[0x7f62689dfe3a]
/usr/lib64/libglib-2.0.so.0(+0x6ea35)[0x7f6263cfea35]
/lib64/libpthread.so.0(+0x901a)[0x7f626085101a]
/lib64/libc.so.6(clone+0x6d)[0x7f6260b5560d]

How to repeat:
Open auto saved connection execute a query that remained from the previous session
[4 Jun 2014 12:17] Pavel Yatsukhnenko
dump.txt

Attachment: dump.txt (text/plain), 71.84 KiB.

[4 Jun 2014 13:14] MySQL Verification Team
Thank you for the bug report. I couldn't repeat on CentOS 6.5 which package have
you installed and the issue always happens disregarding the query?. Thanks.
[4 Jun 2014 13:44] Pavel Yatsukhnenko
As a sedulous gentoo user I compiled package from sources (mysql-workbench-community-6.1.6-src.tar.gz)
The issue happens almost always disregarding the query.
[12 Jul 2014 21:08] MySQL Verification Team
Please try version 6.1.7. Thanks.
[14 Jul 2014 10:15] Pavel Yatsukhnenko
no longer crash
Thanks!
[14 Jul 2014 13:38] MySQL Verification Team
Thank you for the feedback.