Bug #22764 Crash i do 2 times Edit Table on 2 distinct tables
Submitted: 27 Sep 2006 21:16 Modified: 22 Oct 2006 11:30
Reporter: Jean-Yves BOUGE Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Query Browser Severity:S1 (Critical)
Version:1.2.3 beta OS:MAX OS X 10.4.7
Assigned to: CPU Architecture:Any

[27 Sep 2006 21:16] Jean-Yves BOUGE
Description:
the MySQL Query Browser Crashes when I double click on the side drawer MAC OS X. 

I'am using the packages :
mysql-standard-5.0.24-osx10.4-i686.dmg
mysql-gui-tools-5.0-r3-osx10.4-universal.dmg

How to repeat:
I am working on a database with 3 tables. 

In the side drawer, first, I do a Ctrl-Click on a table and choose Edit the table in the menu and all is right,
second time a do the same on another table in the drawer an I've got an message "Could not retrieve data for table ''.
The object was not found in the database." It seems it's a first bug.

third, i double click on any table and the application quit and MAC OS send a error advise containing : 

Date/Time:      2006-09-27 23:07:45.100 +0200
OS Version:     10.4.7 (Build 8J2135a)
Report Version: 4

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

Version: ??? (1.2.3beta)

PID:    1475
Thread: 0

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

Thread 0 Crashed:
0   com.mysql.MySQLToolsCommon 	0x100b6435 full_table_name_with_def::full_table_name_with_def[in-charge](st_mysql*, char const*, char const*, char const*) + 33
1   com.mysql.MySQLToolsCommon 	0x10058299 myx_query_add_table_to_sql + 113
2   com.mysql.QueryBrowser     	0x000168b7 -[MQQueryController setupQueryWithItem:] + 337 (MQQueryController.m:462)
3   com.mysql.QueryBrowser     	0x000046ee -[MQueryBrowser setupQueryWithSchemaItem:] + 229 (MQueryBrowser.m:352)
4   com.mysql.QueryBrowser     	0x000054f2 -[MQueryBrowser schemataDoubleClicked:] + 165 (MQueryBrowser.m:566)
5   com.apple.AppKit           	0x93470ea0 -[NSApplication sendAction:to:from:] + 107
6   com.apple.AppKit           	0x93470df9 -[NSControl sendAction:to:] + 101
7   com.apple.AppKit           	0x934e9326 -[NSTableView _sendAction:to:row:column:] + 125
8   com.apple.AppKit           	0x934e8a3a -[NSTableView mouseDown:] + 5397
9   com.apple.AppKit           	0x934e7473 -[NSOutlineView mouseDown:] + 757
10  com.apple.AppKit           	0x934604b7 -[NSWindow sendEvent:] + 5279
11  com.apple.AppKit           	0x93452524 -[NSApplication sendEvent:] + 5023
12  com.apple.AppKit           	0x9337d106 -[NSApplication run] + 547
13  com.apple.AppKit           	0x93371037 NSApplicationMain + 573
14  com.mysql.QueryBrowser     	0x000028c4 main + 30 (main.m:14)
15  com.mysql.QueryBrowser     	0x0000284e _start + 228 (crt.c:272)
16  com.mysql.QueryBrowser     	0x00002769 start + 41

Thread 1:
0   libSystem.B.dylib          	0x900251a7 semaphore_wait_signal_trap + 7
1   com.apple.Foundation       	0x9277f008 -[NSConditionLock lockWhenCondition:] + 39
2   com.apple.AppKit           	0x9345a374 -[NSUIHeartBeat _heartBeatThread:] + 377
3   com.apple.Foundation       	0x927291b0 forkThreadForFunction + 123
4   libSystem.B.dylib          	0x90024b07 _pthread_body + 84

Thread 2:
0   libSystem.B.dylib          	0x900251a7 semaphore_wait_signal_trap + 7
1   com.mysql.MySQLToolsCommon 	0x1000b24b -[MMySQLDispatcher(Private) getNextRequest] + 58
2   com.mysql.MySQLToolsCommon 	0x1000b68d processRequests + 84
3   libSystem.B.dylib          	0x90024b07 _pthread_body + 84

......

Model: MacBookPro1,1, BootROM MBP11.0055.B03, 2 processors, Intel Core Duo, 2 GHz, 1 GB
Graphics: ATI Radeon X1600, ATY,RadeonX1600, PCIe, 128 MB
Memory Module: DIMM0/BANK 0, 512 MB, DDR2 SDRAM, 667 MHz
Memory Module: DIMM1/BANK 1, 512 MB, DDR2 SDRAM, 667 MHz
AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x86), 0.1.27
Bluetooth: Version 1.7.5f10, 2 service, 0 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Serial ATA Device: FUJITSU MHV2080BH, 74.53 GB
Parallel ATA Device: MATSHITADVD-R   UJ-857
USB Device: Built-in iSight, Micron, Up to 480 Mb/sec, 500 mA
USB Device: Apple Internal Keyboard / Trackpad, Apple Computer, Up to 12 Mb/sec, 500 mA
USB Device: IR Receiver, Apple Computer, Inc., Up to 12 Mb/sec, 500 mA
USB Device: Bluetooth HCI, Up to 12 Mb/sec, 500 mA
[4 Oct 2006 15:09] Valeriy Kravchuk
Thank you for a problem report. Please, try to repeat with a newer version, 1.2.4rc, and inform about the results.
[22 Oct 2006 11:30] Valeriy Kravchuk
So, this particlar problem seems fixed in 1.2.4 rc. As for any new bugs in that latest version, please, open new bug reports or add comments to existing ones.