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

Windows 10 Client 3.2.1 keep crashing #3243

Closed
kenvix opened this issue Apr 30, 2021 · 32 comments
Closed

Windows 10 Client 3.2.1 keep crashing #3243

kenvix opened this issue Apr 30, 2021 · 32 comments

Comments

@kenvix
Copy link

kenvix commented Apr 30, 2021

Expected behaviour

Sync my files normally

Actual behaviour

It crashes after connected to server

Steps to reproduce

  1. Launch nextcloud desktop
  2. Wait for it to connect with the server
  3. It crashed.

Client configuration

Client version: 3.2.1

Operating system: Windows 10 20H2

OS language: zh_CN

Qt version used by client package (Linux only, see also Settings dialog):

Client package (From Nextcloud or distro) (Linux only):

Installation path of client: C:\Program Files\Nextcloud

Server configuration

Nextcloud version: latest docker fpm version (image was pulled yesterday)

Storage backend (external storage): default

Logs

I even had to disconnect my network to enable logging :(

  1. Client logfile:

log.zip

Messages from windows event viewer

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
- <System>
  <Provider Name="Application Error" /> 
  <EventID Qualifiers="0">1000</EventID> 
  <Version>0</Version> 
  <Level>2</Level> 
  <Task>100</Task> 
  <Opcode>0</Opcode> 
  <Keywords>0x80000000000000</Keywords> 
  <TimeCreated SystemTime="2021-04-30T12:43:38.8203629Z" /> 
  <EventRecordID>27557</EventRecordID> 
  <Correlation /> 
  <Execution ProcessID="0" ThreadID="0" /> 
  <Channel>Application</Channel> 
  <Computer>EXCALIBUR</Computer> 
  <Security /> 
  </System>
- <EventData>
  <Data>nextcloud.exe</Data> 
  <Data>3.2.1.25340</Data> 
  <Data>6089359f</Data> 
  <Data>KERNELBASE.dll</Data> 
  <Data>10.0.19041.906</Data> 
  <Data>2f2f77bf</Data> 
  <Data>c0000005</Data> 
  <Data>000000000002ae08</Data> 
  <Data>2598</Data> 
  <Data>01d73dbdd64e5bfd</Data> 
  <Data>C:\Program Files\Nextcloud\nextcloud.exe</Data> 
  <Data>C:\WINDOWS\System32\KERNELBASE.dll</Data> 
  <Data>608bae21-ce02-460d-842e-e71b2d6d6bcc</Data> 
  <Data /> 
  <Data /> 
  </EventData>
  </Event>
@kenvix kenvix added the bug label Apr 30, 2021
@Archangel001
Copy link

same for me, only if enable virtual file

OS: Windows 10 20H2

tried reinstall client but no success

@allexzander
Copy link
Collaborator

allexzander commented Apr 30, 2021

@kenvix

I can see the known problem of 3.2.0 in your logs. It was fixed in 3.2.1.

However, it seems that the running app's version is still 3.2.0 according to your logs.

Could you try the following:

  • Make sure to completely remove your Nextcloud desktop client
  • Temporarily rename the folder: "C:/Users<your_user_name>/AppData/Roaming/Nextcloud" to "C:/Users<your_user_name>/AppData/Roaming/**~**Nextcloud" while not having the app running
  • Run the app again, make sure, 3.2.1 is displayed in the Settings dialog prior to connecting the app to the server
  • Connect it to your server and choose a sync folder
  • Let me know if the issue is still there
  • Attach logs from the app (if the issue is still present)
  • Feel free to rename your "Nextcloud" data folder "C:/Users<your_user_name>/AppData/Roaming/**~**Nextcloud" back to "C:/Users<your_user_name>/AppData/Roaming/Nextcloud"

With the steps above, you'll make sure you're running the latest 3.2.1 release. Also, you'll make sure the broken state of 3.2.0 is not affecting the latest 3.2.1 installation.

@mgallien ping

@allexzander
Copy link
Collaborator

same for me, only if enable virtual file

OS: Windows 10 20H2

tried reinstall client but no success

@Archangel001

Same could be true for your case. If you've been running the Nextcloud release 3.2.0 before 3.2.1, the local state might have been broken and is still affecting 3.2.1 making the 3.2.0 issue to happen. I suggest you try the steps from my previous comment and let me know how it goes.

@weiw11
Copy link

weiw11 commented Apr 30, 2021

@allexzander I have tried removing the app data folder as well as doing a complete reinstall and Nextcloud still becomes not responding after starting it up for the second time.

Here is the log:

2021-04-30 14:10:55:490 [ info nextcloud.gui.application ]:	"################## Nextcloud locale:[en_US] ui_lang:[] version:[3.2.1stable-Win64 (build 20210428)] os:[Windows 10 (10.0)]"
2021-04-30 14:10:55:490 [ info nextcloud.gui.application ]:	Using "en_US" translation
2021-04-30 14:10:55:491 [ info nextcloud.gui.application ]:	VFS windows plugin is available
2021-04-30 14:10:55:491 [ info nextcloud.gui.application ]:	VFS suffix plugin is available
2021-04-30 14:10:55:491 [ debug nextcloud.gui.socketapi ]	[ OCC::SocketApi::SocketApi ]:	creating "//./pipe" true
2021-04-30 14:10:55:492 [ info nextcloud.gui.socketapi ]:	server started, listening at  "\\\\.\\pipe\\nextcloud-user"
2021-04-30 14:10:55:492 [ info nextcloud.gui.folder.manager ]:	setting remote poll timer interval to 30000 msec
2021-04-30 14:10:55:506 [ info nextcloud.gui.account.manager ]:	Account for QUrl("https://cloud.domain.tld") using auth type "webflow"
2021-04-30 14:10:55:506 [ info nextcloud.sync.credentials.webflow ]:	Get QNAM
2021-04-30 14:10:55:506 [ info nextcloud.gui.account.manager ]:	Restored:  0  unknown certs.
2021-04-30 14:10:55:506 [ debug nextcloud.gui.activity ]	[ OCC::User::setNotificationRefreshInterval ]:	Starting Notification refresh timer with  300  sec interval
2021-04-30 14:10:55:525 [ info nextcloud.gui.folder.manager ]:	Setup folders from settings file
2021-04-30 14:10:55:525 [ info plugins ]:	Created VFS instance for: "win"
2021-04-30 14:10:55:525 [ info nextcloud.sync.database ]:	Detected filesystem "NTFS" for "F:/Nextcloud/.sync_e6ea746287aa.db"
2021-04-30 14:10:55:525 [ debug nextcloud.gui.folder ]	[ OCC::Folder::checkLocalPath ]:	Checked local path ok
2021-04-30 14:10:55:526 [ info nextcloud.sync.configfile ]:	Adding user defined ignore list to csync: "C:/Users/user/AppData/Roaming/Nextcloud/sync-exclude.lst"

When it stops responding, it will also prevent me from opening another instance of explorer window. Force closing it via task manager will open explorer windows based on the amount of times I tried to open.

Removing the explorer shell extensions resolved this, but the client still hangs regardless and constantly uses 5-15% of my cpu.

The message shown on the desktop client when you hover over is preparing to sync.

These issues only occurs when I have VFS enabled. It's also not an issue with server side as I have another desktop that works flawlessly with it enabled.

There are also instances where I would be unable to force close it in task manager, with a message along the lines of no access.

@kenvix
Copy link
Author

kenvix commented Apr 30, 2021

@allexzander

I have completely reinstall nextcloud as your follows and rebooted my computer. It crashes again after connected to server. (Reusing previous local file directory)

Log:
LOG2.zip
LOG3.zip

I have ensured that the client version is 3.2.1
image

It crashes too if I click the button below:
image

Log from windows event viewer: (translated)

Faulting application name: nextcloud.exe, version: 3.2.1.25340, time stamp: 0x6089359f
Faulting module name: KERNELBASE.dll, version: 10.0.19041.906, time stamp: 0x2f2f77bf
Exception code: 0xc0000005
Error offset: 0x000000000002ae08
Error process ID: 0x4598
Error application startup time: 0x01d73e1acbf34b93
Error application path: C:\Program Files\Nextcloud\nextcloud.exe
Error module path: C:\WINDOWS\System32\KERNELBASE.dll
Report ID: 7428e2d3-80fb-43d9-9198-5564b9d314e8
Full name of the error package:
The relative application ID of the error package: 
Fault storage segment 2281267305535048953, type 4
Event name: APPCRASH
Response: Not available
Cab ID: 0

Question signature:
P1: nextcloud.exe
P2: 3.2.1.25340
P3: 6089359f
P4: KERNELBASE.dll
P5: 10.0.19041.906
P6: 2f2f77bf
P7: c0000005
P8: 000000000002ae08
P9:
P10:

Additional files:
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER17AD.tmp.mdmp
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER1869.tmp.WERInternalMetadata.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER188A.tmp.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER1897.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER18B7.tmp.txt

These files are available here:
\\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_nextcloud.exe_a44096ba9a82603292d47fc9bd811247fb552f_88d53db4_bc759f81-5df1-4e7b-83ab-36fb72ff4a79

Analysis symbol:
Recheck the solution: 0
Report ID: 7428e2d3-80fb-43d9-9198-5564b9d314e8
Report status: 268435456
Hash storage segment: da081217d5ee7e388fa8b08718210cf9nCab GUID: 0 

AppCrash_nextcloud.exe_a44096ba9a82603292d47fc9bd811247fb552f_88d53db4_bc759f81-5df1-4e7b-83ab-36fb72ff4a79.zip
Temp.zip

@Archangel001
Copy link

same for me, only if enable virtual file
OS: Windows 10 20H2
tried reinstall client but no success

@Archangel001

Same could be true for your case. If you've been running the Nextcloud release 3.2.0 before 3.2.1, the local state might have been broken and is still affecting 3.2.1 making the 3.2.0 issue to happen. I suggest you try the steps from my previous comment and let me know how it goes.

same for me, only if enable virtual file
OS: Windows 10 20H2
tried reinstall client but no success

@Archangel001

Same could be true for your case. If you've been running the Nextcloud release 3.2.0 before 3.2.1, the local state might have been broken and is still affecting 3.2.1 making the 3.2.0 issue to happen. I suggest you try the steps from my previous comment and let me know how it goes.

I ve clean uninstalled Nextcloud app with RevoUninstaller, removed any related folder, registry, ecc.. installed 3.2.1 but no success

Nextcloud_log_cleaninstall.zip
Event1.txt

@sgtpepperaut
Copy link

same issue, it appears to happen to happen when there is a large "difference" in files to be synced.
This is also happens with or without virtual file system. I wonder if some of those programs running besides could be an issue: "google backups and sync, acronis backup, mountaind duck". Of course they are using different folders but just thought i mention it.

@nicrame
Copy link
Contributor

nicrame commented May 5, 2021

For me 3.2.1 had straaange symptom. I made update, then just go out, and after i came back (hour or so) laptop had fans turned on (usually it is quiet). What i observed (in taskmanager) was - Nextcloud eat 30-35% of CPU power doing nothing (files were synced already, and computer wasn't used). When i try to turn it off using right click on Nextcloud icon on system tray, cpu was still used, and there still was Nextcloud.exe process eating CPU. I didn't have time to play with this, because i like silent laptop :)
I'm using Win10 20H2 Pro, Intel(R) Core(TM) i7-9750H CPU, and 64,0 GB RAM, also there is nvme SSD, so for sure low hardware specs is not problem here.
Now there is client v 3.1.3 and laptop is silent :)

@weiw11
Copy link

weiw11 commented May 5, 2021

@sgtpepperaut That's what I thought too as I'm using Google FS and Cryptomator but I've already uninstalled them to check and it still doesn't work. Does explorer.exe still work for you when you have the client open? Mines won't open any new explorer windows unless I force quit the client. Disabling the .dll files loaded by Nextcloud to explorer prevents this from happening but client still has the cpu issue regardless.

@allexzander allexzander self-assigned this May 6, 2021
@allexzander
Copy link
Collaborator

allexzander commented May 6, 2021

@weiw11 @sgtpepperaut @Archangel001 @kenvix

While I am looking into this issue, it would be great if one of you could also try running a clean VM (possibly of the same Windows build that you are running physically) and install the Nextcloud 3.2.1 client in the VM. Then, you'd try to sync to your server from there. I am wondering if it is indeed a conflict with some other cloud-sync software. This may require some effort from you, so, I am not insisting, but, that would be nice to check that too. Asking this, as, at the moment I wasn't able to reproduce the issue on my physical and VM OS. I am gonna study logs today.

I don't see any errors in the logs. Weird.

BTW, looks like each of you people is having a different issue merged into one.

@allexzander
Copy link
Collaborator

For me 3.2.1 had straaange symptom. I made update, then just go out, and after i came back (hour or so) laptop had fans turned on (usually it is quiet). What i observed (in taskmanager) was - Nextcloud eat 30-35%...

@nicrame Do you remember if the VFS mode was turned on during that time, by any chance?

@nicrame
Copy link
Contributor

nicrame commented May 6, 2021

@nicrame Do you remember if the VFS mode was turned on during that time, by any chance?

I didn't use VFS. Last night 3.1.3 crashed few times, so i did back to version 3.0.1 and now it is stable and quiet.
When i will have some more time i will try to diagnose it more.

@Alomon31
Copy link

Alomon31 commented May 6, 2021

@weiw11 @sgtpepperaut @Archangel001 @kenvix

While I am looking into this issue, it would be great if one of you could also try running a clean VM (possibly of the same Windows build that you are running physically) and install the Nextcloud 3.2.1 client in the VM. Then, you'd try to sync to your server from there. I am wondering if it is indeed a conflict with some other cloud-sync software. This may require some effort from you, so, I am not insisting, but, that would be nice to check that too. Asking this, as, at the moment I wasn't able to reproduce the issue on my physical and VM OS. I am gonna study logs today.

I am facing the same behaviour with 3.2.1 since I reactivated Onedrive, which makes me think it could be a conflict with other cloud-sync software, as you suggested. Unfortunately, I have no possibility of using any log right now as I am just moving, but I will ASAP.
By the way, Nextcloud client runs in Windows 10, I have no virtual file system.
Thanks.

@weiw11
Copy link

weiw11 commented May 8, 2021

@allexzander I haven't been able to get my VM to work with windows but I have tested it on another machine with the same Windows build and it works fine.

I'm not sure if it'll help but the image below lists the modules associated with explorer.exe which is freezing for me when nextcloud freezes. My other machine also has RTSS, WinSCP, and Nextcloud as well but not too sure about the system32 dlls though.
https://user-images.githubusercontent.com/62213594/117528151-b9b0d700-af9e-11eb-9035-3f00c48f4cd6.png

@funky123
Copy link

funky123 commented May 9, 2021

Same Problem here, i tried to use sereral Nextcloud Versions, but no Luck so far.

`Quelle
Nextcloud

Zusammenfassung
Nicht mehr funktionsfähig

Datum
‎09.‎05.‎2021 17:02

Status
Der Bericht wurde gesendet.

Beschreibung
Pfad der fehlerhaften Anwendung: C:\Program Files\Nextcloud\nextcloud.exe

Problemsignatur
Problemereignisame: APPCRASH
Anwendungsname: nextcloud.exe
Anwendungsversion: 3.0.3.16114
Anwendungszeitstempel: 5fc7914c
Fehlermodulname: ocsync.dll
Fehlermodulversion: 0.0.0.0
Fehlermodulzeitstempel: 5fc78fc1
Ausnahmecode: c0000005
Ausnahmeoffset: 0000000000017900
Betriebsystemversion: 10.0.19042.2.0.0.256.48
Gebietsschema-ID: 1031
Zusatzinformation 1: 0f1e
Zusatzinformation 2: 0f1ecb6805ff8866029e7512c2587195
Zusatzinformation 3: f9c4
Zusatzinformation 4: f9c48f28765b4b01faae6f495d63b36e

Weitere Informationen über das Problem
Bucket-ID: 1ceefb435ee18148ebc9c9084dedc5c7 (2002352546847245767)
`

@allexzander
Copy link
Collaborator

@funky123

Was it always like that with 3.0.3? Or, did this start to happen after trying 3.2.1?

@funky123
Copy link

funky123 commented May 9, 2021

It startet after the first Update to 3.2.1!
After that i tryied to rollback to all other versions.

@allexzander
Copy link
Collaborator

It startet after the first Update to 3.2.1!
After that i tryied to rollback to all other versions.

@funky123 A workaround is to rename the folder C:/Users/<your_user_name>/AppData/Roamin/Nextcloud, or, to completely remove that folder. Just make sure you backup your sync folder in case some files are not synced to the server yet.

@funky123
Copy link

funky123 commented May 9, 2021

@allexzander thanks alot! i will try this after my System is backed up (currently running)

I have serveral files modified while the sync client is/was offline.
What is the best to get them all synced without have to download all files from server and then replace them with my local saved folder

i think

  1. Rename current NC Data folder on my system to "D:\NCpriv" to "D:\NCpriv_old"
  2. Rename the folder that you named C:/Users/<your_user_name>/AppData/Roamin/Nextcloud
  3. Re-Install Nextcloud with latest version
  4. At NC Client, de-select all folders to sync
  5. copy my renamed folder content from "D:\NCpriv_old" to "D:\NCpriv"
  6. enable the just de-selected folders to sync at my NV Client

is that best way to save re-syncing time or do i miss someting?

@kenvix
Copy link
Author

kenvix commented May 19, 2021

Has anyone attempted to use junctions (mklink /J) and symbolic links mklink /D? It seems that NextCloud Desktop has compatibility issues working with junctions and symbolic links.

  • What will happened if we make a junction to a directory located out of nextcloud folder?
  • What will happened if there is a link loop?
  • What will happened if we make a junction shared by nextcloud and other sync engine like OneDrive?

@AndyXheli
Copy link

Same issue Windows 10 Pro 20H2 client 3.2.2 seems to happen when having virtual file support

@bones1014
Copy link

I have the same problem with 3.2.2 in windows 10. It crashes almost immediately. I deleted the folder in appdata and I emptied the sync folder so there wouldn't be anything for it to do.

@weiw11
Copy link

weiw11 commented Jun 15, 2021

Look at the issue I referenced. It's because of the sync exclude file in your nextcloud folder.

@bones1014
Copy link

Look at the issue I referenced. It's because of the sync exclude file in your nextcloud folder.

I deleted that file and ran it again with no other changes and it runs until I add something to the sync folder.

@weiw11
Copy link

weiw11 commented Jun 15, 2021

You have to make sure to select that file to always be downloaded. Otherwise it'll freeze.

I just ended up moving it outside of my folder until the patch comes out.

@bones1014
Copy link

That file isn't in my syncing folder. It's in appdata\roaming\nextcloud

@weiw11
Copy link

weiw11 commented Jun 18, 2021

The freeze is caused by the file in the syncing folder. Do a search for the file on syncing folder and delete/move any found. Or just right click and set them to be always downloaded.

@github-actions
Copy link

This bug report did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you!

@github-actions github-actions bot added the stale label Jul 17, 2021
@allexzander
Copy link
Collaborator

@weiw11 Is the issue still present in 3.2.4? The .sync-exclude file is now always downloaded with no way to make it virtual. This should fix the problem.

@github-actions github-actions bot removed the stale label Jul 18, 2021
@weiw11
Copy link

weiw11 commented Jul 18, 2021

No, it's not present as the crash was due to the sync file.

@allexzander
Copy link
Collaborator

#3390

@godfuture
Copy link

The client 3.2.4 (and previous) is very unstable freezing a lot of times when using and clicking in the GUI. Sync is not working reliably. Issues when trying to open files directly.

This thing is not usable. Will there be a big bug fix release?

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