My nextcloud client (version 33.0.5 from PPA) on Linux Mint (22.3) crashes if I click on the system tray icon.
I did an strace and it runs out of memory.
No wonder, it tries to allocate 256 TB via mmap system call.
Here the interesting line of the strace output just before the crash. The mmap is tried twice and returns ENOMEM

mmap(NULL, 281474976714752, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = -1 ENOMEM (Cannot allocate memory)
brk(0x155bb55ab4000) = 0x55bb55b22000

If I calculate it right:
256 B * 1024 = 262144
262144 (256 kB) * 1024 = 268435456
268435456 (256 MB) * 1024 = 274877906944
274877906944 (256 GB) * 1024 = 281474976714752 (256 TB?)

The client runs fine for another user on the same OS.
A problem with my config ?
#nextcloud #client #ubuntu

I got the AppImage (33.0.5 for Linux) and it works fine, i.e., it doesn't crash as soon as I click on the system tray.
So, my configuration is not the (only) culprit.
Question is: what is wrong with the client 33.0.5 from PPA ?
Or: why is the AppImage working then ?

This is on a different laptop than mentioned in the previous post but running the same OS (Linux Mint 22.3). But the client crashes on this one as well.
So the configuration difference does not seem to matter - "Ask for confirmation before snychronizing new folders larger than ..." is unchecked on this laptop.