nextcloud / desktop

💻 Desktop sync client for Nextcloud
https://nextcloud.com/install/#install-clients
GNU General Public License v2.0
2.9k stars 772 forks source link

[Bug]: Windows Explorer Crash (MSVCP140.dll) #6740

Open SpecialT131 opened 2 months ago

SpecialT131 commented 2 months ago

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

Bug description

After the last update i cant use the windows explorer becouse it crashes directly after trying to use it. The windows log says, there is a defect MSVCP140.dll. 2024-05-08 15_54_17-Ereignisanzeige

The crash only appears on the "Homescreen" of the windows explorer. If i use any other folder on my desktop to access windows explorer it works. But there it also crashes after i click on "quick access" 2024-05-08 15_57_25

Steps to reproduce

Open Windows Explorer through Taskbar

Expected behavior

Should open Windows Explorer

Which files are affected by this bug

no files

Operating system

Windows

Which version of the operating system you are running.

Windows 10

Package

Appimage

Nextcloud Server version

xx.xx.xx

Nextcloud Desktop Client version

3.13.0

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 Enabled

Are you using an external user-backend?

Nextcloud Server logs

No response

Additional info

After Uninstalling, the Windows Explorer worked as it should be.

frknakk commented 2 months ago

Exactly same problem here, identical error logs, also windows 10. But i can't use my computer at all because explorer/desktop keeps crashing and restarting - so the display is constantly flickering. Restarting the computer does not solve the problem, after logging in the error happens again instantly.

Started yesterday (07.05) for the first time without any actions, i was away from my computer and after coming back i saw the flickering. After repairing windows the error disappeared for the rest of the day. Today i got the same error again, now uninstalled nextcloud desktop client and no errors anymore.

xaras2 commented 2 months ago

https://central.owncloud.org/t/owncloud-client-5-2-1-13040-owncloud-client-explorer-exe-crash-loop/48472

As me

FauxKalEl commented 2 months ago

Only way to start explorer without crash is ctrl+shift+esc or ctrl+alt+del and task manager, run new task, browse and then find and rename owncloud dir (default c:\Program Files\OwnCloud. Then Explorer immediately stop crashing. Then you can restore owncloud dir name and start owncloud manually but after next login to windows needs to rename again. Looks like shell integration problem.

Edit: Reinstalling VC++ not helped, but replacing: msvcp140.dll msvcp140_1.dll msvcp140_2.dll msvcp140_atomic_wait.dll msvcp140_codecvt_ids.dll

in ownCloud dir with newer libs (from 14.34.31938.0 to 14.38.33135.0) is resolving this problem.

lordimac commented 1 month ago

Same problem, same Logs. Windows 11, Version 23H2, Build 22631.3527

Leah96xxx commented 1 month ago

Confirmed I also have this issue, usually with error 0xc0000005 (access violation) like OP's post, but caused by NCContextMenu.dll instead, but sometimes with 0xc000041d (fatal user callback exception) caused by NCContextMenu.dll, and sometimes with 0xc0000409 (buffer overrun) caused by ntdll.dll.

Windows 10 22H2 19045.4412, Nextcloud 3.13.0

Leah96xxx commented 1 month ago

Doing a repair install of the Nextcloud client appears to have fixed it for me, but the question is whether or not it will stay fixed. I'll update in a few hours/days if the issue returns