the old KDialogBase/Noatun bug
Martijn Klingens
klingens at kde.org
Sat Oct 18 14:56:52 BST 2003
On Saturday 18 October 2003 14:53, Charles Samuels wrote:
> Some of you may remember the bug in Noatun (and Kopete) in which removing a
> plugin would cause a crash. This is the same bug that would cause
> KDialogBase to crash (under some conditions) if you were to remove a page.
Ah, KJanusWidget once again...
FYI: Kopete now uses KCMs loaded from KSettings::Dialog, so the problem with
CModule no longer applies to us. For you it's the same old song again though.
> For the last week, I've been running the attached patch, and have not
> experienced any crashes. However, I don't see why this patch fixes it.
You should dig up the old mails from Ravi about it. AFAIR the widget stack in
the janus widget wasn't properly updated, causing double deletion or dangling
pointer accesses.
Adding a deleteLater thus might very well solve the problem, as it is run
through the event loop rather than immediately.
--
Martijn
More information about the kde-core-devel
mailing list