Bug #62065 MySql Workbench crashes on start
Submitted: 3 Aug 2011 4:08 Modified: 9 Sep 2011 17:44
Reporter: Craig Roberts Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:5.2.34.7780 OS:Windows (7 professional x64)
Assigned to: CPU Architecture:Any

[3 Aug 2011 4:08] Craig Roberts
Description:
Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	MySQLWorkbench.exe
  Application Version:	5.2.34.7780
  Application Timestamp:	4ddbbfe9
  Fault Module Name:	KERNELBASE.dll
  Fault Module Version:	6.1.7601.17625
  Fault Module Timestamp:	4de8781e
  Exception Code:	e0434352
  Exception Offset:	0000b9bc
  OS Version:	6.1.7601.2.1.0.256.48
  Locale ID:	4105
  Additional Information 1:	0a9e
  Additional Information 2:	0a9e372d3b4ad19135b953a78882e789
  Additional Information 3:	0a9e
  Additional Information 4:	0a9e372d3b4ad19135b953a78882e789

How to repeat:
install and try to start application
[3 Aug 2011 6:13] Valeriy Kravchuk
Please, try to start it from cmd.exe command line window, with -swrendering option:

MySQLWorkbench.exe -swrendering

I wonder if this will change anything.
[5 Aug 2011 0:02] Craig Roberts
it still crashes

Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	MySQLWorkbench.exe
  Application Version:	5.2.34.7780
  Application Timestamp:	4ddbbfe9
  Fault Module Name:	KERNELBASE.dll
  Fault Module Version:	6.1.7601.17625
  Fault Module Timestamp:	4de8781e
  Exception Code:	e0434352
  Exception Offset:	0000b9bc
  OS Version:	6.1.7601.2.1.0.256.48
  Locale ID:	4105
  Additional Information 1:	0a9e
  Additional Information 2:	0a9e372d3b4ad19135b953a78882e789
  Additional Information 3:	0a9e
  Additional Information 4:	0a9e372d3b4ad19135b953a78882e789
[7 Aug 2011 19:57] David Anderson
stack traces

Attachment: mysqlworkbench_crash.txt (text/plain), 8.37 KiB.

[7 Aug 2011 19:57] David Anderson
Also have the same problem, but on vista x64. I've noticed that no one knows what this is about and thus suggest random solutions (try installing python? wtf?) Of course -swrendering didn't change anything, why would it? Does anyone have any clue how to write software that isn't so ridiculously broken that crashes upon loading? Do you guys even test? Give me the code and I'll fix it.

I ran the .net verifier and it all came back fine.
[19 Aug 2011 1:42] Alfredo Kojima
Thank you for offering help on fixing/tracking this issue. The source code for Workbench may be downloaded from: 
http://dev.mysql.com/downloads/workbench/5.2.html 
(mysql-workbench-gpl-5.2.34-src.zip)

We do appreciate!
[19 Aug 2011 19:50] Alfredo Kojima
Can you try running Windows Update to see if there's soemthing wrong with KERNELBASE.DLL ? I've been searching for similar problems in google and the most common causes seem to be:

- corrupt kernelbase.dll
- bad video drivers
- bad drivers for other devices (like printer)
[24 Aug 2011 14:48] Ars Moriendi
I am having the same problem. I'm not sure when it started, but it's been recently. I believe since I upgraded to .NET 4.

System: Windows 7 Home Premium (SP1) 0 64x - all updates installed, as of 8/24/2011.
Application: MySQL Workbench 5.2 CE
.NET Framework: v4
.Net Verifier: verified

Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	MySQLWorkbench.exe
  Application Version:	5.2.34.7780
  Application Timestamp:	4ddbbfe9
  Fault Module Name:	KERNELBASE.dll
  Fault Module Version:	6.1.7601.17651
  Fault Module Timestamp:	4e211319
  Exception Code:	e0434352
  Exception Offset:	0000b9bc
  OS Version:	6.1.7601.2.1.0.768.3
  Locale ID:	1033
  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

.Net Runtime Error: (8/24/2011 - 9:34:32am)
Application: MySQLWorkbench.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.TypeInitializationException
Stack:
   at MySQL.GUI.Workbench.Program.Main(System.String[])

Application Error: (8/24/2011 - 9:34:34am)
Faulting application name: MySQLWorkbench.exe, version: 5.2.34.7780, time stamp: 0x4ddbbfe9
Faulting module name: KERNELBASE.dll, version: 6.1.7601.17651, time stamp: 0x4e211319
Exception code: 0xe0434352
Fault offset: 0x0000b9bc
Faulting process id: 0x13d0
Faulting application start time: 0x01cc626af08a4c79
Faulting application path: C:\Program Files (x86)\MySQL\MySQL Workbench 5.2 CE\MySQLWorkbench.exe
Faulting module path: C:\windows\syswow64\KERNELBASE.dll
Report Id: 2f05ef11-ce5e-11e0-aa03-4061867510c4

WER file:
Version=1
EventType=APPCRASH
EventTime=129586700742592594
ReportType=2
Consent=1
ReportIdentifier=2f05ef12-ce5e-11e0-aa03-4061867510c4
IntegratorReportIdentifier=2f05ef11-ce5e-11e0-aa03-4061867510c4
WOW64=1
Response.type=4
Sig[0].Name=Application Name
Sig[0].Value=MySQLWorkbench.exe
Sig[1].Name=Application Version
Sig[1].Value=5.2.34.7780
Sig[2].Name=Application Timestamp
Sig[2].Value=4ddbbfe9
Sig[3].Name=Fault Module Name
Sig[3].Value=KERNELBASE.dll
Sig[4].Name=Fault Module Version
Sig[4].Value=6.1.7601.17651
Sig[5].Name=Fault Module Timestamp
Sig[5].Value=4e211319
Sig[6].Name=Exception Code
Sig[6].Value=e0434352
Sig[7].Name=Exception Offset
Sig[7].Value=0000b9bc
DynamicSig[1].Name=OS Version
DynamicSig[1].Value=6.1.7601.2.1.0.768.3
DynamicSig[2].Name=Locale ID
DynamicSig[2].Value=1033
DynamicSig[22].Name=Additional Information 1
DynamicSig[22].Value=0a9e
DynamicSig[23].Name=Additional Information 2
DynamicSig[23].Value=0a9e372d3b4ad19135b953a78882e789
DynamicSig[24].Name=Additional Information 3
DynamicSig[24].Value=0a9e
DynamicSig[25].Name=Additional Information 4
DynamicSig[25].Value=0a9e372d3b4ad19135b953a78882e789
UI[2]=C:\Program Files (x86)\MySQL\MySQL Workbench 5.2 CE\MySQLWorkbench.exe
UI[3]=MySQL Workbench has stopped working
UI[4]=Windows can check online for a solution to the problem.
UI[5]=Check online for a solution and close the program
UI[6]=Check online for a solution later and close the program
UI[7]=Close the program
LoadedModule[0]=C:\Program Files (x86)\MySQL\MySQL Workbench 5.2 CE\MySQLWorkbench.exe
LoadedModule[1]=C:\windows\SysWOW64\ntdll.dll
LoadedModule[2]=C:\windows\SYSTEM32\MSCOREE.DLL
LoadedModule[3]=C:\windows\syswow64\KERNEL32.dll
LoadedModule[4]=C:\windows\syswow64\KERNELBASE.dll
LoadedModule[5]=C:\windows\syswow64\ADVAPI32.dll
LoadedModule[6]=C:\windows\syswow64\msvcrt.dll
LoadedModule[7]=C:\windows\SysWOW64\sechost.dll
LoadedModule[8]=C:\windows\syswow64\RPCRT4.dll
LoadedModule[9]=C:\windows\syswow64\SspiCli.dll
LoadedModule[10]=C:\windows\syswow64\CRYPTBASE.dll
LoadedModule[11]=C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscoreei.dll
LoadedModule[12]=C:\windows\syswow64\SHLWAPI.dll
LoadedModule[13]=C:\windows\syswow64\GDI32.dll
LoadedModule[14]=C:\windows\syswow64\USER32.dll
LoadedModule[15]=C:\windows\syswow64\LPK.dll
LoadedModule[16]=C:\windows\syswow64\USP10.dll
LoadedModule[17]=C:\windows\system32\IMM32.DLL
LoadedModule[18]=C:\windows\syswow64\MSCTF.dll
LoadedModule[19]=C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
LoadedModule[20]=C:\windows\system32\MSVCR100_CLR0400.dll
LoadedModule[21]=C:\windows\assembly\NativeImages_v4.0.30319_32\mscorlib\93e7df09dacd5fef442cc22d28efec83\mscorlib.ni.dll
LoadedModule[22]=C:\windows\syswow64\ole32.dll
LoadedModule[23]=C:\windows\system32\uxtheme.dll
LoadedModule[24]=C:\Windows\Microsoft.NET\Framework\v4.0.30319\nlssorting.dll
LoadedModule[25]=C:\Windows\Microsoft.NET\Framework\v4.0.30319\clrjit.dll
LoadedModule[26]=C:\windows\system32\CRYPTSP.dll
LoadedModule[27]=C:\windows\system32\rsaenh.dll
LoadedModule[28]=C:\windows\system32\RpcRtRemote.dll
LoadedModule[29]=C:\Windows\Microsoft.NET\Framework\v4.0.30319\diasymreader.dll
FriendlyEventName=Stopped working
ConsentKey=APPCRASH
AppName=MySQL Workbench
AppPath=C:\Program Files (x86)\MySQL\MySQL Workbench 5.2 CE\MySQLWorkbench.exe
[31 Aug 2011 0:42] Alfredo Kojima
Someone found out this problem is caused by the wrong MSVC2010 redistributables being installed. 
You need the 32bit/x86 version of the redistributables, not the 64bit, regardless of what OS you're running, since WB is a 32bit app.
[8 Sep 2011 8:46] Richard Heath
Thanks. Had same problem. Reinstalling with x86 version worked for me.
[9 Sep 2011 4:05] Craig Roberts
Microsoft Visual C++ 2010 Redistributable Package (x86)
http://www.microsoft.com/download/en/details.aspx?id=5555

Fixed the problem.
[13 Dec 2011 14:30] Sree Lalgudi
Hi, 

I downloaded the version in the link and the problem was fixed for me as well. 

Thanks a lot, 
Sree
[18 Dec 2011 6:47] vijay Yadav
Thanks for the visual c++ link, after installing workbench worked like charm on windows 7 64 bit machine. 

http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=5555
[11 Jan 2012 13:27] Tapan Trivedi
Thanks. Installing C++ redistributable (32-bit) on win 7 (64-bit) worked for me.
[18 Feb 2013 0:35] Martin Iversen
This is a bit outdated to comment, but I got the same problem on Win 7 sp1.

Had installs of both WB-gpl-5.2.44-win32.msi and WB-gpl-5.2.47-win32.msi crashing.

Reinstalling Net Framework 4 and VC++ redist 2010 x86&x64 didn't help.
(Tried VC++ redist 2012 but that didn't do any good either). 

Tried an old WB-gpl-5.2.34.1-win32.msi and that brought Workbench back.

Martin
[22 Nov 2013 15:59] Sam Luna
I read several forum posts about this with only more questions and seemingly shotgunned suggestions. Thanks, Alfredo for posting the fix installing x86 (32-bit) C++ 2010 runtimes even if on a 64-bit platform. That worked for me, too.
[22 Nov 2013 16:13] Sam Luna
Meant to add:
MySQL Community Server 5.6
MySQL Workbench v5.6.14
Windows Server 2012 x64 running in VMware virtual machine.