Bug #62172 Workbench crashes while adding a new connection in Mac OS X Lion (10.7)
Submitted: 15 Aug 2011 15:46 Modified: 8 Feb 2012 21:59
Reporter: Jamie Peloquin Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S1 (Critical)
Version:5.2.34 OS:MacOS (10.7 (Lion))
Assigned to: CPU Architecture:Any
Tags: Lion, Mac OS X, workbench

[15 Aug 2011 15:46] Jamie Peloquin
Description:
I am no longer able to create new connections, specifically when using SSL keys in place of SSH user passwords (for installs @ Amazon EC2 for instance) or when accessing the keychain to save a password.  Workbench will crash when tring to save this connections - for either SQL Editor or Server Manager.

**Unable tp paste crash log into your form built into Workbench (that seems problematic)

How to repeat:
Open Workbench
Create New Connection over SSH Tunnel
Assign an SSL key as the password for the SSH connection
Test or Apply connection
[15 Aug 2011 16:23] Jamie Peloquin
Crash Log 2011-08-15

Attachment: MySQLWorkbenchCrashLog-20110815.txt (text/plain), 60.86 KiB.

[24 Aug 2011 13:50] Johannes Taxacher
I was able to reproduce a similar crash (crashing at the same point) in a slightly different way:

- click the [...] button in the new-connection dialog to browse for a keyfile (no browse-dialog is coming)
- click into the textfield for entering the keye manually, start typing -> crash

reproduced on my 10.7.1 machine
[30 Dec 2011 14:10] Dan Arnfield
I have the same problem on OS X 10.7.2.  Clicking the [...] button doesn't open the dialog box, and once I've done that then clicking OK or Cancel will cause workbench to crash.

A workaround for those using an ssh key in the default location (~/.ssh/id_rsa) is simply to leave the password field blank and click OK.  Workbench will prompt you for a password, and again leave it blank and click OK.  When the password fails, Workbench will automatically try the default ssh key and connect successfully.
[30 Dec 2011 14:13] Dan Arnfield
I forgot to add that I'm using the latest version of Workbench, 5.2.37.
[8 Feb 2012 21:59] Philip Olson
Fixed as of 5.2.38:

On Mac OS X 10.7+, the "Open File" panel would attempt to show
hidden files, which would fail and cause no files to be shown.
Workbench no longer attempts to display hidden files on Mac OS X.