C++/DUchain problems after latest changes

Andreas Pakulat apaku at gmx.de
Thu Dec 4 13:09:32 UTC 2008


On 04.12.08 14:00:15, Andreas Pakulat wrote:
> On 04.12.08 12:20:19, David Nolden wrote:
> > Am Donnerstag, 4. Dezember 2008 10:38:50 schrieb Andreas Pakulat:
> > > Also I get those messages from duchain-repository everytime the duchain is
> > > loaded, even after a rm -rf $HOME/.kdevduchain.
> > >
> > > Last but not least: I'm also getting this after a full rebuild when closing
> > > kdevelop (backtrace at the end):
> > Full rebuild means that you've rebuilt kdevplatform and kdevelop? To me, this 
> > all looks like build issues.
> 
> after removing the builddirs and rebuilding I don't get the constant error
> messages about broken repositories.
> 
> However kdev4 still asserts during shutdown, but at a different place now:
> ,----
> | ASSERT: "!sdDUChainPrivate->m_referenceCounts.contains(context)" in file
> | /home/andreas/src/kde4/kdevplatform/language/duchain/duchain.cpp, line 814
> `----
> 
> ,----
> | #0  0xffffe424 in __kernel_vsyscall ()
> | #1  0xb61d55e0 in raise () from /lib/i686/cmov/libc.so.6
> | #2  0xb61d6f51 in abort () from /lib/i686/cmov/libc.so.6
> | #3  0xb6491828 in qt_message_output (msgType=QtFatalMsg,
> |     buf=0xbfc015c0 "ASSERT:
> | \"!sdDUChainPrivate->m_referenceCounts.contains(context)\" in file

Just saw the commit, so that one is fixed, but now I have just a crash
during close:

,----
| #1  0xb5fa0878 in KDevelop::DUChain::refCountDown (this=0x826ed00,
| top=0x8238358)
|     at
| /home/andreas/src/kde4/kdevplatform/language/duchain/duchain.cpp:1228
| #2  0xb5fd3f62 in ~ReferencedTopDUContext (this=0x8284dc4)
|     at
| /home/andreas/src/kde4/kdevplatform/language/duchain/topducontext.cpp:102
| #3  0xb2ca0e71 in ~CMakeProjectManager (this=0x8284d70)
|     at
| /home/andreas/src/kde4/kdevelop/plugins/managers/cmake/cmakemanager.cpp:231
| #4  0xb662f448 in qDeleteInEventHandler (o=0x8284d70) at
| /home/andreas/src/kde4/qt-copy/src/corelib/kernel/qobject.cpp:3659
| #5  0xb663420c in QObject::event (this=0x8284d70, e=0x826ba18)
|     at /home/andreas/src/kde4/qt-copy/src/corelib/kernel/qobject.cpp:1139
| #6  0xb6880f33 in QApplicationPrivate::notify_helper (this=0x80c4ad8,
| receiver=0x8284d70, e=0x826ba18)
|     at /home/andreas/src/kde4/qt-copy/src/gui/kernel/qapplication.cpp:3803
| #7  0xb6881248 in QApplication::notify (this=0xbfb718a0,
| receiver=0x8284d70, e=0x826ba18)
|     at /home/andreas/src/kde4/qt-copy/src/gui/kernel/qapplication.cpp:3393
| #8  0xb745af31 in KApplication::notify (this=0xbfb718a0,
| receiver=0x8284d70, event=0x826ba18)
|     at /home/andreas/src/kde4/kdelibs/kdeui/kernel/kapplication.cpp:307
| #9  0xb661e053 in QCoreApplication::notifyInternal (this=0xbfb718a0,
| receiver=0x8284d70, event=0x826ba18)
|     at
| /home/andreas/src/kde4/qt-copy/src/corelib/kernel/qcoreapplication.cpp:587
| #10 0xb7875e1d in QCoreApplication::sendEvent (receiver=0x8284d70,
| event=0x826ba18)
|     at
| ../../../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:209
| #11 0xb661e616 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0,
| event_type=52, data=0x80539a0)
|     at
| /home/andreas/src/kde4/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1198
| #12 0xb661e8ab in QCoreApplication::sendPostedEvents (receiver=0x0,
| event_type=52)
|     at
| /home/andreas/src/kde4/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1091
| #13 0xb661ea1b in QCoreApplication::exec () at
| /home/andreas/src/kde4/qt-copy/src/corelib/kernel/qcoreapplication.cpp:850
| #14 0xb6880c4c in QApplication::exec () at
| /home/andreas/src/kde4/qt-copy/src/gui/kernel/qapplication.cpp:3331
| #15 0x0804ea79 in main (argc=-1207642448, argv=0x80f29a0) at
| /home/andreas/src/kde4/kdevelop/src/main.cpp:195
`----

Andreas

-- 
You will be misunderstood by everyone.




More information about the KDevelop-devel mailing list