Bug #60444 mysql-workbench-gpl-5.2.33-win32 crashes when launching
Submitted: 12 Mar 2011 20:22 Modified: 14 Mar 2011 20:36
Reporter: Don Cook Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:5.2.33 OS:Windows (Pro x64 2003 SP2)
Assigned to: CPU Architecture:Any
Tags: workbench crash 5.2.33 system.dllnotfoundexception

[12 Mar 2011 20:22] Don Cook
Description:
Hoping for a fix to #59965, I did a clean install of 5.2.33 using the msi.  When launching Workbench it crashes while loading with the splash screen still displayed. I get a windows error reporting dialog that shows an error type of system.dllnotfoundexception.  

The application event log shows these two errors every time I launch:

First: 
Event Type:	Error
Event Source:	.NET Runtime 4.0 Error Reporting
Event Category:	None
Event ID:	5000
Date:		3/12/2011
Time:		2:12:38 PM
User:		N/A
Computer:	XXXX
Description:
EventType clr20r3, P1 mysqlworkbench.exe, P2 5.2.33.7506, P3 4d795bbb, P4 base.windows, P5 1.0.0.0, P6 4d79587d, P7 f, P8 9, P9 system.dllnotfoundexception, P10 NIL.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 63 00 6c 00 72 00 32 00   c.l.r.2.
0008: 30 00 72 00 33 00 2c 00   0.r.3.,.
0010: 20 00 6d 00 79 00 73 00    .m.y.s.
0018: 71 00 6c 00 77 00 6f 00   q.l.w.o.
0020: 72 00 6b 00 62 00 65 00   r.k.b.e.
0028: 6e 00 63 00 68 00 2e 00   n.c.h...
0030: 65 00 78 00 65 00 2c 00   e.x.e.,.
0038: 20 00 35 00 2e 00 32 00    .5...2.
0040: 2e 00 33 00 33 00 2e 00   ..3.3...
0048: 37 00 35 00 30 00 36 00   7.5.0.6.
0050: 2c 00 20 00 34 00 64 00   ,. .4.d.
0058: 37 00 39 00 35 00 62 00   7.9.5.b.
0060: 62 00 62 00 2c 00 20 00   b.b.,. .
0068: 62 00 61 00 73 00 65 00   b.a.s.e.
0070: 2e 00 77 00 69 00 6e 00   ..w.i.n.
0078: 64 00 6f 00 77 00 73 00   d.o.w.s.
0080: 2c 00 20 00 31 00 2e 00   ,. .1...
0088: 30 00 2e 00 30 00 2e 00   0...0...
0090: 30 00 2c 00 20 00 34 00   0.,. .4.
0098: 64 00 37 00 39 00 35 00   d.7.9.5.
00a0: 38 00 37 00 64 00 2c 00   8.7.d.,.
00a8: 20 00 66 00 2c 00 20 00    .f.,. .
00b0: 39 00 2c 00 20 00 73 00   9.,. .s.
00b8: 79 00 73 00 74 00 65 00   y.s.t.e.
00c0: 6d 00 2e 00 64 00 6c 00   m...d.l.
00c8: 6c 00 6e 00 6f 00 74 00   l.n.o.t.
00d0: 66 00 6f 00 75 00 6e 00   f.o.u.n.
00d8: 64 00 65 00 78 00 63 00   d.e.x.c.
00e0: 65 00 70 00 74 00 69 00   e.p.t.i.
00e8: 6f 00 6e 00 20 00 4e 00   o.n. .N.
00f0: 49 00 4c 00 0d 00 0a 00   I.L.....

Then:
Event Type:	Error
Event Source:	.NET Runtime
Event Category:	None
Event ID:	1026
Date:		3/12/2011
Time:		2:12:40 PM
User:		N/A
Computer:	XXXX
Description:
Application: MySQLWorkbench.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.DllNotFoundException
Stack:
   at MySQL.Utilities.SysUtils.Win32.DwmIsCompositionEnabled()
   at MySQL.Utilities.ControlUtilities.IsCompositionEnabled()
   at MySQL.GUI.Workbench.MainForm.AdjustGlassFrame(Int32)
   at MySQL.GUI.Workbench.MainForm.DockDocument(MySQL.Controls.ITabDocument, Boolean, Boolean)
   at MySQL.GUI.Workbench.MainForm.ApplicationCommand(MySQL.Forms.AppCommand, MySQL.Forms.AppViewImpl, System.String)
   at MySQL.Forms.AppImpl.app_command_wrapper(std.basic_string<char,std::char_traits<char>,std::allocator<char> >*, MySQL.Forms.AppCommand, mforms.AppView*, std.basic_string<char,std::char_traits<char>,std::allocator<char> >*)
   at MySQL.Forms.AppImpl.dock_view(mforms.App*, mforms.AppView*, std.basic_string<char,std::char_traits<char>,std::allocator<char> >*)
   at MySQL.MCallback3<void\,mforms::App \*\,mforms::AppView \*\,std::basic_string<char\,std::char_traits<char>\,std::allocator<char> > const \&>.cpp_callback(mforms.App*, mforms.AppView*, std.basic_string<char,std::char_traits<char>,std::allocator<char> >*)
   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[])

How to repeat:
Not sure about your test systems but mine has Windows XP 64 2003 SP2, Office 2003, MySQL 5.5, .Net Framework 2.0 SP2, .Net Framework 3.0 SP3, .Net Framework 3.5 SP1, .Net Framework 4 Client Profile, Java 6 Update 24 and Update 24 (64-bit), Java SE DK 6 Update 24 (64-bit)....
[14 Mar 2011 10:01] Emil Steen
Having the same problem with Windows Server 2003 R2 SP2 (32bit). 

Got the same two errors in the exception log.
[14 Mar 2011 10:11] Emil Steen
Looks like a duplicate of Bug #60419.
[14 Mar 2011 14:18] Don Cook
You may be right, the trace logs appear the same. I didn't find it in my searches, which I did before I dug up the error log details. Sorry for the duplication.
[14 Mar 2011 20:17] Rafael Antonio Bedoy Torres
This bug is duplicated of http://bugs.mysql.com/bug.php?id=60412
[14 Mar 2011 20:36] Don Cook
It does appear to duplicate 60412, and is still a problem in 5.2.33.