Crashing the app when importing PDF
Uploading MA1-ZS24 (1).pdf…
Before submitting an issue, please check the following
- [X] I have searched for similar issues (both open and closed) and cannot find a duplicate
- [X] I agree to follow the Code of Conduct
Describe the bug
When importing pdf about 700 pages the app freezes and crashes. I use this wonderful app on Samsung tablet. I uploaded mentioned pdf file here.
To reproduce
Open the app Try to import large pdf
Expected behavior
Expect some loading not crashing
Saber version
0.25.1
Device
- Device: samsung tablet
- OS: android 13
Anything else?
No response
Uploading MA1-ZS24 (1).pdf…
For me, this got improved in Saber v25.2
I have this on iPadOS, every time I try to open a vector file pdf in saber it crashes. that same pdf works on Nebo and Goodnotes 5
Yes, it still crashes when importing bigger pdfs with a lot of pages. May be it should not load the hole file just the preview and just the page you want to view and edit? Seems to fill up the RAM of weaker devices, loading for a long time and crashes. Device: Samsung galaxy S6 Lite with LineageOS (Android 15) with and F-droid Version 0.25.4 (250403) seems to link the wrong arch (arm64 doesnt even start). Not usable for me atm.
Similar behaviour in version v0.25.9 on Windows 11:
- for some PDFs, import works flawlessly.
- for some PDFs, the imported PDF is displayed, but the program crashes upon pressing the "Save" button. The Saber-file is created, though, only the thumbnail (preview) is missing. Reopening the imported note and resaving it creates the thumbnail.
- for some PDFs, the app crashes immediately after choosing the PDF; no Saber files are created.
I could not detect any pattern when case 1, 2 or 3 occurs; there seems to be no relation to file size nor page number. A file causing case 3 is attached.
On Samsung Tab 9+, Android 15, none of these errors occured.