[Digikam-devel] [Bug 271551] digikam crashes when trying to move the same album twice in parallel

Marcel Wiesweg marcel.wiesweg at gmx.de
Sun Apr 24 15:07:57 BST 2011


https://bugs.kde.org/show_bug.cgi?id=271551





--- Comment #2 from Marcel Wiesweg <marcel wiesweg gmx de>  2011-04-24 16:07:54 ---
Git commit d5edb63185226770899dc04ee5d0625b8e9a8f27 by Marcel Wiesweg.
Committed on 24/04/2011 at 16:14.
Pushed by mwiesweg into branch 'master'.

Entering the menu's event loop allows any stored album pointer to be
invalidated.
In the case of the bug, the relevant album seems to be finish moving and is
deleted
while the menu is open. Then accessing the plain pointer will crash.
Use an AlbumPointer as safeguard.

CCBUG: 271551

M  +19   -4    digikam/dragdrop/albumdragdrop.cpp     

http://commits.kde.org/digikam/d5edb63185226770899dc04ee5d0625b8e9a8f27

-- 
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