Bug 364174 - crash on exit
Summary: crash on exit
Status: RESOLVED INTENTIONAL
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: git master (please specify the git hash!)
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-10 09:35 UTC by basse
Modified: 2016-10-31 15:08 UTC (History)
1 user (show)

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


Attachments
gdb messages (3.01 KB, text/plain)
2016-06-10 09:35 UTC, basse
Details
gdb bt (1.17 KB, text/plain)
2016-06-10 09:36 UTC, basse
Details
cmakecache (90.85 KB, text/plain)
2016-06-13 18:45 UTC, basse
Details

Note You need to log in before you can comment on or make changes to this bug.
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 :-(