Bug #19854 Crashes very frequently; can't create a table
Submitted: 16 May 2006 14:37 Modified: 25 May 2006 15:15
Reporter: Mark Daniel Email Updates:
Status: Won't fix Impact on me:
None 
Category:MySQL Workbench Preview Severity:S1 (Critical)
Version:1.0.6beta1 OS:MacOS (Mac OS X (Intel))
Assigned to: Vladimir Kolesnikov CPU Architecture:Any

[16 May 2006 14:37] Mark Daniel
Description:
MySQL workbench crashes very frequently. The most straighforward and repeatable way to do it is detailed below

Apple crash report:

Date/Time:      2006-05-16 15:26:14.356 +0100
OS Version:     10.4.6 (Build 8I1119)
Report Version: 4

Command: MySQL Workbench
Path:    /Applications/MySQL/MySQL Workbench.app/Contents/MacOS/MySQL Workbench
Parent:  WindowServer [61]

Version: ??? (1.0.6beta1)

PID:    25139
Thread: 0

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

Thread 0 Crashed:
0   com.mysql.WBCanvas             	0x0042afcb parse_fond + 220 (FTSize.cpp:103)
1   com.mysql.WBCanvas             	0x0042b186 count_faces + 71 (FTSize.cpp:103)
2   com.mysql.WBCanvas             	0x0042b8ed FT_New_Face_From_Suitcase + 97 (FTSize.cpp:103)
3   com.mysql.WBCanvas             	0x0042bd28 FT_New_Face_From_Resource + 124 (FTSize.cpp:103)
4   com.mysql.WBCanvas             	0x0042bdb5 FT_New_Face + 90 (FTSize.cpp:103)
5   com.mysql.WBCanvas             	0x0040eb06 FTFace::FTFace[in-charge](char const*) + 110 (FTFace.cpp:14)
6   com.mysql.WBCanvas             	0x003edda7 FTFont::FTFont[not-in-charge](char const*) + 49 (FTFont.cpp:10)
7   com.mysql.WBCanvas             	0x003ed631 FTGLBitmapFont::FTGLBitmapFont[in-charge](char const*) + 31 (FTGLBitmapFont.cpp:6)
8   com.mysql.WBCanvas             	0x003b41e3 CFontManager::fontIdCreate(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, int) + 277
9   com.mysql.WBCanvas             	0x003b0d79 CCaptionElement::validate() + 507
10  com.mysql.WBCanvas             	0x003aae9f CFigureElement::validate() + 131
11  com.mysql.WBCanvas             	0x003aae65 CFigureElement::validate() + 73
12  com.mysql.WBCanvas             	0x003aae65 CFigureElement::validate() + 73
13  com.mysql.WBCanvas             	0x003aae65 CFigureElement::validate() + 73
14  com.mysql.WBCanvas             	0x003aae65 CFigureElement::validate() + 73
15  com.mysql.WBCanvas             	0x003aae65 CFigureElement::validate() + 73
16  com.mysql.WBCanvas             	0x003acd26 CFigure::validate() + 92
17  com.mysql.WBCanvas             	0x003aa2cc CFigureInstance::validate() + 98
18  com.mysql.WBCanvas             	0x003a1ed0 CGraphicElement::width() + 24
19  com.mysql.WBCanvas             	0x003ab694 CFigureInstance::setSize(float, float) + 18
20  com.mysql.WBCanvas             	0x003d3ee9 ElementController::applyProperties() + 199
21  com.mysql.WBCanvas             	0x003d4561 TableController::applyProperties() + 931
22  com.mysql.WBCanvas             	0x003da0c3 ElementController::realizeFigure() + 357
23  com.mysql.WBCanvas             	0x003db90d TableController::realizeFigure() + 101
24  com.mysql.WBCanvas             	0x003d1dd6 ElementController::remake() + 142
25  com.mysql.WBCanvas             	0x003d4ceb WorkbenchController::processPendingRemakes() + 47
26  com.mysql.Workbench            	0x000036c4 -[MWDocument performIdleTasks:] + 82 (crt.c:305)
27  com.apple.Foundation           	0x9271804f _nsnote_callback + 230
28  com.apple.CoreFoundation       	0x9084c649 __CFXNotificationPost + 345
29  com.apple.CoreFoundation       	0x90843e80 _CFXNotificationPostNotification + 600
30  com.apple.Foundation           	0x92735bda -[NSNotificationCenter postNotification:] + 117
31  com.apple.Foundation           	0x9273585c postQueueNotifications + 727
32  com.apple.CoreFoundation       	0x90824155 __CFRunLoopDoObservers + 342
33  com.apple.CoreFoundation       	0x908234c8 CFRunLoopRunSpecific + 1548
34  com.apple.CoreFoundation       	0x90822eb5 CFRunLoopRunInMode + 61
35  com.apple.Foundation           	0x92755b4a -[NSRunLoop runMode:beforeDate:] + 182
36  com.apple.Foundation           	0x927a352c -[NSRunLoop runUntilDate:] + 78
37  com.mysql.GRT                  	0x002250b0 -[MGRTBlockingRequest wait:] + 114
38  com.mysql.GRT                  	0x00226b29 -[MGRT performModule:function:arguments:] + 211
39  com.mysql.Workbench            	0x000060d4 -[MWDocument objectEditorSaved:] + 184 (crt.c:305)
40  com.apple.AppKit               	0x934881ac -[NSApplication sendAction:to:from:] + 107
41  com.apple.AppKit               	0x93488105 -[NSControl sendAction:to:] + 101
42  com.apple.AppKit               	0x9348a2b5 -[NSCell _sendActionFrom:] + 168
43  com.apple.AppKit               	0x9349ca81 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 1271
44  com.apple.AppKit               	0x934ba5a8 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 875
45  com.apple.AppKit               	0x934b9e3d -[NSControl mouseDown:] + 757
46  com.apple.AppKit               	0x934777c3 -[NSWindow sendEvent:] + 5279
47  com.apple.AppKit               	0x93469830 -[NSApplication sendEvent:] + 5023
48  com.apple.AppKit               	0x93394426 -[NSApplication run] + 547
49  com.apple.AppKit               	0x93388357 NSApplicationMain + 573
50  com.mysql.Workbench            	0x00002cf2 _start + 228 (crt.c:272)
51  com.mysql.Workbench            	0x00002c0d start + 41

[Other thread states snipped]

Thread 0 crashed with i386 Thread State:
eax: 0x6de6e63a    ebx: 0x0040eaa6 ecx:0x01e2f5fc edx: 0x6c040000
edi: 0x0fbed444    esi: 0x1389d760 ebp:0xbfffe278 esp: 0xbfffe020
 ss: 0x0000002f    efl: 0x00010206 eip:0x0042afcb  cs: 0x00000027
 ds: 0x0000002f     es: 0x0000002f  fs:0x00000000  gs: 0x00000037

Binary Images Description:
    0x1000 -    0x1efff com.mysql.Workbench ??? (1.0.6beta1)	/Applications/MySQL/MySQL Workbench.app/Contents/MacOS/MySQL Workbench
   0x2f000 -    0x38fff libintl.3.4.3.dylib 	/Applications/MySQL/MySQL Workbench.app/Contents/Frameworks/libintl.3.4.3.dylib
   0xf9000 -    0xf9fff com.ksuther.chaxloader ??? (1.4.2)	/Library/InputManagers/Chax/Chax.bundle/Contents/MacOS/Chax
  0x205000 -   0x349fff com.mysql.GRT ??? (1.0)	/Applications/MySQL/MySQL Workbench.app/Contents/Frameworks/MySQLGRT.framework/Versions/A/MySQLGRT
  0x39f000 -   0x4c6fff com.mysql.WBCanvas ??? (1.0)	/Applications/MySQL/MySQL Workbench.app/Contents/Frameworks/WBCanvas.framework/Versions/A/WBCanvas
  0x5a0000 -   0x619fff libglib-2.0.0.dylib 	/Applications/MySQL/MySQL Workbench.app/Contents/Frameworks/libglib-2.0.0.dylib
 0xf34e000 -  0xf376fff myx_grt_java.dylib 	/Applications/MySQL/MySQL Workbench.app/Contents/Frameworks/MySQLGRT.framework/Versions/A/Resources/myx_grt_java.dylib
 0xfa50000 -  0xfa6cfff GLDriver 	/System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLDriver.bundle/GLDriver
 0xfa73000 -  0xfa93fff GLRendererFloat 	/System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLRendererFloat.bundle/GLRendererFloat
 0xfcf8000 -  0xfe1efff GLEngine 	/System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine
0x10000000 - 0x10097fff com.mysql.MySQLToolsCommon ??? (1.0)	/Applications/MySQL/MySQL Workbench.app/Contents/Frameworks/MySQLToolsCommon.framework/Versions/1.0.0/MySQLToolsCommon
0x13373000 - 0x13568fff com.apple.ATIRadeonX1000GLDriver 1.4.26 (4.2.6)	/System/Library/Extensions/ATIRadeonX1000GLDriver.bundle/Contents/MacOS/ATIRadeonX1000GLDriver

[ Further deatils snipped for brevity ]

Model: MacBookPro1,1, BootROM MBP11.0044.B02, 2 processors, Intel Core Duo, 1.83 GHz, 1.5 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, 1 GB, DDR2 SDRAM, 667 MHz

[snip other system details]

How to repeat:
 * Open Workbench
 * Select table tool
 * Click to create a table
 * Double click on table title
 * Create a column either with tab or the + icon
 * Click apply
 * The app crashes
[25 May 2006 15:15] Jorge del Conde
Thanks for your bug report.  I was able to reproduce the crash that you describe by doing:

 * Open Workbench
 * Select table tool
 * Click to create a table
 * Double click on table title
 * Create a column either with tab or the + icon
 * Click apply
 * The app crashes

I tested this under 10.4