[Konsole-devel] [konsole] [Bug 343194] New: Invalid reads reported by Valgrind [Konsole::ViewSplitter::activeContainer()]

Kevin Funk kfunk at kde.org
Fri Jan 23 12:56:10 UTC 2015


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

            Bug ID: 343194
           Summary: Invalid reads reported by Valgrind
                    [Konsole::ViewSplitter::activeContainer()]
           Product: konsole
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: kpart
          Assignee: konsole-devel at kde.org
          Reporter: kfunk at kde.org

Log:
==23511== Invalid read of size 4
==23511==    at 0x2B6F7755: QListData::size() const (qlist.h:92)
==23511==    by 0x2B7B4D97: QList<Konsole::ViewContainer*>::count() const
(qlist.h:288)
==23511==    by 0x2B7BCE46: Konsole::ViewSplitter::activeContainer() const
(ViewSplitter.cpp:258)
==23511==    by 0x2B7AF37F: Konsole::ViewManager::updateDetachViewState()
(ViewManager.cpp:272)
==23511==    by 0x2B7B176D: Konsole::ViewManager::viewDestroyed(QWidget*)
(ViewManager.cpp:741)
==23511==    by 0x2B7BB469: QtPrivate::FunctorCall<QtPrivate::IndexesList<0>,
QtPrivate::List<QWidget*>, void, void
(Konsole::ViewManager::*)(QWidget*)>::call(void
(Konsole::ViewManager::*)(QWidget*), Konsole::ViewManager*, void**)
(qobjectdefs_impl.h:500)
==23511==    by 0x2B7BA6DC: void QtPrivate::FunctionPointer<void
(Konsole::ViewManager::*)(QWidget*)>::call<QtPrivate::List<QWidget*>,
void>(void (Konsole::ViewManager::*)(QWidget*), Konsole::ViewManager*, void**)
(qobjectdefs_impl.h:519)
==23511==    by 0x2B7B9750: QtPrivate::QSlotObject<void
(Konsole::ViewManager::*)(QWidget*), QtPrivate::List<QWidget*>,
void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*)
(qobject_impl.h:143)
==23511==    by 0x70C24D2: QtPrivate::QSlotObjectBase::call(QObject*, void**)
(qobject_impl.h:124)
==23511==    by 0x70BF2DB: QMetaObject::activate(QObject*, int, int, void**)
(qobject.cpp:3702)
==23511==    by 0x70BEBD5: QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (qobject.cpp:3582)
==23511==    by 0x2B7CF025: Konsole::ViewContainer::viewRemoved(QWidget*)
(moc_ViewContainer.cpp:297)
==23511==  Address 0x2859994c is 12 bytes inside a block of size 32 free'd
==23511==    at 0x4C2BE10: free (in
/usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==23511==    by 0x6E7F5F4: QListData::dispose(QListData::Data*) (qlist.cpp:152)
==23511==    by 0x2B7B7162:
QList<Konsole::ViewContainer*>::dealloc(QListData::Data*) (qlist.h:789)
==23511==    by 0x2B7B4511: QList<Konsole::ViewContainer*>::~QList()
(qlist.h:763)
==23511==    by 0x2B7D2A4A: Konsole::ViewSplitter::~ViewSplitter() (in
/home/krf/devel/install/kf5/lib/x86_64-linux-gnu/libkonsoleprivate.so.2.99.900)
==23511==    by 0x2B7D2A8F: Konsole::ViewSplitter::~ViewSplitter()
(ViewSplitter.h:47)
==23511==    by 0x7ADAB66: KParts::Part::~Part() (part.cpp:65)
==23511==    by 0x7ADCE65: KParts::ReadOnlyPart::~ReadOnlyPart()
(readonlypart.cpp:51)
==23511==    by 0x2B48AF2D: Konsole::Part::~Part() (Part.cpp:86)
==23511==    by 0x2B48AF93: Konsole::Part::~Part() (Part.cpp:89)
==23511==    by 0x70B9C09: QObjectPrivate::deleteChildren() (qobject.cpp:1950)
==23511==    by 0x5F7720C: QWidget::~QWidget() (qwidget.cpp:1642)


Reproducible: Always

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list