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

List:       kdevelop-bugs
Subject:    [Bug 243085] New: KDevelop crashes when finishing review
From:       Aleix Pol <aleixpol () gmail ! com>
Date:       2010-06-28 20:50:31
Message-ID: bug-243085-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

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

           Summary: KDevelop crashes when finishing review
           Product: kdevelop
           Version: SVN
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: NEW
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: aleixpol@gmail.com


Version:           SVN (using Devel) 
OS:                Linux

Just happens with trunk, works on 4.4.

Some valgrind backtrace, just in case:
==28527== Invalid read of size 4
==28527==    at 0x126B4CA5: KateSmartRange::~KateSmartRange()
(katesmartrange.cpp:56)
==28527==    by 0x126B4D9C: KateSmartRange::~KateSmartRange()
(katesmartrange.cpp:60)
==28527==    by 0xD7778EB: PatchHighlighter::clear() (patchreview.cpp:1034)
==28527==    by 0xD777A18: PatchHighlighter::~PatchHighlighter()
(patchreview.cpp:1042)
==28527==    by 0xD777AE2: PatchHighlighter::~PatchHighlighter()
(patchreview.cpp:1043)
==28527==    by 0xD78433B: void qDeleteAll<QMap<KUrl,
QPointer<PatchHighlighter> >::const_iterator>(QMap<KUrl,
QPointer<PatchHighlighter> >::const_iterator, QMap<KUrl,
QPointer<PatchHighlighter> >::const_iterator) (qalgorithms.h:322)
==28527==    by 0xD781AF6: void qDeleteAll<QMap<KUrl,
QPointer<PatchHighlighter> > >(QMap<KUrl, QPointer<PatchHighlighter> > const&)
(qalgorithms.h:330)
==28527==    by 0xD777B4C: PatchReviewPlugin::removeHighlighting(KUrl const&)
(patchreview.cpp:1056)
==28527==    by 0xD777ECB: PatchReviewPlugin::updateKompareModel()
(patchreview.cpp:1091)
==28527==    by 0xD77B249: PatchReviewPlugin::qt_metacall(QMetaObject::Call,
int, void**) (patchreview.moc:294)
==28527==    by 0x55FDEB9: QMetaObject::metacall(QObject*, QMetaObject::Call,
int, void**) (in /usr/lib/libQtCore.so.4.6.3)
==28527==    by 0x560CF9A: QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (in /usr/lib/libQtCore.so.4.6.3)
==28527==  Address 0x8be4830 is 72 bytes inside a block of size 372 free'd
==28527==    at 0x40237AC: operator delete(void*) (in
/usr/lib/valgrind/vgpreload_memcheck-x86-linux.so)
==28527==    by 0x5A62715: ??? (in /usr/lib/libQtGui.so.4.6.3)
==28527==    by 0x5996583: QPaintEngine::~QPaintEngine() (in
/usr/lib/libQtGui.so.4.6.3)
==28527==    by 0x5A55A3E: ??? (in /usr/lib/libQtGui.so.4.6.3)
==28527==    by 0x5A55A81: ??? (in /usr/lib/libQtGui.so.4.6.3)
==28527==    by 0x594521B: QX11PixmapData::release() (in
/usr/lib/libQtGui.so.4.6.3)
==28527==    by 0x5945352: QX11PixmapData::~QX11PixmapData() (in
/usr/lib/libQtGui.so.4.6.3)
==28527==    by 0x59453C1: QX11PixmapData::~QX11PixmapData() (in
/usr/lib/libQtGui.so.4.6.3)
==28527==    by 0x5931E85: QPixmap::~QPixmap() (in /usr/lib/libQtGui.so.4.6.3)
==28527==    by 0x5902D87: ??? (in /usr/lib/libQtGui.so.4.6.3)
==28527==    by 0x5902E37: ??? (in /usr/lib/libQtGui.so.4.6.3)
==28527==    by 0x5902E81: ??? (in /usr/lib/libQtGui.so.4.6.3)
==28527== 
==28527== Invalid read of size 4
==28527==    at 0x126B4CAA: KateSmartRange::~KateSmartRange()
(katesmartrange.cpp:56)
==28527==    by 0x126B4D9C: KateSmartRange::~KateSmartRange()
(katesmartrange.cpp:60)
==28527==    by 0xD7778EB: PatchHighlighter::clear() (patchreview.cpp:1034)
==28527==    by 0xD777A18: PatchHighlighter::~PatchHighlighter()
(patchreview.cpp:1042)
==28527==    by 0xD777AE2: PatchHighlighter::~PatchHighlighter()
(patchreview.cpp:1043)
==28527==    by 0xD78433B: void qDeleteAll<QMap<KUrl,
QPointer<PatchHighlighter> >::const_iterator>(QMap<KUrl,
QPointer<PatchHighlighter> >::const_iterator, QMap<KUrl,
QPointer<PatchHighlighter> >::const_iterator) (qalgorithms.h:322)
==28527==    by 0xD781AF6: void qDeleteAll<QMap<KUrl,
QPointer<PatchHighlighter> > >(QMap<KUrl, QPointer<PatchHighlighter> > const&)
(qalgorithms.h:330)
==28527==    by 0xD777B4C: PatchReviewPlugin::removeHighlighting(KUrl const&)
(patchreview.cpp:1056)
==28527==    by 0xD777ECB: PatchReviewPlugin::updateKompareModel()
(patchreview.cpp:1091)
==28527==    by 0xD77B249: PatchReviewPlugin::qt_metacall(QMetaObject::Call,
int, void**) (patchreview.moc:294)
==28527==    by 0x55FDEB9: QMetaObject::metacall(QObject*, QMetaObject::Call,
int, void**) (in /usr/lib/libQtCore.so.4.6.3)
==28527==    by 0x560CF9A: QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) (in /usr/lib/libQtCore.so.4.6.3)
==28527==  Address 0x28 is not stack'd, malloc'd or (recently) free'd 

Reproducible: Didn't try

Steps to Reproduce:
In a versioned project:
- make some change
- go to the review board
- open one of the modified files
- finish review (if it's a commit view, then commit, anything that closes the
review)
- crash!

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

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