class libs/widget/KTabBar conflicts with class kdelibs/kdeui/KTabBar

jbb jbb at kdevelop.org
Sun Oct 12 11:13:05 UTC 2003


qt=3.2
kde cvs head
kdevelop cvs head from about 5hrs ago.

class libs/widget/KTabBar conflicts with class kdelibs/kdeui/KTabBar and 
causes a crash on closing kdevelop (I think this is the cause of #65693)

Changing the name of this class fixes this crash, but then exposes a second 
crash on exit. I do not know whether KTabBar should be renamed or removed for 
cvs head. Could someone who knows what it does have a look.

The second crash causes "backtrace" attached. I removed CervisiaPlugin from 
the plugin list and then get "backtrace2". I suspect a kde bug here but I 
don't know. Anybody want to hazard a guess :-)

Also the CervisiaPlugin code isn't compiled by default (hence the line numbers 
are incorrect). Is this intended? Should the version be bumped so old plugins 
don't get loaded?

And lastly clicking on a line in the framstack loads the file in a new tab 
correctly but leaves you on the file that was previously being displayed. 
This is most annoying...

Lots of questions, no answers...

jbb
-------------- next part --------------
#0  0x41619efb in QGList::find(void*, bool) (this=0x0, d=0x40d988fc,
    fromStart=true) at tools/qglist.cpp:745
#1  0x40f0a22d in QPtrList<KStaticDeleterBase>::find(KStaticDeleterBase const*)
 (this=0x0, d=0x40d988fc) at /opt/qt-3/include/qptrlist.h:95
#2  0x40f09fd2 in KGlobal::registerStaticDeleter(KStaticDeleterBase*) (
    obj=0x40d988fc)
    at /home/okuti/kde-src/kde-3/kdelibs/kdecore/kglobal.cpp:170
#3  0x40c69999 in KStaticDeleter<KMWSessionManaged>::setObject(KMWSessionManage
d*&, KMWSessionManaged*, bool) (this=0x40d988fc, globalRef=@0x40d7ad04,
    obj=0x838f458, isArray=false)
    at /home/okuti/kde-src/kde-3/kdelibs/kdecore/kstaticdeleter.h:100
#4  0x40c64c8b in KMainWindow::initKMainWindow(char const*, int) (
    this=0x83d26d8, name=0x0, cflags=0)
    at /home/okuti/kde-src/kde-3/kdelibs/kdeui/kmainwindow.cpp:189
#5  0x40c648cc in KMainWindow (this=0x83d26d8, __vtt_parm=0x80b1190,
    parent=0x0, name=0x0, f=65537)
    at /home/okuti/kde-src/kde-3/kdelibs/kdeui/kmainwindow.cpp:169
#6  0x40cf2ba8 in KDockMainWindow (this=0x83d26d8, __vtt_parm=0x80b118c,
    parent=0x0, name=0x0, f=65537)
    at /home/okuti/kde-src/kde-3/kdelibs/kdeui/kdockwidget.cpp:103
#7  0x4077f76c in DockMainWindow (this=0x83d26d8, __vtt_parm=0x80b1188,
    parent=0x0, name=0x0, f=65537)
    at /home/okuti/kde-src/kde-3/kdelibs/kparts/dockmainwindow.cpp:63
#8  0x405bee1c in KMdiMainFrm (this=0x83d26d8, __vtt_parm=0x80b1184,
    parentWidget=0x0, name=0x0, mdiMode=ChildframeMode, flags=65537)
    at /home/okuti/kde-src/kde-3/kdelibs/kmdi/kmdimainfrm.cpp:164
#9  0x0806d2dd in MainWindow (this=0x83d26d8, parent=0x0, name=0x0)
    at /home/okuti/kde-src/kde-3/kdevelop-3.0/src/mainwindow.cpp:237
#10 0x08086db6 in TopLevel::getInstance() ()
    at /home/okuti/kde-src/kde-3/kdevelop-3.0/src/toplevel.cpp:30
#11 0x0808517f in API::mainWindow() const (this=0x81d3b50)
    at /home/okuti/kde-src/kde-3/kdevelop-3.0/src/api.cpp:14
#12 0x406a3db8 in KDevPlugin::mainWindow() (this=0x8a06fc0)
    at /home/okuti/kde-src/kde-3/kdevelop-3.0/lib/interfaces/kdevplugin.cpp:99
#13 0x4238b992 in ~CervisiaPlugin (this=0x8a06fc0)
    at /home/okuti/kde-src/kde-3/kdevelop-3.0/vcs/cervisia/cervisia_plugin.cpp:                                                       67
#14 0x40d05f3b in QPtrList<QObject>::deleteItem(void*) (this=0x8a127d0,
---Type <return> to continue, or q <return> to quit---
    d=0x8a06fc0) at /opt/qt-3/include/qptrlist.h:150
#15 0x41619e37 in QGList::clear() (this=0x8a127d0) at tools/qglist.cpp:701
#16 0x40d05e4a in QPtrList<QObject>::clear() (this=0x8a127d0)
    at /opt/qt-3/include/qptrlist.h:93
#17 0x40f15b7d in ~KLibrary (this=0x8a12798)
    at /home/okuti/kde-src/kde-3/kdelibs/kdecore/klibloader.cpp:136
#18 0x40f17838 in KLibLoader::close_pending(KLibWrapPrivate*) (
    this=0x820d518, wrap=0x89fa4b0)
    at /home/okuti/kde-src/kde-3/kdelibs/kdecore/klibloader.cpp:521
#19 0x40f16cc3 in ~KLibLoader (this=0x820d518)
    at /home/okuti/kde-src/kde-3/kdelibs/kdecore/klibloader.cpp:338
#20 0x40f165f7 in KLibLoader::cleanUp() ()
    at /home/okuti/kde-src/kde-3/kdelibs/kdecore/klibloader.cpp:308
#21 0x40e73603 in ~KApplication (this=0xbffff4b0)
    at /home/okuti/kde-src/kde-3/kdelibs/kdecore/kapplication.cpp:1484
#22 0x0806c336 in main (argc=1, argv=0xbffff624)
    at /home/okuti/kde-src/kde-3/kdevelop-3.0/src/main.cpp:126
#23 0x41ba57f7 in __libc_start_main () from /lib/i686/libc.so.6
-------------- next part --------------
#0  0x41619efb in QGList::find(void*, bool) (this=0x0, d=0x40acb9b4, fromStart=true) at tools/qglist.cpp:745
#1  0x40f0a22d in QPtrList<KStaticDeleterBase>::find(KStaticDeleterBase const*) (this=0x0, d=0x40acb9b4)
    at /opt/qt-3/include/qptrlist.h:95
#2  0x40f09fd2 in KGlobal::registerStaticDeleter(KStaticDeleterBase*) (obj=0x40acb9b4)
    at /home/okuti/kde-src/kde-3/kdelibs/kdecore/kglobal.cpp:170
#3  0x40950969 in KStaticDeleter<KTrader>::setObject(KTrader*&, KTrader*, bool) (this=0x40acb9b4, globalRef=@0x40acb9b0,
    obj=0x827b658, isArray=false) at /home/okuti/kde-src/kde-3/kdelibs/kdecore/kstaticdeleter.h:100
#4  0x4094fe1f in KTrader::self() () at /home/okuti/kde-src/kde-3/kdelibs/kio/kio/ktrader.cpp:92
#5  0x42ac3ab3 in KateFactory (this=0x91a2698) at /home/okuti/kde-src/kde-3/kdelibs/kate/part/katefactory.cpp:113
#6  0x42ac3eff in KateFactory::self() () at /home/okuti/kde-src/kde-3/kdelibs/kate/part/katefactory.cpp:152
#7  0x42aa73fb in ~KateDocument (this=0x93d7370) at /home/okuti/kde-src/kde-3/kdelibs/kate/part/katedocument.cpp:316
#8  0x40d05f3b in QPtrList<QObject>::deleteItem(void*) (this=0x873df38, d=0x93d7370) at /opt/qt-3/include/qptrlist.h:150
#9  0x41619e37 in QGList::clear() (this=0x873df38) at tools/qglist.cpp:701
#10 0x40d05e4a in QPtrList<QObject>::clear() (this=0x873df38) at /opt/qt-3/include/qptrlist.h:93
#11 0x40f15b7d in ~KLibrary (this=0x873df00) at /home/okuti/kde-src/kde-3/kdelibs/kdecore/klibloader.cpp:136
#12 0x40f17838 in KLibLoader::close_pending(KLibWrapPrivate*) (this=0x81b0b40, wrap=0x8b00538)
    at /home/okuti/kde-src/kde-3/kdelibs/kdecore/klibloader.cpp:521
#13 0x40f16cc3 in ~KLibLoader (this=0x81b0b40) at /home/okuti/kde-src/kde-3/kdelibs/kdecore/klibloader.cpp:338
#14 0x40f165f7 in KLibLoader::cleanUp() () at /home/okuti/kde-src/kde-3/kdelibs/kdecore/klibloader.cpp:308
#15 0x40e73603 in ~KApplication (this=0xbffff470) at /home/okuti/kde-src/kde-3/kdelibs/kdecore/kapplication.cpp:1484
#16 0x0806c336 in main (argc=1, argv=0xbffff5e4) at /home/okuti/kde-src/kde-3/kdevelop-3.0/src/main.cpp:126
#17 0x41ba57f7 in __libc_start_main () from /lib/i686/libc.so.6


More information about the KDevelop-devel mailing list