Summary: | crash in Nepomuk2::Resource::property() when Resource::m_data is null | ||
---|---|---|---|
Product: | [Unmaintained] nepomuk | Reporter: | Edward Hades <edward.hades> |
Component: | libnepomukcore | Assignee: | Nepomuk Bugs Coordination <nepomuk-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | andrewstmartin, hrvoje.senjan, me |
Priority: | NOR | ||
Version: | 4.10.2 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
URL: | https://git.reviewboard.kde.org/r/108717/ | ||
Latest Commit: | http://commits.kde.org/nepomuk-core/9b7abb202407bc42e3f711aa0f51a33ede80a3bc | Version Fixed In: | |
Sentry Crash Report: | |||
Bug Depends on: | |||
Bug Blocks: | 320978 |
Description
Edward Hades
2013-05-21 15:01:53 UTC
Hey Edward, could you please install the nepomuk-core debugging symbols. It would be nice to know exactly where it is crashing. Thanks! I do have the debug symbols, and I've traced it to Resource::m_data being null in the first line of Nepomuk2::Resource::determineFinalResourceData. The backtrace I've posted in the bug is not mine but markey's (I forgot to save the one I obtained). If I reproduce the crash, I'll attach a better backtrace. Bug 320978 contains a good backtrace of the crash. *** Bug 320978 has been marked as a duplicate of this bug. *** *** Bug 319481 has been marked as a duplicate of this bug. *** Git commit 9b7abb202407bc42e3f711aa0f51a33ede80a3bc by Simeon Bird. Committed on 06/06/2013 at 01:22. Pushed by sbird into branch 'master'. Resource: Null guards for m_data It is possible, during shutdown, for m_data to be null briefly (see ResourceManager::cleanupResources). If a property were accessed during this time, we could crash. The patch checks whether m_data is null in various functions, and returns empty items if so. Related: bug 319481 REVIEW: 110877 M +57 -14 libnepomukcore/resource/resource.cpp http://commits.kde.org/nepomuk-core/9b7abb202407bc42e3f711aa0f51a33ede80a3bc |