Bug #62047 MySQL Workbench crashes on startup
Submitted: 1 Aug 2011 14:06 Modified: 19 Sep 2011 1:47
Reporter: Alex O'Donovan Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:5.2.34.2 OS:Windows (Windows 7)
Assigned to: CPU Architecture:Any
Tags: Crash on startup, has stopped working, MySQL, regression, workbench

[1 Aug 2011 14:06] Alex O'Donovan
Description:
MySql Workbench crashes on startup at the splash screen. I get the message 'MySQL Workbench has stopped working'

Problem details are displayed below the message here:

<start>-----------------------------------------------------

Problem Event Name:	APPCRASH
  Application Name:	MySQLWorkbench.exe
  Application Version:	5.2.34.7780
  Application Timestamp:	4ddbbfe9
  Fault Module Name:	nvd3d9wrap.dll
  Fault Module Version:	8.17.12.6594
  Fault Module Timestamp:	4cf389ea
  Exception Code:	c0000005
  Exception Offset:	00006b12
  OS Version:	6.1.7601.2.1.0.768.3
  Locale ID:	2057
  Additional Information 1:	0a9e
  Additional Information 2:	0a9e372d3b4ad19135b953a78882e789
  Additional Information 3:	0a9e
  Additional Information 4:	0a9e372d3b4ad19135b953a78882e789

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt

<end>-----------------------------------------------------

Also, when using the cmd prompt I get this:

<start>-----------------------------------------------------

C:\Windows\system32>"C:\Program Files (x86)\MySQL\MySQL Workbench 5.2 CE\MySQLWo
rkbench.exe"

C:\Windows\system32>
Unhandled Exception: System.AccessViolationException: Attempted to read or write  protected memory. This is often an indication that other memory is corrupt.
   at wb.WBContextUI.init(WBContextUI* , WBFrontendCallbacks* , WBOptions* )
   at MySQL.Workbench.WbContext.init(AppImpl application, WbOptions options, VoidStrUIFormDelegate create_main_form_view)
   at MySQL.GUI.Workbench.Program.Main(String[] Args)

<end>-----------------------------------------------------

How to repeat:
Install MySQL Workbench. Start MySql Workbench
[1 Aug 2011 16:08] MySQL Verification Team
The install was a fresh install or upgrade?. Are you tried to re-install too?. Thanks in advance.
[1 Aug 2011 16:17] Alex O'Donovan
Brand new install

Required .Net framework 4.0 and Visual Studio C++ Redistributable to be installed

Have tried reinstalling MySQL WB only, and all three with reboots inbetween.

Thx
[3 Aug 2011 5:07] Valeriy Kravchuk
Can you try to start it from cmd.exe command line window with -swrendering option. I wonder if this will make any difference.
[3 Aug 2011 16:52] Alex O'Donovan
You mean this?:

C:\Users\N5110>"C:\Program Files (x86)\MySQL\MySQL Workbench 5.2 CE\MySQLWorkben
ch.exe" -swrendering

Same result - crash.
[11 Aug 2011 12:38] Alex O'Donovan
Still not working despite carrying out all the actions indicated.

Can you post a link to an earlier version of WB (which used to work on my computer)?
[12 Aug 2011 5:45] Valeriy Kravchuk
You can find older versions on the mirrors, like this:

http://mysql.infocom.ua/Downloads/MySQLGUITools/
[12 Aug 2011 12:19] Alex O'Donovan
Hi - thanks for link. Version 5.2.30 works. Anything after this crashes on start up.
[19 Aug 2011 1:47] Alfredo Kojima
Fault Module Name:	nvd3d9wrap.dll

Sounds like something related to nvidia drivers. Have you tried updating video drivers?
[19 Sep 2011 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".