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