Bug #64407 MySQL Workbench crashes on startup
Submitted: 22 Feb 2012 9:31 Modified: 28 Mar 2012 14:10
Reporter: Donatas Kasparavicius Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:5.2.37 OS:Windows (Windows 7 64bit)
Assigned to: CPU Architecture:Any
Tags: closes, Craches, MySQL, startup, workbench

[22 Feb 2012 9:31] Donatas Kasparavicius
Description:
Hello,

I have a problem with MySQL workbench startup. Every time i start it, it crashes.

I searched for similar bugs and i found that people were having the same problem on 64bit machine, so i did the following:

Installed/reinstalled:
Microsoft .NET 4.0 Framework client profile (and extended)
Microsoft Visual C++ 2010 Redistributable Package (x86) (basic and SP1)
Intel HD graphics drivers
Tried running in classic mode
Tried older versions of MySQL workbench.

Nothing helps

Here is what even viewer shows (2 errors per launch)

SOURCE: .NET Runtime

IN GENERAL TAB:

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.WBContextUI.init(wb.WBContextUI*, wb.WBFrontendCallbacks*, wb.WBOptions*)
   at MySQL.Workbench.WbContext.init(MySQL.Forms.AppImpl, MySQL.Workbench.WbOptions, VoidStrUIFormDelegate)
   at MySQL.GUI.Workbench.Program.Main(System.String[])

IN DETAILS TAB:

- System 

  - Provider 

   [ Name]  .NET Runtime 
 
  - EventID 1026 

   [ Qualifiers]  0 
 
   Level 2 
 
   Task 0 
 
   Keywords 0x80000000000000 
 
  - TimeCreated 

   [ SystemTime]  2012-02-22T09:14:42.000000000Z 
 
   EventRecordID 12585 
 
   Channel Application 
 
   Computer Donatas-TOSH 
 
   Security 
 

- EventData 

   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.WBContextUI.init(wb.WBContextUI*, wb.WBFrontendCallbacks*, wb.WBOptions*) at MySQL.Workbench.WbContext.init(MySQL.Forms.AppImpl, MySQL.Workbench.WbOptions, VoidStrUIFormDelegate) at MySQL.GUI.Workbench.Program.Main(System.String[])  

And SOURCE - Application Error:

IN GENERAL TAB:

Faulting application name: MySQLWorkbench.exe, version: 5.2.37.8576, time stamp: 0x4ef3ccea
Faulting module name: aticfx32.dll, version: 8.17.10.1047, time stamp: 0x4cabd6fc
Exception code: 0xc0000005
Fault offset: 0x00025861
Faulting process id: 0x1028
Faulting application start time: 0x01ccf1425d734a77
Faulting application path: C:\Program Files (x86)\MySQL\MySQL Workbench CE 5.2.37\MySQLWorkbench.exe
Faulting module path: C:\Windows\system32\aticfx32.dll
Report Id: a7eb1365-5d35-11e1-97a4-b870f4c1418b

IN DETAILS TAB:

- System 

  - Provider 

   [ Name]  Application Error 
 
  - EventID 1000 

   [ Qualifiers]  0 
 
   Level 2 
 
   Task 100 
 
   Keywords 0x80000000000000 
 
  - TimeCreated 

   [ SystemTime]  2012-02-22T09:14:44.000000000Z 
 
   EventRecordID 12586 
 
   Channel Application 
 
   Computer Donatas-TOSH 
 
   Security 
 

- EventData 

   MySQLWorkbench.exe 
   5.2.37.8576 
   4ef3ccea 
   aticfx32.dll 
   8.17.10.1047 
   4cabd6fc 
   c0000005 
   00025861 
   1028 
   01ccf1425d734a77 
   C:\Program Files (x86)\MySQL\MySQL Workbench CE 5.2.37\MySQLWorkbench.exe 
   C:\Windows\system32\aticfx32.dll 
   a7eb1365-5d35-11e1-97a4-b870f4c1418b 

Please let me know if there is any addition info i can provide, and thank you for your help.

Donatas

How to repeat:
Install any version of MySQL (5.0 and up) and start it.
[22 Feb 2012 9:50] Valeriy Kravchuk
Not sure what do you mean by "classic mode"... Had you tried to run Workbench from command line with -swrendering and -log-level=debug3 options?
[22 Feb 2012 10:09] Donatas Kasparavicius
By classic mode i meant changing Windows theme to classic aero mode (read it as a suggestion in one of the other bug reports)

Yes, i have tried running it with those options, and in CMD i get the following:

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

Does this help?

Anything else i can do?
[22 Feb 2012 10:21] Donatas Kasparavicius
One more thing,

in the error file there is reference to aticfx32.dll, which is for ATI video card (?). But i have Intel HD graphics.

Tried googling it, and found that other people with my laptop C660 toshiba were having the same problem with other software.

I already tried reinstalling Intel HD drivers, but this time im going to download driver sweeper and see if there is any ATI drivers for some reason, and remove all the video drivers and install Intel HD drivers.

Dont know if it is the case, but worth a shot.

But please let me know if there might be anything else i might do.
[22 Feb 2012 10:44] Donatas Kasparavicius
It works!

It was Toshiba's fault. As there is an option for C660 to be configured with ATI video card, they include same driver package to both Intel HD and ATI video card laptops. But in the case of Intel HD laptop, having ATI drivers on board affects some software. Not only Workbench, but games and other software is affected by it (by google search)

What i did what reinstall Intel HD drivers again, but this time manually selecting the driver.

Hopefully this could be useful in the future, if anyone else has the same problem.

Thanks,

Thread closed:)
[14 Mar 2012 11:11] Joule Smith
Hello Donatas,

I have the same laptop and the same problem. I have tried to re-install the Toshiba display drivers, but the result is the same. I have the last version of this software downloaded from the Toshiba support web (8.15.10.2189). Firstly I tried to do it with the drivers from the Intel support web, but this software is incompatible with my laptop.

What were the steps you follow to re-install the drivers?. What is the software you used?. And where did you download it?

Thank you in advance,
Regards.

Julio Renedo
[14 Mar 2012 11:22] Donatas Kasparavicius
What i did was reinstall Intel HD drivers again, but this time manually selecting the driver.

I think that everyone who has the same laptop as me can experience the same error on some software, so in order to fix it they would need to download Intel HD driver (http://downloadcenter.intel.com/confirm.aspx?httpDown=http://downloadmirror.intel.com/2084...) and follow these steps: 

Extract the zip somewhere, Location does not matter
Go into Device Manager, (type Device Manager in the windows search bar)
Click Display Adapters and Intel HD Graphics.
Go to the tab labeled "Drivers"
Click "Update Drivers" and "Browse my computer for drivers"
Click "Let me pick from a list of drivers"
Click the Have Disk Button,
Navigate to where your extracted drivers are and go into the directory labeled "Graphics"
Select the file named "igdlh64.INF"
Click on the OK button and then click Next, the drivers should install
After that you need to reboot, and after rebooting your drivers should be updated

Hope this helps:)
[28 Mar 2012 14:07] Joule Smith
Thank you very much Donatas, it runs perfectly.
[28 Mar 2012 14:10] Donatas Kasparavicius
No problem :)

It's just weird, that Toshiba can make such a mistake of installing both, ATI and Intel drivers, and expecting that everything will work fine.