Bug #51933 crash creating relationships
Submitted: 10 Mar 2010 20:37 Modified: 15 May 2010 13:13
Reporter: daniel raine Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S2 (Serious)
Version:5.2.16 OSS beta rev. 5249 OS:Microsoft Windows
Assigned to: CPU Architecture:Any
Tags: access violation exception
Triage: Needs Triage: D2 (Serious)

[10 Mar 2010 20:37] daniel raine
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 wb.ModelDiagramForm.handle_mouse_button(ModelDiagramForm* , MouseButton , Boolean , Int32 , Int32 , EventState )
   at MySQL.Workbench.ModelViewForm.OnMouseUp(MouseEventArgs e, Int32 X, Int32 Y, Keys keystate, MouseButtons buttons)
   at MySQL.GUI.Workbench.ModelDiagramForm.CanvasPanel_MouseUp(Object sender, MouseEventArgs e)
   at System.Windows.Forms.Control.OnMouseUp(MouseEventArgs e)
   at MySQL.Utilities.WindowsCanvasViewerPanel.OnMouseUp(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.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:
unsure how to repeat.

new EER diagram opened.  two tables added along with PKs.
relationship created between two tables.
another table added.
was attempting to add a relationship to a table that already had one relationship to another table.
after error no other operations are possible for a while.  operation then resumed without restarting application.
[29 Mar 2010 15:19] Miguel Solorzano
Thank you for the bug report.
[15 Apr 2010 13:13] Alfredo Kojima
I am unable to repeat neither in latest version nor in 5.2.16
Is the bug easily repeatable with the instructions you gave?
If so, please provide a more detailed step-by-step recipe to get the crash.
Thank you.
[15 May 2010 23:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".