Bug #69933 workbench crashes
Submitted: 6 Aug 2013 6:09 Modified: 6 Nov 2013 1:02
Reporter: lfire lee Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:6.0.5 OS:Windows (win 8)
Assigned to: CPU Architecture:Any
Tags: out of range

[6 Aug 2013 6:09] lfire lee
Description:
1. create sql table doesn't support chinese words
2. when I open the tab of mysql model, it's crashed

The part of log content

SQL statement
CREATE TABLE `ts_weiba_post` (
  `post_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '帖子ID',
  `weiba_id` int(11) NOT NULL COMMENT '所属微吧ID',
  `post_uid` int(11) NOT NULL COMMENT '发表者uid',
  `title` varchar(255) NOT NULL COMMENT '帖子标...	
11:02:04 [ERR][            grt]: Previously created MySQL Table `thinksns_3_0`.`ts_weiba_reply` was found. Statement ignored.
SQL statement
CREATE TABLE `ts_weiba_reply` (
  `reply_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '回复ID',
  `weiba_id` int(11) NOT NULL COMMENT '所属微吧',
  `post_id` int(11) NOT NULL COMMENT '所属帖子ID',
  `post_uid` int(11) NOT NULL COMMENT '帖子作欮.	
11:02:04 [ERR][            grt]: Previously created MySQL Table `thinksns_3_0`.`ts_x_article` was found. Statement ignored.
SQL statement
CREATE TABLE `ts_x_article` (
  `id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `title` varchar(200) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '标题',
  `uid` int(10) NOT NULL COMMENT '发布者ID',
  `mtime` int(11) NOT NULL COMMENT '佮..	
11:02:04 [ERR][            grt]: Previously created MySQL Table `thinksns_3_0`.`ts_x_logs` was found. Statement ignored.
SQL statement
CREATE TABLE `ts_x_logs` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `uid` int(11) NOT NULL COMMENT '用户ID',
  `uname` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL COMMENT '帐号\r\n',
  `app_name` char(80) NOT NULL COMMENT '日志所属帮..	
11:02:08 [INF][ Canvas backend]: Found OpenGL version for this view: 4.3.0
11:02:08 [WRN][        Command]: Plugin item wb.model.print_model was not found
13:39:00 [WRN][            grt]: in {1DABCF96-4E26-4585-9E8C-338C072A1068}: unserialized XML contains invalid member db.mysql.Trigger::oldModelSqlDefinitionin {1DABCF96-4E26-4585-9E8C-338C072A1068}: unserialized XML contains invalid member db.mysql.Trigger::oldServerSqlDefinitionPlugin item wb.model.print_model was not found
13:39:14 [INF][ Canvas backend]: Found OpenGL version for this view: 4.3.0
13:39:14 [WRN][        Command]: Plugin item wb.model.print_model was not found
13:47:45 [INF][ Canvas backend]: Found OpenGL version for this view: 4.3.0
13:47:45 [WRN][        Command]: Plugin item wb.model.print_model was not found
13:50:33 [ERR][      Workbench]: 索引超出范围。必须为非负值并小于集合大小。
参数名: index
Exception = System.ArgumentOutOfRangeException
Message = 索引超出范围。必须为非负值并小于集合大小。
参数名: index
FullText = System.ArgumentOutOfRangeException: 索引超出范围。必须为非负值并小于集合大小。
参数名: index
   在 System.ThrowHelper.ThrowArgumentOutOfRangeException()
   在 MySQL.Controls.FlatTabControl.ValidateTab(Int32 index)
   在 MySQL.Controls.FlatTabControl.DrawControl(Graphics g)
   在 MySQL.Controls.FlatTabControl.OnPaint(PaintEventArgs e)
   在 System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
   在 System.Windows.Forms.Control.WmPaint(Message& m)
   在 System.Windows.Forms.Control.WndProc(Message& m)
   在 System.Windows.Forms.TabControl.WndProc(Message& m)
   在 MySQL.Controls.FlatTabControl.WndProc(Message& m)
   在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

How to repeat:
sometimes, I'm not sure.
[6 Aug 2013 6:12] lfire lee
the log file

Attachment: wb.log (application/octet-stream, text), 49.38 KiB.

[6 Aug 2013 9:06] lfire lee
project file

Attachment: thinkSNS.mwb (application/octet-stream, text), 98.84 KiB.

[6 Aug 2013 9:09] lfire lee
How to repeat:

open the EER diagram, and mouse hover the figure ts_template.
[6 Aug 2013 12:00] MySQL Verification Team
exception message

Attachment: exception_wb605.png (image/png, text), 66.90 KiB.

[6 Aug 2013 12:01] MySQL Verification Team
Thank you for the bug report.
[23 Aug 2013 19:44] Alfredo Kojima
Can you try version 6.0.6?
[25 Aug 2013 14:13] lfire lee
with the same bug
[2 Sep 2013 17:12] Miguel Tadeu Mota
I was able to reproduce it
[6 Nov 2013 1:02] Philip Olson
Fixed as of MySQL Workbench 6.0.8, and here's the changelog entry:

The EER Diagram did not support Chinese characters.

Thank you for the bug report.