Bug #77895 MySQL Workbench Crashes when Trying to Open Connection

Submitted: 30 Jul 2015 22:30 Modified: 30 Jul 2015 22:39
Reporter: Jay Hough Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:6.3.3.0 build 592 OS:Windows (Windows 10)
Assigned to: CPU Architecture:Any

[30 Jul 2015 22:30] Jay Hough
Description:
I just upgraded to Windows 10 and when I try to connect to any of my instances, the program crashes. Rebooting the machine and uninstalling/reinstalling workbench seems to have no effect. I'm sure it's probably a Windows 10 thing, but I wanted to bring it to your attention.

How to repeat:
1) Install Windows 10.
2) Open MySQL Workbench.
3) Try to connect to any of your DBs.
4) Watch the hilarity ensue.
5) Lather, rinse, repeat.

Suggested fix:
I have no idea.
[30 Jul 2015 22:31] Jay Hough
Here is the stacktrace from the crash...

Exception = System.TypeInitializationException
Message = The type initializer for 'HtmlRenderer.Utils.FontsUtils' threw an exception.
FullText = System.TypeInitializationException: The type initializer for 'HtmlRenderer.Utils.FontsUtils' threw an exception. ---> System.ArgumentException: An item with the same key has already been added.
   at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at HtmlRenderer.Utils.FontsUtils..cctor()
   --- End of inner exception stack trace ---
   at HtmlRenderer.Utils.FontsUtils.IsFontExists(String family)
   at HtmlRenderer.Parse.CssParser.ParseFontFamilyProperty(String propValue)
   at HtmlRenderer.Parse.CssParser.AddProperty(String propName, String propValue, Dictionary`2 properties)
   at HtmlRenderer.Parse.CssParser.ParseCssBlockProperties(String blockSource)
   at HtmlRenderer.Parse.CssParser.ParseCssBlockImp(String className, String blockSource)
   at HtmlRenderer.Parse.CssParser.FeedStyleBlock(CssData cssData, String block, String media)
   at HtmlRenderer.Parse.CssParser.ParseStyleBlocks(CssData cssData, String stylesheet)
   at HtmlRenderer.Parse.CssParser.ParseStyleSheet(CssData cssData, String stylesheet)
   at HtmlRenderer.Utils.CssUtils.get_DefaultCssData()
   at HtmlRenderer.HtmlContainer.SetHtml(String htmlSource, CssData baseCssData)
   at HtmlRenderer.HtmlPanel.set_Text(String value)
   at MySQL.Forms.ViewEventTarget.HandleMouseClick(Object sender, MouseEventArgs e)
   at System.Windows.Forms.Control.OnMouseClick(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
[30 Jul 2015 22:39] Jay Hough
Sorry. I found the duplicate bug with the corrected DLL.

http://bugs.mysql.com/bug.php?id=75344

That solved the problem. This can be closed.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.039 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.