Bug 364174

Summary: crash on exit
Product: [Applications] krita Reporter: basse <bastian.salmela>
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: crash CC: halla
Priority: NOR    
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:
Attachments: gdb messages
gdb bt
cmakecache

Description basse 2016-06-10 09:35:56 UTC
Created attachment 99436 [details]
gdb messages

when Krita is quit it segfaults.
Comment 1 basse 2016-06-10 09:36:56 UTC
Created attachment 99437 [details]
gdb bt
Comment 2 Halla Rempt 2016-06-10 09:56:35 UTC
Hm, that is the same crash Eugene reported on irc, and I have only seen
that crash when building Krita in debug mode:

09.06.2016-08:06 < eugening> boud: hmm. odd. for me it crashes in ~KoID
09.06.2016-08:11 < eugening> I see that the address corresponds to this line: const KoID KisLayerPropertiesIcons::colorLabelIndex("color-label", ki18n("Color Label"));

Can you also attach your CMakeCache.txt file?
Comment 3 basse 2016-06-13 18:45:14 UTC
Created attachment 99480 [details]
cmakecache
Comment 4 Halla Rempt 2016-07-06 11:26:17 UTC
This happens when

const KoID KisLayerPropertiesIcons::colorLabelIndex("color-label", ki18n("Color Label"));

gets destructed.
Comment 5 Halla Rempt 2016-10-31 15:08:52 UTC
I'd recommend building with RelWithDebInfo instead -- this is likely not fixable :-(