[Digikam-devel] [Bug 263272] Face Detection crashes on folders containing videos

Andrew Coles andrew_coles at yahoo.co.uk
Tue Jan 18 12:16:08 GMT 2011


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





--- Comment #7 from Andrew Coles <andrew_coles yahoo co uk>  2011-01-18 13:16:05 ---
Okay, some more hunting - I'm trying to see if I can work out what's going on
here.  Adding some debugging messages I get:

* Started to execute PreviewLoadingTask (LoadingProcess 0xc3bd2b8)
* Called LoadingCache::addLoadingProcess(0xc3bd2b8) for image
/home/amanda/Pictures/Test/aa056.jpg-previewImage-1600
...
* Destroying LoadingProcess at 0xc3bd2b8

So, a PreviewLoadingTask is started, and then destroyed *before it has finished
executing* and hence called LoadingCache::removeLoadingProcess.

The crash itself arises when another PreviewLoadingTask is started:

* Called LoadingCache::addLoadingProcess(0xc2dc290) for image
/home/amanda/Pictures/Test/aa057.jpg-previewImage-1600
* In LoadingCache::notifyNewLoadingProcess: notifying 0xc3bd2b8

...which attempts to call use the PreviewLoadingTask deleted above.

So it's nothing to do with face recognition; just that face recognition
stress-tests the multi-threaded image previewing code.

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