Bug #64226 Attempted to read or write protected memory.

Submitted: 4 Feb 2012 0:35 Modified: 6 Feb 2012 12:32
Reporter: Mark Lessey Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:5.2.16 OSS Beta OS:Windows (Windows XP Professional)
Assigned to: CPU Architecture:Any

[4 Feb 2012 0:35] Mark Lessey
Description:
Exception = System.AccessViolationException
Message = Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
FullText = System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at MySQL.Grt.ListModel.set_field(NodeId node, Int32 column, String value)
   at MySQL.GUI.Workbench.Plugins.DbMysqlTableColumnsListModel.ValuePushed(Object sender, NodeControlValueEventArgs e)
   at Aga.Controls.Tree.NodeControls.BindableControl.OnValuePushed(NodeControlValueEventArgs args)
   at Aga.Controls.Tree.NodeControls.BindableControl.SetValue(TreeNodeAdv node, Object value)
   at Aga.Controls.Tree.NodeControls.BaseTextControl.SetLabel(TreeNodeAdv node, String value)
   at MySQL.Utilities.AdvNodeTextBox.DoApplyChanges(TreeNodeAdv node, Control editor)
   at Aga.Controls.Tree.NodeControls.EditableControl.ApplyChanges()
   at Aga.Controls.Tree.NodeControls.EditableControl.EditorValidating(Object sender, CancelEventArgs e)
   at System.Windows.Forms.Control.OnValidating(CancelEventArgs e)
   at System.Windows.Forms.Control.NotifyValidating()
   at System.Windows.Forms.Control.PerformControlValidation(Boolean bulkValidation)
   at System.Windows.Forms.ContainerControl.ValidateThroughAncestor(Control ancestorControl, Boolean preventFocusChangeOnError)
   at System.Windows.Forms.ContainerControl.EnterValidation(Control enterControl)
   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.ContainerControl.ActivateControlInternal(Control control)
   at System.Windows.Forms.Control.WmSetFocus(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

How to repeat:
Attempt to build ERD using a BOOLEAN field in one table.

Suggested fix:
No suggestions. The failure results in the loss of all saved connections and references to .mwb files.
[4 Feb 2012 7:52] Valeriy Kravchuk
Please, check if this problem still happens with a newer version of Workbench, 5.2.37.
[6 Feb 2012 12:22] Mark Lessey
Installed version 5.2.37. The error does not appear in this version. Many thanks.
[6 Feb 2012 12:32] Mark Lessey
The new version seems quite stable. Thanks for your help.

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

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