Notepad++ crashes at exit
here’s a screen of the crash: https://imgur.com/jnSCbxB
Hmm, I see it’s Admin mode; you might want to try running without elevated privileges (I mentioned earlier where in the NPP shortcut that’s found).
Also, I would highly recommend trying to run without plugins for a while, and see if it still happens. (You could add
-noPluginto the Target field of the shortcut)
Also, I see “PortableApps” in the path to your executable. Did you get your copy from portableapps.com, or did you download the zip package from https://notepad-plus-plus.org/download/ ? I would recommend using the official zipfile.
I’m not sure it’s launched in admin mode when it crashes, my guess is it doesn’t, the shortcut in desktop is set to launch in admin mode but mostly I open a txt file by double-clicking it (instead of launching npp+ and selection open file)
also, I get the zip file from official npp+ site each time,
I don’t think it’s available from portableapps.com
where has @Antoon Kagenaar gone by the way? :O
I have the same problem, but I think that I definitively solved this issue today. It’s for me a problem with the Zoom Disabler 1.2 plugin. When I remove this plugin, there is no crash on exit anymore. I use Notepad++ 32 bits on Windows 10 64 bits.
Same for me, deleting Zoom Disabler is the solution, thanks to @Jean-michel
The LocationNavigate plugin is also well known to cause Notepad++ to crash at exit.
Created https://github.com/StanDog/npp-zoomdisabler/issues/3 for the issue with zoom disabler.
For LocationNavigate from (https://sourceforge.net/p/locationnav/tickets/) Maybe there could be created an issue.
I have some trouble reproducing this problem. On Windows 7 and 10 I have no problem with the 64-bit version. Could someone, who is affected, please try to remove all plugins except the Zoom Disabler plugin and test, if this problem still appears? Just to be sure, that Zoom Disabler is really the troublemaker and not a combination with an other plugin.
@PeterJones : I have the same problem, and it is reproducible. Can send you a screenshot.
Notepad++ v7.5.9 (64-bit)
Build time : Oct 14 2018 - 15:19:55
Path : C:\p\Notepad++\notepad++.exe
Admin mode : OFF
Local Conf mode : ON
OS : Windows 10 (64-bit)
Plugins : AnalysePlugin.dll DSpellCheck.dll mimeTools.dll NppConverter.dll binhex.dll HexEditor.dll MenuIcons.dll NppExport.dll NppSnippets.dll PluginManager.dll SelectQuotedText.dll XBrackets.dll _CustomizeToolbar.dll
It doesn’t seem to depend on the files which I have open. Even if I empty a fresh, empty N++ with no files, and immediately exit (i.e. File/Exit), I get the error message.
I have the same problem, and it is reproducible. Can send you a screenshot.
You can upload screenshots to a service like imgur.com, then embed them with the syntax
!(http://i.imgur.com/QTHZysa.png)(noting that for imgur, make sure you grab the “direct link”, which has
i.imgur.comas the host, and ends in the image extension
.gifor similar), which will render as:
Looking at your debug info (thanks for including that):
You have a whole lot of plugins. It may be that one of them is causing your problem. Though you don’t have ZoomDisabler or LocationNavigate, which are the plugins that many of the above users were claiming as the culprit, I see you have HexEditor (and some others I don’t recognize). I believe that older versions of HexEditor have made Notepad++ unstable. To determine if it’s a plugin, follow my advice from last year, and “close all instances of notepad++ and run using
notepad++.exe -noPlugin”. If the problem still occurs with no plugins, then it’s something else (so skip the rest of this paragraph). If the problem goes away, then you can exit Notepad++, move all the
.dlland subfolders from
C:\p\Notepad++\plugins\*into a “disabled” subfolder
C:\p\Notepad++\plugins\disabled\*. Restart Notepad++ and make sure it’s still not crashing on exit. Then move one
.dllor subfolder at a time back into
C:\p\Notepad++\plugins\*, until it starts crashing again. The one you added just before the crash is the likely culprit – which you can further confirm by re-removing it, and/or making that one the only active plugin.
Also, it may have been that the problem has been fixed in a later Notepad++ version. To test that, download the zip package from the most recent Notepad++ (currently v7.7), and unzip it onto your desktop, or into a different folder in your
c:\phierarchy. Make sure you’ve closed all of your 7.5.9 instances, then run from the v7.7 and see if it crashes on you. If not, start adding plugins using the new Plugins > Plugins Admin interface (you no longer need the PluginManager in v7.6.x or v7.7). If that continues working for you, great, it might be time to start using v7.7 instead of staying on v7.5.9. If you have problems finding/installing any of your plugins in v7.7, let us know which ones, and we can instruct you on how to properly copy them over from the v7.5.9 to the v7.7.
Just putting my $0.02 in that I have used LocationNavigate since Notepad++ time began (at least when its time began for me) and I have never had any kind of problem with it. In fact, it might just be the plugin that keeps me in 32-bit land. [Well, for now the fact that Pythonscript won’t work with N++ 7.7 is also a contributor to that].