Bug 501452 - Krita crashes when importing a .bundle
Summary: Krita crashes when importing a .bundle
Status: CONFIRMED
Alias: None
Product: krita
Classification: Applications
Component: Resource Management (other bugs)
Version First Reported In: 5.2.9
Platform: Manjaro Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2025-03-13 14:50 UTC by kde545
Modified: 2025-08-13 18:41 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kde545 2025-03-13 14:50:33 UTC
SUMMARY
Krita appimage crashes when importing a .bundle.
Crash was reproducible in:
krita-5.2.9-x86_64.AppImage 
krita-5.2.10-prealpha-df1c4687df-x86_64.AppImage

STEPS TO REPRODUCE
1. start Krita, go to "Settings" - "Manage Resource Libraries"
2. click "Import" and select a .bundle file like the one from here https://github.com/Rakurri/rakurri-brush-set-for-krita/releases/tag/V2.0
3. Segmentation fault (core dumped)

OBSERVED RESULT
Krita crashes. At the next start of Krita, the brush library is active and the brushes seem to be usable.

EXPECTED RESULT
No crash.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro [Stable Update] 2025-03-05
KDE Plasma Version: 6.3.2
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2

ADDITIONAL INFORMATION
I had to use the appimage since the version from the Manjaro repos imports the brushes without crash, but they do not show up in the brush dialog (which has always been a problem with the repo version for a long time).
No backtrace since "This whole page is irrelevant if you're using (...) AppImages on Linux." https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
Comment 1 Halla Rempt 2025-03-28 10:36:53 UTC
I do not get a crash when I import the bundle in the 5.2.9 appimage. Could you start Krita from a terminal and check whether there is any useful debug output? Please also attach the contents of help->krita log for bug reports.
Comment 2 kde545 2025-03-28 15:57:02 UTC
I hope this is helpful:

Terminal output:
$ ./krita-5.2.9-x86_64.AppImage
QObject::startTimer: Timers cannot have negative intervals
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
/tmp/.mount_krita-ctPtpO/usr/lib/krita-python-libs/krita added to PYTHONPATH
Warning: requested data for unknown action "path-break-at-selection"
krita.lib.widgetutils: KoFileDialog: No default suffix for 'All supported formats'
Segmentation fault (core dumped)


krita log:
================================================================================
SESSION: 11 Mar 2025 18:00:05 +0100. Executing /tmp/.mount_krita-Ea4eSq/usr/bin/krita

Krita Version: 5.2.9 (git ac6cae8), Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 27283
-- -- -- -- -- -- -- --
11 Mar 2025 18:00:05 +0100: Style: fusion. Available styles: Windows, Fusion
11 Mar 2025 18:00:06 +0100: Creating database from scratch (database didn't exist, new schema version: 0.0.17).

KRITA DID NOT CLOSE CORRECTLY
================================================================================
SESSION: 11 Mar 2025 18:00:52 +0100. Executing /tmp/.mount_krita-hXx1p1/usr/bin/krita

Krita Version: 5.2.9 (git ac6cae8), Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 27382
-- -- -- -- -- -- -- --
11 Mar 2025 18:00:52 +0100: Style: fusion. Available styles: Windows, Fusion
11 Mar 2025 18:00:52 +0100: Database is up to date. Version: 0.0.17, created by Krita 5.2.9, at Tue Mar 11 18:00:06 2025
11 Mar 2025 18:01:14 +0100: Created image "Unnamed", 3508 * 2480 pixels, 300 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 2

KRITA DID NOT CLOSE CORRECTLY
================================================================================
SESSION: 12 Mar 2025 20:49:56 +0100. Executing /tmp/.mount_krita-4BGfna/usr/bin/krita

Krita Version: 5.2.9 (git ac6cae8), Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 60858
-- -- -- -- -- -- -- --
12 Mar 2025 20:49:56 +0100: Style: fusion. Available styles: Windows, Fusion
12 Mar 2025 20:49:57 +0100: Database is up to date. Version: 0.0.17, created by Krita 5.2.9, at Tue Mar 11 18:00:06 2025
12 Mar 2025 20:50:00 +0100: CLOSING SESSION
================================================================================
SESSION: 12 Mar 2025 20:50:04 +0100. Executing /tmp/.mount_krita-zHee9D/usr/bin/krita

Krita Version: 5.2.9 (git ac6cae8), Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 60935
-- -- -- -- -- -- -- --
12 Mar 2025 20:50:04 +0100: Style: fusion. Available styles: Windows, Fusion
12 Mar 2025 20:50:04 +0100: Database is up to date. Version: 0.0.17, created by Krita 5.2.9, at Tue Mar 11 18:00:06 2025

KRITA DID NOT CLOSE CORRECTLY
================================================================================
SESSION: 12 Mar 2025 20:54:08 +0100. Executing /tmp/.mount_krita-YbE6vC/usr/bin/krita

Krita Version: 5.2.9 (git ac6cae8), Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 61649
-- -- -- -- -- -- -- --
12 Mar 2025 20:54:08 +0100: Style: fusion. Available styles: Windows, Fusion
12 Mar 2025 20:54:08 +0100: Database is up to date. Version: 0.0.17, created by Krita 5.2.9, at Tue Mar 11 18:00:06 2025
12 Mar 2025 20:55:16 +0100: CLOSING SESSION
================================================================================
SESSION: 13 Mar 2025 04:04:02 +0100. Executing /tmp/.mount_krita-1FqSto/usr/bin/krita

Krita Version: 5.2.10-prealpha (git df1c468), Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 125531
-- -- -- -- -- -- -- --
13 Mar 2025 04:04:02 +0100: Style: fusion. Available styles: Windows, Fusion
13 Mar 2025 04:04:02 +0100: Database is up to date. Version: 0.0.17, created by Krita 5.2.9, at Tue Mar 11 18:00:06 2025
13 Mar 2025 04:04:05 +0100: CLOSING SESSION
================================================================================
SESSION: 13 Mar 2025 04:04:07 +0100. Executing /tmp/.mount_krita-CwpMt8/usr/bin/krita

Krita Version: 5.2.10-prealpha (git df1c468), Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 125583
-- -- -- -- -- -- -- --
13 Mar 2025 04:04:07 +0100: Style: fusion. Available styles: Windows, Fusion
13 Mar 2025 04:04:08 +0100: Database is up to date. Version: 0.0.17, created by Krita 5.2.9, at Tue Mar 11 18:00:06 2025

KRITA DID NOT CLOSE CORRECTLY
================================================================================
SESSION: 13 Mar 2025 11:05:27 +0100. Executing /tmp/.mount_krita-KghX6k/usr/bin/krita

Krita Version: 5.2.9 (git ac6cae8), Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 22778
-- -- -- -- -- -- -- --
13 Mar 2025 11:05:27 +0100: Style: fusion. Available styles: Windows, Fusion
13 Mar 2025 11:05:28 +0100: Database is up to date. Version: 0.0.17, created by Krita 5.2.9, at Tue Mar 11 18:00:06 2025

KRITA DID NOT CLOSE CORRECTLY
================================================================================
SESSION: 13 Mar 2025 15:14:45 +0100. Executing /tmp/.mount_krita-SvcV2Q/usr/bin/krita

Krita Version: 5.2.9 (git ac6cae8), Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 43941
-- -- -- -- -- -- -- --
13 Mar 2025 15:14:45 +0100: Style: fusion. Available styles: Windows, Fusion
13 Mar 2025 15:14:45 +0100: Database is up to date. Version: 0.0.17, created by Krita 5.2.9, at Tue Mar 11 18:00:06 2025
13 Mar 2025 15:20:29 +0100: CLOSING SESSION
================================================================================
SESSION: 13 Mar 2025 15:21:05 +0100. Executing /tmp/.mount_krita-GL6h29/usr/bin/krita

Krita Version: 5.2.10-prealpha (git df1c468), Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 44559
-- -- -- -- -- -- -- --
13 Mar 2025 15:21:05 +0100: Style: fusion. Available styles: Windows, Fusion
13 Mar 2025 15:21:06 +0100: Database is up to date. Version: 0.0.17, created by Krita 5.2.9, at Tue Mar 11 18:00:06 2025

KRITA DID NOT CLOSE CORRECTLY
================================================================================
SESSION: 13 Mar 2025 15:22:27 +0100. Executing /tmp/.mount_krita-ZP2NHH/usr/bin/krita

Krita Version: 5.2.10-prealpha (git df1c468), Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 44736
-- -- -- -- -- -- -- --
13 Mar 2025 15:22:27 +0100: Style: fusion. Available styles: Windows, Fusion
13 Mar 2025 15:22:27 +0100: Database is up to date. Version: 0.0.17, created by Krita 5.2.9, at Tue Mar 11 18:00:06 2025
13 Mar 2025 15:22:31 +0100: Created image "Unnamed", 3508 * 2480 pixels, 300 dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc). Layers: 2
13 Mar 2025 15:25:23 +0100: CLOSING SESSION
================================================================================
SESSION: 13 Mar 2025 15:51:49 +0100. Executing /tmp/.mount_krita-Lsgs8G/usr/bin/krita

Krita Version: 5.2.10-prealpha (git df1c468), Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 47573
-- -- -- -- -- -- -- --
13 Mar 2025 15:51:49 +0100: Style: fusion. Available styles: Windows, Fusion
13 Mar 2025 15:51:49 +0100: Database is up to date. Version: 0.0.17, created by Krita 5.2.9, at Tue Mar 11 18:00:06 2025
13 Mar 2025 15:52:28 +0100: CLOSING SESSION
================================================================================
SESSION: 28 Mar 2025 15:28:09 +0100. Executing /tmp/.mount_krita-ctPtpO/usr/bin/krita

Krita Version: 5.2.9 (git ac6cae8), Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 78330
-- -- -- -- -- -- -- --
28 Mar 2025 15:28:09 +0100: Style: fusion. Available styles: Windows, Fusion
28 Mar 2025 15:28:10 +0100: Database is up to date. Version: 0.0.17, created by Krita 5.2.9, at Tue Mar 11 18:00:06 2025

KRITA DID NOT CLOSE CORRECTLY
================================================================================
SESSION: 28 Mar 2025 15:31:02 +0100. Executing /tmp/.mount_krita-aeaODc/usr/bin/krita

Krita Version: 5.2.9 (git ac6cae8), Qt version compiled: 5.15.7, loaded: 5.15.7. Process ID: 78676
-- -- -- -- -- -- -- --
28 Mar 2025 15:31:02 +0100: Style: fusion. Available styles: Windows, Fusion
28 Mar 2025 15:31:03 +0100: Database is up to date. Version: 0.0.17, created by Krita 5.2.9, at Tue Mar 11 18:00:06 2025
Comment 3 Bug Janitor Service 2025-03-29 03:47:08 UTC
๐Ÿ›๐Ÿงน Thanks for your comment!

Automatically switching the status to REPORTED so the team can perform further triage.

In the future you may also do this yourself when providing needed information.
Comment 4 kde545 2025-08-13 12:37:59 UTC
Still crashing in krita-5.2.11-x86_64.AppImage and 5.211 from the arch repos.
Please fix.
Comment 5 Halla Rempt 2025-08-13 13:08:32 UTC
I've got a new desktop, and I can now reproduce it with the appimage, but unfortunately not with a local build.
Comment 6 Halla Rempt 2025-08-13 13:09:57 UTC
5.2.6 does not crash, so it's a regression.
Comment 7 kde545 2025-08-13 18:41:18 UTC
Can confirm 5.2.6 appimage does not crash when importing a .bundle.