Bug #13322 Trying to connect to database crashes Administrator
Submitted: 19 Sep 2005 13:37 Modified: 20 Sep 2005 18:37
Reporter: Rob Lewis (Candidate Quality Contributor) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Administrator Severity:S1 (Critical)
Version:1.1 OS:MacOS (OS X Server 10.4.2)
Assigned to: Alfredo Kojima CPU Architecture:Any

[19 Sep 2005 13:37] Rob Lewis
Description:
I downloaded version 1.1 and put it in my Applications folder. Launched it an tried to use a stored connection to connect to my localhost database. Administrator unexpectedly quits. 

Here's part of the auto-generated crash dump output: 

Date/Time:      2005-09-19 06:32:55.359 -0700
OS Version:     10.4.2 (Build 8C47)
Report Version: 3

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

Version: ??? (1.1.0)

PID:    2835
Thread: 0

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

Thread 0 Crashed:
0   libSystem.B.dylib              	0x90003248 strlen + 8
1   libSystem.B.dylib              	0x9001f8a0 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           	0x92890760 __NSFireMainThreadPerform + 276
6   com.apple.CoreFoundation       	0x9077c108 __CFRunLoopPerformPerform + 104
7   com.apple.CoreFoundation       	0x9074bc8c __CFRunLoopDoSources0 + 384
8   com.apple.CoreFoundation       	0x9074b1bc __CFRunLoopRun + 452
9   com.apple.CoreFoundation       	0x9074ac3c CFRunLoopRunSpecific + 268
10  com.apple.HIToolbox            	0x93129ac0 RunCurrentEventLoopInMode + 264
11  com.apple.HIToolbox            	0x931290cc ReceiveNextEventCommon + 244
12  com.apple.HIToolbox            	0x93128fc0 BlockUntilNextEventMatchingListInMode + 96
13  com.apple.AppKit               	0x93623e44 _DPSNextEvent + 384
14  com.apple.AppKit               	0x93623b08 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 116
15  com.apple.AppKit               	0x9362006c -[NSApplication run] + 472
16  com.apple.AppKit               	0x937108bc 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              	0x9000a778 mach_msg_trap + 8
1   libSystem.B.dylib              	0x9000a6bc mach_msg + 60
2   com.unsanity.ape               	0xc0002afc __ape_internal + 3300 (icplusplus.c:28)
3   com.unsanity.ape               	0xc0001910 __ape_agent + 64 (icplusplus.c:28)
4   libSystem.B.dylib              	0x9002c3d4 _pthread_body + 96

Thread 2:
0   libSystem.B.dylib              	0x9000a778 mach_msg_trap + 8
1   libSystem.B.dylib              	0x9000a6bc mach_msg + 60
2   ...lagutin.audio_hijack.server 	0x0027cd50 ah_serv_loop + 88
3   libSystem.B.dylib              	0x9002c3d4 _pthread_body + 96

Thread 3:
0   libSystem.B.dylib              	0x9000a778 mach_msg_trap + 8
1   libSystem.B.dylib              	0x9000a6bc mach_msg + 60
2   com.apple.CoreFoundation       	0x9074b338 __CFRunLoopRun + 832
3   com.apple.CoreFoundation       	0x9074ac3c CFRunLoopRunSpecific + 268
4   com.apple.audio.CoreAudio      	0x913a61dc HALRunLoop::OwnThread(void*) + 264
5   com.apple.audio.CoreAudio      	0x913a5f7c CAPThread::Entry(CAPThread*) + 96
6   libSystem.B.dylib              	0x9002c3d4 _pthread_body + 96

Thread 4:
0   libSystem.B.dylib              	0x9002ca98 semaphore_wait_signal_trap + 8
1   libSystem.B.dylib              	0x9003127c pthread_cond_wait + 508
2   com.apple.Foundation           	0x9288a0a0 -[NSConditionLock lockWhenCondition:] + 68
3   com.apple.AppKit               	0x936c07f8 -[NSUIHeartBeat _heartBeatThread:] + 324
4   com.apple.Foundation           	0x92882f34 forkThreadForFunction + 108
5   libSystem.B.dylib              	0x9002c3d4 _pthread_body + 96

Thread 5:
0   libSystem.B.dylib              	0x9002ca98 semaphore_wait_signal_trap + 8
1   libSystem.B.dylib              	0x9003127c pthread_cond_wait + 508
2   com.apple.Foundation           	0x92886448 -[NSConditionLock lock] + 52
3   com.apple.Foundation           	0x928905a4 -[NSObject(NSMainThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:modes:] + 716
4   com.apple.Foundation           	0x928902b8 -[NSObject(NSMainThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:] + 120
5   com.mysql.MySQLToolsCommon     	0x10002040 -[MConnectionPanel(Private) connectThread:] + 144
6   com.apple.Foundation           	0x92882f34 forkThreadForFunction + 108
7   libSystem.B.dylib              	0x9002c3d4 _pthread_body + 96

Thread 0 crashed with PPC Thread State 64:
  srr0: 0x0000000090003248 srr1: 0x000000000200f030                        vrsave: 0x0000000000000000
    cr: 0x82002242          xer: 0x0000000000000004   lr: 0x000000009001f8a0  ctr: 0x0000000090003240
    r0: 0x000000009001f8a0   r1: 0x00000000bfffe310   r2: 0x0000000000000556   r3: 0x0000000000000000
    r4: 0x00000000100ae024   r5: 0x00000000bfffe4e8   r6: 0x00000000bfffe4ec   r7: 0x00000000ffffffff
    r8: 0x000000006e48476d   r9: 0x0000000000000000  r10: 0x0000000010034a04  r11: 0x00000000a00063fc
   r12: 0x0000000090003240  r13: 0x0000000000000000  r14: 0x0000000000000001  r15: 0x0000000000000000
   r16: 0x0000000000000001  r17: 0x00000000bffff2d0  r18: 0x0000000000000000  r19: 0x000000000035f900
   r20: 0x0000000000000000  r21: 0x0000000000000000  r22: 0x0000000000000001  r23: 0x000000000030cdd0
   r24: 0x0000000000000000  r25: 0x000000000030cdd8  r26: 0x000000000030cee8  r27: 0x00000000000007d2
   r28: 0x00000000bfffe34c  r29: 0x0000000000000000  r30: 0x00000000100ae024  r31: 0x000000009001f850

How to repeat:
Try to connect to a local MySQL database. 

(Note phpMyAdmin 2.6.4 has no problem connecting to the same database.)
[20 Sep 2005 16:08] Alfredo Kojima
Hi

What version of the MySQL server are you trying to connect to?
[20 Sep 2005 16:19] Rob Lewis
The MySQL version is 4.1.10a

As noted, phpMyAdmin connects with no problem.
[20 Sep 2005 18:37] Alfredo Kojima
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html