[Digikam-devel] [Bug 209207] Crash when deleting saved searches (GPS and Timeline)
Andi Clemens
andi.clemens at gmx.net
Sat Oct 10 10:58:21 BST 2009
https://bugs.kde.org/show_bug.cgi?id=209207
--- Comment #21 from Andi Clemens <andi clemens gmx net> 2009-10-10 11:58:15 ---
I have extracted our code from AlbumHistory into a separate small app:
http://digikam3rdparty.free.fr/misc.tarballs/temp/crashy.tar.gz
If you compile it, you get the crash (and if you run valgrind you get the same
errors as in digiKam).
Now uncomment the "delete *iter" line, it will work.
Question is: Are we doing something stupid here or is it a bug in Qt?
When we DON'T delete the object that iter points to, it crashes (QList::erase()
returns the same iterator object), but if we DO delete it, everything is fine?
Weird!
Andi
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Digikam-devel
mailing list