Bug #13193 Workbench crashes when creating new table
Submitted: 14 Sep 2005 17:50 Modified: 16 Sep 2005 5:31
Reporter: [ name withheld ] Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Preview Severity:S1 (Critical)
Version:1.0.0a OS:MacOS (MacOS X 10.4.2)
Assigned to: CPU Architecture:Any

[14 Sep 2005 17:50] [ name withheld ]
Description:
Workbench crashes when creating new table on the canvas.

How to repeat:
1) Launch Workbench
2) Select the tool to create a new table (press T)
3) Place the cursor somewhere on the canvas, press the left button on your mouse...
4) Ta-da!

Crash report from MacOS X
==============
Date/Time:      2005-09-14 19:42:31.662 +0200
OS Version:     10.4.2 (Build 8C46)
Report Version: 3

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

Version: ??? (1.0.0-alpha)

PID:    674
Thread: 0

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

Thread 0 Crashed:
0   com.mysql.WBCanvas             	0x003303a0 FTSize::CharSize(FT_FaceRec_**, unsigned, unsigned, unsigned) + 72 (FTSize.cpp:22)
1   com.mysql.WBCanvas             	0x0032f8c0 FTFace::Size(unsigned, unsigned) + 52 (FTFace.cpp:84)
2   com.mysql.WBCanvas             	0x00311cdc FTFont::FaceSize(unsigned, unsigned) + 32 (FTFont.cpp:70)
3   com.mysql.WBCanvas             	0x002e1000 CFontManager::boundingBox(std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, int, int, tagBoundingBox*) + 300 (icplusplus.c:27)
4   com.mysql.WBCanvas             	0x002da6e0 CCaptionElement::validate() + 148 (icplusplus.c:27)
5   com.mysql.WBCanvas             	0x002dede0 CFigureElement::validate() + 96 (icplusplus.c:27)
6   com.mysql.WBCanvas             	0x002dee18 CFigureElement::validate() + 152 (icplusplus.c:27)
7   com.mysql.WBCanvas             	0x002dee18 CFigureElement::validate() + 152 (icplusplus.c:27)
8   com.mysql.WBCanvas             	0x002d02b8 CGraphicElement::width() + 60 (icplusplus.c:27)
9   com.mysql.WBCanvas             	0x002dca48 CFigure::setSize(float, float) + 76 (icplusplus.c:27)
10  com.mysql.WBCanvas             	0x002fefb8 ElementController::applyProperties() + 188 (icplusplus.c:27)
11  com.mysql.WBCanvas             	0x003031f0 TableController::applyProperties() + 844 (icplusplus.c:27)
12  com.mysql.WBCanvas             	0x00300bbc ElementController::realizeFigure() + 440 (icplusplus.c:27)
13  com.mysql.WBCanvas             	0x00300c44 TableController::realizeFigure() + 88 (icplusplus.c:27)
14  com.mysql.WBCanvas             	0x002fe45c ElementController::remake() + 244 (icplusplus.c:27)
15  com.mysql.WBCanvas             	0x00303a7c WorkbenchController::processPendingRemakes() + 96 (icplusplus.c:27)
16  com.mysql.Workbench            	0x00003488 -[MWDocument performIdleTasks:] + 68 (crt.c:300)
17  com.apple.Foundation           	0x92882878 _nsnote_callback + 180
18  com.apple.CoreFoundation       	0x907726a0 __CFXNotificationPost + 368
19  com.apple.CoreFoundation       	0x9076a7c4 _CFXNotificationPostNotification + 684
20  com.apple.Foundation           	0x928ecc5c postQueueNotifications + 432
21  com.apple.CoreFoundation       	0x9074aefc __CFRunLoopDoObservers + 352
22  com.apple.CoreFoundation       	0x9074b1e4 __CFRunLoopRun + 492
23  com.apple.CoreFoundation       	0x9074ac3c CFRunLoopRunSpecific + 268
24  com.apple.Foundation           	0x92891ec4 -[NSRunLoop runMode:beforeDate:] + 172
25  com.apple.Foundation           	0x928d6c4c -[NSRunLoop runUntilDate:] + 80
26  com.mysql.GRT                  	0x0022598c -[MGRTBlockingRequest wait:] + 132 (icplusplus.c:27)
27  com.mysql.GRT                  	0x00226be8 -[MGRT performModule:function:arguments:] + 220 (icplusplus.c:27)
28  com.mysql.Workbench            	0x000054e4 -[MWDocument canvas:handleMouseUp:atPoint:] + 1800 (crt.c:300)
29  com.mysql.WBCanvas             	0x002fad48 -[MGenericCanvasView mouseUp:] + 360 (icplusplus.c:27)
30  com.apple.AppKit               	0x9367fa38 -[NSWindow sendEvent:] + 4728
31  com.apple.AppKit               	0x93628bfc -[NSApplication sendEvent:] + 4172
32  com.apple.AppKit               	0x93620090 -[NSApplication run] + 508
33  com.apple.AppKit               	0x937108bc NSApplicationMain + 452
34  com.mysql.Workbench            	0x000023c0 _start + 392 (crt.c:267)
35  com.mysql.Workbench            	0x00002234 start + 48
[14 Sep 2005 20:14] Jorge del Conde
Thanks for your bug report.
[16 Sep 2005 5:31] Alfredo Kojima
Thank you for your bug report. This issue has already been fixed
in the latest released version of that product, which you can download at 
http://www.mysql.com/downloads/