Toad World® Forums

Sporadic crashing


Seems this beta 140 is very prone to crashing when too mnay things are going on.
This was an issue some betas ago, but since had been addressed. Lately, this new
beta 140 cannot handle too many connections and queries.

2 Oracle Connections
1 ODBC connection
2 open editors in all connections.
2 running queries on one Oracle connection.
try to stop one query before result set returns and everything crashes:

Object reference not set to an instance of an object.
Stack Trace:
at bh.a(DockManager A_0, XmlTextWriter A_1, Boolean A_2)
at ActiproSoftware.UIStudio.Dock.DockManager.SaveToolWindowLayoutToFile(String
path, Boolean saveTextProperties)
at Quest.Toad.Editor.EditorForm.EditorForm_Closed(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at Quest.Toad.Gui.DocumentForm.RaiseClosed()
at Quest.Toad.Gui.MainForm.dockManager_WindowClosed(Object sender,
TabbedMdiWindowEventArgs e)

at ActiproSoftware.UIStudio.Dock.DockManager.b(TabbedMdiWindowEventArgs A_0)
at ActiproSoftware.UIStudio.Dock.DockManager.a(TabbedMdiWindow[] A_0, Boolean
A_1, TabbedMdiWindowCloseReason A_2)
at ActiproSoftware.UIStudio.Dock.DockManager.CloseAllActiveDocuments(Boolean
force, TabbedMdiWindowCloseReason reason)
at ActiproSoftware.UIStudio.Dock.DockManager.CloseAllActiveDocuments(Boolean
at ActiproSoftware.UIStudio.Dock.DockManager.Dispose(Boolean disposing)
at System.ComponentModel.Component.Dispose()
at System.ComponentModel.Container.Dispose(Boolean disposing)
at System.ComponentModel.Container.Dispose()
at Quest.Toad.Gui.MainForm.Dispose(Boolean disposing)
at System.ComponentModel.Component.Dispose()
at System.Windows.Forms.Form.WmClose(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at DevExpress.XtraEditors.XtraForm.WndProc(Message& msg)
at Quest.Toad.Gui.MainForm.WndProc(Message& msg)
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)



Your steps say you were canceling a query. The error stack is on closing an

How were you canceling the query? From processing window, Editor Cancel button
or File | cancel all action?

And were you closing an editor?



In Background processes, click stop button, doesn’t stop. Then when trying to
close Toad, you get the various messages “Do you want to stop running queries?”
click yes, freeze, click X once again crash.


Yup. Those are the exact steps. I can reproduce. Thanks.