Bug #51173 unexpected crash
Submitted: 14 Feb 2010 19:53 Modified: 18 Mar 2010 9:42
Reporter: Felix Kocherovsky Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: CPU Architecture:Any

[14 Feb 2010 19:53] Felix Kocherovsky
Description:
Exception = System.ObjectDisposedException
Message = Cannot access a disposed object.
Object name: 'WorkbenchOverviewForm'.
FullText = System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'WorkbenchOverviewForm'.
   at System.Windows.Forms.Control.CreateHandle()
   at System.Windows.Forms.Form.CreateHandle()
   at System.Windows.Forms.Control.get_Handle()
   at System.Windows.Forms.Control.RectangleToScreen(Rectangle r)
   at MySQL.GUI.Workbench.WorkbenchOverviewForm.WheelMessageFilter.PreFilterMessage(Message& m)
   at System.Windows.Forms.Application.ThreadContext.ProcessFilters(MSG& msg, Boolean& modified)
   at System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)
   at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FPreTranslateMessage(MSG& msg)
   at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.Run(ApplicationContext context)
   at MySQL.GUI.Workbench.Program.Main(String[] Args)

How to repeat:
I inserted into "SQL Statement"frame of MySQL Workbench, and the environment crashed.

CREATE DATABASE y_shape;
USE y_shape;
CREATE TABLE cities
(
     city_id     INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
     city_name   VARCHAR(30)
);

********************************************************************************
CREATE TABLE streets
(
     street_id     INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY,
     street_name   VARCHAR(30)
);

insert into `y_shape`.`streets` (`street_id`, `street_name`) values ('0', 'unknown');

insert into `y_shape`.`streets` (`street_id`, `street_name`) values ('0', 'Hertzel');

insert into `y_shape`.`streets` (`street_id`, `street_name`) values ('0', 'Bialik');

insert into `y_shape`.`streets` (`street_id`, `street_name`) values ('0', 'Hagana');

insert into `y_shape`.`streets` (`street_id`, `street_name`) values ('0', 'Sokolov');

insert into `y_shape`.`streets` (`street_id`, `street_name`) values ('0', 'Orlov');

insert into `y_shape`.`streets` (`street_id`, `street_name`) values ('0', 'Jabotinsky');

insert into `y_shape`.`streets` (`street_id`, `street_name`) values ('0', 'ha-nasiim');

insert into `y_shape`.`streets` (`street_id`, `street_name`) values ('0', 'Weizman');

insert into `y_shape`.`streets` (`street_id`, `street_name`) values ('0', 'Shtampeper');

insert into `y_shape`.`streets` (`street_id`, `street_name`) values ('0', 'Yehuda ha-levi');

insert into `y_shape`.`streets` (`street_id`, `street_name`) values ('0', 'Arlozorov');

insert into `y_shape`.`streets` (`street_id`, `street_name`) values ('0', 'Ben yehuda');

insert into `y_shape`.`streets` (`street_id`, `street_name`) values ('0', 'Ein-ganim');

insert into `y_shape`.`streets` (`street_id`, `street_name`) values ('0', 'Pinkas');

insert into `y_shape`.`streets` (`street_id`, `street_name`) values ('0', 'Hefetz haim');

insert into `y_shape`.`streets` (`street_id`, `street_name`) values ('0', 'ha-etzira');

insert into `y_shape`.`streets` (`street_id`, `street_name`) values ('0', 'ha-melacha');

insert into `y_shape`.`streets` (`street_id`, `street_name`) values ('0', 'Alfasi');

insert into `y_shape`.`streets` (`street_id`, `street_name`) values ('0', 'ha-shlosha');

insert into `y_shape`.`streets` (`street_id`, `street_name`) values ('0', 'ha-tiqwa');
[15 Feb 2010 12:51] Johannes Taxacher
could not reproduce (win7 and osx)
[18 Feb 2010 9:42] Valeriy Kravchuk
Please, check if the same problem happens with WB 5.2.16. If it is, please, indicate what exact OS do you use.
[19 Mar 2010 0:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".