Bug #27342 Crash after adding table
Submitted: 21 Mar 2007 16:26 Modified: 28 Apr 2007 12:14
Reporter: Axel Muench Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Query Browser Severity:S2 (Serious)
Version:1.2.10rc OS:MacOS (OS X 10.4.8)
Assigned to: Assigned Account CPU Architecture:Any

[21 Mar 2007 16:26] Axel Muench
Description:
After Query Browser being idle on a sleeping MacBook Pro overnight, adding new table to db (4.x) results in application to crash. DB is remote on local network.

In the Schemas pane the db was already selected as the default schema, I CTRL-clicked on the schema and selected Create Table... from the contextual menu.

Added several fields and when closing the table dialog window the application crashed. After re-opening  the table was successfully created.

How to repeat:
Date/Time:      2007-03-21 09:13:37.620 -0700
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 [62]

Version: ??? (1.2.10rc)

PID:    5996
Thread: 0

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

Thread 0 Crashed:
0   libobjc.A.dylib            	0x90a55391 objc_msgSend + 33
1   com.apple.Foundation       	0x925e5207 _nsnote_callback + 230
2   com.apple.CoreFoundation   	0x908533f6 __CFXNotificationPost + 345
3   com.apple.CoreFoundation   	0x9084ac11 _CFXNotificationPostNotification + 600
4   com.apple.Foundation       	0x925dd860 -[NSNotificationCenter postNotificationName:object:userInfo:] + 121
5   com.apple.Foundation       	0x925e4755 -[NSNotificationCenter postNotificationName:object:] + 55
6   com.mysql.MySQLToolsCommon 	0x100154b3 -[MTableEditor applyChanges:] + 1702
7   com.apple.AppKit           	0x9333bd88 -[NSApplication sendAction:to:from:] + 107
8   com.apple.AppKit           	0x9333bce1 -[NSControl sendAction:to:] + 101
9   com.apple.AppKit           	0x9333de91 -[NSCell _sendActionFrom:] + 168
10  com.apple.AppKit           	0x93350671 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 1271
11  com.apple.AppKit           	0x9336e25d -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 848
12  com.apple.AppKit           	0x9336db0d -[NSControl mouseDown:] + 757
13  com.apple.AppKit           	0x9332b3af -[NSWindow sendEvent:] + 5279
14  com.apple.AppKit           	0x9331d350 -[NSApplication sendEvent:] + 5023
15  com.apple.AppKit           	0x93247dfe -[NSApplication run] + 547
16  com.apple.AppKit           	0x9323bd2f NSApplicationMain + 573
17  com.mysql.QueryBrowser     	0x0000201c main + 30 (main.m:14)
18  com.mysql.QueryBrowser     	0x00001fa6 _start + 228 (crt.c:272)
19  com.mysql.QueryBrowser     	0x00001ec1 start + 41

Thread 1:
0   libSystem.B.dylib          	0x9003f23f syscall_thread_switch + 7
1   com.apple.AppKit           	0x9332566e -[NSUIHeartBeat _heartBeatThread:] + 1399
2   com.apple.Foundation       	0x925ed36c forkThreadForFunction + 123
3   libSystem.B.dylib          	0x90023d87 _pthread_body + 84

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

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

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

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

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0x10000001    ebx: 0x10020734 ecx: 0x90ab89ec edx: 0x042ae07a
  edi: 0x10000009    esi: 0x07feedfa ebp: 0xbffff378 esp: 0xbffff354
   ss: 0x0000001f    efl: 0x00010202 eip: 0x90a55391  cs: 0x00000017
   ds: 0x0000001f     es: 0x0000001f  fs: 0x00000000  gs: 0x00000037
[28 Mar 2007 12:14] Sveta Smirnova
Thank you for the report.

Please provide configuration file for your mysqld.
[28 Apr 2007 23: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".