Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Windows Client Crash when Sync - Errorcode: 0xc0000409 #7258

Open
5 of 8 tasks
PaulEDV opened this issue Oct 2, 2024 · 9 comments
Open
5 of 8 tasks

[Bug]: Windows Client Crash when Sync - Errorcode: 0xc0000409 #7258

PaulEDV opened this issue Oct 2, 2024 · 9 comments

Comments

@PaulEDV
Copy link

PaulEDV commented Oct 2, 2024

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

Bug description

The Windows client regularly crashes during the first synchronization and does not start automatically afterwards.

This affects several of our clients but not all, regardless of whether Windows 10 22h2 or Windows 11 23h2.
See forum post:
https://help.nextcloud.com/t/windows-desktop-version-crash-when-sync/205224/3

The following message is in the Windows event log:


Name der fehlerhaften Anwendung: nextcloud.exe, Version: 3.14.1.55839, Zeitstempel: 0x66f6776f
Name des fehlerhaften Moduls: ucrtbase.dll, Version: 10.0.19041.3636, Zeitstempel: 0x81cf5d89
Ausnahmecode: 0xc0000409
Fehleroffset: 0x000000000007286e
ID des fehlerhaften Prozesses: 0x6240
Startzeit der fehlerhaften Anwendung: 0x01db13e6640a5c1f
Pfad der fehlerhaften Anwendung: C:\Program Files\Nextcloud\nextcloud.exe

Here are the log files of the Nextcloud client and the event log:
nextcloud_log.zip

Steps to reproduce

  1. install Nextcloud Client
  2. connect Nextcloud Client with the Nextcloud
  3. set up Nextcloud Sync with virtual files
  4. wait until client crashes unnoticed

Expected behavior

The Nextcloud client should display an error message in the event of a crash or restart automatically after a crash during sync

Which files are affected by this bug

last Sync File in the log is: 20220314_Art der Vergabe - Verknüpfung.lnk

Operating system

Windows

Which version of the operating system you are running.

Windows 10 22H2 an Windows 11 23H2

Package

Official Windows MSI

Nextcloud Server version

29.0.5

Nextcloud Desktop Client version

3.14.1

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

Fresh desktop client install

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

Are you using an external user-backend?

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

Nextcloud Server logs

No response

Additional info

No response

@Killea
Copy link

Killea commented Oct 3, 2024

same issue.
down to 3.13.3 worked for me. (I also disabled auto upgrade)
could also try Nextcloud-3.13.4-x64.msi
3.14+ will not work.

@eckgit
Copy link

eckgit commented Oct 5, 2024

The same issue with Nextcloud-Client-version 3.14.1 in virtual folder mode occured for me in Windows 11 Pro, 10.0.22631, Build 22631.
Will give also version 3.13.3 a try.

@y0umu
Copy link

y0umu commented Oct 6, 2024

I encountered the same problem even without using the virtual folder mode. Versions are 3.14.0-x64, 3.13.4-x64 on windows.

@PaulEDV
Copy link
Author

PaulEDV commented Oct 7, 2024

Version 3.13.3 works for me. Synchronization is currently running there without crashes.

@mgallien
Copy link
Collaborator

mgallien commented Oct 9, 2024

@PaulEDV and others
I have a possible fox for this
already merged in stable branch
you can test this test build from the 3.14 stable branch
https://cloud.nextcloud.com/s/Pfw35DDoDWGnft2

@nkamkar
Copy link

nkamkar commented Oct 9, 2024

Hi mgallien

Thank you for the update. I have installed the build from the link you have provided on 2 problematic machines and both are now behaving well again. I will continue to monitor to ensure they remainwell-behaved, but for now, I would like to specially thank you for providing the fix.

Best wishes

Nima

@toxn
Copy link

toxn commented Oct 10, 2024

Just had the same bug with a 256-chars path with the latest stable (3.14.1).

Last log line:

2024-10-10 13:47:37:597 [ warning nextcloud.sync.filesystem C:\Users\User\AppData\Local\Temp\windows-26085\client-building\desktop\src\libsync\filesystem.cpp:204 ]:    Error setting mtime for "C:/Users/redact/Documents/redac/redactedredactedreda/redactedredacted/redactedredactedredactedredactedredactedredactedr/redactedreda/redacte/.redactedredactedredactedredactedredactedredactedredactedredactedredactedredactedredactedredactedredactedreda.pptx.~559c" failed: rc -1 , errno: 20 

@madtownchris
Copy link

The updated installer linked by @mgallien appears to solve the issue I encountered (app event pasted below) which I believe is the core issue here:

Faulting application name: nextcloud.exe, version: 3.14.1.55839, time stamp: 0x66f6776f
Faulting module name: ucrtbase.dll, version: 10.0.22621.3593, time stamp: 0x10c46e71
Exception code: 0xc0000409
Fault offset: 0x000000000007f6fe
Faulting process id: 0x0x34B4
Faulting application start time: 0x0x1DB1C01AB284F7E
Faulting application path: C:\Program Files (x86)\Nextcloud\nextcloud.exe
Faulting module path: C:\WINDOWS\System32\ucrtbase.dll
Report Id: 1bf3b91c-69e2-4388-9f13-220df256c405
Faulting package full name:
Faulting package-relative application ID:

@ziyiat
Copy link

ziyiat commented Oct 12, 2024

-
nextcloud.exe
3.14.1.55839
66f6776f
ucrtbase.dll
10.0.19041.3636
81cf5d89
c0000409
000000000007286e
274
01db1cc92afb0abf
D:\Program Files\Nextcloud\nextcloud.exe
C:\WINDOWS\System32\ucrtbase.dll
f4123dcc-4b31-40c4-a28f-044ea406f59b



Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants