Bug #68630 UTF-8 exception: MySQLWorkbench crashes in the EER Diagram editor.
Submitted: 11 Mar 2013 4:58 Modified: 3 Jun 2013 17:08
Reporter: Berthold Alheit Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench Severity:S2 (Serious)
Version:5.2.46/5.2.47 OS:Linux (OpenSUSE 12.2)
Assigned to: CPU Architecture:Any
Tags: crash, UTF-8

[11 Mar 2013 4:58] Berthold Alheit
Description:
This might be related to an older ticket:
"Bug #34987	Cairo Error : input string not valid UTF-8 after a DB Designer scheme"

MySQLWorkbench crashes on displaying a tooltip containing a UTF-8 string such as the one quoted below in the EER Diagram editor. Dragging tables containing this strings results in the same crash (in the EER Diagram editor).

■One of the problematic strings: 

一度に複数種の報酬を与えるときに使用する

■The error output is as follows: 

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

■Temporary workaround
Deleting problematic comment strings in the model editor allows for one to work on the EER diagram. 

How to repeat:
1. Open an existing EER diagram. (UTF-8 deafault collation)
2. Edit a table in the MySQL Model tab; set the comment of one of the columns to 一度に複数種の報酬を与えるときに使用する
3. Go to the EER Diagram and hover over the edited table.

Suggested fix:
[11 Mar 2013 11:34] MySQL Verification Team
Thank you for the bug report.
[11 May 2013 20:57] Surachet Monchawanon
also happened in Windows 7

ex. UTF8 comment "ทดสอบ"

sometime Workbench doesn't crash but display square characters instead or wrong characters space on tools tip.

Thanks you.
[11 May 2013 21:01] Surachet Monchawanon
in error case .. a dialog box show

Attachment: case-error.png (image/png, text), 27.38 KiB.

[11 May 2013 21:01] Surachet Monchawanon
in case no error .. but tooltip goes wrong

Attachment: case-no-error.png (image/png, text), 16.84 KiB.

[3 Jun 2013 17:08] Alfredo Kojima
Duplicate of bug #68984