Bug #62951 | Crashing when attempting to recover document | ||
---|---|---|---|
Submitted: | 26 Oct 2011 21:01 | Modified: | 1 Nov 2011 13:43 |
Reporter: | Eric Kent | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Workbench: Modeling | Severity: | S3 (Non-critical) |
Version: | 5.2.35 CE Rev 7915 | OS: | Windows (Windows 7, XP) |
Assigned to: | CPU Architecture: | Any | |
Tags: | Document Recovery |
[26 Oct 2011 21:01]
Eric Kent
[26 Oct 2011 21:56]
MySQL Verification Team
Please provide the back trace right clicking around the bug icon and select copy back trace to clipboard and paste it here. Thanks.
[26 Oct 2011 23:09]
Eric Kent
Exception = System.Runtime.InteropServices.SEHException Message = External component has thrown an exception. FullText = System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception. at mforms.ToolBarItem.callback(ToolBarItem* ) at MySQL.Forms.ToolBarItemImpl.OnItemActivation(Object sender, EventArgs e) at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ToolStrip.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)
[27 Oct 2011 14:34]
Alfredo Kojima
Does the recover document icon still appear? If so, please reply so we can try getting a copy of the autosaved document.
[28 Oct 2011 13:35]
Eric Kent
I found another report of what appears to be the same problem: Bug #62589, from 9/30. I was able to work around the bug by loading the file, then when the recover document dialog came up, not recovering. I then was able to "save as" the document to different file. The new file was complete, and did not cause the error. The original file still triggers the recover document dialog. Over the past couple of days, I was able to work on the new file without any problems. This morning, I got an error when attempting to add a new table. I saved the document, then exited the workbench. Then I restarted the workbench, and attempted to reload the document. I got the recover document dialog and the same error: External component has thrown an exception The back trace is different: Exception = System.Runtime.InteropServices.SEHException Message = External component has thrown an exception. FullText = System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception. at wb.WBContextUI.init_finish(WBContextUI* , WBOptions* ) at MySQL.Workbench.WbContext.finished_loading(WbOptions options) at MySQL.GUI.Workbench.Program.Main(String[] Args) The workbench then crashes. The same work around of not recovering, and saving to a different file works. In the comments for Bug #62589, Armando Lopez indicated that he was able to reproduce the problem.
[1 Nov 2011 10:25]
Valeriy Kravchuk
I was able to repeat this on 32-bit Windows XP. Stack trace is: Exception = System.Runtime.InteropServices.SEHException Message = External component has thrown an exception. FullText = System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception. at MySQL.Forms.DrawBoxImpl.drawbox_mouse_double_click(Object sender, MouseEventArgs e) at System.Windows.Forms.Control.OnMouseDoubleClick(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)
[1 Nov 2011 10:27]
Valeriy Kravchuk
Test file to open to get the crash
Attachment: m2.mwb (application/octet-stream, text), 4.83 KiB.
[1 Nov 2011 13:43]
Alfredo Kojima
Duplicate of bug #62589