C++/DUchain problems after latest changes

Andreas Pakulat apaku at gmx.de
Thu Dec 4 13:00:15 UTC 2008


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
| /home/andreas/src/kde4/kdevplatform/language/duchain/duchain.cpp, line
| 814") at /home/andreas/src/kde4/qt-copy/src/corelib/global/qglobal.cpp:2102
| #4  0xb649188c in qFatal (msg=0xb6613fe8 "ASSERT: \"%s\" in file %s, line
| %d")
|     at /home/andreas/src/kde4/qt-copy/src/corelib/global/qglobal.cpp:2303
| #5  0xb6491cd8 in qt_assert (assertion=0xb60299e4
| "!sdDUChainPrivate->m_referenceCounts.contains(context)",
|     file=0xb6028c30
| "/home/andreas/src/kde4/kdevplatform/language/duchain/duchain.cpp",
| line=814)
|     at /home/andreas/src/kde4/qt-copy/src/corelib/global/qglobal.cpp:1872
| #6  0xb5f32408 in KDevelop::DUChain::removeDocumentChain (this=0x822cf78,
| context=0x82604d0)
|     at /home/andreas/src/kde4/kdevplatform/language/duchain/duchain.cpp:814
| #7  0xb5f4b969 in KDevelop::DUChainPrivate::clear (this=0x825d618)
|     at /home/andreas/src/kde4/kdevplatform/language/duchain/duchain.cpp:286
| #8  0xb5f33c7f in KDevelop::DUChain::aboutToQuit (this=0x822cf78)
|     at
| /home/andreas/src/kde4/kdevplatform/language/duchain/duchain.cpp:1205
| #9  0xb5f33deb in KDevelop::DUChain::qt_metacall (this=0x822cf78,
| _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfc037c0)
|     at /home/andreas/src/kde4/build/kdevplatform/language/duchain.moc:156
| #10 0xb65c8719 in QMetaObject::activate (sender=0xbfc03930,
| from_signal_index=4, to_signal_index=4, argv=0x0)
|     at /home/andreas/src/kde4/qt-copy/src/corelib/kernel/qobject.cpp:3031
| #11 0xb65c8ccd in QMetaObject::activate (sender=0xbfc03930, m=0xb66b99a4,
| local_signal_index=0, argv=0x0)
|     at /home/andreas/src/kde4/qt-copy/src/corelib/kernel/qobject.cpp:3101
| #12 0xb6612831 in QCoreApplication::aboutToQuit (this=0xbfc03930) at
| .moc/debug-shared/moc_qcoreapplication.cpp:123
| #13 0xb65b0a07 in QCoreApplication::exec () at
| /home/andreas/src/kde4/qt-copy/src/corelib/kernel/qcoreapplication.cpp:849
| #14 0xb6812c4c in QApplication::exec () at
| /home/andreas/src/kde4/qt-copy/src/gui/kernel/qapplication.cpp:3331
| #15 0x0804ea79 in main (argc=-1208093008, argv=0x80f27f0) at
| /home/andreas/src/kde4/kdevelop/src/main.cpp:195
`----

I can't say I like having to erase the builddir, it shows that cmake
doesn't get its dependencies right - sometimes. OTOH this might be related
to the problems with the krosswrappers, because building kdevplatform fails
when changing API that kross wraps and the only way out of the "circle" is
by ignoring errors when building kdevplatform, then building kdevelop and
then re-generating the wrappers. Anyway, thats a different thing and I'll
talk to Aleix about that.

Andreas

-- 
You will forget that you ever knew me.




More information about the KDevelop-devel mailing list