nextcloud / desktop

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

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

Open SpecialT131 opened 6 months ago

SpecialT131 commented 6 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 6 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 6 months ago

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

As me

FauxKalEl commented 6 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 6 months ago

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

Leah96xxx commented 6 months 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 6 months 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

leboem commented 4 months ago

I have the same issue. After some debugging and research, I figured out that:

I think Nextcloud, either needs to upgrade to the newest C++ redistributables or better, change to the recommended "Central deployment by using Visual C++ Redistributable packages."

jasonmacer commented 4 months ago

Is there no fix for this yet? My system just applied this update and now explorer is stuck in a crash/start loop.

FauxKalEl commented 4 months ago

Owncloud resolved bug few weeks ago, nextcloud should already merged this fix. This appears in certain circumstances, more frequently in new Windows versions with older vc++ libraries included in cloud installer. Bug is very old and now appeared more frequently. Devs why then not fixed in nextcloud?

pt., 2 sie 2024, 20:18 użytkownik Jason Macer @.***> napisał:

Is there no fix for this yet? My system just applied this update and now explorer is stuck in a crash/start loop.

— Reply to this email directly, view it on GitHub https://github.com/nextcloud/desktop/issues/6740#issuecomment-2265911990, or unsubscribe https://github.com/notifications/unsubscribe-auth/BILVEJPHDECOI4AYLZVXGMDZPPEQHAVCNFSM6AAAAABHNBQWZWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRVHEYTCOJZGA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

jasonmacer commented 4 months ago

@FauxKalEl I ended up having to completely remove oc, restart, re-install, restart and then it started working again; however, the computer was having issues so I then had to shutdown pull the power drain the board then plug back in and start up before it decided to work correctly again.

camilasan commented 2 months ago

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

with 3.14.1, we are using 14.38.33135.0. Could you all try the latest 3.14.1 and check if the issue is resolved for you?