Bug #22785 Crash when executing query in Query Browser
Submitted: 28 Sep 2006 16:07 Modified: 5 Oct 2006 10:29
Reporter: Jon Evans Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Query Browser Severity:S2 (Serious)
Version:1.2.3beta OS:Mac OS X (Mac OS X 10.4.8)
Assigned to: Vladimir Kolesnikov CPU Architecture:Any
Tags: crash

[28 Sep 2006 16:07] Jon Evans
Description:
I'm using MySQL with Ruby on Rails.  Using the globalize plugin, which adds three tables, one called globalize_translations.  If I do a select on this, either manually or by double clicking it in the list, Query Browser crashes.  Guessing it could be to do with UTF-8 in the table?  It contains English, German and Chinese translations at the moment.

using the 'mysql' command line utility I can execute "select * from globalize_translations;' without error (6592 rows in set (0.09 sec)).

Table format is MyISAM

How to repeat:
It happens for me just by executing select * from globalize_translations
I suspect you need the table data.
I'll try to reduce it to a simple test case.
[28 Sep 2006 16:08] Jon Evans
Crash log

Attachment: MySQL Query Browser.crash.log (application/octet-stream, text), 18.13 KiB.

[4 Oct 2006 15:58] Jon Evans
Don't know why this was closed.  Still happens for me with 1.2.4beta and Mac OS X 10.4.8

Top of stack trace:

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

Thread 0 Crashed:
0   libobjc.A.dylib            	0x90a53380 objc_msgSend + 16
1   com.apple.AppKit           	0x9337e359 -[NSTableView _verifySelectionIsOK] + 66
2   com.apple.AppKit           	0x9337dade -[NSTableView tile] + 245
3   com.apple.AppKit           	0x9337d9a5 -[NSTableView _tileAndRedisplayAll] + 34
4   com.mysql.MySQLToolsCommon 	0x100299cc -[MQResultSetView displayResults:] + 1116
5   com.mysql.MySQLToolsCommon 	0x1002a4fd -[MQResultSetView queryProgress:] + 227
6   com.apple.Foundation       	0x9260e489 __NSFireMainThreadPerform + 352
7   com.apple.CoreFoundation   	0x9085b5d0 __CFRunLoopPerformPerform + 82
8   com.apple.CoreFoundation   	0x90828379 CFRunLoopRunSpecific + 1213
9   com.apple.CoreFoundation   	0x90827eb5 CFRunLoopRunInMode + 61
10  com.apple.HIToolbox        	0x92dcdb90 RunCurrentEventLoopInMode + 285
11  com.apple.HIToolbox        	0x92dcd297 ReceiveNextEventCommon + 385
12  com.apple.HIToolbox        	0x92dcd0ee BlockUntilNextEventMatchingListInMode + 81
13  com.apple.AppKit           	0x9326f465 _DPSNextEvent + 572
14  com.apple.AppKit           	0x9326f056 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 137
15  com.apple.AppKit           	0x93268ddb -[NSApplication run] + 512
16  com.apple.AppKit           	0x9325cd2f NSApplicationMain + 573
17  com.mysql.QueryBrowser     	0x000028c4 main + 30 (main.m:14)
18  com.mysql.QueryBrowser     	0x0000284e _start + 228 (crt.c:272)
19  com.mysql.QueryBrowser     	0x00002769 start + 41
[5 Oct 2006 10:29] Vladimir Kolesnikov
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 bug fix. More information about accessing the source trees is available at

    http://dev.mysql.com/doc/en/installing-source.html