Bug #23643 Crash after creating a new schema
Submitted: 25 Oct 2006 19:27 Modified: 21 Dec 2006 14:44
Reporter: [ name withheld ] Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Query Browser Severity:S2 (Serious)
Version:1.2.4beta OS:MacOS (Mac OS X 10.3.9 (PPC))
Assigned to: CPU Architecture:Any

[25 Oct 2006 19:27] [ name withheld ]
Description:
MySQL Query Browser crashes after a new schema is created.

Crash Report (Partial; due to 8k limit the rest is in another description):

Date/Time:      2006-10-25 13:10:03 -0600
OS Version:     10.3.9 (Build 7W98)
Report Version: 2

Command: MySQL Query Browser
Path:    /Users/Shared/Bio.Applications/MySQL Tools 1.2.4beta/MySQL Query Browser.app/Contents/MacOS/MySQL Query Browser
Version: ??? (1.2.4beta)
PID:     5834
Thread:  0

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

Thread 0 Crashed:
0   com.mysql.MySQLToolsCommon 	0x1003dd18 free_index_column + 0x14
1   libglib-2.0.0.dylib        	0x0005ae68 g_free + 0x50
2   com.mysql.MySQLToolsCommon 	0x1003dd98 myx_free_schema_index + 0x50
3   com.mysql.MySQLToolsCommon 	0x1003de00 myx_free_schema_indices + 0x3c
4   com.mysql.MySQLToolsCommon 	0x1003ee98 myx_free_catalogs + 0x60
5   com.mysql.QueryBrowser     	0x00003330 -[MQueryBrowser(Private) fetchSchemasFor:] + 0xec (crt.c:300)
6   com.mysql.QueryBrowser     	0x000045cc -[MQueryBrowser refreshSchemata:] + 0x5c (crt.c:300)
7   com.mysql.MySQLToolsCommon 	0x10015ec8 -[MSchemaEditHelper createSchema:] + 0x114
8   com.apple.AppKit           	0x98325698 -[NSApplication sendAction:to:from:] + 0x6c
9   com.apple.AppKit           	0x9835aef0 -[NSMenu performActionForItemAtIndex:] + 0x188
10  com.apple.AppKit           	0x9839f79c -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 0x68
11  com.apple.AppKit           	0x983e5934 _NSPopUpCarbonMenu1 + 0x754
12  com.apple.AppKit           	0x983e5e64 -[NSCarbonMenuImpl _popUpContextMenu:withEvent:forView:withFont:] + 0xa8
13  com.apple.AppKit           	0x983e5164 -[NSMenu _popUpContextMenu:withEvent:forView:withFont:] + 0xd8
14  com.apple.AppKit           	0x984ed29c -[NSControl _rightMouseUpOrDown:] + 0x1b0
15  com.apple.AppKit           	0x982b0c2c -[NSWindow sendEvent:] + 0x1780
16  com.apple.AppKit           	0x982a2c3c -[NSApplication sendEvent:] + 0xebc
17  com.apple.AppKit           	0x982ab06c -[NSApplication run] + 0x240
18  com.apple.AppKit           	0x98367764 NSApplicationMain + 0x1d0
19  com.mysql.QueryBrowser     	0x00002e2c _start + 0x188 (crt.c:267)
20  com.mysql.QueryBrowser     	0x00002ca0 start + 0x30

Thread 1:
0   libSystem.B.dylib          	0x90017238 semaphore_wait_signal_trap + 0x8
1   libSystem.B.dylib          	0x9000ea1c _pthread_cond_wait + 0x270
2   com.apple.Foundation       	0x90a7c598 -[NSConditionLock lockWhenCondition:] + 0x44
3   com.apple.AppKit           	0x982780e8 -[NSUIHeartBeat _heartBeatThread:] + 0x190
4   com.apple.Foundation       	0x90a6a4b8 forkThreadForFunction + 0x6c
5   libSystem.B.dylib          	0x90024990 _pthread_body + 0x28

Thread 2:
0   libSystem.B.dylib          	0x90017238 semaphore_wait_signal_trap + 0x8
1   libSystem.B.dylib          	0x9000ea1c _pthread_cond_wait + 0x270
2   com.mysql.MySQLToolsCommon 	0x10008544 -[MMySQLDispatcher(Private) getNextRequest] + 0x38
3   com.mysql.MySQLToolsCommon 	0x100088d4 processRequests + 0x48
4   libSystem.B.dylib          	0x90024990 _pthread_body + 0x28

PPC Thread State:
  srr0: 0x1003dd18 srr1: 0x0200f030                vrsave: 0x00000000
    cr: 0x22040248  xer: 0x00000004   lr: 0x1003dd98  ctr: 0x90000c78
    r0: 0x1003dd98   r1: 0xbfffe710   r2: 0x00007493   r3: 0x00000003
    r4: 0x00000000   r5: 0x000000dd   r6: 0x00000000   r7: 0x00000001
    r8: 0x00000002   r9: 0xa00016b4  r10: 0x000012ad  r11: 0x04302004
   r12: 0x90000c78  r13: 0x00000000  r14: 0x00000100  r15: 0x00000000
   r16: 0x00000000  r17: 0xffffffff  r18: 0x00000001  r19: 0xbfffefa0
   r20: 0x0037f220  r21: 0x042887a0  r22: 0x00388da0  r23: 0x1003cae0
   r24: 0x00020000  r25: 0x003897f0  r26: 0x0038969c  r27: 0x00389698
   r28: 0x0037e0ac  r29: 0x00000003  r30: 0x00000003  r31: 0x0424c230

How to repeat:
1. Create a new schema.

Suggested fix:
Creating a new schema should not crash MQB.
[25 Oct 2006 19:29] [ name withheld ]
Remainder of crash report

Attachment: BinaryImages.txt (text/plain), 11.28 KiB.

[21 Nov 2006 14:44] 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".