Bug #68739 Crash when creating EER model from database.
Submitted: 21 Mar 2013 12:17 Modified: 22 Mar 2013 10:23
Reporter: Lars Getwan Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S3 (Non-critical)
Version:5.2.47 OS:Windows (XP)
Assigned to: CPU Architecture:Any
Tags: crash, EER

[21 Mar 2013 12:17] Lars Getwan
Description:
Crash when creating EER model from database.
Same as in Bug #67750.
Suggestion there was to use 5.2.45 instead of 5.2.44, which did not help.
Next suggestion was to use 5.2.47 instead of 5.2.45.
I'm using 5.2.47, and the error still occurs:

Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.

   at MySQL.GUI.Mdc.BaseWindowsCanvasView.initialize()
   at MySQL.Utilities.WindowsCanvasViewerPanel.CreateGLCanvas(Form ownerForm, IntPtr payload, Boolean handleInput)
   at MySQL.Utilities.WindowsCanvasViewer.CreateCanvasView(Form ownerForm, IntPtr payload, Boolean handleInput, Boolean software_rendering_enforced, Boolean
 opengl_rendering_enforced)
   at MySQL.GUI.Workbench.ModelDiagramForm.CreateCanvas(String id, IntPtr payload)
   at MySQL.GUI.Workbench.ModelDiagramForm..ctor(WbContext context, String id, IntPtr payload)
   at MySQL.GUI.Workbench.MainForm.CreateNewDiagram(String viewId, String name, IntPtr payload)
   at MySQL.Forms.AppImpl.create_diagram_wrapper(Ref<model_Diagram>* model)
   at boost.detail.function.function_invoker1<mdc::CanvasView * (__cdecl*)(grt::Ref<model_Diagram> const &),mdc::CanvasView *,grt::Ref<model_Diagram> const
&>.invoke(function_buffer* function_ptr, Ref<model_Diagram>* a0)
   at wb.WBContext.flush_idle_tasks(WBContext* )
   at MySQL.Workbench.WbContext.flush_idle_tasks()
   at MySQL.GUI.Workbench.Program.timer_Tick(Object sender, EventArgs e)
   at System.Windows.Forms.Timer.OnTick(EventArgs e)
   at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID,
 Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.RunDialog(Form form)
   at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
   at MySQL.Forms.WizardImpl.run_modal(Wizard* self)
   at MySQL.MCallback1<void\,mforms::Wizard \*>.cpp_callback(Wizard* arg1)
   at MySQL.Forms.DrawBoxImpl.drawbox_mouse_click(Object sender, MouseEventArgs e)
   at System.Windows.Forms.Control.OnMouseClick(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.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)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID,
 Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.Run(ApplicationContext context)
   at MySQL.GUI.Workbench.Program.Main(String[] Args)

How to repeat:
Use Create EER Model from existing Database wizard, choose connection, click nextnextnextnext.
[21 Mar 2013 16:51] Ruben Dario Morquecho Valdez
winxpx64
workbench 5.2.47
----------------------------------
could you please provide details on?:
was this remote connection?
mysql server version used?
did you use root user?
If its possible provide the database used , could be helpful.

Thank you for your interest in MySQL.!
[22 Mar 2013 10:23] Lars Getwan
Hello,

here are the requested details:
We're using a TCP/IP remote connection and the schema user. 
Version: mysql  Ver 14.14 Distrib 5.1.61, for redhat-linux-gnu (x86_64) using readline 5.1
Other things, e.g. editing data are working fine.

Sorry, I cannot provide the DB, as it contains confidential data.

Thanks so far!
Lars