6.8.8, Crash destroys file contents



  • Hi, twice now N++ has crashed while saving a file and the entire contents of the file are destroyed in the process.

    6.8.8 needs to be placed back in unstable until this is fixed.



  • Hello @Simba-Lion,

    such crashes are bad but to be able to find out what could have caused the issue devs would need more
    information what you did. Best in such cases, you are able to reproduce it and can give a step by step
    instruction what needs to be done to replicate this.
    Otherwise it is nearly impossible to find out what could have caused it.
    And it is possible that npp can’t be blamed as a installed plugin was behaving incorrectly or … many
    other reasons.

    Cheers
    Claudia



  • I understand, however this is an especially serious issue so some attention should be given to it. One of the greatest features of Notepad++ is it’s ability to restore file contents after a crash.

    I can tell you it happens during file saving. I’ve only seen it happen twice and I was doing a dozen things at once both times. My PC has 16GB of ram so resources aren’t the issue.

    I can’t easily reproduce it. I did just update to 6.9 which I see on the website but not in the in-app update tool. Hopefully it will go away.

    The plugins I’ve got loaded are MIMETools, Converter, NppExport, and PluginManager.



  • I do agree trying to debug this issue is very difficult since it is not reproducible. However, any information you can provide would be helpful. Here’s a few questions.

    • The two times it has happened, was it to the same file? (Or any kind of similarities between the two files)
    • What kind of file are they (txt, xml, html, etc)?
    • How large of file(s)?
    • Do you have periodic backups turned on?
    • When Notepad++ “crashes” does it give you any error message or just immediately die off?


  • Same has happened to me couple times before and happened again with 6.9.0.

    Here is what WER contained:
    Version=1
    EventType=BEX
    EventTime=131026844720099339
    ReportType=2
    Consent=1
    UploadTime=131026844720949424
    ReportIdentifier=d53220e7-ec2b-11e5-acac-54cd04d87d18
    IntegratorReportIdentifier=d53220e6-ec2b-11e5-acac-54cd04d87d18
    WOW64=1
    Response.BucketId=153399378
    Response.BucketTable=27
    Response.type=4
    Sig[0].Name=Application Name
    Sig[0].Value=notepad++.exe
    Sig[1].Name=Application Version
    Sig[1].Value=6.9.0.0
    Sig[2].Name=Application Timestamp
    Sig[2].Value=56ca1e0b
    Sig[3].Name=Fault Module Name
    Sig[3].Value=notepad++.exe
    Sig[4].Name=Fault Module Version
    Sig[4].Value=6.9.0.0
    Sig[5].Name=Fault Module Timestamp
    Sig[5].Value=56ca1e0b
    Sig[6].Name=Exception Offset
    Sig[6].Value=000e65f1
    Sig[7].Name=Exception Code
    Sig[7].Value=c0000417
    Sig[8].Name=Exception Data
    Sig[8].Value=00000000
    DynamicSig[1].Name=OS Version
    DynamicSig[1].Value=6.1.7601.2.1.0.256.4
    DynamicSig[2].Name=Locale ID
    DynamicSig[2].Value=1035
    DynamicSig[22].Name=Additional Information 1
    DynamicSig[22].Value=83aa
    DynamicSig[23].Name=Additional Information 2
    DynamicSig[23].Value=83aaec1861dfdbb25c35f1cab3fe317d
    DynamicSig[24].Name=Additional Information 3
    DynamicSig[24].Value=8e2d
    DynamicSig[25].Name=Additional Information 4
    DynamicSig[25].Value=8e2d666b0579ca261659b9914cbca54d
    UI[2]=C:\Program Files (x86)\Notepad++\notepad++.exe
    UI[3]=Notepad++ : a free (GNU) source code editor has stopped working
    UI[4]=Windows can check online for a solution to the problem.
    UI[5]=Check online for a solution and close the program
    UI[6]=Check online for a solution later and close the program
    UI[7]=Close the program
    LoadedModule[0]=C:\Program Files (x86)\Notepad++\notepad++.exe
    LoadedModule[1]=C:\WINDOWS\SysWOW64\ntdll.dll
    LoadedModule[2]=C:\WINDOWS\syswow64\kernel32.dll
    LoadedModule[3]=C:\WINDOWS\syswow64\KERNELBASE.dll
    LoadedModule[4]=C:\WINDOWS\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.18837_none_41e855142bd5705d\COMCTL32.dll
    LoadedModule[5]=C:\WINDOWS\syswow64\msvcrt.dll
    LoadedModule[6]=C:\WINDOWS\syswow64\GDI32.dll
    LoadedModule[7]=C:\WINDOWS\syswow64\USER32.dll
    LoadedModule[8]=C:\WINDOWS\syswow64\ADVAPI32.dll
    LoadedModule[9]=C:\WINDOWS\SysWOW64\sechost.dll
    LoadedModule[10]=C:\WINDOWS\syswow64\RPCRT4.dll
    LoadedModule[11]=C:\WINDOWS\syswow64\SspiCli.dll
    LoadedModule[12]=C:\WINDOWS\syswow64\CRYPTBASE.dll
    LoadedModule[13]=C:\WINDOWS\syswow64\LPK.dll
    LoadedModule[14]=C:\WINDOWS\syswow64\USP10.dll
    LoadedModule[15]=C:\WINDOWS\syswow64\SHLWAPI.dll
    LoadedModule[16]=C:\WINDOWS\syswow64\SHELL32.dll
    LoadedModule[17]=C:\WINDOWS\syswow64\COMDLG32.dll
    LoadedModule[18]=C:\WINDOWS\syswow64\ole32.dll
    LoadedModule[19]=C:\WINDOWS\system32\IMM32.DLL
    LoadedModule[20]=C:\WINDOWS\syswow64\MSCTF.dll
    LoadedModule[21]=C:\Program Files (x86)\Notepad++\SciLexer.dll
    LoadedModule[22]=C:\WINDOWS\syswow64\OLEAUT32.dll
    LoadedModule[23]=C:\WINDOWS\system32\Msimg32.DLL
    LoadedModule[24]=C:\WINDOWS\system32\uxtheme.dll
    LoadedModule[25]=C:\WINDOWS\syswow64\SETUPAPI.dll
    LoadedModule[26]=C:\WINDOWS\syswow64\CFGMGR32.dll
    LoadedModule[27]=C:\WINDOWS\syswow64\DEVOBJ.dll
    LoadedModule[28]=C:\WINDOWS\syswow64\CLBCatQ.DLL
    LoadedModule[29]=C:\WINDOWS\system32\propsys.dll
    LoadedModule[30]=C:\WINDOWS\system32\ntmarta.dll
    LoadedModule[31]=C:\WINDOWS\syswow64\WLDAP32.dll
    LoadedModule[32]=C:\WINDOWS\system32\dwmapi.dll
    LoadedModule[33]=C:\WINDOWS\system32\WindowsCodecs.dll
    LoadedModule[34]=C:\Program Files (x86)\Notepad++\plugins\mimeTools.dll
    LoadedModule[35]=C:\Program Files (x86)\Notepad++\plugins\NppConverter.dll
    LoadedModule[36]=C:\Program Files (x86)\Notepad++\plugins\NppExport.dll
    LoadedModule[37]=C:\Program Files (x86)\Notepad++\plugins\NppFTP.dll
    LoadedModule[38]=C:\WINDOWS\syswow64\WS2_32.dll
    LoadedModule[39]=C:\WINDOWS\syswow64\NSI.dll
    LoadedModule[40]=C:\Program Files (x86)\Notepad++\plugins\PluginManager.dll
    LoadedModule[41]=C:\WINDOWS\system32\VERSION.dll
    LoadedModule[42]=C:\WINDOWS\syswow64\WININET.dll
    LoadedModule[43]=C:\WINDOWS\syswow64\api-ms-win-downlevel-user32-l1-1-0.dll
    LoadedModule[44]=C:\WINDOWS\syswow64\api-ms-win-downlevel-shlwapi-l1-1-0.dll
    LoadedModule[45]=C:\WINDOWS\syswow64\api-ms-win-downlevel-version-l1-1-0.dll
    LoadedModule[46]=C:\WINDOWS\syswow64\api-ms-win-downlevel-normaliz-l1-1-0.dll
    LoadedModule[47]=C:\WINDOWS\syswow64\normaliz.DLL
    LoadedModule[48]=C:\WINDOWS\syswow64\iertutil.dll
    LoadedModule[49]=C:\WINDOWS\syswow64\api-ms-win-downlevel-advapi32-l1-1-0.dll
    LoadedModule[50]=C:\WINDOWS\syswow64\USERENV.dll
    LoadedModule[51]=C:\WINDOWS\syswow64\profapi.dll
    LoadedModule[52]=C:\WINDOWS\system32\apphelp.dll
    LoadedModule[53]=C:\WINDOWS\system32\EhStorShell.dll
    LoadedModule[54]=C:\Program Files (x86)\Microsoft Office\Office14\GROOVEEX.DLL
    LoadedModule[55]=C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_50934f2ebcb7eb57\MSVCR90.dll
    LoadedModule[56]=C:\WINDOWS\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_50934f2ebcb7eb57\MSVCP90.dll
    LoadedModule[57]=C:\WINDOWS\WinSxS\x86_microsoft.vc90.atl_1fc8b3b9a1e18e3b_9.0.30729.6161_none_51cd0a7abbe4e19b\ATL90.DLL
    LoadedModule[58]=C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE14\Cultures\office.odf
    LoadedModule[59]=C:\Program Files (x86)\Microsoft Office\Office14\1033\GrooveIntlResource.dll
    LoadedModule[60]=C:\WINDOWS\system32\ntshrui.dll
    LoadedModule[61]=C:\WINDOWS\system32\srvcli.dll
    LoadedModule[62]=C:\WINDOWS\system32\cscapi.dll
    LoadedModule[63]=C:\WINDOWS\system32\slc.dll
    LoadedModule[64]=C:\Program Files (x86)\Common Files\microsoft shared\ink\tiptsf.dll
    LoadedModule[65]=C:\WINDOWS\system32\explorerframe.dll
    LoadedModule[66]=C:\WINDOWS\system32\DUser.dll
    LoadedModule[67]=C:\WINDOWS\system32\DUI70.dll
    LoadedModule[68]=C:\WINDOWS\system32\msls31.dll
    LoadedModule[69]=C:\WINDOWS\system32\xmllite.dll
    LoadedModule[70]=C:\WINDOWS\system32\CRYPTSP.dll
    LoadedModule[71]=C:\WINDOWS\system32\rsaenh.dll
    LoadedModule[72]=C:\WINDOWS\system32\RpcRtRemote.dll
    LoadedModule[73]=C:\WINDOWS\System32\StructuredQuery.dll
    LoadedModule[74]=C:\WINDOWS\System32\Secur32.dll
    LoadedModule[75]=C:\Windows\SysWOW64\actxprxy.dll
    LoadedModule[76]=C:\Program Files (x86)\Internet Explorer\ieproxy.dll
    LoadedModule[77]=C:\WINDOWS\system32\api-ms-win-downlevel-shlwapi-l2-1-0.dll
    LoadedModule[78]=C:\Windows\SysWOW64\thumbcache.dll
    LoadedModule[79]=C:\WINDOWS\syswow64\PSAPI.DLL
    LoadedModule[80]=C:\WINDOWS\system32\SHDOCVW.dll
    LoadedModule[81]=C:\WINDOWS\system32\ieframe.DLL
    LoadedModule[82]=C:\WINDOWS\system32\api-ms-win-downlevel-shell32-l1-1-0.dll
    LoadedModule[83]=C:\WINDOWS\system32\MPR.dll
    LoadedModule[84]=C:\WINDOWS\system32\wkscli.dll
    LoadedModule[85]=C:\WINDOWS\system32\netutils.dll
    LoadedModule[86]=C:\WINDOWS\system32\LINKINFO.dll
    LoadedModule[87]=C:\WINDOWS\system32\NetworkExplorer.dll
    LoadedModule[88]=C:\WINDOWS\system32\WINMM.dll
    LoadedModule[89]=C:\WINDOWS\system32\PortableDeviceApi.dll
    LoadedModule[90]=C:\WINDOWS\system32\SearchFolder.dll
    LoadedModule[91]=C:\WINDOWS\syswow64\WINTRUST.dll
    LoadedModule[92]=C:\WINDOWS\syswow64\CRYPT32.dll
    LoadedModule[93]=C:\WINDOWS\syswow64\MSASN1.dll
    LoadedModule[94]=C:\WINDOWS\system32\EhStorAPI.dll
    LoadedModule[95]=C:\WINDOWS\system32\mssprxy.dll
    LoadedModule[96]=C:\WINDOWS\syswow64\api-ms-win-downlevel-ole32-l1-1-0.dll
    LoadedModule[97]=C:\WINDOWS\syswow64\urlmon.dll
    LoadedModule[98]=C:\WINDOWS\system32\MLANG.dll
    LoadedModule[99]=C:\WINDOWS\system32\api-ms-win-downlevel-advapi32-l2-1-0.dll
    LoadedModule[100]=C:\WINDOWS\System32\drprov.dll
    LoadedModule[101]=C:\WINDOWS\System32\WINSTA.dll
    LoadedModule[102]=C:\WINDOWS\System32\ntlanman.dll
    LoadedModule[103]=C:\WINDOWS\System32\davclnt.dll
    LoadedModule[104]=C:\WINDOWS\System32\DAVHLPR.dll
    LoadedModule[105]=C:\Program Files (x86)\Common Files\Microsoft Shared\MSEnv\VSFileHandler.dll
    LoadedModule[106]=C:\WINDOWS\system32\wpdshext.dll
    LoadedModule[107]=C:\WINDOWS\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.19061_none_72d6d48d86649709\gdiplus.dll
    State[0].Key=Transport.DoneStage1
    State[0].Value=1
    State[1].Key=DataRequest
    State[1].Value=Bucket=153399378/nBucketTable=27/nResponse=1/n
    FriendlyEventName=Stopped working
    ConsentKey=BEX
    AppName=Notepad++ : a free (GNU) source code editor
    AppPath=C:\Program Files (x86)\Notepad++\notepad++.exe



  • This has happened to me at least 3 or 4 times, the most recently a few days ago on 6.9. My only recourse has been to restored from backups. Very frustrating.



  • Hello @BJ-Stanton,

    do you have additional informations about this?
    Especially answers to the questions dail posted in this thread.
    On which operating system did this occur?

    Cheers
    Claudia



  • Just happened to me too in 6.9.
    Windows 7 64 bit.
    Had two views of the same .SQL file open, was editing in both views.
    File was also open in another application (SQL Server Management Studio - SSMS)
    Made change, hit Ctr/S, got error popup in NP++, file was zero size after that!!!
    No, this is not reproducible,
    Thankfully was able to save from SSMS.



  • @dail said:

    How large of file(s)?
    584kb

    Do you have periodic backups turned on?
    Yes, by default, I guess. I didn’t know about this feature.

    When Notepad++ “crashes” does it give you any error message or just immediately die off?
    There was error message, but I don’t remember it. I don’t think it was windows message, but NP++

    Other than that, NP++ is great!
    Well… maybe duplicate lines in search window, when string found twice in one line - that always puzzles me.



  • Problem may have something to do with the following.
    Clone to Other View.
    Close NPP with two views open.
    Open NPP - two views open now.
    Update file in one view - get message that file was updated in other application.


Log in to reply