Bug #65864 MySQL Workbench crash on startup since 5.2.36, winXP
Submitted: 10 Jul 2012 15:08 Modified: 5 Aug 2012 13:23
Reporter: [ name withheld ] Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:5.2.36 > OS:Windows (XP SP3 pro)
Assigned to: CPU Architecture:Any

[10 Jul 2012 15:08] [ name withheld ]
Description:
Hi,

I have described the problem here :
http://bugs.mysql.com/bug.php?id=63909

but as the problem remains, and as I was suggested, here I open a new bug report.

So, crash on startup, from 5.2.36, and here is the last report I have from .NET runtime, attemting to run a MySQL Workbench 5.2.40 :

Error reporting :

Type de l'événement :	Erreur
Source de l'événement :	.NET Runtime 4.0 Error Reporting
Catégorie de l'événement :	Aucun
ID de l'événement :	1000
Date :		10/07/2012
Heure :		16:51:12
Utilisateur :	N/A
Ordinateur :	GANDALF2
Description :
Faulting application mysqlworkbench.exe, version 5.2.40.8790, stamp 4fa2f938, faulting module msvcr100.dll, version 10.0.40219.325, stamp 4df2be1e, debug? 0, fault address 0x0007d0ac.

Pour plus d'informations, consultez le centre Aide et support à l'adresse http://go.microsoft.com/fwlink/events.asp.
Données :
0000: 41 00 70 00 70 00 6c 00   A.p.p.l.
0008: 69 00 63 00 61 00 74 00   i.c.a.t.
0010: 69 00 6f 00 6e 00 20 00   i.o.n. .
0018: 46 00 61 00 69 00 6c 00   F.a.i.l.
0020: 75 00 72 00 65 00 20 00   u.r.e. .
0028: 20 00 6d 00 79 00 73 00    .m.y.s.
0030: 71 00 6c 00 77 00 6f 00   q.l.w.o.
0038: 72 00 6b 00 62 00 65 00   r.k.b.e.
0040: 6e 00 63 00 68 00 2e 00   n.c.h...
0048: 65 00 78 00 65 00 20 00   e.x.e. .
0050: 35 00 2e 00 32 00 2e 00   5...2...
0058: 34 00 30 00 2e 00 38 00   4.0...8.
0060: 37 00 39 00 30 00 20 00   7.9.0. .
0068: 34 00 66 00 61 00 32 00   4.f.a.2.
0070: 66 00 39 00 33 00 38 00   f.9.3.8.
0078: 20 00 69 00 6e 00 20 00    .i.n. .
0080: 6d 00 73 00 76 00 63 00   m.s.v.c.
0088: 72 00 31 00 30 00 30 00   r.1.0.0.
0090: 2e 00 64 00 6c 00 6c 00   ..d.l.l.
0098: 20 00 31 00 30 00 2e 00    .1.0...
00a0: 30 00 2e 00 34 00 30 00   0...4.0.
00a8: 32 00 31 00 39 00 2e 00   2.1.9...
00b0: 33 00 32 00 35 00 20 00   3.2.5. .
00b8: 34 00 64 00 66 00 32 00   4.d.f.2.
00c0: 62 00 65 00 31 00 65 00   b.e.1.e.
00c8: 20 00 66 00 44 00 65 00    .f.D.e.
00d0: 62 00 75 00 67 00 20 00   b.u.g. .
00d8: 30 00 20 00 61 00 74 00   0. .a.t.
00e0: 20 00 6f 00 66 00 66 00    .o.f.f.
00e8: 73 00 65 00 74 00 20 00   s.e.t. .
00f0: 30 00 30 00 30 00 37 00   0.0.0.7.
00f8: 64 00 30 00 61 00 63 00   d.0.a.c.
0100: 0d 00 0a 00               ....    

Followed by :

Type de l'événement :	Erreur
Source de l'événement :	.NET Runtime
Catégorie de l'événement :	Aucun
ID de l'événement :	1026
Date :		10/07/2012
Heure :		16:55:22
Utilisateur :	N/A
Ordinateur :	GANDALF2
Description :
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>.base.Logger.log(LogLevel, SByte*, SByte*, ...)
   at MySQL.Workbench.Logger.LogInfo(System.String, System.String)
   at MySQL.GUI.Workbench.Program.PrintInitialLogInfo()
   at MySQL.GUI.Workbench.Program.Main(System.String[])

Pour plus d'informations, consultez le centre Aide et support à l'adresse http://go.microsoft.com/fwlink/events.asp.

How to repeat:
I don't know. I tried a fresh install on another XP Pro SP3, everything worked just fine. I think something in my general congig is messed up... At least, I want to know how can I proprely clean up this (I tried to uninstall MySQL Woerkbench, to repair the .NET and VC elements, to clean the registry, to backup/erase every MySQL Workbench I found, etc.)
[10 Jul 2012 16:27] Valeriy Kravchuk
Please, make sure you had downloaded and successfully installed both prerequisites listed at http://dev.mysql.com/resources/wb52_prerequisites.html:

http://www.microsoft.com/download/en/details.aspx?id=17113
http://www.microsoft.com/download/en/details.aspx?id=5555

then just try to remove and install again MySQL Workbench 5.2.40. I wonder if this will solve the problem.
[11 Jul 2012 14:49] [ name withheld ]
Hi,

Well, that's what I did, in fact I had already these installed, but I ran the installers to be sure, so they performed a "repair". Anyway, the MySQL WB installer didn't tell me they were not present.

Should I uninstall/re-install VC++ redist 2010 and .NET runtime 4 ? How can I do that properly ? I think .NET runtime is a bit tricky to uninstall, and I have some older .NET already installed for other software...

Thanks for the help.
[12 Jul 2012 15:30] Alfredo Kojima
Is the VC++ runtimes you have installed the 32bit version one?
[17 Jul 2012 14:57] [ name withheld ]
Yes, 32 bits.
[25 Jul 2012 15:09] Valeriy Kravchuk
Please, check if the same problem still happens with a recent version, 5.2.41.
[30 Jul 2012 7:40] [ name withheld ]
Hurray, it works with 5.2.41!!!

Thanks. What was it ?
[5 Aug 2012 13:23] Valeriy Kravchuk
Not repeatable with 5.2.41 any more. As for what it was, I am not sure... but on my XP SP3 Workbench uninstalled something related to .Net while installing 5.1.41. Maybe this happened in your case also and fixed the problem.