Bug 458907

Summary: Krita crashes on start
Product: [Applications] krita Reporter: sh_zam <shzam>
Component: GeneralAssignee: sh_zam <shzam>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: 5.1.0   
Target Milestone: ---   
Platform: Android   
OS: Unspecified   
Latest Commit: Version Fixed In:
Attachments: crash log

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