Bug #15183 Crash on startup on Mac OS X 10.4.3
Submitted: 23 Nov 2005 13:30 Modified: 13 Jan 2009 18:00
Reporter: Wolfram Stebel Email Updates:
Status: Unsupported Impact on me:
None 
Category:MySQL Administrator Severity:S4 (Feature request)
Version:1.1.0 OS:MacOS (Mac OSX 10)
Assigned to: Alfredo Kojima CPU Architecture:Any

[23 Nov 2005 13:30] Wolfram Stebel
Description:
Crash log:

Date/Time:      2005-11-23 14:05:46.581 +0100
OS Version:     10.4.3 (Build 8F46)
Report Version: 3

Command: MySQL Administrator
Path:    /Applications/MySQL Administrator.app/Contents/MacOS/MySQL Administrator
Parent:  WindowServer [71]

Version: ??? (1.1.0)

PID:    23174
Thread: 0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000000

Thread 0 Crashed:
0   libSystem.B.dylib          	0x90003008 strlen + 8
1   libSystem.B.dylib          	0x9001fac0 sscanf + 88
2   com.mysql.MySQLToolsCommon 	0x100354e0 myx_get_mysql_version + 96
3   com.mysql.MySQLToolsCommon 	0x100355b4 myx_get_mysql_major_version + 24
4   com.mysql.MySQLToolsCommon 	0x10001e50 -[MConnectionPanel(Private) connectionFinished:] + 216
5   com.apple.Foundation       	0x928e8f00 __NSFireMainThreadPerform + 276
6   com.apple.CoreFoundation   	0x9078df20 __CFRunLoopPerformPerform + 104
7   com.apple.CoreFoundation   	0x9075da5c __CFRunLoopDoSources0 + 384
8   com.apple.CoreFoundation   	0x9075cf8c __CFRunLoopRun + 452
9   com.apple.CoreFoundation   	0x9075ca0c CFRunLoopRunSpecific + 268
10  com.apple.HIToolbox        	0x931831e0 RunCurrentEventLoopInMode + 264
11  com.apple.HIToolbox        	0x93182874 ReceiveNextEventCommon + 380
12  com.apple.HIToolbox        	0x931826e0 BlockUntilNextEventMatchingListInMode + 96
13  com.apple.AppKit           	0x93680904 _DPSNextEvent + 384
14  com.apple.AppKit           	0x936805c8 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 116
15  com.apple.AppKit           	0x9367cb0c -[NSApplication run] + 472
16  com.apple.AppKit           	0x9376d618 NSApplicationMain + 452
17  com.mysql.Administrator    	0x00005a24 _start + 392 (crt.c:267)
18  com.mysql.Administrator    	0x00005898 start + 48

Thread 1:
0   libSystem.B.dylib          	0x9002b8a8 semaphore_wait_signal_trap + 8
1   libSystem.B.dylib          	0x9003001c pthread_cond_wait + 488
2   com.apple.Foundation       	0x928e2840 -[NSConditionLock lockWhenCondition:] + 68
3   com.apple.AppKit           	0x9371d4dc -[NSUIHeartBeat _heartBeatThread:] + 324
4   com.apple.Foundation       	0x928db6d4 forkThreadForFunction + 108
5   libSystem.B.dylib          	0x9002b200 _pthread_body + 96

Thread 2:
0   libSystem.B.dylib          	0x9001bf80 connect + 12
1   com.mysql.MySQLToolsCommon 	0x10038f0c my_connect + 40
2   com.mysql.MySQLToolsCommon 	0x1003a82c mysql_real_connect + 1100
3   com.mysql.MySQLToolsCommon 	0x10035830 myx_connect_to_instance + 420
4   com.mysql.MySQLToolsCommon 	0x10002020 -[MConnectionPanel(Private) connectThread:] + 112
5   com.apple.Foundation       	0x928db6d4 forkThreadForFunction + 108
6   libSystem.B.dylib          	0x9002b200 _pthread_body + 96

Thread 3:
0   libSystem.B.dylib          	0x9002b8a8 semaphore_wait_signal_trap + 8
1   libSystem.B.dylib          	0x9003001c pthread_cond_wait + 488
2   com.apple.Foundation       	0x928debe8 -[NSConditionLock lock] + 52
3   com.apple.Foundation       	0x928e8d44 -[NSObject(NSMainThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:modes:] + 716
4   com.apple.Foundation       	0x928e8a58 -[NSObject(NSMainThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:] + 120
5   com.mysql.MySQLToolsCommon 	0x10002040 -[MConnectionPanel(Private) connectThread:] + 144
6   com.apple.Foundation       	0x928db6d4 forkThreadForFunction + 108
7   libSystem.B.dylib          	0x9002b200 _pthread_body + 96

Thread 0 crashed with PPC Thread State 64:
  srr0: 0x0000000090003008 srr1: 0x100000000000f030                        vrsave: 0x0000000000000000
    cr: 0x82028202          xer: 0x0000000000000000   lr: 0x000000009001fac0  ctr: 0x0000000090003000
    r0: 0x000000009001fac0   r1: 0x00000000bfffe310   r2: 0x000000000000003b   r3: 0x0000000000000000
    r4: 0x00000000100ae024   r5: 0x00000000bfffe4e8   r6: 0x00000000bfffe4ec   r7: 0xffffffffffffffff
    r8: 0x000000006e48476d   r9: 0x0000000000000000  r10: 0x0000000010034a04  r11: 0x00000000a00061c0
   r12: 0x0000000090003000  r13: 0x0000000000000000  r14: 0x0000000000000001  r15: 0x0000000000000001
   r16: 0x0000000000000000  r17: 0x0000000000000000  r18: 0x0000000000005e33  r19: 0x0000000000000000
   r20: 0x000000001d1fbaff  r21: 0x000000008241aaf5  r22: 0x0000000000000001  r23: 0x000000000030cd60
   r24: 0x0000000000000000  r25: 0x000000000030cd68  r26: 0x000000000030ce78  r27: 0x000000000000046a
   r28: 0x00000000bfffe34c  r29: 0x0000000000000000  r30: 0x00000000100ae024  r31: 0x000000009001fa70

How to repeat:
Login to local mysql, chrashes always

Suggested fix:
due to crash log:

0   libSystem.B.dylib          	0x90003008 strlen + 8
1   libSystem.B.dylib          	0x9001fac0 sscanf + 88

i think you have to relink against new dylib

Otherwise it can be simply a reconfiguration problem. As far as i know, apple has changed some locations for mysql on Mac OS X Server, for normal Mac OS X i dont know.
[23 Nov 2005 13:42] Wolfram Stebel
You need to tick "Compress Connection" under "More Options" in the login panel and it works
[3 Dec 2005 5:09] Alfredo Kojima
I am not able to reproduce this. What server version are you using?
Is it a binary supplied by Apple?
[3 Dec 2005 9:33] Wolfram Stebel
Downloaded mysqladmin from mysql.

Running on my local G5, Mac OS X 10.4.3.

DB is Apple standard:
"Your MySQL connection id is 3 to server version: 4.0.21-standard"
[13 Jan 2009 18:00] Susanne Ebrecht
Many thanks for writing a bug report. We are on the way to implement full functionality of MySQL Query Browser into Workbench. The platform you are using is unsupported for MySQL Query Browser.

For more information about supported platforms please read:

http://www.mysql.com/support/supportedplatforms/tools.html