Bug #55412 Workbench 5.2.25 fails to launch on MacBook i5
Submitted: 20 Jul 2010 19:33 Modified: 17 Sep 2010 9:19
Reporter: Michael Kay Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:5.2.25, 5.2.26 OS:MacOS (10.x.y)
Assigned to: Alfredo Kojima CPU Architecture:Any

[20 Jul 2010 19:33] Michael Kay
Description:
This is the recent 2.53 GHz Intel Core i5 15" Macbook Pro. The release version (5.2.25) does not launch. (However, 5.1.18 does)

How to repeat:
Install release build in Applications folder, double-click.
[21 Jul 2010 13:55] Johannes Taxacher
Hi michael,
I assume that you're running most recent system (10.6.4). Could you have a look into the Console Application to see if theres any output when you try to launch Workbench?
thanks in advance
[21 Jul 2010 13:58] Johannes Taxacher
could you also post/upload the most recent crashlog from workbench? should be located under ~/Library/Logs/CrashReporter/
[22 Jul 2010 4:00] Michael Kay
Yes, it's 10.6.4. Here is what Console shows:
7/21/10 11:57:57 PM	MySQLWorkbench[1968]	NSExceptionHandler has recorded the following exception:
NSUncaughtSystemExceptionException -- Uncaught system exception: signal 5
Stack trace:  0x916dd378  0x98fc81fb  0xffffffff  0x95a58509  0x96a558e8  0x96a5585a  0x9815dff2  0xe4388f  0xae5582  0x975ad8  0x13f34  0x11252  0x969ee564  0x97f08530  0x97f06508  0x97f05900  0x97f05811  0x97f0575c  0x97f02561  0xae26  0x2
7/21/10 11:57:57 PM	com.apple.launchd.peruser.501[262]	([0x0-0xef0ef].com.sun.MySQLWorkbench[1968]) Exited: Killed

I'll attach the crash report right now as well.
[22 Jul 2010 4:01] Michael Kay
Workbench Crash Report

Attachment: 7:21:10 11-57-57 PM-MySQLWor.textClipping (application/octet-stream, text), 0 bytes.

[22 Jul 2010 4:02] Michael Kay
Workbench Crash Report

Attachment: MySQLWorkbench_2010-07-20-115830_mikeque.crash (application/octet-stream, text), 41.56 KiB.

[22 Jul 2010 15:15] Johannes Taxacher
Hi Michael,
thanks for the quick feedback, but the crashlog you attached is from a crash in 5.1.18 (according to the log). could you upload another one please? (maybe delete all the existing crashlogs and create a new one with 5.2).
thanks in advance
[23 Jul 2010 15:40] Michael Kay
Johannes,
Sorry about that, got confused between installing the older version as well. I see now that 5.2.25 does not generate a crash report for me. However, here is what the console shows:

7/23/10 11:37:47 AM	MySQLWorkbench[3885]	An uncaught exception was raised
7/23/10 11:37:47 AM	MySQLWorkbench[3885]	*** -[NSTextView setFont:]: nil NSFont given.
7/23/10 11:37:47 AM	MySQLWorkbench[3885]	NSExceptionHandler has recorded the following exception:
NSInvalidArgumentException -- *** -[NSTextView setFont:]: nil NSFont given.
Stack trace:  0x96a55cc9  0x95a58509  0x96a558e8  0x96a5585a  0x9815dff2  0xe4388f  0xae5582  0x975ad8  0x13f34  0x11252  0x969ee564  0x97f08530  0x97f06508  0x97f05900  0x97f05811  0x97f0575c  0x97f02561  0xae26  0x2
7/23/10 11:37:47 AM	MySQLWorkbench[3885]	*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSTextView setFont:]: nil NSFont given.'
*** Call stack at first throw:
(
	0   CoreFoundation                      0x96a55bba __raiseError + 410
	1   libobjc.A.dylib                     0x95a58509 objc_exception_throw + 56
	2   CoreFoundation                      0x96a558e8 +[NSException raise:format:arguments:] + 136
	3   CoreFoundation                      0x96a5585a +[NSException raise:format:] + 58
	4   AppKit                              0x9815dff2 -[NSTextView setFont:] + 254
	5   libmforms.dylib                     0x00e4388f _ZL22textbox_set_monospacedPN6mforms7TextBoxEb + 112
	6   libwbprivate.be.dylib               0x00ae5582 _ZN14GRTShellWindowC2EPN3bec10GRTManagerE + 5142
	7   libwbprivate.be.dylib               0x00975ad8 _ZN2wb11WBContextUI4initEPNS_19WBFrontendCallbacksEPNS_9WBOptionsE + 50
	8   MySQLWorkbench                      0x00013f34 -[WBMainController setupBackend] + 2781
	9   MySQLWorkbench                      0x00011252 -[WBMainController awakeFromNib] + 242
	10  CoreFoundation                      0x969ee564 -[NSSet makeObjectsPerformSelector:] + 196
	11  AppKit                              0x97f08530 -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1566
	12  AppKit                              0x97f06508 loadNib + 257
	13  AppKit                              0x97f05900 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 228
	14  AppKit                              0x97f05811 +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:] + 158
	15  AppKit                              0x97f0575c +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 383
	16  AppKit                              0x97f02561 NSApplicationMain + 434
	17  MySQLWorkbench                      0x0000ae26 start + 54
)
7/23/10 11:37:47 AM	MySQLWorkbench[3885]	NSExceptionHandler has recorded the following exception:
NSUncaughtSystemExceptionException -- Uncaught system exception: signal 5
Stack trace:  0x916dd378  0x98fc81fb  0xffffffff  0x95a58509  0x96a558e8  0x96a5585a  0x9815dff2  0xe4388f  0xae5582  0x975ad8  0x13f34  0x11252  0x969ee564  0x97f08530  0x97f06508  0x97f05900  0x97f05811  0x97f0575c  0x97f02561  0xae26  0x2
7/23/10 11:37:47 AM	com.apple.launchd.peruser.501[262]	([0x0-0x141141].com.sun.MySQLWorkbench[3885]) Exited: Killed
[2 Aug 2010 9:47] Susanne Ebrecht
Did you change fonts in Workbench?

What are the font settings?
Edit -> Preferences -> Appearances?
[16 Aug 2010 14:49] Dion Wickander
I am having the exact same issue.
[16 Aug 2010 14:51] Dion Wickander
Workbench Crash Report

Attachment: mwb_crash_report.txt (text/plain), 23.19 KiB.

[16 Aug 2010 15:23] Michael Kay
@Susanne: Sorry, I just saw your comment to me. I have changed no fonts, plus because I cannot successfully launch WorkBench 5.2.25 , it's impossible. When I launched to older version successfully, I did not change them. 

However, if you suspect a font conflict, I am using Suitcase Fusion. Could that be an issue? FWIW, I tried disabling it with the same results.
[17 Aug 2010 5:56] Daniel Cruz
I have the same problem on an iMac with OS X version 10.4.11 and Workbench version 5.2.26.

The console log looks like this:

dyld: Library not loaded: /System/Library/Frameworks/Python.framework/Versions/2.5/Python
  Referenced from: /Applications/MySQLWorkbench.app/Contents/MacOS/MySQLWorkbench
  Reason: image not found
Aug 17 00:50:00 ordenador-de-daniel-cruz-gonzalez crashdump[335]: MySQLWorkbench crashed
Aug 17 00:50:00 ordenador-de-daniel-cruz-gonzalez crashdump[335]: crash report written to: /Users/daniel/Library/Logs/CrashReporter/MySQLWorkbench.crash.log

The last entry in file MySQLWorkbench.crash.log has the following:

Host Name:      ordenador-de-daniel-cruz-gonzalez
Date/Time:      2010-08-17 00:50:00.389 -0500
OS Version:     10.4.11 (Build 8S2167)
Report Version: 4

Command: MySQLWorkbench
Path:    /Applications/MySQLWorkbench.app/Contents/MacOS/MySQLWorkbench
Parent:  WindowServer [58]

Version: ??? (5.2.26)

PID:    334
Thread: Unknown

Link (dyld) error:

Library not loaded: /System/Library/Frameworks/Python.framework/Versions/2.5/Python
  Referenced from: /Applications/MySQLWorkbench.app/Contents/MacOS/MySQLWorkbench
  Reason: image not found

Hope this helps!
[18 Aug 2010 11:01] Martin Cheatle
I have the same problem, I am also using Suitecase Fusion 3, I have transitioned all my fonts into Suitecase to manage. What is the default font workbench requires to so I can copy back into ~/Library/Fonts folder?
[18 Aug 2010 11:15] Martin Cheatle
console error log for exception

Attachment: error.png (image/png, text), 50.31 KiB.

[19 Aug 2010 19:29] Dion Wickander
This resolved my [NSTextView setFont] issue... I activated the font "Andale Mono" and I am now able to launch Workbench
[19 Aug 2010 19:49] Michael Kay
Thanks Dion!
That solved it for me as well. How did you figure this out?

In retrospect, it sounds to me like Suitcase is tinkering too much with System fonts.
[20 Aug 2010 10:44] Martin Cheatle
I copied "Andale Mono" out of my Suitcase Fusion Library back to ~/Library/Fonts and all is now fine. I don't know why it could not use it from my Suitecase as I had the font enabled.
[28 Aug 2010 10:50] Valeriy Kravchuk
Indeed, if this "Andale Mono" font (used by default) is disabled for whatever reason Workbench just crashes at startup, instead of giving error message about the exact reason of the problem and/or trying to use some other font.
[6 Sep 2010 19:33] Daniel Cruz
Hi again!

I've just downloaded version 5.2.27 and still using my iMac with OS X version 10.4.11.

The application crashed again with the following message in the Console:

===== lunes 6 de septiembre de 2010 02:26:30 PM America/Mexico_City =====
dyld: Library not loaded: /System/Library/Frameworks/Python.framework/Versions/2.5/Python
  Referenced from: /Applications/MySQLWorkbench.app/Contents/MacOS/MySQLWorkbench
  Reason: image not found
Sep  6 14:26:45 ordenador-de-daniel-cruz-gonzalez crashdump[290]: MySQLWorkbench crashed
Sep  6 14:26:45 ordenador-de-daniel-cruz-gonzalez crashdump[290]: crash report written to: /Users/daniel/Library/Logs/CrashReporter/MySQLWorkbench.crash.log

And the last entry of file MySQLWorkbench.crash.log is:

Host Name:      ordenador-de-daniel-cruz-gonzalez
Date/Time:      2010-09-06 14:26:45.650 -0500
OS Version:     10.4.11 (Build 8S2167)
Report Version: 4

Command: MySQLWorkbench
Path:    /Applications/MySQLWorkbench.app/Contents/MacOS/MySQLWorkbench
Parent:  WindowServer [58]

Version: ??? (5.2.27)

PID:    289
Thread: Unknown

Link (dyld) error:

Library not loaded: /System/Library/Frameworks/Python.framework/Versions/2.5/Python
  Referenced from: /Applications/MySQLWorkbench.app/Contents/MacOS/MySQLWorkbench
  Reason: image not found

Hope this helps finding the problem!
[6 Sep 2010 19:35] Daniel Cruz
BTW: seems that type Andale Mono is OK in my system, I mean it is enabled and I can use it from any app.
[6 Sep 2010 19:38] Alfredo Kojima
Have you deleted any system frameworks from your system or ran any utilities that remove them?
[6 Sep 2010 19:46] Alfredo Kojima
Daniel,
 
I've just realized that you are using MacOS X 10.4,
but MySQL Workbench requires MacOS X 10.5 or newer.
[16 Sep 2010 20:16] Johannes Taxacher
fix confirmed in repository
[17 Sep 2010 9:19] Tony Bedford
An entry has been added to the 5.2.28 changelog:

MySQL Workbench application would not start on Mac OS X.