Digikam memory leak : valgrind backtraces

Paulux nvlplx at yahoo.fr
Fri Jul 7 23:16:52 BST 2017


Hello,
I cannot undersand why I have a critical memory leak with digikam, conducting it to crash when RAMand SWAP are full. I've tried several downgrades, without significant results. 
you can find below some outputs of$ valgrind --tool=memcheck --leak-check=full --error-limit=no digikam
Please, help me to understand. 
Paul

digiKam 5.6.0qt5 5.9.1



==1397== 576 bytes in 1 blocks are possibly lost in loss record 46,312 of 49,097
==1397==    at 0x4C2DF05: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==1397==    by 0x40119F1: allocate_dtv (in /usr/lib/ld-2.25.so)
==1397==    by 0x401236D: _dl_allocate_tls (in /usr/lib/ld-2.25.so)
==1397==    by 0xE333DC9: pthread_create@@GLIBC_2.2.5 (in /usr/lib/libpthread-2.25.so)
==1397==    by 0x879B875: QThread::start(QThread::Priority) (in /usr/lib/libQt5Core.so.5.9.1)
==1397==    by 0x1232DC22: QtAV::VideoFrameExtractor::VideoFrameExtractor(QObject*) (in /usr/lib/libQtAV.so.1.12.0)
==1397==    by 0x5EF8824: Digikam::VideoThumbnailer::VideoThumbnailer(QObject*) (in /usr/lib/libdigikamcore.so.5.6.0)
==1397==    by 0x5EF9DE4: Digikam::VideoThumbnailerJob::VideoThumbnailerJob(QObject*) (in /usr/lib/libdigikamcore.so.5.6.0)
==1397==    by 0x5EEAA06: Digikam::ThumbnailLoadThread::ThumbnailLoadThread(QObject*) (in /usr/lib/libdigikamcore.so.5.6.0)
==1397==    by 0x55A2A3D: ??? (in /usr/lib/libdigikamgui.so.5.6.0)
==1397==    by 0x559C53D: ??? (in /usr/lib/libdigikamgui.so.5.6.0)
==1397==    by 0x5106204: ??? (in /usr/lib/libdigikamgui.so.5.6.0)
==1397==  
==1397== 576 bytes in 1 blocks are possibly lost in loss record 46,313 of 49,097
==1397==    at 0x4C2DF05: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==1397==    by 0x40119F1: allocate_dtv (in /usr/lib/ld-2.25.so)
==1397==    by 0x401236D: _dl_allocate_tls (in /usr/lib/ld-2.25.so)
==1397==    by 0xE333DC9: pthread_create@@GLIBC_2.2.5 (in /usr/lib/libpthread-2.25.so)
==1397==    by 0x879B875: QThread::start(QThread::Priority) (in /usr/lib/libQt5Core.so.5.9.1)
==1397==    by 0x13B696B5: QNetworkConfigurationManagerPrivate::initialize() (in /usr/lib/libQt5Network.so.5.9.1)
==1397==    by 0x13B638EC: qNetworkConfigurationManagerPrivate() (in /usr/lib/libQt5Network.so.5.9.1)
==1397==    by 0x13B63986: QNetworkConfigurationManager::QNetworkConfigurationManager(QObject*) (in /usr/lib/libQt5Network.so.5.9.1)
==1397==    by 0x174C1FA4: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x89A9241: QObject::event(QEvent*) (in /usr/lib/libQt5Core.so.5.9.1)
==1397==    by 0x788746B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQt5Widgets.so.5.9.1)
==1397==    by 0x788ECF3: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQt5Widgets.so.5.9.1)

[...]
==1397== 2,304 bytes in 4 blocks are possibly lost in loss record 48,185 of 49,097
==1397==    at 0x4C2DF05: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==1397==    by 0x40119F1: allocate_dtv (in /usr/lib/ld-2.25.so)
==1397==    by 0x401236D: _dl_allocate_tls (in /usr/lib/ld-2.25.so)
==1397==    by 0xE333DC9: pthread_create@@GLIBC_2.2.5 (in /usr/lib/libpthread-2.25.so)
==1397==    by 0x450FFF4B: ??? (in /usr/lib/xorg/modules/dri/radeonsi_dri.so)
==1397==    by 0x451003BC: ??? (in /usr/lib/xorg/modules/dri/radeonsi_dri.so)
==1397==    by 0x454719F3: ??? (in /usr/lib/xorg/modules/dri/radeonsi_dri.so)
==1397==    by 0x4552B57E: amdgpu_winsys_create (in /usr/lib/xorg/modules/dri/radeonsi_dri.so)
==1397==    by 0x44E50EDE: ??? (in /usr/lib/xorg/modules/dri/radeonsi_dri.so)
==1397==    by 0x4517FEE9: ??? (in /usr/lib/xorg/modules/dri/radeonsi_dri.so)
==1397==    by 0x4517BC1F: ??? (in /usr/lib/xorg/modules/dri/radeonsi_dri.so)
==1397==    by 0x43B77FA4: ??? (in /usr/lib/libGLX_mesa.so.0.0.0)

[...]
==1397== 4,360 bytes in 1 blocks are possibly lost in loss record 48,482 of 49,097
==1397==    at 0x4C2BEEF: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==1397==    by 0x27BA3F90: ??? (in /usr/lib/libsqlite3.so.0.8.6)
==1397==    by 0x27BA3502: sqlite3Malloc (in /usr/lib/libsqlite3.so.0.8.6)
==1397==    by 0x27BB1A53: ??? (in /usr/lib/libsqlite3.so.0.8.6)
==1397==    by 0x27BB22C5: ??? (in /usr/lib/libsqlite3.so.0.8.6)
==1397==    by 0x27BAC9FF: ??? (in /usr/lib/libsqlite3.so.0.8.6)
==1397==    by 0x27B41A26: ??? (in /usr/lib/libsqlite3.so.0.8.6)
==1397==    by 0x27B46A49: ??? (in /usr/lib/libsqlite3.so.0.8.6)
==1397==    by 0x27B48410: sqlite3BtreeMovetoUnpacked (in /usr/lib/libsqlite3.so.0.8.6)
==1397==    by 0x27BD604D: sqlite3VdbeExec (in /usr/lib/libsqlite3.so.0.8.6)
==1397==    by 0x27BD7F9E: sqlite3_step (in /usr/lib/libsqlite3.so.0.8.6)
==1397==    by 0x5019375C: ??? (in /usr/lib/qt/plugins/sqldrivers/libqsqlite.so)
==1397==  
==1397== 4,360 bytes in 1 blocks are possibly lost in loss record 48,483 of 49,097
==1397==    at 0x4C2BEEF: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==1397==    by 0x27BA3F90: ??? (in /usr/lib/libsqlite3.so.0.8.6)
==1397==    by 0x27BA3502: sqlite3Malloc (in /usr/lib/libsqlite3.so.0.8.6)
==1397==    by 0x27BB1A53: ??? (in /usr/lib/libsqlite3.so.0.8.6)
==1397==    by 0x27BB22C5: ??? (in /usr/lib/libsqlite3.so.0.8.6)
==1397==    by 0x27BAC9FF: ??? (in /usr/lib/libsqlite3.so.0.8.6)
==1397==    by 0x27B41A26: ??? (in /usr/lib/libsqlite3.so.0.8.6)
==1397==    by 0x27B48BB5: ??? (in /usr/lib/libsqlite3.so.0.8.6)
==1397==    by 0x27B486D6: sqlite3BtreeMovetoUnpacked (in /usr/lib/libsqlite3.so.0.8.6)
==1397==    by 0x27BD92FD: ??? (in /usr/lib/libsqlite3.so.0.8.6)
==1397==    by 0x27BD24AE: sqlite3VdbeExec (in /usr/lib/libsqlite3.so.0.8.6)
==1397==    by 0x27BD7F9E: sqlite3_step (in /usr/lib/libsqlite3.so.0.8.6)


[...]
==1397== Use of uninitialised value of size 8
==1397==    at 0x16399805: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x16399B9A: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x1612DBCA: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x1610F5AC: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x161291DA: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x161295E3: JSC::Heap::collect(JSC::HeapOperation) (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x1639C080: JSC::GCActivityCallback::doWork() (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x1639D050: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x89A91FA: QObject::event(QEvent*) (in /usr/lib/libQt5Core.so.5.9.1)
==1397==    by 0x788746B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQt5Widgets.so.5.9.1)
==1397==    by 0x788ECF3: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQt5Widgets.so.5.9.1)
==1397==    by 0x8979A27: QCoreApplication::notifyInternal2(QObject*, QEvent*) (in /usr/lib/libQt5Core.so.5.9.1)
==1397==  
==1397== Conditional jump or move depends on uninitialised value(s)
==1397==    at 0x1639980C: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x16399B9A: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x1612DBCA: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x1610F5AC: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x161291DA: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x161295E3: JSC::Heap::collect(JSC::HeapOperation) (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x1639C080: JSC::GCActivityCallback::doWork() (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x1639D050: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x89A91FA: QObject::event(QEvent*) (in /usr/lib/libQt5Core.so.5.9.1)
==1397==    by 0x788746B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQt5Widgets.so.5.9.1)
==1397==    by 0x788ECF3: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQt5Widgets.so.5.9.1)
==1397==    by 0x8979A27: QCoreApplication::notifyInternal2(QObject*, QEvent*) (in /usr/lib/libQt5Core.so.5.9.1)
==1397==  
==1397== Conditional jump or move depends on uninitialised value(s)
==1397==    at 0x1639989B: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x16399B9A: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x1612DBCA: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x1610F5AC: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x161291DA: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x161295E3: JSC::Heap::collect(JSC::HeapOperation) (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x1639C080: JSC::GCActivityCallback::doWork() (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x1639D050: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x89A91FA: QObject::event(QEvent*) (in /usr/lib/libQt5Core.so.5.9.1)
==1397==    by 0x788746B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQt5Widgets.so.5.9.1)
==1397==    by 0x788ECF3: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQt5Widgets.so.5.9.1)
==1397==    by 0x8979A27: QCoreApplication::notifyInternal2(QObject*, QEvent*) (in /usr/lib/libQt5Core.so.5.9.1)
==1397==  
==1397== Use of uninitialised value of size 8
==1397==    at 0x1612C383: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x16399290: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x16399B9A: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x1612DBCA: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x1610F5AC: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x161291DA: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x161295E3: JSC::Heap::collect(JSC::HeapOperation) (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x1639C080: JSC::GCActivityCallback::doWork() (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x1639D050: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x89A91FA: QObject::event(QEvent*) (in /usr/lib/libQt5Core.so.5.9.1)
==1397==    by 0x788746B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQt5Widgets.so.5.9.1)
==1397==    by 0x788ECF3: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQt5Widgets.so.5.9.1)
==1397==  
==1397== Conditional jump or move depends on uninitialised value(s)
==1397==    at 0x1612C389: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x16399290: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x16399B9A: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x1612DBCA: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x1610F5AC: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x161291DA: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x161295E3: JSC::Heap::collect(JSC::HeapOperation) (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x1639C080: JSC::GCActivityCallback::doWork() (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x1639D050: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x89A91FA: QObject::event(QEvent*) (in /usr/lib/libQt5Core.so.5.9.1)
==1397==    by 0x788746B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQt5Widgets.so.5.9.1)
==1397==    by 0x788ECF3: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQt5Widgets.so.5.9.1)
==1397==  
==1397== Use of uninitialised value of size 8
==1397==    at 0x1612C3D8: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x16399290: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x16399B9A: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x1612DBCA: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x1610F5AC: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x161291DA: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x161295E3: JSC::Heap::collect(JSC::HeapOperation) (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x1639C080: JSC::GCActivityCallback::doWork() (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x1639D050: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x89A91FA: QObject::event(QEvent*) (in /usr/lib/libQt5Core.so.5.9.1)
==1397==    by 0x788746B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQt5Widgets.so.5.9.1)
==1397==    by 0x788ECF3: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQt5Widgets.so.5.9.1)
==1397==  
==1397== Conditional jump or move depends on uninitialised value(s)
==1397==    at 0x1612C3DE: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x16399290: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x16399B9A: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x1612DBCA: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x1610F5AC: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x161291DA: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x161295E3: JSC::Heap::collect(JSC::HeapOperation) (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x1639C080: JSC::GCActivityCallback::doWork() (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x1639D050: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==1397==    by 0x89A91FA: QObject::event(QEvent*) (in /usr/lib/libQt5Core.so.5.9.1)
==1397==    by 0x788746B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQt5Widgets.so.5.9.1)
==1397==    by 0x788ECF3: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQt5Widgets.so.5.9.1)
==1397== 

[...]

==13178== Use of uninitialised value of size 8
==13178==    at 0x1612C383: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==13178==    by 0x16399290: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==13178==    by 0x16399B9A: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==13178==    by 0x1612DBCA: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==13178==    by 0x1610F5AC: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==13178==    by 0x161291DA: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==13178==    by 0x161295E3: JSC::Heap::collect(JSC::HeapOperation) (in /usr/lib/libQt5WebKit.so.5.212.0)
==13178==    by 0x1639C080: JSC::GCActivityCallback::doWork() (in /usr/lib/libQt5WebKit.so.5.212.0)
==13178==    by 0x1639D050: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==13178==    by 0x89A91FA: QObject::event(QEvent*) (in /usr/lib/libQt5Core.so.5.9.1)
==13178==    by 0x788746B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQt5Widgets.so.5.9.1)
==13178==    by 0x788ECF3: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQt5Widgets.so.5.9.1)
==13178==  Uninitialised value was created by a stack allocation
==13178==    at 0x4051A2: ??? (in /usr/bin/digikam)
==13178==  
==13178== Conditional jump or move depends on uninitialised value(s)
==13178==    at 0x1612C389: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==13178==    by 0x16399290: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==13178==    by 0x16399B9A: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==13178==    by 0x1612DBCA: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==13178==    by 0x1610F5AC: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==13178==    by 0x161291DA: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==13178==    by 0x161295E3: JSC::Heap::collect(JSC::HeapOperation) (in /usr/lib/libQt5WebKit.so.5.212.0)
==13178==    by 0x1639C080: JSC::GCActivityCallback::doWork() (in /usr/lib/libQt5WebKit.so.5.212.0)
==13178==    by 0x1639D050: ??? (in /usr/lib/libQt5WebKit.so.5.212.0)
==13178==    by 0x89A91FA: QObject::event(QEvent*) (in /usr/lib/libQt5Core.so.5.9.1)
==13178==    by 0x788746B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/libQt5Widgets.so.5.9.1)
==13178==    by 0x788ECF3: QApplication::notify(QObject*, QEvent*) (in /usr/lib/libQt5Widgets.so.5.9.1)
==13178==  Uninitialised value was created by a stack allocation
==13178==    at 0x4051A2: ??? (in /usr/bin/digikam)




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20170707/cc00f2c7/attachment.html>


More information about the Digikam-users mailing list