nextcloud / nextcloud/android

crash when uploading 2500 images

Open
#6,720 1 comment 0 reactions 0 assignees View on GitHub
approved bug feature: transfers hotspot: larger folder handling performance: misc
Dominant language
Kotlin
Stars
5.6k
Forks
2k
Avg merge
2d 18h
Merged PRs (30d)
92

Description

### Steps to reproduce
1. create a folder with more than 2500 pictures on a lineage whyred phone
2. select to upload the pictures

### Expected behaviour
- the screen goes black (probably because the reading oft the folder takes too long)

### Actual behaviour
- after a while a crash report is shown

Device model:

************ CAUSE OF ERROR ************

```
java.util.concurrent.TimeoutException: com.android.internal.os.BinderInternal$GcWatcher.finalize() timed out after 10 seconds
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:422)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:188)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:209)
at java.lang.Daemons$FinalizerDaemon.runInternal(Daemons.java:232)
at java.lang.Daemons$Daemon.run(Daemons.java:103)
at java.lang.Thread.run(Thread.java:764)
```

************ APP INFORMATION ************
ID: com.nextcloud.android.beta
Version: 20200809
Build flavor: versionDev

************ DEVICE INFORMATION ************
Brand: Xiaomi
Device: whyred
Model: Redmi Note 5 Pro
Id: OPM6.171019.030.K1
Product: whyred

************ FIRMWARE ************
SDK: 27
Release: 8.1.0
Incremental: fc5e494154

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.