What's the likely reason for this random but regular crash? It's Notepad++ 6.9.9.
Unhandled Exception: System.Runtime.InteropServices.COMException (0x80070006): The handle is invalid. (Exception from HRESULT: 0x80070006 (E_HANDLE))
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Runtime.InteropServices.Marshal.FreeHGlobal(IntPtr hglobal)
at NppPluginNET.ClikeStringArray.Dispose()
at NppPluginNET.ClikeStringArray.Finalize()
Ordinarily I miss that error message but I had run the editor from the MinGW command line so got to see the stderr.
I'm about to install 6.7.1 and am hoping it goes away.
Bugmagnet
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What's the likely reason for this random but regular crash? It's Notepad++ 6.9.9.
Unhandled Exception: System.Runtime.InteropServices.COMException (0x80070006): The handle is invalid. (Exception from HRESULT: 0x80070006 (E_HANDLE))
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Runtime.InteropServices.Marshal.FreeHGlobal(IntPtr hglobal)
at NppPluginNET.ClikeStringArray.Dispose()
at NppPluginNET.ClikeStringArray.Finalize()
Ordinarily I miss that error message but I had run the editor from the MinGW command line so got to see the stderr.
I'm about to install 6.7.1 and am hoping it goes away.
Bugmagnet
Judging by the callstack, I'd say the NppPluginNET plugin is responsible. Try disabling it or upgrading to a later version (if one exists).