App crashes with no useful log messages when attempting upload of large number of photos
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 2.5k
- Forks
- 1k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 13
Description
Steps to reproduce
- Select a large amount of photos to upload.
- Select "Done"
- App shows upload options screen for several seconds (presumably while trying to generate thumbnails, since no thumbnails appear) and then crashes.
The limit where the app crashes seems to be somewhere between about 300 and 500 selected images/videos for upload. Due to issue #2406, it was too time consuming to try to narrow it down further.
Expected behaviour
App should not crash.
Actual behaviour
App crashes.
Logs
There is no log output in the log file relating to the crash, even with log level set to "maximum".
The last message in the log before the messages from restarting the app to get the logfile was from several minutes prior, which was the several minutes spent selecting a large group of pictures (see issue #2406).
2023-05-01 12:44:47 Network request body: None
2023-05-01 12:50:33 [INFO] Start session with level 2 Nextcloud Liquid for iOS 4.8.0.5 <C2><A9> 2023 in state 1 where (0 active, 1 inactive, 2 background).
2023-05-01 12:50:33 DATABASE FOUND in /private/var/mobile/Containers/Shared/AppGroup/...
Environment data
iOS version: iOS 16.4.1
Nextcloud iOS app version: 4.8.0.5
Server operating system: Debian 11 amd64
Web server: Apache
Database: MariaDB 10.5.18
PHP version: 7.4.33
Nextcloud version: 22.2.10
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the crash on iOS 16.4.1 with Nextcloud iOS 4.8.0.5 using roughly 300–500 selected photos or videos. Compare behavior around thumbnail generation and inspect why maximum-level logging produces no crash-related message. Done means large selections no longer crash and the failure provides useful log output if an error remains.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100