Bug 432950

Summary: [Master] Changing config settings after closing a document causes a crash
Product: [Applications] krita Reporter: tomtomtomreportingin
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: halla
Priority: NOR Keywords: regression
Version First Reported In: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description tomtomtomreportingin 2021-02-14 21:36:59 UTC
(git 0173021)

SUMMARY
When the user closes a document (whether it's the initial document or following documents), changing any config setting appears to trigger a segmentation fault.

STEPS TO REPRODUCE
1. Create a new document
2. Close the document
3. Change any config setting, like Cursor shape

OBSERVED RESULT
Crash. Config settings aren't written.

EXPECTED RESULT
No crash. Config settings are written.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Debian sid
(available in About System)
KDE Plasma Version: 5.20.5
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
There seems to be a big performance regression when changing config settings, even without closing a document. May or may not be related.
Comment 1 Halla Rempt 2021-02-15 08:59:31 UTC
I'm pretty sure, even without a backtrace, that this is a duplicate of 432871

*** This bug has been marked as a duplicate of bug 432871 ***