Bug #69542 MySQL Workbench crashes when trying to create/open diagram
Submitted: 21 Jun 2013 17:52 Modified: 21 Aug 2014 18:56
Reporter: Eddy Ukstein Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S2 (Serious)
Version:6.0.2.10924 OS:Windows (8.1)
Assigned to: CPU Architecture:Any

[21 Jun 2013 17:52] Eddy Ukstein
Description:
When attempting to create or open existing diagram, you get the message that workbench is not responding and it closes. In the event viewer you will find
2 error messages in application log:

1. .NET Runtime

Application: MySQLWorkbench.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
Stack:
   at <Module>.wb.WBContext.software_rendering_enforced(wb.WBContext*)
   at MySQL.Workbench.WbContext.software_rendering_enforced()
   at MySQL.GUI.Workbench.ModelDiagramForm.CreateCanvas(System.String, IntPtr)
   at MySQL.GUI.Workbench.ModelDiagramForm..ctor(MySQL.Workbench.WbContext, System.String, IntPtr)
   at MySQL.GUI.Workbench.MainForm.CreateNewDiagram(System.String, System.String, IntPtr)
   at MySQL.Workbench.WbFrontendCallbacks.create_diagram_wrapper(grt.Ref<model_Diagram>*)
   at <Module>.boost.detail.function.function_invoker1<mdc::CanvasView * (__cdecl*)(grt::Ref<model_Diagram> const &),mdc::CanvasView *,grt::Ref<model_Diagram> const &>.invoke(__cdecl*)(grt::Ref<model_Diagram> const &),mdc::CanvasView *,grt::Ref<model_Diagram> const &>.invoke(boost.detail.function.function_buffer*, grt.Ref<model_Diagram>*)
   at MySQL.Grt.ListModel.activate_node(MySQL.Grt.NodeId)
   at MySQL.GUI.Workbench.ModelOverviewForm.listViewDoubleClick(System.Object, System.EventArgs)
   at System.Windows.Forms.Control.OnDoubleClick(System.EventArgs)
   at System.Windows.Forms.ListView.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.Control+ControlNativeWindow.OnMessage(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.Control+ControlNativeWindow.WndProc(System.Windows.Forms.Message ByRef)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr)
   at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG ByRef)
   at System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32)
   at System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext)
   at System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext)
   at System.Windows.Forms.Application.Run(System.Windows.Forms.ApplicationContext)
   at MySQL.GUI.Workbench.Program.Main(System.String[])

2. Application Error:
Faulting application name: MySQLWorkbench.exe, version: 6.0.2.10924, time stamp: 0x51b9d5a7
Faulting module name: nvd3d9wrap.dll, version: 8.17.13.2018, time stamp: 0x518fe537
Exception code: 0xc0000005
Fault offset: 0x000089b4
Faulting process ID: 0x898
Faulting application start time: 0x01ce6ea6bf9a3b75
Faulting application path: C:\Program Files (x86)\MySQL\MySQL Workbench 6.0 CE\MySQLWorkbench.exe
Faulting module path: C:\Program Files (x86)\NVIDIA Corporation\CoProcManager\nvd3d9wrap.dll
Report ID: 0cb0d180-da9a-11e2-bedd-50e54955cd60
Faulting package full name: 
Faulting package-relative application ID: 

I believe it is related to nvidia drivers. I have GTX650TI Graphic Card

How to repeat:
1. Run workbench
2. add model
3. double click add diagram icon
[21 Jun 2013 22:53] MySQL Verification Team
Which exaclty Windows version are you using?. Thanks.
[22 Jun 2013 6:54] Eddy Ukstein
Windows 8 x64. Another piece of info - when I used GTX 550TI - workbench worked.
[2 Jul 2013 14:42] Mike Lischke
Eddy, it's hard to say what crashes actually, without further info. So we will add a number of log calls in that code and would like to test this with the next beta release. The log will then show where the crash happened (what the stack trace does not).
[19 Aug 2013 12:41] Eddy Ukstein
Hello,

Is there any status on the subject? I still getting same error with version 6.0.6. 11184
[20 Aug 2013 17:13] Alfredo Kojima
Please attach the wb.log file you can locate from the Help menu.
[1 Sep 2013 0:26] Maxim Zudilov
I had the same problem. Fixed the issue when I forced Workbench to use Integrated Graphics Processor (right-click on a shortcut - run with graphics processor).
[1 Sep 2013 11:27] Eddy Ukstein
Thanks Maxim, but I don't see that option available. Maybe it depends on graphic card type.
[5 Sep 2013 1:48] MySQL Verification Team
Please try version 6.0.7. Thanks.
[6 Oct 2013 1: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".
[2 Jul 2014 1:09] Cristian Muñoz
I had the same problem, is by NVIDIA drivers. My solution is to execute Workbench with integrated graphics