[Bug]: Nextcloud Client version 3.14 or newer crashes instantly after first installation
⚠️ Before submitting, please verify the following: ⚠️
- [x] This is a bug, not a question or a configuration issue.
- [x] This issue is not already reported on Github (I've searched it).
- [x] Nextcloud Server and Desktop Client are up to date. See Server Maintenance and Release Schedule and Desktop Releases for supported versions.
- [x] I agree to follow Nextcloud's Code of Conduct
Bug description
Nextcloud Client Version >3.13.4-x64 crashes instantly after the first installation and reboot. No log file is written since the program never reaches that point of execution. The only thing I found is the crash dump. I can reproduce this bug with all versions newer than 3.13.4 on my Windows 11 machine (tested till Nextcloud-3.16.0-rc2-x64)
Crash dump: nextcloud.exe.14992.dmp
Steps to reproduce
- Install nextcloud client version 3.14 or newer
- Reboot
- Program will crash instantly after reboot and produce the crash dmp file
Expected behavior
It launches
Which files are affected by this bug
The program is not launching, so nothing can be put here.
Operating system
Windows
Which version of the operating system you are running.
Windows 11 Version 24H2 OS Build 26100.3194
Package
Official Windows MSI
Nextcloud Server version
not relevant since app is not connecting to anything
Nextcloud Desktop Client version
3.14 or newer
Is this bug present after an update or on a fresh install?
Fresh desktop client install
Are you using an external user-backend?
- [ ] Default internal user-backend
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [ ] Other
Nextcloud Server logs
not relevant since client is not starting at all
Additional info
Crash dump: nextcloud.exe.14992.dmp
I opened the dmp with Wingdbg. Heres the content
Click to expand
************* Preparing the environment for Debugger Extensions Gallery repositories **************
ExtensionRepository : Implicit
UseExperimentalFeatureForNugetShare : true
AllowNugetExeUpdate : true
NonInteractiveNuget : true
AllowNugetMSCredentialProviderInstall : true
AllowParallelInitializationOfLocalRepositories : true
EnableRedirectToChakraJsProvider : false
-- Configuring repositories
----> Repository : LocalInstalled, Enabled: true
----> Repository : UserExtensions, Enabled: true
>>>>>>>>>>>>> Preparing the environment for Debugger Extensions Gallery repositories completed, duration 0.000 seconds
************* Waiting for Debugger Extensions Gallery to Initialize **************
>>>>>>>>>>>>> Waiting for Debugger Extensions Gallery to Initialize completed, duration 0.032 seconds
----> Repository : UserExtensions, Enabled: true, Packages count: 0
----> Repository : LocalInstalled, Enabled: true, Packages count: 42
Microsoft (R) Windows Debugger Version 10.0.27725.1000 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.
Loading Dump File [C:\Users\timoh\AppData\Local\CrashDumps\nextcloud.exe.14992.dmp]
User Mini Dump File: Only registers, stack and portions of memory are available
Symbol search path is: srv*
Executable search path is:
Windows 10 Version 26100 MP (8 procs) Free x64
Product: WinNt, suite: SingleUserTS Personal
Edition build lab: 26100.1.amd64fre.ge_release.240331-1435
Debug session time: Sat Feb 22 14:27:24.000 2025 (UTC + 1:00)
System Uptime: 0 days 0:01:10.382
Process Uptime: 0 days 0:00:03.000
................................................................
................................................................
.......
Loading unloaded module list
....
This dump file has an exception of interest stored in it.
The stored exception information can be accessed via .ecxr
(3a90.3a94): Security check failure or stack buffer overrun - code c0000409 (first/second chance not available)
Subcode: 0xa FAST_FAIL_GUARD_ICALL_CHECK_FAILURE
For analysis of this file, run !analyze -v
ntdll!RtlFailFast2:
00007ff8`6a5a3d10 cd29 int 29h
0:000> .ecxr
rax=0000000000000000 rbx=00007ff869553dd0 rcx=000000000000000a
rdx=00007ff869553dd0 rsi=00007ff869230000 rdi=00007ff869553dd0
rip=00007ff86a5a3d10 rsp=000000092290d9c8 rbp=0000013703709a40
r8=000001377eaf1080 r9=0000000922aba000 r10=0000000000000000
r11=00007ff86a5a3af0 r12=0000000000000000 r13=00000000360112b9
r14=0000000000000004 r15=00000000360112b9
iopl=0 nv up ei pl zr na po nc
cs=0033 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00000246
ntdll!RtlFailFast2:
00007ff8`6a5a3d10 cd29 int 29h
0:000> !analyze -v
SOS_HOSTING: Failed to find runtime directory
*******************************************************************************
* *
* Exception Analysis *
* *
*******************************************************************************
Failed to find runtime module (coreclr.dll or clr.dll or libcoreclr.so), 0x80004002
Extension commands need it in order to have something to do.
For more information see https://go.microsoft.com/fwlink/?linkid=2135652
Failed to find runtime module (coreclr.dll or clr.dll or libcoreclr.so), 0x80004002
Extension commands need it in order to have something to do.
For more information see https://go.microsoft.com/fwlink/?linkid=2135652
KEY_VALUES_STRING: 1
Key : Analysis.CPU.mSec
Value: 1015
Key : Analysis.Elapsed.mSec
Value: 1524
Key : Analysis.IO.Other.Mb
Value: 0
Key : Analysis.IO.Read.Mb
Value: 1
Key : Analysis.IO.Write.Mb
Value: 0
Key : Analysis.Init.CPU.mSec
Value: 562
Key : Analysis.Init.Elapsed.mSec
Value: 39821
Key : Analysis.Memory.CommitPeak.Mb
Value: 372
Key : Analysis.Version.DbgEng
Value: 10.0.27725.1000
Key : Analysis.Version.Description
Value: 10.2408.27.01 amd64fre
Key : Analysis.Version.Ext
Value: 1.2408.27.1
Key : CFG.InvalidUserCallTarget.Detected
Value: 1
Key : FailFast.Name
Value: GUARD_ICALL_CHECK_FAILURE
Key : FailFast.Type
Value: 10
Key : Failure.Bucket
Value: FAIL_FAST_GUARD_ICALL_CHECK_FAILURE_c0000409_ig9icd64.dll!Unknown
Key : Failure.Hash
Value: {a3f6b0c0-2e37-71fd-a640-77a0bec7cc9c}
Key : Timeline.OS.Boot.DeltaSec
Value: 70
Key : Timeline.Process.Start.DeltaSec
Value: 3
Key : WER.OS.Branch
Value: ge_release
Key : WER.OS.Version
Value: 10.0.26100.1
Key : WER.Process.Version
Value: 3.15.82.65132
FILE_IN_CAB: nextcloud.exe.14992.dmp
NTGLOBALFLAG: 0
APPLICATION_VERIFIER_FLAGS: 0
CONTEXT: (.ecxr)
rax=0000000000000000 rbx=00007ff869553dd0 rcx=000000000000000a
rdx=00007ff869553dd0 rsi=00007ff869230000 rdi=00007ff869553dd0
rip=00007ff86a5a3d10 rsp=000000092290d9c8 rbp=0000013703709a40
r8=000001377eaf1080 r9=0000000922aba000 r10=0000000000000000
r11=00007ff86a5a3af0 r12=0000000000000000 r13=00000000360112b9
r14=0000000000000004 r15=00000000360112b9
iopl=0 nv up ei pl zr na po nc
cs=0033 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00000246
ntdll!RtlFailFast2:
00007ff8`6a5a3d10 cd29 int 29h
Resetting default scope
EXCEPTION_RECORD: (.exr -1)
ExceptionAddress: 00007ff86a5a3d10 (ntdll!RtlFailFast2)
ExceptionCode: c0000409 (Security check failure or stack buffer overrun)
ExceptionFlags: 00000001
NumberParameters: 1
Parameter[0]: 000000000000000a
Subcode: 0xa FAST_FAIL_GUARD_ICALL_CHECK_FAILURE
PROCESS_NAME: nextcloud.exe
ERROR_CODE: (NTSTATUS) 0xc0000409 - The system detected an overrun of a stack-based buffer in this application. This overrun could potentially allow a malicious user to gain control of this application.
EXCEPTION_CODE_STR: c0000409
EXCEPTION_PARAMETER1: 000000000000000a
STACK_TEXT:
00000009`2290d9c8 00007ff8`6a5c731d : 00009dff`33a40e36 00007fff`c987dd28 00000000`00000004 00000000`00000000 : ntdll!RtlFailFast2
00000009`2290d9d0 00007ff8`6a5a3b28 : 00000000`360112b9 00000000`00000004 00000000`360112b9 00000000`00000000 : ntdll!RtlpHandleInvalidUserCallTarget+0x5d
00000009`2290da00 00007fff`c92fb7ce : 00000137`037184f0 00000137`03709a40 00000009`2290db00 00000009`2290dc28 : ntdll!LdrpHandleInvalidUserCallTarget+0x38
00000009`2290dac0 00007fff`c92fd2c7 : 00000137`037184f0 00000000`00000004 00000000`00000004 00000000`0000048c : ig9icd64!DrvValidateVersion+0x24c0e
00000009`2290dc20 00007fff`c92fd246 : 00000137`7ece40d0 00000137`037184f0 00000137`03709a40 00000137`03709a30 : ig9icd64!DrvValidateVersion+0x26707
00000009`2290dc60 00007fff`c92d9c55 : 00000137`0372c620 00007fff`c93363f8 00000000`00000000 00000000`00000970 : ig9icd64!DrvValidateVersion+0x26686
00000009`2290dca0 00007fff`c92dc94a : 00000137`03709a30 00000137`03709a40 00000137`03711060 00000000`00000000 : ig9icd64!DrvValidateVersion+0x3095
00000009`2290dd50 00007fff`c9783c5d : 00000137`03709a30 00000137`03711060 00000000`00003a90 00000000`00000004 : ig9icd64!DrvValidateVersion+0x5d8a
00000009`2290ddb0 00007fff`c92f7f1c : 00000137`0370f980 00000000`0004076e 00000000`0004076e 00000137`03711060 : ig9icd64!DrvRealizeLayerPalette+0x4831cd
00000009`2290dde0 00007fff`c92d5a14 : 00000000`00000000 00000000`00000000 00000009`2290dee0 00000000`00000011 : ig9icd64!DrvValidateVersion+0x2135c
00000009`2290de20 00007ff8`40ecabde : 00000000`00000000 00000009`2290dfa0 00000000`360112b9 00000000`00000004 : ig9icd64!DrvDescribePixelFormat+0x34
00000009`2290de60 00007ff8`40f0d6b9 : 00000000`00000000 00000000`00000002 00000000`00000002 00000000`00000000 : opengl32!_DescribeDriverPixelFormat+0x5a
00000009`2290dea0 00007ff8`40ea66ed : 00000000`360112b9 00000000`360112b9 00000000`00000064 00000000`00000003 : opengl32!LoadAvailableDrivers+0x3d9
00000009`2290e500 00007ff8`6793e192 : 00000000`360112b9 00000000`00000000 00000009`2290e7b0 00007ff8`40ea0000 : opengl32!wglChoosePixelFormat+0xed
00000009`2290e680 00007fff`cabff35b : 00000000`00000000 00000009`2290e7b0 00000000`0004076e 00000009`2290e7b0 : gdi32full!ChoosePixelFormat+0x62
00000009`2290e6b0 00007fff`cabfd4e2 : 00000000`00000001 0e38e38e`38e38e39 00000000`00000000 00000000`00000000 : qwindows!qt_plugin_query_metadata_v2+0x3d6eb
00000009`2290e810 00007fff`cabfeed1 : 00000009`2290eab8 00000000`ffffff01 00000009`2290eb40 00000009`2290ea79 : qwindows!qt_plugin_query_metadata_v2+0x3b872
00000009`2290e9e0 00007fff`cabe2c5b : 00000137`7ec8f550 00000137`7ec8f550 00000137`7ed7d350 00000000`00000000 : qwindows!qt_plugin_query_metadata_v2+0x3d261
00000009`2290eae0 00007fff`cabe21d0 : 00000000`00000000 00000000`00000026 00000137`7ec8f550 00000137`7ecd7850 : qwindows!qt_plugin_query_metadata_v2+0x20feb
00000009`2290eb40 00007fff`cd4a3787 : 00000000`ffffffff 00000000`00000000 00000009`2290eca9 00000000`ffffffff : qwindows!qt_plugin_query_metadata_v2+0x20560
00000009`2290ebc0 00007fff`ce56956b : 00000137`7ed7d350 00000137`7ed7d350 00007fff`d5ad3be8 00000137`7ed7c720 : Qt6Gui!QOpenGLContext::create+0x37
00000009`2290ebf0 00007fff`ccc70d19 : 00000137`7ed49540 00000009`2290eca9 00000009`2290eca9 00000000`ffffffff : Qt6WebEngineCore!QtWebEngineCore::initialize+0x15b
00000009`2290ec40 00007fff`cd1b23b5 : 00000137`7ed7d6b0 00000000`00000000 00000009`2290fc30 00000137`7ecc2990 : Qt6Core!QCoreApplicationPrivate::init+0xa79
00000009`2290ed10 00007fff`cc5ace5f : 00000009`2290fc30 00000137`7ecc2990 00007ff7`29144df8 00000009`2290fc30 : Qt6Gui!QGuiApplicationPrivate::init+0x45
00000009`2290ef30 00007fff`cc5a53ac : 00000137`7ed04070 00000009`2290f070 00000009`2290eff8 00007fff`ccd72d24 : Qt6Widgets!QApplicationPrivate::init+0xf
00000009`2290ef70 00007ff7`28f6f6ac : 00000137`7ed04070 00000000`00000000 00000009`2290fc30 00007fff`ccd36dc0 : Qt6Widgets!QApplication::QApplication+0xcc
00000009`2290efa0 00007ff7`28f7e630 : 00000009`2290fc30 00000137`7ed04070 00000000`00000000 00000000`00000050 : nextcloud+0x4f6ac
00000009`2290f110 00007ff7`28f6ec19 : 00000009`2290fc30 00000137`7ed32980 00000000`00000000 00000000`00000000 : nextcloud+0x5e630
00000009`2290f820 00007ff7`29112a30 : 00000000`00000001 00000000`00000001 ffffffff`fffffffe 00000137`7ec881ac : nextcloud+0x4ec19
00000009`2290fde0 00007ff7`29111aa2 : 00000000`00000001 00000000`00000000 00000000`00000000 00000000`00000000 : nextcloud+0x1f2a30
00000009`2290fe70 00007ff8`6954e8d7 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : nextcloud+0x1f1aa2
00000009`2290feb0 00007ff8`6a53bf2c : 00000000`00000000 00000000`00000000 000004f0`fffffb30 000004d0`fffffb30 : kernel32!BaseThreadInitThunk+0x17
00000009`2290fee0 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x2c
STACK_COMMAND: ~0s; .ecxr ; kb
SYMBOL_NAME: ig9icd64+24c0e
MODULE_NAME: ig9icd64
IMAGE_NAME: ig9icd64.dll
FAILURE_BUCKET_ID: FAIL_FAST_GUARD_ICALL_CHECK_FAILURE_c0000409_ig9icd64.dll!Unknown
OS_VERSION: 10.0.26100.1
BUILDLAB_STR: ge_release
OSPLATFORM_TYPE: x64
OSNAME: Windows 10
IMAGE_VERSION: 22.20.16.4708
FAILURE_ID_HASH: {a3f6b0c0-2e37-71fd-a640-77a0bec7cc9c}
Followup: MachineOwner
---------
From what I can tell this is caused by your GPU drivers not being able to initialise OpenGL properly.
Are there updated drivers for your GPU available?
So there was a newer graphic driver, but not that new: Old: GeForce Game Ready-Driver 566.36 | Windows 11 New: GeForce Game Ready-Driver 572.47 | Windows 11
I updated the driver and after that updated Nextcloud Client again: No change. It still crashes instantly
For reference: Im using a GTX 1070 in a mobile computer.
Here is the new crash dump: nextcloud.exe.13284.dmp
aaah, you have a GeForce in there too. The crash was somewhere in the integrated Intel graphics driver, is there an update for that one available?
Oh my gosh, thank you. I never even thought about the IGPU.... Im using the driver windows provides via Windows Updates (this notebook was high end in 2017 when it released, so the newest driver from MSI is from 2017 and only for WIN10 and I will not install that old thingy :P). With this info though I was able to just force to use the dedicated gpu for Nextcloud Client an BOOM: It just works!
Thank you very much for the solution!
glad you could solve it :)