Summary: | Crash on exit [KDevelop::BackgroundParser::~BackgroundParser, QtSharedPointer::CustomDeleter<ThreadWeaver::JobInterface, QtSharedPointer::NormalDeleter>::execute] | ||
---|---|---|---|
Product: | [Developer tools] kdevplatform | Reporter: | Kevin Funk <kfunk> |
Component: | language | Assignee: | kdevelop-bugs-null |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | |
Priority: | NOR | ||
Version First Reported In: | git master | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kdevplatform/dd624690edc22c8dc16fc07e312351d689bd339e | Version Fixed In: | 5.0.0 |
Sentry Crash Report: |
Description
Kevin Funk
2016-02-15 18:20:20 UTC
could it be that the job is double deleted, once via threadweaver's shared ptr logic, and once via QObject inheritance? *** Bug 341223 has been marked as a duplicate of this bug. *** Git commit dd624690edc22c8dc16fc07e312351d689bd339e by Kevin Funk. Committed on 09/03/2016 at 22:25. Pushed by kfunk into branch '5.0'. BackgroundParser: Fix crash-on-exit Currently running JobInterfaces where double-deleted, once through ~BackgroundParserPrivate, once through ref counting logic when deleting ThreadWeaver::Weaver. Just let the Weaver take care of deleting. Every job in m_parseJobs is also in m_weaver. FIXED-IN: 5.0.0 M +0 -6 language/backgroundparser/backgroundparser.cpp M +28 -1 language/backgroundparser/tests/test_backgroundparser.cpp M +2 -0 language/backgroundparser/tests/test_backgroundparser.h M +2 -0 language/backgroundparser/tests/testlanguagesupport.h http://commits.kde.org/kdevplatform/dd624690edc22c8dc16fc07e312351d689bd339e |