#23 Crash in Windows 8 multiple files

open
nobody
None
5
2013-05-23
2013-05-23
Anonymous
No

Crashes in Windows 8, editing php files in Notepad++ session mode.
Using NppFTP and SourceCookifier in tabs on the right side.

SourceCookifier is installed in:
Program Files (x86)/Notepad++/plugins/SourceCookifier.dll
Program Files (x86)/Notepad++/plugins/SourceCookifier/ctags.exe
Program Files (x86)/Notepad++/plugins/SourceCookifier/AddPolicy.bat
Program Files (x86)/Notepad++/plugins/SourceCookifier/RemovePolicy.bat
Program Files (x86)/Notepad++/plugins/SourceCookifier/icons/*.png
%APPDATA%/Notepad++/plugins/Config/SourceCookifier.config.xml
%APPDATA%/Notepad++/plugins/Config/SourceCookifier.languages.model.xml
%APPDATA%/Notepad++/plugins/Config/SourceCookifier.languages.xml

After opening multiple files, SourceCookifier comes with this error:
Owing to unfortunate circumstances an error with the following message occured:
"The handle is invalid. (Exception from HRESULT: 0x80070006 (E_HANDLE))"
Hence a logfile has been written to the SourceCookifier folder. Please post its content in the forum, if you think it's worth being fixed. Sorry for the inconvenience.

It also doesn't seem to save the language configuration.

The logfile contained:

2013-05-23 15-04-00:

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 SourceCookifier.frmMain.DoAllOpenedDocuments()
at SourceCookifier.frmMain.FrmMainVisibleChanged(Object sender, EventArgs e)

2013-05-23 15-04-07:

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 SourceCookifier.frmMain.DoAllOpenedDocuments()
at SourceCookifier.frmMain.FrmMainVisibleChanged(Object sender, EventArgs e)

Some debug data:
SystemUpdate
'notepad++.exe' (Win32): Loaded 'C:\Windows\SysWOW64\mswsock.dll'. Cannot find or open the PDB file.
'notepad++.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dnsapi.dll'. Cannot find or open the PDB file.
'notepad++.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rasadhlp.dll'. Cannot find or open the PDB file.
'notepad++.exe' (Win32): Loaded 'C:\Windows\SysWOW64\IPHLPAPI.DLL'. Cannot find or open the PDB file.
'notepad++.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winnsi.dll'. Cannot find or open the PDB file.
'notepad++.exe' (Win32): Loaded 'C:\Windows\SysWOW64\FWPUCLNT.DLL'. Cannot find or open the PDB file.
'notepad++.exe' (Win32): Loaded 'C:\Windows\SysWOW64\netapi32.dll'. Cannot find or open the PDB file.
'notepad++.exe' (Win32): Loaded 'C:\Windows\SysWOW64\netutils.dll'. Cannot find or open the PDB file.
'notepad++.exe' (Win32): Loaded 'C:\Windows\SysWOW64\srvcli.dll'. Cannot find or open the PDB file.
'notepad++.exe' (Win32): Loaded 'C:\Windows\SysWOW64\wkscli.dll'. Cannot find or open the PDB file.
'notepad++.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\wkscli.dll'
'notepad++.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\srvcli.dll'
'notepad++.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\netutils.dll'
'notepad++.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\netapi32.dll'
SCEN_SETFOCUS
SystemUpdate
'notepad++.exe' (Win32): Loaded 'C:\Program Files (x86)\Notepad++\plugins\SourceCookifier\ctags.exe'. Module was built without symbols.
'notepad++.exe' (Win32): Unloaded 'C:\Program Files (x86)\Notepad++\plugins\SourceCookifier\ctags.exe'
'notepad++.exe' (Win32): Loaded 'C:\Program Files (x86)\Notepad++\plugins\SourceCookifier\ctags.exe'. Module was built without symbols.
'notepad++.exe' (Win32): Unloaded 'C:\Program Files (x86)\Notepad++\plugins\SourceCookifier\ctags.exe'
HEAP[notepad++.exe]: Heap block at 00307EC0 modified at 00307FCC past requested size of 104
notepad++.exe has triggered a breakpoint.

_RtlpBreakPointHeap@4:
7709C135 mov edi,edi
7709C137 push ebp
7709C138 mov ebp,esp
7709C13A mov eax,dword ptr fs:[00000030h]
7709C140 cmp byte ptr [eax+2],0
7709C144 je _RtlpBreakPointHeap@4+28h (7709C15Dh)
7709C146 mov eax,dword ptr [ebp+8]
7709C149 mov byte ptr ds:[770B1324h],1
7709C150 mov dword ptr ds:[770B1320h],eax
7709C155 int 3

Discussion