Bug #73879 Segfault during deleting row in result grid
Submitted: 10 Sep 2014 17:15 Modified: 15 Sep 2014 22:18
Reporter: Maciej Bienia Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: SQL Editor Severity:S3 (Non-critical)
Version:6.2.2 rc OS:Linux (Ubuntu 64bit)
Assigned to: CPU Architecture:Any
Tags: delete, editor, record, segfault, SQL

[10 Sep 2014 17:15] Maciej Bienia
Description:
Workbench crashes after pressing the 'Delete Row' on Result Grid

Backtrace:
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_rec_mutex_unlock+0x0)[0x7f93e38fda80]
/usr/bin/mysql-workbench-bin(_ZN4base8RecMutex6unlockEv+0x20)[0x64bcae]
/usr/lib/mysql-workbench/libwbprivate.so.6.2.2(_ZN4base12RecMutexLockD1Ev+0x27)[0x7f93e79d5253]
/usr/lib/mysql-workbench/libwbpublic.so.6.2.2(_ZN9Recordset12delete_nodesERSt6vectorIN3bec6NodeIdESaIS2_EE+0xa48)[0x7f93e63f4a6c]
/usr/lib/mysql-workbench/libsqlide.so.6.2.2(_ZN13RecordsetView13on_record_delEv+0x18c)[0x7f93e8608b0c]
/usr/lib/mysql-workbench/libsqlide.so.6.2.2(_ZNK5boost4_mfi3mf0Iv13RecordsetViewEclEPS2_+0x65)[0x7f93e861729b]
/usr/lib/mysql-workbench/libsqlide.so.6.2.2(_ZN5boost3_bi5list1INS0_5valueIP13RecordsetViewEEEclINS_4_mfi3mf0IvS3_EENS1_IRPN6mforms11ToolB
arItemEEEEEvNS0_4typeIvEERT_RT0_i+0x4a)[0x7f93e8617f6e]
/usr/lib/mysql-workbench/libsqlide.so.6.2.2(_ZN5boost3_bi6bind_tIvNS_4_mfi3mf0Iv13RecordsetViewEENS0_5list1INS0_5valueIPS4_EEEEEclIPN6mfor
ms11ToolBarItemEEEvRT_+0x44)[0x7f93e861629c]
/usr/lib/mysql-workbench/libsqlide.so.6.2.2(_ZN5boost6detail8function26void_function_obj_invoker1INS_3_bi6bind_tIvNS_4_mfi3mf0Iv13Recordse
tViewEENS3_5list1INS3_5valueIPS7_EEEEEEvPN6mforms11ToolBarItemEE6invokeERNS1_15function_bufferESH_+0x2b)[0x7f93e8614682]
/usr/lib/mysql-workbench/libmforms.so.6.2.2(_ZNK5boost9function1IvPN6mforms11ToolBarItemEEclES3_+0x5d)[0x7f93e912e9fb]
/usr/lib/mysql-workbench/libmforms.so.6.2.2(_ZNK5boost8signals26detail12signal1_implIvPN6mforms11ToolBarItemENS0_19optional_last_valueIvEE
iSt4lessIiENS_8functionIFvS5_EEENSA_IFvRKNS0_10connectionES5_EEENS0_5mutexEE12slot_invoker8m_invokeERKNS_10shared_ptrINS1_15connection_bod
yISt4pairINS1_15slot_meta_groupENS_8optionalIiEEENS0_5slot1IvS5_SC_EESI_EEEEPKNS1_9void_typeE+0x44)[0x7f93e912e5c2]
/usr/lib/mysql-workbench/libmforms.so.6.2.2(_ZNK5boost8signals26detail12signal1_implIvPN6mforms11ToolBarItemENS0_19optional_last_valueIvEE
iSt4lessIiENS_8functionIFvS5_EEENSA_IFvRKNS0_10connectionES5_EEENS0_5mutexEE12slot_invokerclERKNS_10shared_ptrINS1_15connection_bodyISt4pa
irINS1_15slot_meta_groupENS_8optionalIiEEENS0_5slot1IvS5_SC_EESI_EEEE+0x30)[0x7f93e912df10]
/usr/lib/mysql-workbench/libmforms.so.6.2.2(_ZNK5boost8signals26detail20slot_call_iterator_tINS1_12signal1_implIvPN6mforms11ToolBarItemENS
0_19optional_last_valueIvEEiSt4lessIiENS_8functionIFvS6_EEENSB_IFvRKNS0_10connectionES6_EEENS0_5mutexEE12slot_invokerESt14_List_iteratorIN
S_10shared_ptrINS1_15connection_bodyISt4pairINS1_15slot_meta_groupENS_8optionalIiEEENS0_5slot1IvS6_SD_EESJ_EEEEESW_E11dereferenceEv+0x47)[
0x7f93e912d793]

How to repeat:
SQL Editor
In Query Window type "select * from <not_empty_table>"
On Result Grid higlight any row, then press "Delete selected rows"
[10 Sep 2014 20:26] Alfredo Kojima
Verified, it happens in 64bit Ubuntu (but not 32)
[15 Sep 2014 22:18] Philip Olson
Fixed as of the upcoming MySQL Workbench 6.2.3 release, and here's the changelog entry:

On Linux (64-bit only), clicking "Delete Row" on a result grid would cause
a crash.

Thank you for the bug report.
[26 Oct 2016 16:34] Michael St Clair
This is happening again