[BUG] NppShell.Dll Throws Exception Crashes Explorer

Author: CheetahChromeCreated Oct 7, 2024Updated Sep 30, 2026

Is there an existing issue for this?

  • I have searched the existing issues

Description of the Issue

When I right click on a menu in Explorer in Windows 11 my explorer window dissapears. When I check the Application Event Viewer I am shown an error by notepad++ shell code that reports an 0xc0000409 which means STATUS_STACK_BUFFER_OVERRUN.

Only resolves when I uninstall the application.

Faulting application name: explorer.exe, version: 10.0.26100.1930, time stamp: 0x9b96e7cb
Faulting module name: NppShell.dll, version: 1.5.0.0, time stamp: 0x66880559
Exception code: 0xc0000409
Fault offset: 0x000000000001fc25
Faulting process id: 0xD9C0
Faulting application start time: 0x1DB18F87DCFB9BE
Faulting application path: C:\WINDOWS\explorer.exe
Faulting module path: C:\Program Files\Notepad++\contextMenu\NppShell.dll
Report Id: 3de8090f-072e-4d30-8262-f32f134677ff
Faulting package full name: 
Faulting package-relative application ID: 

As to the frequency, can't say it happens everytime but intermittently.

Steps To Reproduce

  1. Open File Explorer Windows 11
  2. Right click on a file
  3. If Explorer does not dissapear, check Application Logs for incident.

Current Behavior

File Explorer failing due to right menu click on file.

Expected Behavior

Not to bring down Explorer.

Debug Information

bash
Notepad++ v8.7   (64-bit)
Build time : Sep 17 2024 - 17:06:31
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line : "C:\Program Files\Notepad++\change.log" 
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
Periodic Backup : ON
OS Name : Windows 11 Pro (64-bit)
OS Version : 24H2
OS Build : 26120.1930
Current ANSI codepage : 1252
Plugins : 
    mimeTools (3.1)
    NppConverter (4.6)
    NppExport (0.4)
    NPPJSONViewer (1.34)
    NppXmlTreeviewPlugin (2)

Anything else?

If I can get to the secondary full menu after the initial right click, its never brought down explorer. Uninstalling the app appears to be the only way to resolve. Installing it afresh, will doesn't resolve the issue and it will happen again.

Source: notepad-plus-plus/notepad-plus-plus