[Digikam-users] memory leak...
Gilles Caulier
caulier.gilles at gmail.com
Thu Mar 18 10:22:16 GMT 2010
Hi, i'm start to run digiKam under valgrind to check memory with BQM.
At start up i see these lines:
==18552== 2,080 bytes in 20 blocks are possibly lost in loss record
15,626 of 15,847
==18552== at 0x4025090: operator new(unsigned int)
(vg_replace_malloc.c:214)
==18552== by 0x60B8424: QBrush::init(QColor const&, Qt::BrushStyle)
(in /usr/lib/libQtGui.so.4.5.3)
==18552== by 0x82B8337:
Digikam::ImageDelegate::updateSizeRectsAndPixmaps()
(imagedelegate.cpp:293)
==18552== by 0x4F9B42A:
Digikam::ItemViewImageDelegate::invalidatePaintingCache()
(itemviewimagedelegate.cpp:246)
==18552== by 0x82B824C:
Digikam::ImageDelegate::invalidatePaintingCache()
(imagedelegate.cpp:258)
==18552== by 0x4F9ADDD:
Digikam::ItemViewImageDelegate::setSpacing(int)
(itemviewimagedelegate.cpp:134)
==18552== by 0x82B762C: Digikam::ImageDelegate::setSpacing(int)
(imagedelegate.cpp:91)
==18552== by 0x4F79610: Digikam::DCategorizedView::setSpacing(int)
(dcategorizedview.cpp:151)
==18552== by 0x82C6DB5:
Digikam::ImageThumbnailBar::ImageThumbnailBar(QWidget*)
(imagethumbnailbar.cpp:80)
==18552== by 0x826DEBF:
Digikam::AlbumWidgetStack::AlbumWidgetStack(QWidget*)
(albumwidgetstack.cpp:99)
==18552== by 0x829F6F3: Digikam::DigikamView::DigikamView(QWidget*,
Digikam::DigikamModelCollection*) (digikamview.cpp:169)
==18552== by 0x827F812: Digikam::DigikamApp::setupView()
(digikamapp.cpp:478)
==> Qt4 mem leak ? No ttoo huge, but next one is not :
==18552== 590,552 bytes in 8 blocks are possibly lost in loss record
15,842 of 15,847
==18552== at 0x402491C: malloc (vg_replace_malloc.c:195)
==18552== by 0x4C4AF37: ??? (in /usr/lib/liblcms.so.1.0.18)
==18552== by 0x4C4B08F: _cmsCreateProfileFromMemPlaceholder (in
/usr/lib/liblcms.so.1.0.18)
==18552== by 0x4E45728:
Digikam::IccSettingsPriv::scanDirectory(QString const&, QStringList
const&, QList<Digikam::IccProfile>*) (iccsettings.cpp:339)
==18552== by 0x4E45866:
Digikam::IccSettingsPriv::scanDirectory(QString const&, QStringList
const&, QList<Digikam::IccProfile>*) (iccsettings.cpp:348)
==18552== by 0x4E453FD:
Digikam::IccSettingsPriv::scanDirectories(QStringList const&)
(iccsettings.cpp:321)
==18552== by 0x4E45AB9: Digikam::IccSettings::allProfiles()
(iccsettings.cpp:374)
==18552== by 0x4E4627D:
Digikam::IccSettings::loadAllProfilesProperties()
(iccsettings.cpp:443)
==18552== by 0x827E062: Digikam::DigikamApp::DigikamApp()
(digikamapp.cpp:205)
==18552== by 0x8373B2F: main (main.cpp:170)
==> liblcms allocation problem ?
Gilles Caulier
More information about the Digikam-users
mailing list