Bug #96297 MySQL Workbench fails to start
Submitted: 23 Jul 2019 17:31 Modified: 25 Nov 2019 14:39
Reporter: Alexis Bunnetat Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:8.0.17.0 OS:Windows (10 pro)
Assigned to: CPU Architecture:x86 (amd fx-6300)

[23 Jul 2019 17:31] Alexis Bunnetat
Description:
workbench installs ok, but doesn't start. 
I did a fresh install of windows installed the latest version of workbench, it installs but when trying to run nothing happens, windows event logs below show 2 error messages. I checked the prerequisites and they are both installed, I tried to install them again, and got the message that I could not as they were already installed.

EVENT WINDOWS ERROR REPORTING:
Log Name:      Application
Source:        Windows Error Reporting
Date:          23/07/2019 17:59:54
Event ID:      1001
Task Category: None
Level:         Information
Keywords:      Classic
User:          N/A
Computer:      DESKTOP-1MPFM4A
Description:
Fault bucket 1203927556746538980, type 4
Event Name: APPCRASH
Response: Not available
Cab Id: 0

Problem signature:
P1: MySQLWorkbench.exe
P2: 8.0.17.0
P3: 5d110df2
P4: KERNELBASE.dll
P5: 10.0.18362.239
P6: b6f4b059
P7: e0434352
P8: 000000000003a839
P9: 
P10: 

Attached files:
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERA998.tmp.dmp
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERAA26.tmp.WERInternalMetadata.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERAA46.tmp.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERAA46.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERAA95.tmp.txt

These files may be available here:
\\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_MySQLWorkbench.e_a069ef9189e0cd2871394178f55e8920da6d9a2c_47d13554_d8da4dd4-0dca-4ab2-b8fe-e94b0540633a

Analysis symbol: 
Rechecking for solution: 0
Report Id: b5c28dc4-580f-4d52-80d6-b5a7ea02f06a
Report Status: 268435456
Hashed bucket: a782431ed051c263a0b535bbf32e6fe4
Cab Guid: 0
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Windows Error Reporting" />
    <EventID Qualifiers="0">1001</EventID>
    <Level>4</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2019-07-23T16:59:54.537524300Z" />
    <EventRecordID>1368</EventRecordID>
    <Channel>Application</Channel>
    <Computer>DESKTOP-1MPFM4A</Computer>
    <Security />
  </System>
  <EventData>
    <Data>1203927556746538980</Data>
    <Data>4</Data>
    <Data>APPCRASH</Data>
    <Data>Not available</Data>
    <Data>0</Data>
    <Data>MySQLWorkbench.exe</Data>
    <Data>8.0.17.0</Data>
    <Data>5d110df2</Data>
    <Data>KERNELBASE.dll</Data>
    <Data>10.0.18362.239</Data>
    <Data>b6f4b059</Data>
    <Data>e0434352</Data>
    <Data>000000000003a839</Data>
    <Data>
    </Data>
    <Data>
    </Data>
    <Data>
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERA998.tmp.dmp
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERAA26.tmp.WERInternalMetadata.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERAA46.tmp.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERAA46.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WERAA95.tmp.txt</Data>
    <Data>\\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_MySQLWorkbench.e_a069ef9189e0cd2871394178f55e8920da6d9a2c_47d13554_d8da4dd4-0dca-4ab2-b8fe-e94b0540633a</Data>
    <Data>
    </Data>
    <Data>0</Data>
    <Data>b5c28dc4-580f-4d52-80d6-b5a7ea02f06a</Data>
    <Data>268435456</Data>
    <Data>a782431ed051c263a0b535bbf32e6fe4</Data>
    <Data>0</Data>
  </EventData>
</Event>

EVENT APPLICATION ERROR:
Log Name:      Application
Source:        Application Error
Date:          23/07/2019 17:59:53
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      DESKTOP-1MPFM4A
Description:
Faulting application name: MySQLWorkbench.exe, version: 8.0.17.0, time stamp: 0x5d110df2
Faulting module name: KERNELBASE.dll, version: 10.0.18362.239, time stamp: 0xb6f4b059
Exception code: 0xe0434352
Fault offset: 0x000000000003a839
Faulting process ID: 0x233c
Faulting application start time: 0x01d541780bed0c4a
Faulting application path: C:\Program Files\MySQL\MySQL Workbench 8.0 CE\MySQLWorkbench.exe
Faulting module path: C:\Windows\System32\KERNELBASE.dll
Report ID: b5c28dc4-580f-4d52-80d6-b5a7ea02f06a
Faulting package full name: 
Faulting package-relative application ID: 
Event Xml:
<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="2019-07-23T16:59:53.131723700Z" />
    <EventRecordID>1367</EventRecordID>
    <Channel>Application</Channel>
    <Computer>DESKTOP-1MPFM4A</Computer>
    <Security />
  </System>
  <EventData>
    <Data>MySQLWorkbench.exe</Data>
    <Data>8.0.17.0</Data>
    <Data>5d110df2</Data>
    <Data>KERNELBASE.dll</Data>
    <Data>10.0.18362.239</Data>
    <Data>b6f4b059</Data>
    <Data>e0434352</Data>
    <Data>000000000003a839</Data>
    <Data>233c</Data>
    <Data>01d541780bed0c4a</Data>
    <Data>C:\Program Files\MySQL\MySQL Workbench 8.0 CE\MySQLWorkbench.exe</Data>
    <Data>C:\Windows\System32\KERNELBASE.dll</Data>
    <Data>b5c28dc4-580f-4d52-80d6-b5a7ea02f06a</Data>
    <Data>
    </Data>
    <Data>
    </Data>
  </EventData>
</Event>

EVENT .NET RUNTIME:
Log Name:      Application
Source:        .NET Runtime
Date:          23/07/2019 17:59:53
Event ID:      1026
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      DESKTOP-1MPFM4A
Description:
Application: MySQLWorkbench.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileNotFoundException
   at MySQL.GUI.Workbench.Program.Main(System.String[])

Event Xml:
<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="2019-07-23T16:59:53.010723900Z" />
    <EventRecordID>1366</EventRecordID>
    <Channel>Application</Channel>
    <Computer>DESKTOP-1MPFM4A</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.IO.FileNotFoundException
   at MySQL.GUI.Workbench.Program.Main(System.String[])

</Data>
  </EventData>
</Event>

How to repeat:
Fresh install of windows 10 pro and fresh install of mysql workbench. start mysql workbench
[23 Jul 2019 19:43] MySQL Verification Team
Thank you for the bug report. Try to re-install with repair option.
[24 Jul 2019 8:36] Alexis Bunnetat
can you explain how to do this, there doesnt seem to be an option, I am using the new web installer
[24 Jul 2019 10:03] MySQL Verification Team
Re-install and repair option

Attachment: 96297.png (image/png, text), 45.42 KiB.

[24 Jul 2019 10:06] MySQL Verification Team
Go to https://dev.mysql.com/downloads/workbench/ and download the Other Downloads and try to re-install selecting the repair option (see screenshot).
[24 Jul 2019 10:17] Alexis Bunnetat
tried the repair option, exactly the same behaviour, workbench doesnt open, and the .net and application error in the event log.
[25 Jul 2019 22:27] MySQL Verification Team
Thank you for the feedback. I don't have idea what's the issue on your environment, just a doubt about the CPU Architecture: x86 (amd fx-6300)it's a compatible 64-bits?
[26 Jul 2019 0:39] Alexis Bunnetat
I had workbench running for over a year on exactly the same pc, no components were changed, using windows 10 pro 64 bit, same setup as it is now.
so you cant tell what the error is from the windows event log?
is there some other output I can give that would help, something error logging produced by workbench?
[25 Oct 2019 14:39] MySQL Verification Team
Please try version 8.0.18. Thanks.
[26 Nov 2019 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".
[13 Feb 2020 16:30] jared call
Same issue on fresh install of 8.0.19.0.

I installed from the web installer, got the same messages, wondered if it were a .NET issue, downloaded and installed .NET 4.7 framework, still same error, rebooted, same error, reinstalled with repair option from the same web installer, same error.
[13 Feb 2020 16:46] jared call
I had originally installed from: https://dev.mysql.com/get/Downloads/MySQLGUITools/mysql-workbench-community-8.0.19-winx64....

I uninstalled that, downloaded and reinstalled from https://dev.mysql.com/get/Downloads/MySQLInstaller/mysql-installer-web-community-8.0.19.0...., selected the x64 features for MySQL Workbench and MySQL shell, then was told that there was a Microsoft Visual C++ 2019 redistributable package (x64) not installed.

clicking the "Execute" button installed the Microsoft Visual C++ 2015-2019 Redistributable (x64) - 14.24.28127 package.

I suspect that mysql-workbench-community-8.0.19-winx64.msi does not check for this dependency.
[13 Feb 2020 16:48] jared call
I forgot to mention -- this works for me now.

I see that this behavior is also documented here: https://bugs.mysql.com/bug.php?id=98420 but wanted to point out that the 2nd installer I tried did find and install the dependency, just the first install package didn't.
[27 Feb 2020 22:55] Ted Hamilton
Had this exact same issue.  First installer didn't notify of any missing packages.