Summary: | digikam crashs after closing | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | sts |
Component: | Plugin-Generic-Presentation | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | einix, madgenius, renda.krell, valerio.fuoglio |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 0.2.0 | |
Sentry Crash Report: | |||
Attachments: | quick fix |
Description
sts
2008-10-22 09:17:46 UTC
Created attachment 28061 [details]
quick fix
I have removed most of all the delete statements in the destructors, since we don't need them for QObjects and KObjects. This fixes the problem, please take a look if nothing important has been removed.
Andi
For me, all sound fine in your patch. Valerio ? Gilles The strange thing is: I reverted to my master branch and compiled it again, now it doesn't crash anymore, even without the patch. Yesterday I compiled kipi-plugins like 10 times and it always crashed, today it is not. Hmmm... Anyway we don't need to use delete on such objects and it seems to make a lot of problems in Qt4 / KDE4, we had this race condition when calling deleteChildren() so many times now. I think it is safe to remove these deletes. But sure we need to check that first, not that I removed non Qt/KDE objects here. Andi SVN commit 874682 by vfuoglio: Fixed bug 173276. Patch by Andi Clemens (thanks Andi). BUG: 173276 CCMAIL: kde-imaging@kde.org M +2 -1 NEWS M +16 -16 slideshow/common.cpp M +1 -1 slideshow/imageviewer.cpp M +1 -1 slideshow/listimageitems.cpp M +1 -1 slideshow/listsounditems.cpp M +1 -1 slideshow/maindialog.cpp M +2 -2 slideshow/playbackwidget.cpp M +2 -2 slideshow/plugin_slideshow.cpp M +6 -6 slideshow/slideshow.cpp M +1 -1 slideshow/slideshowconfig.cpp M +4 -4 slideshow/slideshowgl.cpp M +6 -6 slideshow/slideshowkb.cpp M +5 -5 slideshow/slideshowloader.cpp M +1 -1 slideshow/soundtrackdialog.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=874682 (In reply to comment #3) > The strange thing is: I reverted to my master branch and compiled it again, now > it doesn't crash anymore, even without the patch. Yesterday I compiled > kipi-plugins like 10 times and it always crashed, today it is not. Hmmm... I'm getting tired of those strange behaviours, so I patched anyway. Thanks a lot for your help. Valerio *** Bug 172738 has been marked as a duplicate of this bug. *** *** Bug 173694 has been marked as a duplicate of this bug. *** *** Bug 173694 has been marked as a duplicate of this bug. *** *** Bug 173905 has been marked as a duplicate of this bug. *** |