Summary: | deadlock between KServiceTypeProfiles::hasProfile / KServiceTypeProfiles::clear | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-kservice | Reporter: | Milian Wolff <mail> |
Component: | general | Assignee: | David Faure <faure> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | kdelibs-bugs |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kservice/94ae1a54991212d30b95f690e4086d9a7aec07c8 | Version Fixed In: | |
Sentry Crash Report: |
Description
Milian Wolff
2015-09-30 08:37:18 UTC
Still trying to write a unit test that triggers this.... there's some nastiness involved in the KServiceTypeProfile re-entrancy that happens in this patch. Git commit 94ae1a54991212d30b95f690e4086d9a7aec07c8 by David Faure. Committed on 04/10/2015 at 10:04. Pushed by dfaure into branch 'master'. KServiceTypeProfile: remove unnecessary factory creation. This led to a deadlock in some cases (although I didn't manage to write a unittest that triggers it). Still, adding the unittest I wrote, it's always good to have more. REVIEW: 125504 M +10 -1 autotests/kservicetest.cpp M +1 -0 autotests/kservicetest.h M +1 -5 src/services/kservicetypeprofile.cpp http://commits.kde.org/kservice/94ae1a54991212d30b95f690e4086d9a7aec07c8 |