desktop icon indicating copy to clipboard operation
desktop copied to clipboard

[Bug]: Explorer.exe crashes, nccontextmenu.dll unloaded

Open Tampa opened this issue 2 years ago • 81 comments

⚠️ Before submitting, please verify the following: ⚠️

Bug description

Installed update today after prompted. Looked as normal, no errors during installation. Right click any file in windows explorer causes explorer.exe to crash. Event viewer shows:

Faulting application name: Explorer.EXE, version: 10.0.19041.4170, time stamp: 0x441d086f Faulting module name: NCContextMenu.dll_unloaded, version: 3.0.0.47, time stamp: 0x65fae7f1 Exception code: 0xc0000005 Fault offset: 0x0000000000001010 Faulting process id: 0x30b0 Faulting application start time: 0x01da7bfa18bd93da Faulting application path: C:\Windows\Explorer.EXE Faulting module path: NCContextMenu.dll Report Id: edefb2c8-42dd-4e5d-a036-441e94cb4f7b Faulting package full name: Faulting package-relative application ID:

Already tried repairing via the .msi and restarted computer twice. Still the same. Will try uninstall next.

Steps to reproduce

  1. Right click on any file

Expected behavior

Context menu popping up

Which files are affected by this bug

NCContextMenu.dll

Operating system

Windows

Which version of the operating system you are running.

Windows 10

Package

Appimage

Nextcloud Server version

28.0.3

Nextcloud Desktop Client version

3.12.2

Is this bug present after an update or on a fresh install?

Updated from a minor version (ex. 3.4.2 to 3.4.4)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

Are you using an external user-backend?

  • [X] Default internal user-backend
  • [ ] LDAP/ Active Directory
  • [ ] SSO - SAML
  • [ ] Other

Nextcloud Server logs

Not applicable

Additional info

client_log.zip

Tampa avatar Mar 22 '24 01:03 Tampa

I uninstalled now and restarted Explorer.exe, so far no crashes.

Tampa avatar Mar 22 '24 02:03 Tampa

confirm. Stack trace:

nextcloud stack trace.txt

Disabling of "Nextcloud context menu handler" with ShellExView from NirSoft solves the problem.

AlexDe74 avatar Mar 22 '24 06:03 AlexDe74

Hello,

We've encountered the same issue. Are there any alternative solutions available besides disabling Nextcloud? Additionally, is there a planned upgrade for Nextcloud?

bambistassis avatar Mar 22 '24 10:03 bambistassis

You could go back to the previous release. From the looks of things nothing critical was changed, so probably fine. I suspect this should be easy to fix given a quick glance at the commits there were only maybe a handful of changes to the context menu handler so it should not be hard to find the suspect commit and fix it.

Tampa avatar Mar 22 '24 10:03 Tampa

Same issue here. I went back to 3.12.0. and all works fine again.

sysvwfwsw avatar Mar 22 '24 11:03 sysvwfwsw

I can verify I have this bug as well. image

Lightning2X avatar Mar 22 '24 13:03 Lightning2X

Same problem here - running NC 3.12.2 on windows 10 (10.0.19044.4170)

vagner-dias avatar Mar 22 '24 14:03 vagner-dias

We are affected as well - explorer.exe crashes on right-click to open context menu on around 50 windows 10 devices with NC client 3.12.2.

Name der fehlerhaften Anwendung: explorer.exe, Version: 10.0.19041.4170, Zeitstempel: 0x441d086f Name des fehlerhaften Moduls: NCContextMenu.dll_unloaded, Version: 3.0.0.47, Zeitstempel: 0x65fae7f1 Ausnahmecode: 0xc0000005 Fehleroffset: 0x0000000000001010 ID des fehlerhaften Prozesses: 0x2bd4 Startzeit der fehlerhaften Anwendung: 0x01da7c4acbef3507 Pfad der fehlerhaften Anwendung: C:\Windows\explorer.exe Pfad des fehlerhaften Moduls: NCContextMenu.dll Berichtskennung: bdb3b162-f4c3-44ba-915c-311e3f94ce4f Vollständiger Name des fehlerhaften Pakets: Anwendungs-ID, die relativ zum fehlerhaften Paket ist:

pand-herber avatar Mar 22 '24 15:03 pand-herber

Probably it's the old style right click modified wich doesn't work anymore. Revert to default. Problem related to w11, however..

daukus avatar Mar 22 '24 16:03 daukus

I am also encountering this error. However it is when I launch explorer. It will crash once when a new file browser window is opened, however reattempting to open explorer a second time after it crashes, everything will be functional. After closing all explorer windows, this pattern will repeat. This is inside of a windows 10 virtual machine running on proxmox.

Faulting application name: explorer.exe, version: 10.0.19041.4170, time stamp: 0x441d086f
Faulting module name: NCContextMenu.dll_unloaded, version: 3.0.0.47, time stamp: 0x65fae7f1
Exception code: 0xc0000005
Fault offset: 0x0000000000001010
Faulting process id: 0x1f44
Faulting application start time: 0x01da7c916f3f60eb
Faulting application path: C:\Windows\explorer.exe
Faulting module path: NCContextMenu.dll
Report Id: 3ebe1650-5991-42da-91bb-47cf3afb4bff
Faulting package full name: 
Faulting package-relative application ID: 

seedplease avatar Mar 22 '24 19:03 seedplease

It will crash once when a new file browser window is opened, however reattempting to open explorer a second time after it crashes, everything will be functional. After closing all explorer windows, this pattern will repeat.

Same behaviour here, Windows 10 on bare metal

alpha-tango-kilo avatar Mar 22 '24 20:03 alpha-tango-kilo

Repeated at client site with all Windows 10 systems. Where can you download old versions from and why is this still awaiting triage? It's a priority #1 fault.

munrobasher avatar Mar 22 '24 21:03 munrobasher

Same here - Win 11 10.0.22631

jan-klima avatar Mar 22 '24 21:03 jan-klima

Same for me - Win 10 22H2

EVOTk avatar Mar 22 '24 21:03 EVOTk

Same here:

  • Windows 10, bare metal
  • Windows 10, qemu VM

jgonyea avatar Mar 23 '24 01:03 jgonyea

Repeated at client site with all Windows 10 systems. Where can you download old versions from and why is this still awaiting triage? It's a priority #1 fault.

https://github.com/nextcloud-releases/desktop/releases

Tampa avatar Mar 23 '24 02:03 Tampa

Same here, Win11 bare metal

Faulting application name: explorer.exe, version: 10.0.22621.3296, time stamp: 0x48d2cb32
Faulting module name: ntdll.dll, version: 10.0.22621.3235, time stamp: 0xa2c4352c
Exception code: 0xc0000409
Fault offset: 0x00000000000a43b0
Faulting process id: 0x0x4520
Faulting application start time: 0x0x1DA7CC81F7019E3
Faulting application path: C:\WINDOWS\explorer.exe
Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll
Report Id: 1d2254ba-7fa5-4b82-a12f-03c917e3868a
Faulting package full name: 
Faulting package-relative application ID: 

In my system logs, it didn't point to NCContextMenu.dll somehow, but the symptoms are the same and also appear after the latest NC update.

Eisaichen avatar Mar 23 '24 02:03 Eisaichen

I can confirm this issue. I updated yesterday and now iam having lots of explorer.exe crashes. I was afraid that the ram i bought 3 weeks ago starts to fail. Currently iam doing a full urbackup restore from last week, will update post to 100% confirm its gone after removing this nextcloud version.

EDIT: System restored, old version of nextclould client is installed and no issues. At least now i know my urbackup server works fine :D

Cl4whammer avatar Mar 23 '24 09:03 Cl4whammer

Chiming in as well - frequent Explorer crashes on both the PCs I have Nextcloud installed on.

Lordmau5 avatar Mar 23 '24 10:03 Lordmau5

I can confirm this issue. I updated yesterday and now iam having lots of explorer.exe crashes. I was afraid that the ram i bought 3 weeks ago starts to fail. Currently iam doing a full urbackup restore from last week, will update post to 100% confirm its gone after removing this nextcloud version.

may be too late but just disable Nextcloud Desktop contextual menu solve the issue (workaround).

To do this, you can use ShellExView software from NirSoft as suggested by @AlexDe74

You can also use a reg file :

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked]
"{BC6988AB-ACE2-4B81-84DC-DC34F9B24401}"=""

or from cmd.exe as administrator :

REG ADD "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked" /v "{BC6988AB-ACE2-4B81-84DC-DC34F9B24401}"

Then, restart explorer.exe

When the problem will be fixed by Nextcloud team, you should remove this registry entry with :

.reg file :

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked]
"{BC6988AB-ACE2-4B81-84DC-DC34F9B24401}"=-

or from cmd.exe as administrator :

REG DELETE "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Blocked" /v "{BC6988AB-ACE2-4B81-84DC-DC34F9B24401}" /f

Then, restart explorer.exe

ghost avatar Mar 23 '24 10:03 ghost