Bug #23063 MySQL Query Browser crash
Submitted: 6 Oct 2006 22:43 Modified: 21 Dec 2006 13:38
Reporter: Robert Gebis Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Query Browser Severity:S1 (Critical)
Version:1.2.4Beta OS:MacOS (Mac OSX 10.4.8)
Assigned to: CPU Architecture:Any

[6 Oct 2006 22:43] Robert Gebis
Description:
I selected DB instance on the right pane and selected create Stored Procedure.
Than I got prompted with dlg box asking me about the stored proc name. So I did gave it a name
spGetSvrConfig. And selected create Store procedure btn. Than I did saw for a brief moment the editor window and BUM. Here is the crash dump.

Date/Time:      2006-10-06 17:38:51.104 -0500
OS Version:     10.4.8 (Build 8L2127)
Report Version: 4

Command: MySQL Query Browser
Path:    /Applications/MySQL Tools/MySQL Query Browser.app/Contents/MacOS/MySQL Query Browser
Parent:  WindowServer [60]

Version: ??? (1.2.4beta)

PID:    379
Thread: 0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_INVALID_ADDRESS (0x0001) at 0xa1b1c1f3

Thread 0 Crashed:
0   libobjc.A.dylib                	0x90a53380 objc_msgSend + 16
1   com.apple.Foundation           	0x925ed207 _nsnote_callback + 230
2   com.apple.CoreFoundation       	0x90851649 __CFXNotificationPost + 345
3   com.apple.CoreFoundation       	0x90848e80 _CFXNotificationPostNotification + 600
4   com.apple.Foundation           	0x9260adce -[NSNotificationCenter postNotification:] + 117
5   com.apple.Foundation           	0x9260aa50 postQueueNotifications + 727
6   com.apple.CoreFoundation       	0x90829155 __CFRunLoopDoObservers + 342
7   com.apple.CoreFoundation       	0x908284c8 CFRunLoopRunSpecific + 1548
8   com.apple.CoreFoundation       	0x90827eb5 CFRunLoopRunInMode + 61
9   com.apple.HIToolbox            	0x92dcdb90 RunCurrentEventLoopInMode + 285
10  com.apple.HIToolbox            	0x92dcd297 ReceiveNextEventCommon + 385
11  com.apple.HIToolbox            	0x92dcd0ee BlockUntilNextEventMatchingListInMode + 81
12  com.apple.AppKit               	0x9326f465 _DPSNextEvent + 572
13  com.apple.AppKit               	0x9326f056 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 137
14  com.apple.AppKit               	0x93268ddb -[NSApplication run] + 512
15  com.apple.AppKit               	0x9325cd2f NSApplicationMain + 573
16  com.mysql.QueryBrowser         	0x000028c4 main + 30 (main.m:14)
17  com.mysql.QueryBrowser         	0x0000284e _start + 228 (crt.c:272)
18  com.mysql.QueryBrowser         	0x00002769 start + 41

Thread 1:
0   libSystem.B.dylib              	0x90024427 semaphore_wait_signal_trap + 7
1   com.apple.Foundation           	0x9264b2f8 -[NSConditionLock lockWhenCondition:] + 39
2   com.apple.AppKit               	0x93346270 -[NSUIHeartBeat _heartBeatThread:] + 377
3   com.apple.Foundation           	0x925f536c forkThreadForFunction + 123
4   libSystem.B.dylib              	0x90023d87 _pthread_body + 84

Thread 2:
0   libSystem.B.dylib              	0x90024427 semaphore_wait_signal_trap + 7
1   com.mysql.MySQLToolsCommon     	0x1000abc5 -[MMySQLDispatcher(Private) getNextRequest] + 58
2   com.mysql.MySQLToolsCommon     	0x1000b007 processRequests + 84
3   libSystem.B.dylib              	0x90023d87 _pthread_body + 84

Thread 3:
0   libSystem.B.dylib              	0x90009857 mach_msg_trap + 7
1   com.apple.CoreFoundation       	0x9082869a CFRunLoopRunSpecific + 2014
2   com.apple.CoreFoundation       	0x90827eb5 CFRunLoopRunInMode + 61
3   com.apple.Foundation           	0x9262aa9b +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:] + 259
4   com.apple.Foundation           	0x925f536c forkThreadForFunction + 123
5   libSystem.B.dylib              	0x90023d87 _pthread_body + 84

Thread 4:
0   libSystem.B.dylib              	0x90009857 mach_msg_trap + 7
1   com.apple.CoreFoundation       	0x9082869a CFRunLoopRunSpecific + 2014
2   com.apple.CoreFoundation       	0x90827eb5 CFRunLoopRunInMode + 61
3   com.apple.Foundation           	0x92651c4e +[NSURLCache _diskCacheSyncLoop:] + 206
4   com.apple.Foundation           	0x925f536c forkThreadForFunction + 123
5   libSystem.B.dylib              	0x90023d87 _pthread_body + 84

Thread 5:
0   libSystem.B.dylib              	0x90009857 mach_msg_trap + 7
1   com.apple.CoreFoundation       	0x9082869a CFRunLoopRunSpecific + 2014
2   com.apple.CoreFoundation       	0x90827eb5 CFRunLoopRunInMode + 61
3   com.apple.Foundation           	0x9262adc6 -[NSRunLoop runMode:beforeDate:] + 182
4   com.apple.Foundation           	0x9262acc2 -[NSRunLoop run] + 75
5   com.apple.WebKit               	0x95144451 +[WebFileDatabase _syncLoop:] + 198
6   com.apple.Foundation           	0x925f536c forkThreadForFunction + 123
7   libSystem.B.dylib              	0x90023d87 _pthread_body + 84

Thread 6:
0   libSystem.B.dylib              	0x900268bc kevent + 12
1   ...ple.CoreServices.CarbonCore 	0x90cb2f84 PrivateMPEntryPoint + 51
2   libSystem.B.dylib              	0x90023d87 _pthread_body + 84

Thread 7:
0   libSystem.B.dylib              	0x90024427 semaphore_wait_signal_trap + 7
1   ...ple.CoreServices.CarbonCore 	0x90cb3129 MPWaitOnQueue + 198
2   com.apple.DesktopServices      	0x9251af3f TNodeSyncTask::SyncTaskProc(void*) + 143
3   ...ple.CoreServices.CarbonCore 	0x90cb2f84 PrivateMPEntryPoint + 51
4   libSystem.B.dylib              	0x90023d87 _pthread_body + 84

Thread 8:
0   libSystem.B.dylib              	0x90024427 semaphore_wait_signal_trap + 7
1   com.mysql.MySQLToolsCommon     	0x1000abc5 -[MMySQLDispatcher(Private) getNextRequest] + 58
2   com.mysql.MySQLToolsCommon     	0x1000b007 processRequests + 84
3   libSystem.B.dylib              	0x90023d87 _pthread_body + 84

Thread 9:
0   libSystem.B.dylib              	0x90024427 semaphore_wait_signal_trap + 7
1   com.apple.ColorSync            	0x9159a6bf pthreadSemaphoreWait(t_pthreadSemaphore*) + 35
2   com.apple.ColorSync            	0x915b4dd0 CMMConvTask(void*) + 60
3   libSystem.B.dylib              	0x90023d87 _pthread_body + 84

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0xa1b1c1d3    ebx: 0x000140a3 ecx: 0x000213a0 edx: 0x0056f4c0
  edi: 0x00000000    esi: 0xbfffec10 ebp: 0xbfffebd8 esp: 0xbfffeba8
   ss: 0x0000001f    efl: 0x00010206 eip: 0x90a53380  cs: 0x00000017
   ds: 0x0000001f     es: 0x0000001f  fs: 0x00000000  gs: 0x00000037

Binary Images Description:
    0x1000 -    0x26fff com.mysql.QueryBrowser ??? (1.2.4beta)	/Applications/MySQL Tools/MySQL Query Browser.app/Contents/MacOS/MySQL Query Browser
  0x125000 -   0x12efff libintl.3.4.3.dylib 	/Applications/MySQL Tools/MySQL Query Browser.app/Contents/Frameworks/libintl.3.4.3.dylib
  0x305000 -   0x37efff libglib-2.0.0.dylib 	/Applications/MySQL Tools/MySQL Query Browser.app/Contents/Frameworks/libglib-2.0.0.dylib
  0x4b8000 -   0x4b8fff com.apple.SpotLightCM 1.0 (121.36)	/System/Library/Contextual Menu Items/SpotlightCM.plugin/Contents/MacOS/SpotlightCM
  0x62d000 -   0x634fff com.unsanity.smartcrashreports Smart Crash Reports version 1.2 (1.2)	/Users/Robert/Library/InputManagers/Smart Crash Reports/Smart Crash Reports.bundle/

How to repeat:
same as above
[6 Oct 2006 22:51] Robert Gebis
I just tried to do same thing but from MySQL Administrator. I clicked on Catalogs than selected the database, clicked on stored procedure tab and added new. This time I got the editor working and while adding the procedure I did hit ECS key and BUM again. I can do this every-time. Just hit escape 1 or two times and there it goes.
[21 Nov 2006 13:38] Valeriy Kravchuk
Thank you for a problem report. Please, try to repeat with a newer version, 1.2.5 rc, and inform about the results.
[22 Dec 2006 0:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".