Bug #5842
openAdiIRC is crashing at certain points
0%
Description
AdiIRC running through the latest version of Porting Kit / Wine on MacOS is crashing at two points:
In both cases the message comes up saying the program has crashed and offering the options to close/continue and to see more details. The more details options are pasted in below
1 when going into any script editor function
Class already exists.
Void RegisterClass()
at System.Windows.Forms.NativeWindow+WindowClass.RegisterClass () [0x002b5] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at System.Windows.Forms.NativeWindow+WindowClass..ctor (System.String className, System.Int32 classStyle) [0x00016] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at System.Windows.Forms.NativeWindow+WindowClass.Create (System.String className, System.Int32 classStyle) [0x00084] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at System.Windows.Forms.NativeWindow.CreateHandle (System.Windows.Forms.CreateParams cp) [0x00022] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at System.Windows.Forms.Control.CreateHandle () [0x0014f] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at System.Windows.Forms.TextBoxBase.CreateHandle () [0x00014] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at System.Windows.Forms.Control.get_Handle () [0x00041] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control.get_Handle()
at AdiIRC.GUI.Controls.CustomRichTextBox.get_TextLength () [0x0001c] in <00000000000000000000000000000000>:0
at System.Windows.Forms.TextBoxBase.AdjustSelectionStartAndEnd (System.Int32 selStart, System.Int32 selLength, System.Int32& start, System.Int32& end, System.Int32 textLen) [0x00030] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at System.Windows.Forms.TextBoxBase.GetSelectionStartAndLength (System.Int32& start, System.Int32& length) [0x00011] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at System.Windows.Forms.TextBoxBase.get_SelectionStart () [0x00001] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at AdiIRC.GUI.Controls.CustomRichTextBox.ResetUndo () [0x00036] in <00000000000000000000000000000000>:0
at (wrapper remoting-invoke-with-check) AdiIRC.GUI.Controls.CustomRichTextBox.ResetUndo()
at AdiIRC.GUI.Controls.MetaCustomRichTextBox.ResetUndo () [0x00014] in <00000000000000000000000000000000>:0
at (wrapper remoting-invoke-with-check) AdiIRC.GUI.Controls.MetaCustomRichTextBox.ResetUndo()
at AdiIRC.GUI.EditForm.LoadFile (AdiIRC.GUI.Controls.MetaCustomRichTextBox customRichTextBox) [0x003a8] in <00000000000000000000000000000000>:0
at AdiIRC.GUI.EditForm.LoadItems () [0x001d3] in <00000000000000000000000000000000>:0
at AdiIRC.GUI.EditForm..ctor (AdiIRC.Utils.Enums+EditType editType, AdiIRC.Plugins.PluginScriptEngine engine, System.Boolean newEditor) [0x00e2c] in <00000000000000000000000000000000>:0
at (wrapper remoting-invoke-with-check) AdiIRC.GUI.EditForm..ctor(AdiIRC.Utils.Enums/EditType,AdiIRC.Plugins.PluginScriptEngine,bool)
at AdiIRC.GUI.MainForm.OpenScripts (System.Object sender, System.EventArgs e) [0x00008] in <00000000000000000000000000000000>:0
at System.Windows.Forms.ToolStripItem.RaiseEvent (System.Object key, System.EventArgs e) [0x0001b] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at System.Windows.Forms.ToolStripItem.OnClick (System.EventArgs e) [0x00001] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at System.Windows.Forms.ToolStripMenuItem.OnClick (System.EventArgs e) [0x0001d] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at System.Windows.Forms.ToolStripItem.HandleClick (System.EventArgs e) [0x00051] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at System.Windows.Forms.ToolStripItem.HandleMouseUp (System.Windows.Forms.MouseEventArgs e) [0x000fd] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at System.Windows.Forms.ToolStripItem.FireEventInteractive (System.EventArgs e, System.Windows.Forms.ToolStripItemEventType met) [0x00053] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at System.Windows.Forms.ToolStripItem.FireEvent (System.EventArgs e, System.Windows.Forms.ToolStripItemEventType met) [0x00103] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.ToolStripItem.FireEvent(System.EventArgs,System.Windows.Forms.ToolStripItemEventType)
at System.Windows.Forms.ToolStrip.OnMouseUp (System.Windows.Forms.MouseEventArgs mea) [0x0007d] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at System.Windows.Forms.ToolStripDropDown.OnMouseUp (System.Windows.Forms.MouseEventArgs mea) [0x00001] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at System.Windows.Forms.Control.WmMouseUp (System.Windows.Forms.Message& m, System.Windows.Forms.MouseButtons button, System.Int32 clicks) [0x001c3] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x005a0] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00043] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at System.Windows.Forms.ToolStrip.WndProc (System.Windows.Forms.Message& m) [0x00128] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at System.Windows.Forms.ToolStripDropDown.WndProc (System.Windows.Forms.Message& m) [0x00070] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at System.Windows.Forms.Control+ControlNativeWindow.OnMessage (System.Windows.Forms.Message& m) [0x00001] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x000b3] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at System.Windows.Forms.NativeWindow.Callback (System.Windows.Forms.Message& m) [0x00025] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
2 when going into the options > logging > file names
Class already exists.
Void RegisterClass()
at System.Windows.Forms.NativeWindow+WindowClass.RegisterClass () [0x002b5] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at System.Windows.Forms.NativeWindow+WindowClass..ctor (System.String className, System.Int32 classStyle) [0x00016] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at System.Windows.Forms.NativeWindow+WindowClass.Create (System.String className, System.Int32 classStyle) [0x00084] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at System.Windows.Forms.NativeWindow.CreateHandle (System.Windows.Forms.CreateParams cp) [0x00022] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at System.Windows.Forms.Control.CreateHandle () [0x0014f] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at System.Windows.Forms.TextBoxBase.CreateHandle () [0x00014] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at System.Windows.Forms.Control.CreateControl (System.Boolean fIgnoreVisible) [0x00045] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control.CreateControl(bool)
at System.Windows.Forms.Control.CreateControl (System.Boolean fIgnoreVisible) [0x000b3] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control.CreateControl(bool)
at System.Windows.Forms.Control.CreateControl (System.Boolean fIgnoreVisible) [0x000b3] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at System.Windows.Forms.Control.CreateControl () [0x00008] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at System.Windows.Forms.Control.SetVisibleCore (System.Boolean value) [0x000f3] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at System.Windows.Forms.Control.set_Visible (System.Boolean value) [0x00001] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at AdiIRC.GUI.Controls.NewTabControl.Page.set_Visible (System.Boolean value) [0x00000] in <00000000000000000000000000000000>:0
at (wrapper remoting-invoke-with-check) AdiIRC.GUI.Controls.NewTabControl.Page.set_Visible(bool)
at AdiIRC.GUI.Controls.NewTabControl.PagedControl.UpdatePages () [0x0002c] in <00000000000000000000000000000000>:0
at AdiIRC.GUI.Controls.NewTabControl.PagedControl.ChangePage (AdiIRC.GUI.Controls.NewTabControl.Page page, System.Boolean allowModify) [0x0012a] in <00000000000000000000000000000000>:0
at AdiIRC.GUI.Controls.NewTabControl.PagedControl.set_SelectedPage (AdiIRC.GUI.Controls.NewTabControl.Page value) [0x00000] in <00000000000000000000000000000000>:0
at AdiIRC.GUI.Controls.NewTabControl.NewTabControl.set_SelectedPage (AdiIRC.GUI.Controls.NewTabControl.Page value) [0x00000] in <00000000000000000000000000000000>:0
at AdiIRC.GUI.Controls.NewTabControl.NewTabControl.OnMouseUp (System.Windows.Forms.MouseEventArgs e) [0x0008c] in <00000000000000000000000000000000>:0
at System.Windows.Forms.Control.WmMouseUp (System.Windows.Forms.Message& m, System.Windows.Forms.MouseButtons button, System.Int32 clicks) [0x001c3] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x005a0] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00043] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at System.Windows.Forms.Control+ControlNativeWindow.OnMessage (System.Windows.Forms.Message& m) [0x00001] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x000b3] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
at System.Windows.Forms.NativeWindow.Callback (System.Windows.Forms.Message& m) [0x00025] in <37b868e51d474edaba9f0a5c46fd4d0d>:0
Sometimes it works if you choose to continue and others the program crashes completely including sometimes if you try and send details.
I know running these things with emulator type things can sometimes be not ideal but maybe this could be worked on or there could be some sort of workaround. I can edit the scripts etc out of adiirc and use /load to get them in so this isn't breaking a lot of functionality
PA Updated by Per Amundsen 6 days ago
This seems related to the native .net richhtextbox. You can try enable syntax highlighting in the script editor, that will switch you over to the custom drawn text editor, or you can try the latest beta that removed the richtextbox entirely in favor of the custom drawn edit control..
DR Updated by di rhea 6 days ago
Per Amundsen wrote in #note-1:
enable syntax highlighting in the script editor,
Problem is that I can't get into the script editor at all. If this setting is reflected in one of the settings files, I can change this manually in there?
Does that fix the logging options screen not loading up either?