https://bugs.kde.org/show_bug.cgi?id=191589
Frank Osterfeld <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #15 from Frank Osterfeld <frank osterfeld kdemail net> 2009-07-17 21:41:35 --- The problem here is that the Slave is deleted before deref() is called. The scheduler also calls deref() when it receives the slaveDied() signal, and that probably causes the deletion. I would think that the initial ref() prevents that, but apparently it doesn't. It probably only crashes when somewhere in the signalling some client code does event processing (usually some modal dialog, e.g. error msg). Then the deleteLater triggered in deref() kicks in and causes the slave to be deleted before the deref(). It would be easy to work around the crash by doing QPointer<QObject> that( this ); ... if ( that ) deref(); But that's only a workaround for the real bug (just broken refcounting? conceptual issue?). -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Kdepim-bugs mailing list [email protected] https://mail.kde.org/mailman/listinfo/kdepim-bugs
