Menu

Random crash of Notepad++

2014-12-22
2014-12-23
  • Bruce Axtens

    Bruce Axtens - 2014-12-22

    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

     
  • Andreas Jonsson

    Andreas Jonsson - 2014-12-23

    Judging by the callstack, I'd say the NppPluginNET plugin is responsible. Try disabling it or upgrading to a later version (if one exists).