[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 295167] New: markers leak memory
From:       <boud () valdyas ! org>
Date:       2012-03-01 18:51:06
Message-ID: bug-295167-17878 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

           Summary: markers leak memory
           Product: calligracommon
           Version: unspecified
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: flake
        AssignedTo: calligra-bugs-null@kde.org
        ReportedBy: boud@valdyas.org


Version:           unspecified
OS:                Linux

==32261== 32 bytes in 1 blocks are possibly lost in loss record 2,271 of 11,828
==32261==    at 0x4C297CD: malloc (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==32261==    by 0x54AB0D9: QMapData::node_create(QMapData::Node**, int, int)
(qmap.cpp:140)
==32261==    by 0xCC1CDDC:
KStandardDirs::KStandardDirsPrivate::resourceDirs(char const*, QString const&)
(in /usr/lib64/libkdecore.so.5.7.0)
==32261==    by 0xCC1D558: KStandardDirs::findResourceDir(char const*, QString
const&) const (in /usr/lib64/libkdecore.so.5.7.0)
==32261==    by 0xCC1D6A0: KStandardDirs::findResource(char const*, QString
const&) const (in /usr/lib64/libkdecore.so.5.7.0)
==32261==    by 0xCC1D7D4: KStandardDirs::locate(char const*, QString const&,
KComponentData const&) (in /usr/lib64/libkdecore.so.5.7.0)
==32261==    by 0x8D2D8FD: KoMarkerCollection::loadDefaultMarkers()
(KoMarkerCollection.cpp:74)
==32261==    by 0x8D2DEB6: KoMarkerCollection::KoMarkerCollection(QObject*)
(KoMarkerCollection.cpp:44)
==32261==    by 0x8D38CBF:
KoPathShapeFactory::newDocumentResourceManager(KoDocumentResourceManager*)
const (KoPathShapeFactory.cpp:84)
==32261==    by 0x8D1762A: KoShapeBasedDocumentBase::KoShapeBasedDocumentBase()
(KoShapeBasedDocumentBase.cpp:38)
==32261==    by 0x5C31906: KisShapeController::KisShapeController(KisDoc2*,
KisNameServer*) (kis_shape_controller.cpp:74)
==32261==    by 0x5C980AC: KisDoc2::init() (kis_doc2.cc:210)
==32261==

==32261==
==32261== 320 (48 direct, 272 indirect) bytes in 1 blocks are definitely lost
in loss record 10,685 of 11,828
==32261==    at 0x4C297CD: malloc (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==32261==    by 0x54AB0D9: QMapData::node_create(QMapData::Node**, int, int)
(qmap.cpp:140)
==32261==    by 0x8D10ADA: KoShapePrivate::KoShapePrivate(KoShape*)
(qmap.h:450)
==32261==    by 0x8D17FD8:
KoShapeContainerPrivate::KoShapeContainerPrivate(KoShapeContainer*)
(KoShapeContainer.cpp:33)
==32261==    by 0x8D83A98:
KoTosContainerPrivate::KoTosContainerPrivate(KoShapeContainer*)
(KoTosContainer.cpp:35)
==32261==    by 0x8CF1548: KoPathShapePrivate::KoPathShapePrivate(KoPathShape*)
(KoPathShape.cpp:64)
==32261==    by 0x8CF15D8: KoPathShape::KoPathShape() (KoPathShape.cpp:100)
==32261==    by 0x86CB297: KoMarkerModel::data(QModelIndex const&, int) const
(KoMarkerModel.cpp:63)
==32261==    by 0xC3B8042: ??? (in /usr/lib64/libQtGui.so.4.7.4)
==32261==    by 0xC3B8CE2: QComboBox::itemIcon(int) const (in
/usr/lib64/libQtGui.so.4.7.4)
==32261==    by 0xC3B94BD: ??? (in /usr/lib64/libQtGui.so.4.7.4)
==32261==    by 0xC3B9773: QComboBox::sizeHint() const (in
/usr/lib64/libQtGui.so.4.7.4)

==32261==
==32261== 5,448 (120 direct, 5,328 indirect) bytes in 3 blocks are definitely
lost in loss record 11,715 of 11,828
==32261==    at 0x4C297CD: malloc (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==32261==    by 0x549E3E0: QListData::detach_grow(int*, int) (qlist.cpp:85)
==32261==    by 0x8CFC15A: QList<QList<KoPathPoint*>*>::detach_helper_grow(int,
int) (qlist.h:666)
==32261==    by 0x8CFC250:
QList<QList<KoPathPoint*>*>::append(QList<KoPathPoint*>* const&) (qlist.h:497)
==32261==    by 0x8CF7E6C: KoPathShape::moveTo(QPointF const&) (qlist.h:283)
==32261==    by 0x86CB2C7: KoMarkerModel::data(QModelIndex const&, int) const
(KoMarkerModel.cpp:64)
==32261==    by 0xC3B8042: ??? (in /usr/lib64/libQtGui.so.4.7.4)
==32261==    by 0xC3B8CE2: QComboBox::itemIcon(int) const (in
/usr/lib64/libQtGui.so.4.7.4)
==32261==    by 0xC3B94BD: ??? (in /usr/lib64/libQtGui.so.4.7.4)
==32261==    by 0xC3B9773: QComboBox::sizeHint() const (in
/usr/lib64/libQtGui.so.4.7.4)
==32261==    by 0xC01C6B9: QWidgetItemV2::updateCacheIfNecessary() const (in
/usr/lib64/libQtGui.so.4.7.4)
==32261==    by 0xC01CA0C: QWidgetItemV2::minimumSize() const (in
/usr/lib64/libQtGui.so.4.7.4)

Reproducible: Didn't try

Steps to Reproduce:
run krita

Actual Results:  
leak

Expected Results:  
no leak

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic