Bug #51094 Crash Creating new Model
Submitted: 11 Feb 2010 13:49 Modified: 19 Mar 2010 11:44
Reporter: Martin Pirringer Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Workbench: Modeling Severity:S3 (Non-critical)
Version:5.2.15b OS:Windows (Windows 7)
Assigned to: CPU Architecture:Any
Tags: crash, Create model

[11 Feb 2010 13:49] Martin Pirringer
Description:
This is the copied error info.

Exception = System.AccessViolationException
Message = Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
FullText = System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at wb.WBContext.close_document_finish(WBContext* )
   at MySQL.Workbench.WbContext.close_document_finish()
   at MySQL.GUI.Workbench.MainForm.RefreshGUI(RefreshType refresh, String str, IntPtr ptr)
   at MySQL.Workbench.WbFrontendCallbacks.refresh_gui_wrapper(RefreshType refresh, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* str, Int64 ptr)
   at sigc.pointer_functor3<enum wb::RefreshType,std::basic_string<char,std::char_traits<char>,std::allocator<char> > const &,__int64,void>.()(pointer_functor3<enum wb::RefreshType\,std::basic_string<char\,std::char_traits<char>\,std::allocator<char> > const \&\,__int64\,void>* , RefreshType* _A_a1, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* _A_a2, Int64* _A_a3)
   at sigc.adaptor_functor<sigc::pointer_functor3<enum wb::RefreshType,std::basic_string<char,std::char_traits<char>,std::allocator<char> > const &,__int64,void> >.operator()<enum wb::RefreshType const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,__int64 const &>(adaptor_functor<sigc::pointer_functor3<enum wb::RefreshType\,std::basic_string<char\,std::char_traits<char>\,std::allocator<char> > const \&\,__int64\,void> >* , RefreshType* _A_arg1, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* _A_arg2, Int64* _A_arg3)
   at sigc.internal.slot_call3<sigc::pointer_functor3<enum wb::RefreshType,std::basic_string<char,std::char_traits<char>,std::allocator<char> > const &,__int64,void>,void,enum wb::RefreshType,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,__int64>.call_it(slot_rep* rep, RefreshType* a_1, basic_string<char\,std::char_traits<char>\,std::allocator<char> >* a_2, Int64* a_3)
   at MySQL.Grt.UIForm.will_close()
   at MySQL.GUI.Workbench.MainForm.mainDockPanel_ActiveDocumentClosing(Object sender, ActiveDocumentClosingEventArgs e)
   at WeifenLuo.WinFormsUI.Docking.DockPanel.OnActiveDocumentClosing(ActiveDocumentClosingEventArgs e)
   at WeifenLuo.WinFormsUI.Docking.DockPane.CloseContent(IDockContent content)
   at WeifenLuo.WinFormsUI.Docking.DockPane.CloseActiveContent()
   at WeifenLuo.WinFormsUI.Docking.VS2005DockPaneStrip.Close_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs 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:
Try Create/Delete models multiple time. Happens Rarely

Suggested fix:
I guess dont make it crash?
[19 Feb 2010 11:44] Susanne Ebrecht
Please let us know exactly how we could reproduce it.
[20 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".