https://bugs.kde.org/show_bug.cgi?id=520362
Bug ID: 520362
Summary: Krita crashes if any of the recently opened project
files is corrupted
Classification: Applications
Product: krita
Version First 5.3.1
Reported In:
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: crash
Priority: NOR
Component: * Unknown
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
STEPS TO REPRODUCE
This is how I found it.
1. Have some recently Krita opened projects in the “Recent Images” list.
2. Experience a file system failure, resulting in corruptions of some or all
Krita projects in this list.
3. Try to open Krita after repairing the OS. It will crash after the splash
screen. AppImage version is also affected.
This is what probably will be enough to reproduce:
1. Create and save a new Krita project file.
2. Corrupt it. Not sure how exactly.
3. Try to open Krita. It will crash after the splash screen.
OBSERVED RESULT
Krita segfaults. gdb shows segfault is generated inside
QuaZipFile::~QuaZipFile(). I didn't save the stacktrace from gdb and tried it
on release builds only. Same source of error as in
https://bugs.kde.org/show_bug.cgi?id=518930
EXPECTED RESULT
No crash. Probably warning sign icons in the “Recent Images” list on projects
that couldn't be loaded.
SOFTWARE/OS VERSIONS
Artix Linux with fresh updates, LXDE.
uname -a: Linux <redacted> 7.0.3-artix1-2 #1 SMP PREEMPT_DYNAMIC Sat, 02 May
2026 00:51:14 +0000 x86_64 GNU/Linux
ADDITIONAL INFORMATION
Temporary fix if someone finds this issue in Google: remove all entries from
the [RecentFiles] INI section in ~/.config/kritarc or just remove/rename the
~/.config/kritarc.
--
You are receiving this mail because:
You are watching all bug changes.