Bug #61429 MySQL Workbench crashes upon startup attempting to use an inappropriate library.
Submitted: 7 Jun 2011 0:59 Modified: 10 Jul 2011 17:36
Reporter: Richard Quadling Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:5.2.34.7780 OS:Windows (7 Home Premium x64)
Assigned to: CPU Architecture:Any

[7 Jun 2011 0:59] Richard Quadling
Description:
Hello.

I've just installed MySQL Workbench on my new Windows 7 Home Premium x64 laptop.

When it starts up, I get the loading/splash screen and then a crash dialogue from Windows.

The dialogue contains the following information :

Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	MySQLWorkbench.exe
  Application Version:	5.2.34.7780
  Application Timestamp:	4ddbbfe9
  Fault Module Name:	aticfx32.dll
  Fault Module Version:	8.17.10.1047
  Fault Module Timestamp:	4cabd6fc
  Exception Code:	c0000005
  Exception Offset:	00025861
  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

What is of particular interest is that the module that the crash is in is what seems to be an ATI display driver.

According to many pages I've found, the response has been to upgrade the video driver.

That would all be fine and dandy, but for one thing.

I don't have an ATI graphics chipset.

I have the following 

C:\Windows\System32\DriverStore\FileRepository\c7107404.inf_amd64_neutral_6e326a4d9244b030\B106242\aticfx32.dll
C:\Windows\System32\DriverStore\FileRepository\ch107404.inf_amd64_neutral_febf39318398b79f\B106242\aticfx32.dll
C:\Windows\SysWOW64\aticfx32.dll

The aticfx32.dll's Product Name is "ATI Technologies Inc. Radeon DirectX 11 Driver". V8.17.10.1047, Dated 05/10/2010 21:55

I've used System Internals Process Explorer to see if this driver is currently loaded. It isn't.

I've run the Windows DirectX 11 installer. No changes to any of the ati files in the SysWOW64 directory.

Any ideas?

Regards,

Richard Quadling. 

How to repeat:
Load MySQL Workbench. Do nothing else. No opportunity to do anything else.
[7 Jun 2011 4:32] Valeriy Kravchuk
Please, check if Workbench will work when started from the command line cmd.exe window with -swrendering option:

MySQLWorkbench.exe -swrendering
[7 Jun 2011 8:51] Richard Quadling
Will try this evening (11 hours time) when I am home.
[7 Jun 2011 19:23] Richard Quadling
I tried the option from the command line ...

[07/06/2011 20:16:40] [C:\Program Files (x86)\MySQL\MySQL Workbench 5.2 CE] [] >MySQLWorkbench.exe -swrendering

But no joy.

Still generates an error and crashes.

Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	MySQLWorkbench.exe
  Application Version:	5.2.34.7780
  Application Timestamp:	4ddbbfe9
  Fault Module Name:	aticfx32.dll
  Fault Module Version:	8.17.10.1047
  Fault Module Timestamp:	4cabd6fc
  Exception Code:	c0000005
  Exception Offset:	00025861
  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

I've looked in the Event log ( not sure why I didn't look there earlier, so if the data here is helpful, I'm sorry for the delay).

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name="Application Error" /> 
  <EventID Qualifiers="0">1000</EventID> 
  <Level>2</Level> 
  <Task>100</Task> 
  <Keywords>0x80000000000000</Keywords> 
  <TimeCreated SystemTime="2011-06-07T19:17:25.000000000Z" /> 
  <EventRecordID>5583</EventRecordID> 
  <Channel>Application</Channel> 
  <Computer>Richard-TOSH</Computer> 
  <Security /> 
  </System>
- <EventData>
  <Data>MySQLWorkbench.exe</Data> 
  <Data>5.2.34.7780</Data> 
  <Data>4ddbbfe9</Data> 
  <Data>aticfx32.dll</Data> 
  <Data>8.17.10.1047</Data> 
  <Data>4cabd6fc</Data> 
  <Data>c0000005</Data> 
  <Data>00025861</Data> 
  <Data>18f0</Data> 
  <Data>01cc25477e4daa2c</Data> 
  <Data>C:\Program Files (x86)\MySQL\MySQL Workbench 5.2 CE\MySQLWorkbench.exe</Data> 
  <Data>C:\Windows\system32\aticfx32.dll</Data> 
  <Data>c6b8846b-913a-11e0-9f5b-b870f44f2557</Data> 
  </EventData>
  </Event>

and

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name=".NET Runtime" /> 
  <EventID Qualifiers="0">1026</EventID> 
  <Level>2</Level> 
  <Task>0</Task> 
  <Keywords>0x80000000000000</Keywords> 
  <TimeCreated SystemTime="2011-06-07T19:17:23.000000000Z" /> 
  <EventRecordID>5582</EventRecordID> 
  <Channel>Application</Channel> 
  <Computer>Richard-TOSH</Computer> 
  <Security /> 
  </System>
- <EventData>
  <Data>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[])</Data> 
  </EventData>
  </Event>
[7 Jun 2011 22:38] MySQL Verification Team
Have you tried a re-install deleting the install directory which remain after the remove process?. Thanks.
[8 Jun 2011 8:43] Richard Quadling
This is the first time I've installed any mysql app on this machine.

I'll certainly uninstall it, delete the directory and reinstall it, but I don't see how that will make any difference.

The app doesn't run. An error is generated within a driver for a video chipset that I don't have. I get the splash screen and that's it. I've not had any chance to do any configuration of the app.

Is there a debug mode/option that I can enable? Something that will at least give a trace of what the app is doing as it heads towards the crash?
[8 Jun 2011 12:49] Alfredo Kojima
Can you try reinstalling the directx drivers, video drivers and/or whatever owns that DLL? Workbench doesn't load that directly, only to generic OpenGL libraries from the system, which in turn will probably load these driver related libraries. So likely something is misconfigured  in your system, although I don't know what 
exactly it could be.
[8 Jun 2011 12:55] Richard Quadling
I reinstalled DirectX 11 - well ran the install and it told me nothing needed updating.

The laptop uses Intel HD drivers. Windows Update says there's nothing to worry about there.

I'm at a loss as to why the ATI drivers are even present. Unless they are supplied by some other app.

I'll look again this evening (when at home).
[10 Jul 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".