Bug #74455 Exception Info: System.AccessViolationException
Submitted: 20 Oct 2014 12:44 Modified: 8 Oct 2015 23:38
Reporter: momy momy Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:6.2.3 OS:Windows (7)
Assigned to: CPU Architecture:Any
Tags: cant launch mysql workbench

[20 Oct 2014 12:44] momy momy
Description:
- <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="2014-10-20T12:29:54.000000000Z" /> 
  <EventRecordID>105417</EventRecordID> 
  <Channel>Application</Channel> 
  <Computer>Momy-PC</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.AccessViolationException Stack: at <Module>.wb.WBContextUI.init(wb.WBContextUI*, wb.WBFrontendCallbacks*, wb.WBOptions*) at <Module>.wb.WBContextUI.init(wb.WBContextUI*, wb.WBFrontendCallbacks*, wb.WBOptions*) at MySQL.GUI.Workbench.Program.Main(System.String[])</Data> 
  </EventData>
  </Event>

How to repeat:
start

Suggested fix:
none
[20 Oct 2014 13:45] MySQL Verification Team
Thank you for the bug report. I couldn't repeat please check if isn't a Data Execution Prevention (DEP) issue. Thanks.
[20 Oct 2014 13:53] momy momy
I'an install successed,and launch it,can,t started,in event viewer,can see the error like this :

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>.wb.WBContextUI.init(wb.WBContextUI*, wb.WBFrontendCallbacks*, wb.WBOptions*)
   at MySQL.Workbench.WbContext.init(MySQL.Workbench.WbFrontendCallbacks, MySQL.Workbench.WbOptions, VoidStrUIFormDelegate)
   at MySQL.GUI.Workbench.Program.Main(System.String[])

I wan't fix it has more month,occurent it by version 6.1,6.2

install .net framework 4.5 recoveried 4.0

I test x86 and x64,all like this
[20 Oct 2014 13:55] momy momy
and the next error is:

Faulting application name: MySQLWorkbench.exe, version: 6.2.3.12312, time stamp: 0x541715c9
Faulting module name: wbprivate.be.dll, version: 0.0.0.0, time stamp: 0x54171371
Exception code: 0xc0000005
Fault offset: 0x002c3570
Faulting process id: 0x11f0
Faulting application start time: 0x01cfec6d55343910
Faulting application path: D:\Program Files (x86)\MySQL\MySQL Workbench 6.2 CE\MySQLWorkbench.exe
Faulting module path: D:\Program Files (x86)\MySQL\MySQL Workbench 6.2 CE\wbprivate.be.dll
Report Id: 9b6542df-5860-11e4-a453-1c7508ee3f4e
[26 Oct 2014 11:48] Terence Hoad
I have the same problem with Workbench v6.2.3 on Windows 7 x64 Home Premium (same AccessViolationException .NET Runtime error messages in Windows Event Viewer).

MS Visual C++ 2013 Redistributable x86 is installed (12.0.21005).

I tried disabling DEP in Windows using 'bcdedit.exe /set {current} nx AlwaysOff' at the command line (Unfortunately, trying to exclude MySQLWorkbench.exe only from DEP returns a "You cannot turn off DEP for this program" error).  However, the same .NET Runtime error occurs, and Workbench does not open.
[23 Nov 2014 11:34] Zlatan Kadić
Similar crash here (Workbench 6.4, .NET Framework 4.0), but in Event viewer different message:

Log Name:      Application
Source:        .NET Runtime
Date:          23.11.2014 12:07:31
Event ID:      1026
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Description:
Application: MySQLWorkbench.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileLoadException
Stack:
   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="2014-11-23T11:07:31.000000000Z" />
    <EventRecordID>59157</EventRecordID>
    <Channel>Application</Channel>
    <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.FileLoadException
Stack:
   at MySQL.GUI.Workbench.Program.Main(System.String[])
</Data>
  </EventData>
</Event>

proc: x86, os: Windows 7
[8 Sep 2015 23:38] MySQL Verification Team
Please try version 6.3.4. Thanks.
[9 Oct 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".