Summary: | Crash on ClientRegistrar destruction | ||
---|---|---|---|
Product: | Telepathy | Reporter: | Alvaro Soliverez <alvaro.soliverez> |
Component: | tp-qt | Assignee: | Olli Salli <ollisal> |
Status: | RESOLVED INVALID | QA Contact: | Telepathy bugs list <telepathy-bugs> |
Severity: | normal | ||
Priority: | medium | Keywords: | NEEDINFO |
Version: | git master | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | Backtrace of crash |
Description
Alvaro Soliverez
2011-04-15 07:20:03 UTC
Please repost backtrace with Qt debug symbols installed. If possible, could you also please attach a minimal test program which exhibits this problem? If you unregister all of the clients first, and only then destroy the client registrar, do you have this issue? It is not easily reproduceable in a stand-alone application. This happens in a plugin called by an application that is included in another application of MeeGo Tablet. I'm attaching a backtrace with the installed symbols. Created attachment 45677 [details]
Backtrace of crash
Some further debug: - The ClientRegistrar has two clients, an Observer and an Approver. - I've added code to unregister the clients manually. The crash happens the first time it tries to unregister either of the clients. I tested by changing the order, but it crashes always on the first call. The problem seems to be in the way QDBusAbstractAdaptor handles the destruction. Several other projects have hit this problem and had to work around it by using deleteLater() or similar. See this, for example: http://web.archiveorange.com/archive/v/yEWOGArCSndvhyaSDKUr I've tried using deleteLater in ClientRegistrar, but it keeps crashing in various places. Here's a bug on KDE, with a patch that addresses the issue, plus links to Qt's answer to the bug: https://bugs.kde.org/show_bug.cgi?id=234484 It seems to be fixed in Qt 4.8, but that's not relief to us atm. The original problem was a misbehaviour of the thread where this was instantiated. Closing this bug. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.