Bug #64194 Closing SQL Editor for a Connection Causes Crash
Submitted: 1 Feb 2012 15:28 Modified: 1 Mar 2012 16:09
Reporter: Matthew Utley Email Updates:
Status: No Feedback Impact on me:
Category:MySQL Workbench: SQL Editor Severity:S2 (Serious)
Version:5.2.36 CE OS:Microsoft Windows (Windows 7 Ultimate x64)
Assigned to: CPU Architecture:Any

[1 Feb 2012 15:28] Matthew Utley
Stack trace:

Exception = System.NullReferenceException
Message = Object reference not set to an instance of an object.
FullText = System.NullReferenceException: Object reference not set to an instance of an object.
   at boost.detail.sp_counted_base.add_ref_lock(sp_counted_base* )
   at boost.detail.shared_count.{ctor}(shared_count* , weak_count* r, sp_nothrow_tag __unnamed001)
   at boost.shared_ptr<boost::signals2::detail::connection_body_base>.{ctor}<class boost::signals2::detail::connection_body_base>(shared_ptr<boost::signals2::detail::connection_body_base>* , weak_ptr<boost::signals2::detail::connection_body_base>* r, sp_nothrow_tag __unnamed001)
   at boost.weak_ptr<boost::signals2::detail::connection_body_base>.lock(weak_ptr<boost::signals2::detail::connection_body_base>* , shared_ptr<boost::signals2::detail::connection_body_base>* )
   at boost.signals2.connection.disconnect(connection* )
   at MySQL.Grt.Db.RecordsetWrapper.refresh_ui_status_bar_cb(ManagedDelegate cb)
   at MySQL.Grt.Db.RecordsetView.Dispose(Boolean disposing)
   at System.ComponentModel.Component.Dispose()
   at MySQL.GUI.Workbench.DbSqlEditor.CloseRecordset(Int64 key)
   at MySQL.GUI.Workbench.DbSqlEditor.Destroy()
   at MySQL.GUI.Workbench.DbSqlEditor.Dispose(Boolean disposing)
   at System.Windows.Forms.Form.WmClose(Message& m)
   at System.Windows.Forms.Form.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:
When closing the SQL Editor tab, upon returning to the home screen, I receive an error message. I clicked Report Bug this time. Upon clicking close, Windows displays a crash message and I have to click Close the Program.

This does not happen every single time, only on occasion. I cannot find any sort of pattern.
[1 Feb 2012 16:09] Valeriy Kravchuk
Please, check if this problem ever happens with a newer version, 5.2.37.
[2 Mar 2012 1: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".