Bug #79721 Create table like <own template> - Crash

Submitted: 21 Dec 2015 12:06 Modified: 21 Jan 2017 18:51
Reporter: Ronald Hummelink Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:6.3.6 OS:Windows (Microsoft Windows 10 Enterprise)
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[21 Dec 2015 12:06] Ronald Hummelink
Description:
I have defined my own table template.

<database name> - Tables - right click - Create table like <template>

When I add a column to the wizard, and tab or click out of the column name field Workbench crashes 5/5 times attempted.

Nothing useful in the log file, server definition same as Bug #79575

How to repeat:
<database name> - Tables - right click - Create table like <template>

When I add a column to the wizard, and tab or click out of the column name field Workbench crashes 5/5 times attempted.
[21 Dec 2015 15:38] MySQL Verification Team
Thank you for the bug report. I couldn't repeat on Windows 10 Pro are you able to provide a screenshot of the template wizard when you get the crash?. Thanks.
[21 Dec 2015 16:10] MySQL Verification Team
Thank you for the report.
On Win7, with dummy table template - 

D:\Workbench\MySQL Workbench 6.3.6 CE (winx64)>MySQLWorkbench.exe -log-level=debug3

D:\Workbench\MySQL Workbench 6.3.6 CE (winx64)>Logger set to level 'debug3'. '0111111'

Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indi
cation that other memory is corrupt.
   at MySQL.Grt.ListModelWrapper.set_field(NodeIdWrapper node, Int32 column, String value)
   at MySQL.Grt.Db.DbMysqlTableColumnsListModel.ValuePushed(Object sender, NodeControlValueEventArgs e)
   at Aga.Controls.Tree.NodeControls.BindableControl.SetValue(TreeNodeAdv node, Object value)
   at Aga.Controls.Tree.NodeControls.EditableControl.ApplyChanges()
   at MySQL.Grt.Db.DbMysqlTableColumnsListModel.comboBox_Leave(Object sender, EventArgs e)
   at System.Windows.Forms.ContainerControl.UpdateFocusedControl()
   at System.Windows.Forms.ContainerControl.AssignActiveControlInternal(Control value)
   at System.Windows.Forms.ContainerControl.ActivateControlInternal(Control control, Boolean originator)
   at System.Windows.Forms.Control.WmSetFocus(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

D:\Workbench\MySQL Workbench 6.3.6 CE (winx64)>
[21 Dec 2015 16:13] Ronald Hummelink
Thanks for looking into this. 

Miguel: Looks like Umesh managed to reproduce, do you still need me to try and provide further details?
[21 Dec 2015 16:15] MySQL Verification Team
Hi

Please disregard my request. Thanks.
[5 Jan 2016 20:07] MySQL Verification Team
http://bugs.mysql.com/bug.php?id=79854 marked as duplicate of this one.
[21 Jan 2017 18:51] Christine Cole
Posted by developer:
 
Fixed as of the upcoming MySQL Workbench 6.3.9 release, and here's the changelog entry:

Adding or editing fields in the Table Templates window for a user-defined
template caused MySQL Workbench to fail and exit.

Thank you for the bug report.

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

Page generated in 0.055 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.