Bug #68984 Crash when using a long multi-byte chars in the comments of model
Submitted: 17 Apr 2013 12:19 Modified: 26 Jun 2013 7:24
Reporter: Syo Oga Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S1 (Critical)
Version:5.2.47 OS:MacOS (10.6.8)
Assigned to: CPU Architecture:Any
Tags: crash, double-bytes, japanese, Unicode, utf8

[17 Apr 2013 12:19] Syo Oga
Description:
This can happen when you meet the conditions, to be displayed as a tool tip comment for a table on the diagram.
I only made sure in Japanese.
Maybe, I reproduce it in more than 20 chars.

How to repeat:
1. Open Workbench.
2. Create new model.
3. Add new diagram.
4. Add new table.
5. Enter "ああああああああああああああああああああ" in table comments.
   "あ" is a Japanese chars.
6. To put the mouse cursor to the table in diagram.
   # Then, the tool tip should appear normally.
7. Workbench will Crash after a few seconds :(
[17 Apr 2013 14:33] MySQL Verification Team
Thank you for the bug report. I couldn't repeat on the below system:

MySQL Workbench CE for Mac OS X version 5.2.47  revision 10398
Configuration Directory: /Users/miguel/Library/Application Support/MySQL/Workbench
Data Directory: /Applications/MySQLWorkbench.app/Contents/Resources
Cairo Version: 1.9.1
OS: Darwin 12.3.0
CPU: 4x Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz, 16.0 GB RAM

Please provide a screenshot when the mouse pointer was positioned. Thanks.
[18 Apr 2013 6:03] Syo Oga
I've attached a screen shot.
Since the crash Placing the mouse pointer, screen shots could not shoot last.

Is it situation to be limited if you are using a Japanese version of OS?
Incidentally, it was the same situation in `Mountain Lion`.

Thank you
[22 Apr 2013 20:48] Ruben Dario Morquecho Valdez
MAC OS X 10.8
Workbench 5.2.47
------------------
Bug Reproduced
Create a table and set in comments table several chars "ああああああああああああああああ" (I set about 50 chars), and click on table inside the diagram, and WB crash.

bug being analysing.
[3 Jun 2013 17:08] Alfredo Kojima
Bug #68630 is a duplicate
[26 Jun 2013 7:24] Philip Olson
Fixed as of the upcoming MySQL Workbench 6.0.3 release, and here's the changelog entry:

Adding a particularly long string (around 50 characters) to a table
comment for a model diagram would cause MySQL Workbench to crash.

Thank you for the bug report.
[20 Aug 2013 20:48] Surachet Monchawanon
Windows 7
Workbench 6.0.6
------------------
when I hover or drag the mouse on a model (table comment and some fields comment is Thai language) ex. "ข้อมูลพนักงานภายในองค์กร" , "รหัสพนักงาน"

There are 2 cases of error:
1 - Workbench shown "External components has thrown an exception"
2 - If not thrown exception - Workbench show messed up tools tip (not readable)
[18 Jan 2014 9:01] Vasileios Lourdas
I'm affected by this bug with MySQL Workbench 6.0.8 in Linux (64-bit). The error I get from the console is:

(mysql-workbench-bin:8859): GLib-GObject-WARNING **: attempting to add an interface (GtkTreeDragSource) to class (gtkmm__CustomObject_13GridViewModel) after class_init

(mysql-workbench-bin:8859): glibmm-ERROR **: 
unhandled exception (type std::exception) in signal handler:
what: cairo error: input string not valid UTF-8