Bug 458907 - Krita crashes on start
Summary: Krita crashes on start
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: 5.1.0
Platform: Android Unspecified
: NOR crash
Target Milestone: ---
Assignee: sh_zam
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-09 04:21 UTC by sh_zam
Modified: 2022-09-13 06:53 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
crash log (4.97 KB, text/plain)
2022-09-09 04:21 UTC, sh_zam
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sh_zam 2022-09-09 04:21:01 UTC
Created attachment 151941 [details]
crash log

STEPS TO REPRODUCE
1. Just opening Krita seems to crash it.



SOFTWARE/OS VERSIONS
Android: 12
Qt Version:  5.12.12
Device: Samsung Galaxy Tab S6 lite
Comment 1 sh_zam 2022-09-09 04:22:00 UTC
I'm looking into the bug. I created a bug report to track it.

Test APK to debug it better: https://drive.google.com/file/d/1bYad1LoK5S_ex42gPp5Nw5qWFxFlMd7-/view?usp=sharing
Comment 2 sh_zam 2022-09-12 05:58:56 UTC
Git commit 28c8cd4ca4f48ca20fbf52200b2795e0fc43074a by Sharaf Zaman.
Committed on 12/09/2022 at 05:58.
Pushed by szaman into branch 'master'.

Android: Check if JNI object is null before calling its method

This resulted in a nasty crash on start.

M  +13   -11   3rdparty/ext_qt/0041-Android-Use-External-Storage-for-some-Standard-Paths.patch

https://invent.kde.org/graphics/krita/commit/28c8cd4ca4f48ca20fbf52200b2795e0fc43074a
Comment 3 Halla Rempt 2022-09-13 06:53:40 UTC
Git commit ffb321aa39483d274163b2f940d476c2ab3bdd85 by Halla Rempt, on behalf of Sharaf Zaman.
Committed on 13/09/2022 at 06:52.
Pushed by rempt into branch 'krita/5.1'.

Android: Check if JNI object is null before calling its method

This resulted in a nasty crash on start.
(cherry picked from commit 28c8cd4ca4f48ca20fbf52200b2795e0fc43074a)

M  +13   -11   3rdparty/ext_qt/0041-Android-Use-External-Storage-for-some-Standard-Paths.patch

https://invent.kde.org/graphics/krita/commit/ffb321aa39483d274163b2f940d476c2ab3bdd85