Summary: | Nepomuk Telepathy Service crash when stopping | ||
---|---|---|---|
Product: | [Unmaintained] telepathy | Reporter: | Daniele E. Domenichelli <ddomenichelli> |
Component: | nepomuk-service | Assignee: | Telepathy Bugs <kde-telepathy-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | kde, nepomuk-bugs |
Priority: | NOR | Keywords: | drkonqi |
Version: | unspecified | Flags: | kde:
ReviewRequest+
|
Target Milestone: | Future | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/nepomuk-core/ea58ef8052a9b16000da5ed83e7707cbdfa8f666 | Version Fixed In: | |
Sentry Crash Report: |
Description
Daniele E. Domenichelli
2013-09-27 23:37:20 UTC
I'm able to reproduce with nepomukservicestub nepomuktelepathyservice + immediately control+C Backtrace is coming from instance of NepomukStorage being deleted, yet it's still processing slots on that object and then crashing. I don't understand why it's calling the slots, when a qobject is deleted that shouldn't happen. It all appears to be in the main thread too.. I'm confused on this ATM. I thought this was coming from someone calling delete myQObject in a slot, instead of myObject->deleteLater(); I went through all my code looking for it, and it wasn't there.. . because it's in Nepomuk code. Will fix there. Link to RB because it's not in the telepathy modules: https://git.reviewboard.kde.org/r/113128/ Git commit 8ae2589a15cef0c434e07ab6e76124405451fe2e by David Edmundson. Committed on 06/10/2013 at 11:46. Pushed by davidedmundson into branch 'master'. Don't delete a QObject from inside a slot. If there are any pending calls to that object to be processed deleting the object can cause them to crash. (such as in KTp's service) Using deleteLater() is safer. REVIEW: 113128 M +1 -1 servicestub/servicecontrol.cpp http://commits.kde.org/nepomuk-core/8ae2589a15cef0c434e07ab6e76124405451fe2e Git commit ea58ef8052a9b16000da5ed83e7707cbdfa8f666 by David Edmundson. Committed on 06/10/2013 at 11:46. Pushed by davidedmundson into branch 'KDE/4.11'. Don't delete a QObject from inside a slot. If there are any pending calls to that object to be processed deleting the object can cause them to crash. (such as in KTp's service) Using deleteLater() is safer. REVIEW: 113128 M +1 -1 servicestub/servicecontrol.cpp http://commits.kde.org/nepomuk-core/ea58ef8052a9b16000da5ed83e7707cbdfa8f666 |