Bug #66026 Intermittent crashes whn switching objects displatyed on lower pane
Submitted: 26 Jul 2012 16:43 Modified: 27 Jul 2012 4:07
Reporter: Robert Arkenin Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S3 (Non-critical)
Version:5.2.41 OS:Windows (Microsoft Windows XP Professional x64 Edition Service Pack 1 (build 3790) x64)
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[26 Jul 2012 16:43] Robert Arkenin
Description:
Intermittent crash with casting error ar rportd by automated bugcheck

----- Developer Notes -----

MySQL Workbench CE for Windows version 5.2.41  revision 9727
. On previous version, moving Windows Error reporting indow out of the way allowed work to be continued, so the error is not severe.,
Configuration Directory: C:\Documents and Settings\The Honorable Admin\Application Data\MySQL\Workbench
Data Directory: C:\Program Files (x86)\MySQL\MySQL Workbench 5.2 CE
Cairo Version: 1.8.8
OS: Microsoft Windows XP Professional x64 Edition Service Pack 1 (build 3790)
CPU: AMD Athlon(tm) Processor 2650e, 0.9 GiB RAM
Active video adapter (0): NVIDIA GeForce 6150SE nForce 430
Installed video RAM: 512 MB
Current video mode: 1440 x 900 x 4294967296 colors
Used bit depth: 32
Driver version: 6.14.13.0142
Installed display drivers: nv4_disp.dll
Current user language: English (United States)

Exception = System.InvalidCastException
Message = Unable to cast object of type 'MySQL.Forms.DrawBoxImpl' to type 'MySQL.GUI.Workbench.Plugins.DockablePlugin'.
FullText = System.InvalidCastException: Unable to cast object of type 'MySQL.Forms.DrawBoxImpl' to type 'MySQL.GUI.Workbench.Plugins.DockablePlugin'.
   at MySQL.GUI.Workbench.Plugins.DockablePlugin.GetFromFixedPtr(IntPtr ptr)
   at MySQL.GUI.Workbench.MainForm.ShowPlugin(IntPtr ptr)
   at MySQL.Forms.AppImpl.show_editor_wrapper(UInt32 native_handle)
   at boost.detail.function.void_function_invoker1<void (__cdecl*)(unsigned int),void,unsigned int>.invoke(function_buffer* function_ptr, UInt32 a0)
   at MySQL.Grt.ListModel.activate_node(NodeId node)
   at MySQL.GUI.Workbench.ModelOverviewForm.listViewDoubleClick(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnDoubleClick(EventArgs e)
   at System.Windows.Forms.ListView.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

How to repeat:
**INTERMITTENT**
OPen any object from a model in the lower pane.
Perform some actions
Time-to-time, a crash shall occur
[26 Jul 2012 16:45] Robert Arkenin
Windows was 64-bit
[26 Jul 2012 16:48] Robert Arkenin
Sorry, it actually occurs only if you switch routines. Bug, and lower pane is not switched. Switching to other object types is OK. However, other routines cannot be accessed.
[27 Jul 2012 4:07] Valeriy Kravchuk
This is a duplicate/yet another kind of bug #66013.