https://bugs.kde.org/show_bug.cgi?id=528462
Bug ID: 528462
Summary: Krita crashes when clicking OK in Preferences after
closing a canvas
Classification: Applications
Product: krita
Version First 5.3.4.1
Reported In:
Platform: Microsoft Windows
OS: Microsoft Windows
Status: REPORTED
Severity: crash
Priority: NOR
Component: General
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 198159
--> https://bugs.kde.org/attachment.cgi?id=198159&action=edit
Crash log containing the stack trace and technical details of the reproducible
crash.
Krita version: 5.3.4.1 (git bd6e8d0)
Qt version: 5.15.7
Installation: Steam
Operating system: Windows 11 home
Krita consistently crashes when I click the **OK** button in the Preferences
window, but only after I have opened and then closed a canvas.
This happens even if I haven't changed any settings. Simply opening Preferences
and clicking OK is enough to trigger the crash.
The crash does not occur:
- Before opening any canvas.
- While a canvas is open, even after drawing on it and then opening Preferences
and clicking OK.
- During normal drawing or editing.
It only happens after a canvas has been opened, used, and closed.
### Steps to reproduce
1. Launch Krita
2. Create a new canvas
3. Draw something on it
4. Close the canvas
5. Open Settings → Configure Krita (Preferences)
6. Click OK without changing anything
**Result:** Krita crashes immediately after clicking OK.
### Additional observations
- The issue is consistently reproducible, like 10/10 times
- Changing settings is not necessary. Clicking OK without making any changes
also causes the crash.
- If I open Preferences and click OK before creating a canvas, everything works
normally.
- If I draw on a canvas but leave it open, I can open Preferences and click OK
without any crash.
- The problem occurs only after closing the canvas.
- This is my first time using Krita. It is a completely fresh installation, and
I had never used the application before.
### Crash information
The crash log reports an Access Violation (`0xc0000005`) in `libkritaui.dll`.
The reported invalid memory read address is:
`0x0000000000000004`
The relevant call stack includes:
- `KisToolInvocationAction::activate`
- `KisShortcutMatcher::tryActivateReadyShortcut`
- `KisShortcutMatcher::handlePolledKeys`
- `KisInputManager::Private::fixShortcutMatcherModifiersState`
- `KisInputManager::slotConfigChanged`
- `KisMainWindow::slotPreferences`
The crash appears to be related to input handling or shortcut processing when
applying or confirming Preferences after a canvas has been closed.
I am attaching the crash log with additional technical information.
Thank you for looking into this issue!
--
You are receiving this mail because:
You are watching all bug changes.