Bug #75280 Workbench instantly crashes on start
Submitted: 21 Dec 2014 2:12 Modified: 16 Jul 2015 23:47
Reporter: Martijn Saly Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:6.2.4.12437 OS:Windows (7 x64)
Assigned to: CPU Architecture:Any
Tags: crash

[21 Dec 2014 2:12] Martijn Saly
Description:
When I start the app, it crashes immediately. End of story. I can't really describe much more than that, because that's literally it.

The crash dialog presents this information under "problem details":

Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	MySQLWorkbench.exe
  Application Version:	6.2.4.12437
  Application Timestamp:	5462a5c4
  Fault Module Name:	KERNELBASE.dll
  Fault Module Version:	6.1.7601.18409
  Fault Module Timestamp:	5315a05a
  Exception Code:	e0434352
  Exception Offset:	000000000000940d
  OS Version:	6.1.7601.2.1.0.256.1
  Locale ID:	1043
  Additional Information 1:	7878
  Additional Information 2:	787854380ac502069a277b7321ff9e3f
  Additional Information 3:	f164
  Additional Information 4:	f1647da63a94074f80c2815e81e9a4dd

How to repeat:
Start it up. 100% reproducible.
[23 Dec 2014 9:53] MySQL Verification Team
Most likely duplicate of Bug #62065, please see Bug #62065.

Thanks,
Umesh
[24 Jan 2015 1: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".
[25 Jan 2015 4:11] Martijn Saly
I wasn't asked for feedback, so why hint on closing it when none is given?

Need more info? --> Just ask!
[10 Feb 2015 15:52] MySQL Verification Team
Your install was done on a Windows fresh install machine?. Thanks.
[12 Feb 2015 9:23] Martijn Saly
It wasn't on a fresh Windows install, no. I'm sure it'll work fine on a fresh install.

In fact, I've discovered something odd. I've installed it on my USB stick as part of PortableApps.com (this may be relevant, my apologies for forgetting to mention this), and on my work machine the program works absolutely fine, but back home it does the instant-crash-on-startup every time.

I'm sure there are some differences between the two boxes, but safe to say neither of them have anything "weird" going on, afaik. If there's anything at all that might be relevant, I'll look it up, but I'll need to know what sort of things I should look up and post back.
[16 Feb 2015 17:33] MySQL Verification Team
Are you able to compare both machines (the one starts and the one fails to start) which Microsoft .NET Framework versions are installed on both?. Thanks
[17 Mar 2015 1: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".
[30 Mar 2015 20:52] Martijn Saly
Still happening with 6.2.5.

Seriously, tell me what information I need to provide, and I will. Closing/suspending this ticket because I don't is not nice, because I have no idea what more you need from me.
[30 Mar 2015 20:54] Martijn Saly
On the computer where it's crashing it's got .NET 4.5.2 installed. I have every reason to believe the same version is on the computer where it does work, but I'll have to check get from 99% sure to 100% sure.
[30 Mar 2015 20:55] Martijn Saly
(I guess I didn't see that last comment from Miguel, sorry about that)
[30 Mar 2015 21:04] Martijn Saly
Well, I thought I'd try a local installation. Just for kicks. The installer mentions some prerequisites to be installed. The ZIP package has absolutely no mention of this anywhere - which is of course why I didn't bother looking for any additional requirements.

I had to install this thing:
http://www.microsoft.com/en-us/download/confirmation.aspx?id=40784

After I did, it worked fine.

Also, why does it need C++ libraries when it's built on .NET? I'm no hardcore programmer, but I know for a fact that .NET is completely self-contained. A .NET application should not and cannot require native libraries of any kind. And from a cross-platform toy like mysql, I certainly would expect Microsoft's libraries to be required for anything.

Very strange, this.

So it still needs some sort of fix, although the "fix" may just be a refactoring of some kind. Or perhaps, just as a start, update the download page with a big fat message about prerequisites.
[30 Mar 2015 21:05] Martijn Saly
Also, would be nice if the app could tell the user "hey you're missing this library", i stead of a hard crash with no usable information whatsoever.

Plenty of options to prevent this problem from surfacing in the future.
[16 Jun 2015 23:47] MySQL Verification Team
Please try version 6.3.4. Thanks.
[17 Jul 2015 1: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".