Bug #76278 | Modeling: Workbench crashes when right-clicking in empty table row | ||
---|---|---|---|
Submitted: | 12 Mar 2015 8:34 | Modified: | 19 Mar 2015 7:26 |
Reporter: | Frank Langner | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Workbench: Modeling | Severity: | S3 (Non-critical) |
Version: | 6.2.4, 6.2.5, 6.3.1 | OS: | Windows (8.1 Pro, 64Bit) |
Assigned to: | CPU Architecture: | Any |
[12 Mar 2015 8:34]
Frank Langner
[12 Mar 2015 9:23]
MySQL Verification Team
Hello Frank Langner, Thank you for the report and repeatable test case. Observed this on Win7 with WB 6.2.5. Thanks, Umesh
[12 Mar 2015 9:31]
MySQL Verification Team
// with 6.2.5 D:\Workbench\MySQL Workbench 6.2.5 (winx64)>MySQLWorkbench.exe -v -log-level=3 D:\Workbench\MySQL Workbench 6.2.5 (winx64)> Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indi cation that other memory is corrupt. at Recordset.update_selection_for_menu(Recordset* , vector<int\,std::allocator<int> >* , Int32 ) at MySQL.Grt.Db.RecordsetWrapper.get_context_menu(List`1 indexes, Int32 clicked_column) at MySQL.Grt.Db.RecordsetView.gridView_CellContextMenuStripNeeded(Object sender, DataGridViewCellContextMenuStripNeed edEventArgs e) at System.Windows.Forms.DataGridView.OnCellContextMenuStripNeeded(Int32 columnIndex, Int32 rowIndex, ContextMenuStrip contextMenuStrip) at System.Windows.Forms.DataGridViewCell.GetContextMenuStrip(Int32 rowIndex) at System.Windows.Forms.DataGridViewCell.GetInheritedContextMenuStrip(Int32 rowIndex) at System.Windows.Forms.DataGridView.WmContextMenu(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.DataGridView.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
[12 Mar 2015 9:35]
MySQL Verification Team
// 6.3.1 D:\Workbench\MySQL Workbench 6.3.1 CE (winx64)> Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indi cation that other memory is corrupt. at Recordset.update_selection_for_menu(Recordset* , vector<int\,std::allocator<int> >* , Int32 ) at MySQL.Grt.Db.RecordsetWrapper.get_context_menu(List`1 indexes, Int32 clicked_column) at MySQL.Grt.Db.RecordsetView.gridView_CellContextMenuStripNeeded(Object sender, DataGridViewCellContextMenuStripNeed edEventArgs e) at System.Windows.Forms.DataGridView.OnCellContextMenuStripNeeded(Int32 columnIndex, Int32 rowIndex, ContextMenuStrip contextMenuStrip) at System.Windows.Forms.DataGridViewCell.GetContextMenuStrip(Int32 rowIndex) at System.Windows.Forms.DataGridViewCell.GetInheritedContextMenuStrip(Int32 rowIndex) at System.Windows.Forms.DataGridView.WmContextMenu(Message& m) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.DataGridView.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
[19 Mar 2015 7:26]
Philip Olson
Posted by developer: Fixed as of the upcoming MySQL Workbench 6.3.3 release, and here's the changelog entry: Right-clicking on an out-of-focus empty field under the "Inserts editor" in the EER modeling table editor would crash MySQL Workbench. Thank you for the bug report.