Bug #33894 When modifying a table, I get a crash
Submitted: 17 Jan 2008 5:57 Modified: 26 May 2009 11:56
Reporter: Victor Escobar Email Updates:
Status: Unsupported Impact on me:
None 
Category:MySQL Administrator Severity:S3 (Non-critical)
Version:1.2.12 OS:MacOS (Leopard 10.5.1)
Assigned to: CPU Architecture:Any
Tags: mysql administrator auto increment

[17 Jan 2008 5:57] Victor Escobar
Description:
Process:         MySQL Administrator [29605]
Path:            /Applications/MySQL Tools/MySQL Administrator.app/Contents/MacOS/MySQL Administrator
Identifier:      com.mysql.Administrator
Version:         ??? (1.2.12)
Code Type:       X86 (Native)
Parent Process:  launchd [97]

Date/Time:       2008-01-17 00:54:45.642 -0500
OS Version:      Mac OS X 10.5.1 (9B18)
Report Version:  6

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000c19182af
Crashed Thread:  0

How to repeat:
If I go into my table and check the Auto Increment box and save the table, I get the above error.
[17 Jan 2008 5:59] Victor Escobar
apple crash dump

Attachment: crash log.txt (text/plain), 23.16 KiB.

[15 Feb 2008 2:21] Lachlan Mulcahy
I reproduced a crash easily by attempting to simply add a table and add a field. The crash does not seem unique to editing a table to have AUTO_INCREMENT or not.

Process:         MySQL Administrator [19358]
Path:            /Applications/MySQL Tools/MySQL Administrator.app/Contents/MacOS/MySQL Administrator
Identifier:      com.mysql.Administrator
Version:         ??? (1.2.12)
Code Type:       X86 (Native)
Parent Process:  launchd [117]

Date/Time:       2008-02-15 13:16:12.551 +1100
OS Version:      Mac OS X 10.5.1 (9B18)
Report Version:  6

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000c186dc1c
Crashed Thread:  0

Attaching full details....
[15 Feb 2008 2:23] Lachlan Mulcahy
Full crash details from Lachlan Mulcahy's crash

Attachment: admin_crash.txt (text/plain), 21.26 KiB.

[13 Mar 2008 22:22] Sveta Smirnova
Bug #35267 was marked as duplicate of this one.
[29 Mar 2008 9:40] T D
crash dump, same thing happened with 10.5.2, creating a table, varchar, changed to tinytext, then VARCHAR

Attachment: admin_crash.txt (text/plain), 24.20 KiB.

[28 Mar 2009 16:33] Brandon Whitehead
I consistently use the Mac GUI tools and I'm convinced that this bug is in a common library somewhere, because both QA and Admin tools crash in the same manner, and a number of things trigger it, be it modifying a table in Admin or sending a query in QA.  These problems have been outstanding for at least a year and need to be fixed if MySQL actually wants to support its Mac-based users.

The current crash is Admin 1.2.12 on OSX 10.5.6.  I've not seen a new release of this tool in a long time.

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000021
Crashed Thread:  0

Thread 0 Crashed:
0   com.mysql.MySQLToolsCommon    	0x10010b64 -[MTableEditor(Private) tableView:willDisplayCell:forTableColumn:row:] + 687
1   com.apple.AppKit              	0x9432f864 -[NSTableView _delegateWillDisplayCell:forColumn:row:] + 62
2   com.apple.AppKit              	0x942b1d7d -[NSTableView preparedCellAtColumn:row:] + 1057
3   com.apple.AppKit              	0x942b187c -[NSTableView _drawContentsAtRow:column:withCellFrame:] + 56
4   com.apple.AppKit              	0x942b0db2 -[NSTableView drawRow:clipRect:] + 872
5   com.apple.AppKit              	0x942561a0 -[NSTableView drawRowIndexes:clipRect:] + 363
6   com.apple.AppKit              	0x94254c84 -[NSTableView drawRect:] + 2199
7   com.apple.AppKit              	0x942e529c -[NSView _drawRect:clip:] + 3853
8   com.apple.AppKit              	0x942e3d93 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1050
9   com.apple.AppKit              	0x942e412a -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1969
10  com.apple.AppKit              	0x942e26e9 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 759
11  com.apple.AppKit              	0x942e3543 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4433
12  com.apple.AppKit              	0x942e3543 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4433
13  com.apple.AppKit              	0x942e3543 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4433
14  com.apple.AppKit              	0x942e3543 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4433
15  com.apple.AppKit              	0x942e3543 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4433
16  com.apple.AppKit              	0x942e3543 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4433
17  com.apple.AppKit              	0x942e3543 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4433
18  com.apple.AppKit              	0x942e3543 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 4433
19  com.apple.AppKit              	0x942e202b -[NSThemeFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:] + 306
20  com.apple.AppKit              	0x942deb4f -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 3090
21  com.apple.AppKit              	0x9421f523 -[NSView displayIfNeeded] + 933
22  com.apple.AppKit              	0x9421f0d1 -[NSWindow displayIfNeeded] + 189
23  com.apple.AppKit              	0x9421eef4 _handleWindowNeedsDisplay + 436
24  com.apple.CoreFoundation      	0x936399a2 __CFRunLoopDoObservers + 466
25  com.apple.CoreFoundation      	0x9363acfc CFRunLoopRunSpecific + 844
26  com.apple.CoreFoundation      	0x9363bcd8 CFRunLoopRunInMode + 88
27  com.apple.HIToolbox           	0x909f42c0 RunCurrentEventLoopInMode + 283
28  com.apple.HIToolbox           	0x909f4012 ReceiveNextEventCommon + 175
29  com.apple.HIToolbox           	0x909f3f4d BlockUntilNextEventMatchingListInMode + 106
30  com.apple.AppKit              	0x9421cd7d _DPSNextEvent + 657
31  com.apple.AppKit              	0x9421c630 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128
32  com.apple.AppKit              	0x94334091 -[NSTableView mouseDown:] + 6356
33  com.apple.AppKit              	0x942eb1a3 -[NSWindow sendEvent:] + 5381
34  com.apple.AppKit              	0x942b7d49 -[NSApplication sendEvent:] + 2941
35  com.apple.AppKit              	0x9421569f -[NSApplication run] + 847
36  com.apple.AppKit              	0x941e28a4 NSApplicationMain + 574
37  com.mysql.Administrator       	0x00002278 main + 30
38  com.mysql.Administrator       	0x00002202 _start + 228 (crt.c:272)
39  com.mysql.Administrator       	0x0000211d start + 41
[26 May 2009 11:56] Susanne Ebrecht
Many thanks for writing a bug report. We are on the way to implement full functionality of MySQL Administrator into MySQL Workbench. Unfortunately you are using an unsupported platform. More informations about supported platforms you will find here:

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

More informations about MySQL Workbench you will find here:

http://dev.mysql.com/workbench/