Bug #51471 Can't select a database instance - Workbench crashes
Submitted: 24 Feb 2010 18:22 Modified: 27 Feb 2010 11:18
Reporter: Mohamed Azzouzi Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench: Administration Severity:S1 (Critical)
Version:5.2.16 OSS Beta Revision 5249 OS:Microsoft Windows (2008 R2 Standard Edition)
Assigned to: CPU Architecture:Any
Tags: Instance, Manage security, Security manager

[24 Feb 2010 18:22] Mohamed Azzouzi
Description:
Hi guys,
This is stack trace I got:

Exception = System.Runtime.InteropServices.SEHException
Message = External component has thrown an exception.
FullText = System.Runtime.InteropServices.SEHException: External component has thrown an exception.
   at MySQL.Forms.DrawBoxImpl.drawbox_mouse_click(Object sender, MouseEventArgs e)
   at System.Windows.Forms.Control.OnMouseClick(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.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:
1) Create a database connection
2) Create a new server instance
3) Select "Manage import / export" or "Manage security"
4) Choose the newly created server instance
5) Click Ok and bang...

Suggested fix:
N/A
[24 Feb 2010 20:04] Miguel Solorzano
Thank you for the bug report. I couldn't repeat with 5.2.16 which version are you using?. Thanks in advance.
[25 Feb 2010 10:01] Mohamed Azzouzi
Please see this link for a detailed description with screen dumps.
http://www.noitso.dk/index.php?id=mysql_workbench_crash

And by the way... thanks a lot guys :-)
Mohamed
[25 Feb 2010 21:55] Miguel Solorzano
The server are you trying to connect it is a remote or local?. Thanks in advance.
[26 Feb 2010 7:53] Mohamed Azzouzi
Q: The server are you trying to connect it is a remote or local?. Thanks in
advance.

A: I have tried with a local one (localhost) and a remote one (noitso-udvik). The remote server is on the same domain as the calling server. Firewalls are disabled. I can connect to both servers and execute queries on both. It only fails when I try to do the before mentioned flow.
[27 Feb 2010 11:18] Valeriy Kravchuk
This is a duplicate of bug #51448 it seems.