Bug #33598 Unhandled exception when mouse pointer is in proximity to Tables in EER diagrams
Submitted: 31 Dec 2007 14:52 Modified: 4 Mar 2008 11:19
Reporter: Nathan Allen Email Updates:
Status: No Feedback Impact on me:
Category:MySQL Workbench Severity:S1 (Critical)
Version:5.0.11 OSS BETA OS:Microsoft Windows (Vista Home Premium)
Assigned to: Assigned Account CPU Architecture:Any
Tags: Attempted to read or write protected memory, System.AccessViolationException, Unhandled exception

[31 Dec 2007 14:52] Nathan Allen

System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at mdc.CanvasView.handle_mouse_move(CanvasView* , Int32 , Int32 , EventState )
   at MySQL.GUI.Mdc.BaseWindowsCanvasView.OnMouseMove(MouseEventArgs e, Keys keystate, MouseButtons buttons)
   at MySQL.Utilities.WindowsCanvasViewerPanel.OnMouseMove(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseMove(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at MySQL.Utilities.WindowsCanvasViewerPanel.WndProc(Message& msg)
   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)

************** Loaded Assemblies **************
    Assembly Version:
    Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    Assembly Version:
    Win32 Version:
    CodeBase: file:///C:/Program%20Files/MySQL/MySQL%20Workbench%205.0%20OSS/MySQLWorkbench.exe
    Assembly Version:
    Win32 Version: 
    CodeBase: file:///C:/Program%20Files/MySQL/MySQL%20Workbench%205.0%20OSS/wb.wr.DLL
    Assembly Version:
    Win32 Version: 
    CodeBase: file:///C:/Program%20Files/MySQL/MySQL%20Workbench%205.0%20OSS/grt.wr.DLL
    Assembly Version:
    Win32 Version:
    CodeBase: file:///C:/Program%20Files/MySQL/MySQL%20Workbench%205.0%20OSS/MySQLCsUtilities.DLL
    Assembly Version: 8.0.50727.762
    Win32 Version: 8.00.50727.762
    CodeBase: file:///C:/Program%20Files/MySQL/MySQL%20Workbench%205.0%20OSS/msvcm80.DLL
    Assembly Version:
    Win32 Version:
    CodeBase: file:///C:/Program%20Files/MySQL/MySQL%20Workbench%205.0%20OSS/MySQLGrtShell.EXE
    Assembly Version:
    Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/
    Assembly Version:
    Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/
    Assembly Version:
    Win32 Version: 2.0.50727.312 (rtmLHS.050727-3100)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/
    Assembly Version:
    Win32 Version:
    CodeBase: file:///C:/Program%20Files/MySQL/MySQL%20Workbench%205.0%20OSS/WeifenLuo.WinFormsUI.Docking.DLL
    Assembly Version:
    Win32 Version:
    CodeBase: file:///C:/Program%20Files/MySQL/MySQL%20Workbench%205.0%20OSS/MySQLWorkbenchEditors.DLL
    Assembly Version:
    Win32 Version:
    CodeBase: file:///C:/Program%20Files/MySQL/MySQL%20Workbench%205.0%20OSS/Aga.Controls.DLL
    Assembly Version:
    Win32 Version:
    CodeBase: file:///C:/Program%20Files/MySQL/MySQL%20Workbench%205.0%20OSS/grt.helpers.be.DLL

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging

For example:

    <system.windows.forms jitDebugging="true" />

How to repeat:
Start MySQL Workbench.
Add EER diagram.
Add table to diagram.
Move mouse pointer near resulting table. exception will happen
[2 Jan 2008 13:17] Johannes Taxacher
I'm not able to reproduce this behaviour - could you try to repeat this with software rendering and provide more details on your system (graphics adapter, drivers, openGL version)?
[2 Jan 2008 14:49] Nathan Allen
system and driver information

Attachment: system_info.txt (text/plain), 29.53 KiB.

[2 Jan 2008 15:03] Nathan Allen
I have attached a file with the requested information.
OpenGL version 1.4.0-Build INTEL 945GM

Same problem when running Workbench in software rendering mode.
[14 Jan 2008 18:04] Rodrigo Rueda
I have the same problem. I'm using Windows Vista Business and the latest drivers for my video card. It also happens with software rendering. 

I also got crashes when moving the mouse (fast) just after releasing its button to add layers to the diagram. The message received is: "Unknown Exception caught in "c:\documents and settings\mysqldev\my documents\visual studio 2005\projects\mysql-workbench-pro\backend\windows\wb.wr\scr\Canvas.h at line 142". Hope it helps.

PS: It seems this bug is duplicated: http://bugs.mysql.com/bug.php?id=33477.
[4 Feb 2008 11:19] Sveta Smirnova
Thank you for the report.

I can not repeat described behavior. Please upgrade to current version 5.0.12 and inform us if problem still exists.
[7 Feb 2008 7:43] Lies Depuydt
This problem still exists with version 5.0.12 

I'm using Windows Vista Business
[28 Feb 2008 12:27] Lies Depuydt
In MySQL Workbench 5.0 OSS (Software Rendering) 
no problem anymore after download version 5.0.14a 

(I'm using Windows Vista Business)
[5 Mar 2008 0: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".