[Digikam-devel] [digikam] [Bug 326525] Severe memory leak during maintainance scan for rebuild thumbnails
Gilles Caulier
caulier.gilles at gmail.com
Mon Oct 28 10:21:56 GMT 2013
https://bugs.kde.org/show_bug.cgi?id=326525
--- Comment #35 from Gilles Caulier <caulier.gilles at gmail.com> ---
Raphael,
As you can see in comment #13, OpenMp support from libpgf do not work in
digiKam.
PGF codec in digiKam will run into a separated thread (QThread class :
http://qt-project.org/doc/qt-4.8/qthread.html) and when libpgf paralellize
decoding to get PGF thumbnail from database, it crash violently.
I written simple a code outside wholde digiKam implementation to reproduce the
problem :
https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/tests/qtpgftest.cpp
When libpgf do not use OpenMp, all work fine.
I can give you GDB backtrace after that you fix memory corruption/leak
previously listed here. Perhaps openmp has rise up some side-effects.
Gilles Caulier
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Digikam-devel
mailing list