Bug #77323 When trying to open a model Workbench crashes on Windows 7 Enterprise
Submitted: 11 Jun 2015 20:01 Modified: 15 Mar 2016 16:32
Reporter: Jason Crincoli Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench Severity:S5 (Performance)
Version:6.3.4 OS:Windows (Microsoft Windows 7 Enterprise Service Pack 1)
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[11 Jun 2015 20:01] Jason Crincoli
Description:
15:41:33 [ERR][      Workbench]: Console redirection failed.
15:41:33 [INF][      WBContext]: Parsing application arguments.
15:41:33 [INF][      WBContext]:     C:\Program Files\MySQL\MySQL Workbench 6.3 CE\MySQLWorkbench.exe
15:41:33 [INF][      Workbench]: Starting up Workbench
15:41:33 [INF][      Workbench]: Current environment:
	Command line: "C:\Program Files\MySQL\MySQL Workbench 6.3 CE\MySQLWorkbench.exe" 
	CurrentDirectory: C:\Program Files\MySQL\MySQL Workbench 6.3 CE
	HasShutdownStarted: False
	OSVersion: Microsoft Windows NT 6.1.7601 Service Pack 1
	SystemDirectory: C:\Windows\system32
	TickCount: 529610602
	UserInteractive: True
	Version: 4.0.30319.34209
	WorkingSet: 33251328
15:41:33 [INF][      Workbench]: Environment variables:
	COMPUTERNAME = MYAROSHENKO3020
	USERPROFILE = C:\Users\mariay
	HOMEPATH = \Users\mariay
	LOCALAPPDATA = C:\Users\mariay\AppData\Local
	PSModulePath = C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
	PROCESSOR_ARCHITECTURE = AMD64
	Path = C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\
	CommonProgramFiles(x86) = C:\Program Files (x86)\Common Files
	ProgramFiles(x86) = C:\Program Files (x86)
	PROCESSOR_LEVEL = 6
	VS120COMNTOOLS = C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools\
	LOGONSERVER = \\FLMDC1
	PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
	HOMEDRIVE = C:
	SystemRoot = C:\Windows
	SESSIONNAME = Console
	ALLUSERSPROFILE = C:\ProgramData
	PUBLIC = C:\Users\Public
	FP_NO_HOST_CHECK = NO
	APPDATA = C:\Users\mariay\AppData\Roaming
	PROCESSOR_REVISION = 3c03
	USERNAME = mariay
	CommonProgramW6432 = C:\Program Files\Common Files
	CommonProgramFiles = C:\Program Files\Common Files
	OS = Windows_NT
	PROCESSOR_IDENTIFIER = Intel64 Family 6 Model 60 Stepping 3, GenuineIntel
	ComSpec = C:\Windows\system32\cmd.exe
	SystemDrive = C:
	TEMP = C:\Users\mariay\AppData\Local\Temp
	VS110COMNTOOLS = C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\Tools\
	ProgramFiles = C:\Program Files
	NUMBER_OF_PROCESSORS = 4
	TMP = C:\Users\mariay\AppData\Local\Temp
	ProgramData = C:\ProgramData
	ProgramW6432 = C:\Program Files
	windir = C:\Windows
	USERDOMAIN = BURRELLES
	USERDNSDOMAIN = BURRELLES.COM
15:41:33 [INF][      Workbench]: Current version given by meta info is: 6.3.3
15:41:33 [INF][      Workbench]: Setting PATH to: C:\Windows\system32;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\
15:41:33 [INF][ mforms managed]: Initializing mforms wrapper
15:41:33 [INF][   WBContext UI]: Initializing workbench context UI with these values:
	base dir: C:\Program Files\MySQL\MySQL Workbench 6.3 CE
	plugin path: C:\Program Files\MySQL\MySQL Workbench 6.3 CE
	struct path: 
	module path: C:\Program Files\MySQL\MySQL Workbench 6.3 CE/modules
	library path: C:\Program Files\MySQL\MySQL Workbench 6.3 CE
	user data dir: C:\Users\mariay\AppData\Roaming\MySQL\Workbench
	open at start: 
	open type: 
	run at startup: 
	run type: 
	Force SW rendering: No
	Force OpenGL: No
	quit when done: No
15:41:33 [INF][      WBContext]: WbContext::init
15:41:34 [INF][            grt]: Scanning module directory C:\Users\mariay\AppData\Roaming\MySQL\Workbench\modules.	
15:41:34 [INF][            grt]: Scanning module directory ..	
15:41:34 [INF][            grt]: Scanning module directory C:\Program Files\MySQL\MySQL Workbench 6.3 CE/modules.	
15:41:34 [INF][            WBA]: Looking for extension modules for WBA...
15:41:34 [INF][            WBA]: 0 extension modules found
15:41:34 [WRN][            grt]: C:\Program Files\MySQL\MySQL Workbench 6.3 CE\data/table_templates.xml:21: link 'com.mysql.rdbms.mysql.datatype.timestamp' <object db.SimpleDatatype> key=simpleType could not be resolved
15:41:34 [WRN][            grt]: C:\Program Files\MySQL\MySQL Workbench 6.3 CE\data/table_templates.xml:106: link 'com.mysql.rdbms.mysql.datatype.varchar' <object db.SimpleDatatype> key=simpleType could not be resolved
15:41:34 [WRN][            grt]: C:\Program Files\MySQL\MySQL Workbench 6.3 CE\data/table_templates.xml:229: link 'com.mysql.rdbms.mysql.datatype.int' <object db.SimpleDatatype> key=simpleType could not be resolved
15:41:34 [INF][            grt]: Scanning module directory C:\Program Files\MySQL\MySQL Workbench 6.3 CE.	
15:41:34 [WRN][            grt]: C:\Users\mariay\AppData\Roaming\MySQL\Workbench\connections.xml:25: link '{B50B58B3-5BF6-44B7-B3DC-68F11E15F698}' <object GrtObject> key=owner could not be resolved
15:41:34 [INF][      WBContext]: System info:
 	MySQL Workbench Community (GPL) for Windows version 6.3.3  revision 0 build 592 (64 bit)
	Configuration Directory: C:\Users\mariay\AppData\Roaming\MySQL\Workbench
	Data Directory: C:\Program Files\MySQL\MySQL Workbench 6.3 CE
	Cairo Version: 1.10.2
	OS: Microsoft Windows 7 Enterprise Service Pack 1
	CPU: 4x Intel(R) Core(TM) i5-4590 CPU @ 3.30GHz, 3.9 GiB RAM
	Active video adapter Intel(R) HD Graphics 4600
	Installed video RAM: 1024 MB
	Current video mode: 1280 x 1024 x 4294967296 colors
	Used bit depth: 32
	Driver version: 10.18.14.4170
	Installed display drivers: igdumdim64.dll,igd10iumd64.dll,igd10iumd64.dll,igdumdim32,igd10iumd32,igd10iumd32
	Current user language: English (United States)

15:41:34 [INF][    WQE backend]: Found auto-save workspace C:\Users\mariay\AppData\Roaming\MySQL\Workbench\sql_workspaces\Local_instance_MySQL57-1.autosave
15:41:34 [INF][      Workbench]: UI is up
15:41:35 [INF][      Workbench]: Running the application

How to repeat:
Going to open a model
[11 Jun 2015 23:05] MySQL Verification Team
Please provide the model file project (private if you wish). Thanks.
[12 Jun 2015 14:32] Jason Crincoli
In response to your email, When I click on Open model the workbench immediately crashes the box to choose the model from never appears.  As I don't know the file type that models, I am unable to provide you with any attachments.
[15 Jun 2015 5:42] MySQL Verification Team
Model files will have extension of .mwb, so if you have model "Sakila" then model file will be named "Sakila.mwb". Please locate the model file and provide us(you can make it private after uploading to the bug report) to repeat the issue at our end. 
Also, by default recently used models are listed on the WB start up page which also shows path to the model file.

Thanks,
Umesh
[15 Jun 2015 6:57] Mike Lischke
Looks like this issue is not related to opening a specific model but to open any model. When the open dialog already crashs WB then something really weird is happening.

Jason, can you run WB from command line window but add a parameter to the command, e.g:

MySQLWorkbench.exe -log-level=debug2

This will enable more verbose logging. Then when WB is running open the log folder (via Help -> Locate Log Files. This is to ease finding the current log file. Now try to open a model file and when WB crashs, before you run it the next time go the log folder and check your wb.log file. It should contain a lot more information now. Please attach this logfile here (make it private).

Thanks.
[16 Jun 2015 0:20] MySQL Verification Team
Please try version 6.3.4. Thanks.
[27 Aug 2015 16:29] Joao Cesar Pereira
The similar bug is going with me, but I'm using Windows 10.

Workbench shows the follow message:

"The type initilizer for 'HtmlRenderer.Utils.FontsUtils' threw an exception

We are sorry for the inconvenience but an unexpected exception has been raised by one of the MySQL Workbench modules. In order to fix this issue we would kindly ask you to file a bug report. You can do that by pressing the [Report Bug] button below. 

"

I just try to open a connection with root.
[28 Aug 2015 3:18] Michael Brown
I too experience this error 'The type initializer for HtmlRenderer.Utils.FontsUtils threw an exception.' on Windows 10. App is unusable.
[15 Feb 2016 16:32] Mike Lischke
This error comes up when something with the fonts is not ok (e.g. "Arial Regular" could not be found). We have added an extra check, but of course WB cannot fix font problems. Anyway, see if the latest version (6.3.6) works better for you.
[16 Mar 2016 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".