Skip to content

Desktop Crash Very Occasionally on Long Sync #1675

Description

@benyanke

Expected behaviour

When syncing a very large dataset, it shouldn't crash.

Actual behaviour

I find every few days, it crashes.

Steps to reproduce

  1. Sync large dataset
  2. run in loop script in background (see below)
export DISPLAY=":0"

while true ; do
  echo "Restarting";
  date;
  /usr/bin/nextcloud
  sleep 5;
done
  1. Come back several days later and note that it has crashed and restarted.
^C
me@here:~/tmp$ ./nextcloudClientKeepalive.sh
Restarting
Tue Dec 10 23:40:29 CST 2019
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
./nextcloudClientKeepalive.sh: line 10:  8521 Aborted                 (core dumped) /usr/bin/nextcloud
Restarting
Thu Dec 12 04:28:29 CST 2019

Client configuration

Version:

me@here:~/tmp$ nextcloud --version
Nextcloud version 2.6.1git
Using Qt 5.9.5, built against Qt 5.9.5
Using 'OpenSSL 1.1.1  11 Sep 2018'

Operating system: Kubuntu 18.04

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

Installation path of client: /usr/bin/nextcloud

Logs

All I see are the stdout logs noted above (std::bad_alloc). Will rerun with --logfile and update in a few days and add anything which happens on next crash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions