Bug 71983 - crash by clicking on non-expanded class in class browser
Summary: crash by clicking on non-expanded class in class browser
Status: RESOLVED FIXED
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: classbrowser (show other bugs)
Version: git master
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-06 16:18 UTC by Eric Sorensen
Modified: 2013-03-31 01:30 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Sorensen 2004-01-06 16:18:48 UTC
Version:           3.0.0b2 (using KDE 3.1.4)
Installed from:    SuSE
Compiler:          gcc version 3.3.1 (SuSE Linux)
OS:          Linux (i686) release 2.4.21-166-athlon

KDevelop - compiled from CVS on 05 Jan 2004 (10:00 German time).  I clicked on a class in the Classbrowser and KDevelop crashed resulting in the below backtrace.  I tried reproducing this and got a second backtrace (commented and included below).


[New Thread 16384 (LWP 6151)]
[New Thread 32769 (LWP 6164)]
[New Thread 16386 (LWP 6165)]
0x4181aab6 in waitpid () from /lib/i686/libpthread.so.0
#0  0x4181aab6 in waitpid () from /lib/i686/libpthread.so.0
#1  0x40cf2010 in KCrash::defaultCrashHandler(int) ()
   from /opt/kde3/lib/libkdecore.so.4
#2  0x4181996c in __pthread_sighandler () from /lib/i686/libpthread.so.0
#3  <signal handler called>
#4  0x4260eb32 in QComboView::setCurrentActiveItem(QListViewItem*) ()
   from /opt/kde3/lib/kde3/libkdevclassview.so
#5  0x425db44c in ClassViewPart::removeNamespace(QString const&) ()
   from /opt/kde3/lib/kde3/libkdevclassview.so
#6  0x425db6d7 in ClassViewPart::qt_invoke(int, QUObject*) ()
   from /opt/kde3/lib/kde3/libkdevclassview.so
#7  0x410e969b in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#8  0x410e9b5a in QObject::activate_signal(int, QString) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#9  0x425eb5f8 in ClassViewWidget::removedNamespace(QString const&) ()
   from /opt/kde3/lib/kde3/libkdevclassview.so
#10 0x425e5acb in FolderBrowserItem::processNamespace(KSharedPtr<NamespaceModel>, bool) () from /opt/kde3/lib/kde3/libkdevclassview.so
#11 0x425e4f7b in FolderBrowserItem::processFile(KSharedPtr<FileModel>, QStringList&, bool) () from /opt/kde3/lib/kde3/libkdevclassview.so
#12 0x425e4910 in ClassViewWidget::removeFile(QString const&) ()
   from /opt/kde3/lib/kde3/libkdevclassview.so
#13 0x425eb6af in ClassViewWidget::qt_invoke(int, QUObject*) ()
   from /opt/kde3/lib/kde3/libkdevclassview.so
#14 0x410e95b8 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#15 0x410e9b5a in QObject::activate_signal(int, QString) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#16 0x405b2aa9 in KDevLanguageSupport::aboutToRemoveSourceInfo(QString const&)
    () from /opt/kde3/lib/libkdevelop.so.1
#17 0x42296766 in CppSupportPart::removeWithReferences(QString const&) ()
   from /opt/kde3/lib/kde3/libkdevcppsupport.so
#18 0x42298e63 in CppSupportPart::recomputeCodeModel(QString const&) ()
   from /opt/kde3/lib/kde3/libkdevcppsupport.so
#19 0x4228e04a in CppSupportPart::customEvent(QCustomEvent*) ()
   from /opt/kde3/lib/kde3/libkdevcppsupport.so
#20 0x410e6f8c in QObject::event(QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0x410876d6 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#22 0x410869fe in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#23 0x40c7f8c9 in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kde3/lib/libkdecore.so.4
#24 0x410885f1 in QApplication::sendPostedEvents(QObject*, int) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#25 0x41088376 in QApplication::sendPostedEvents() ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#26 0x4102ed9d in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#27 0x4109b980 in QEventLoop::enterLoop() ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#28 0x4109b876 in QEventLoop::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#29 0x4108796f in QApplication::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#30 0x08064d9c in main ()


------------

Second backtrace occured when I was operating on the dropdown boxes in the Inheritance Diagram.  This may be related to the above crash as I had just finished using the inheritance diagram when it crashed the first time.

[New Thread 16384 (LWP 6686)]
[New Thread 32769 (LWP 6708)]
[New Thread 16386 (LWP 6709)]
0x4181aab6 in waitpid () from /lib/i686/libpthread.so.0
#0  0x4181aab6 in waitpid () from /lib/i686/libpthread.so.0
#1  0x40cf2010 in KCrash::defaultCrashHandler(int) ()
   from /opt/kde3/lib/libkdecore.so.4
#2  0x4181996c in __pthread_sighandler () from /lib/i686/libpthread.so.0
#3  <signal handler called>
#4  0x411ca61c in QListViewItem::itemBelow() ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#5  0x4260bf40 in QComboView::keyPressEvent(QKeyEvent*) ()
   from /opt/kde3/lib/kde3/libkdevclassview.so
#6  0x4112045a in QWidget::event(QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#7  0x410876d6 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#8  0x41086f37 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#9  0x40c7f8c9 in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kde3/lib/libkdecore.so.4
#10 0x4101cd2d in QETWidget::translateKeyEvent(_XEvent const*, bool) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#11 0x410188b1 in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#12 0x4102ed7d in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#13 0x4109b980 in QEventLoop::enterLoop() ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#14 0x410879cf in QApplication::enter_loop() ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#15 0x41270bd5 in QDialog::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#16 0x425d420f in ClassViewPart::graphicalClassView() ()
   from /opt/kde3/lib/kde3/libkdevclassview.so
#17 0x425db6b2 in ClassViewPart::qt_invoke(int, QUObject*) ()
   from /opt/kde3/lib/kde3/libkdevclassview.so
#18 0x410e969b in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#19 0x41417eaa in QSignal::signal(QVariant const&) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#20 0x41104268 in QSignal::activate() () from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0x411eec0e in QPopupMenu::mouseReleaseEvent(QMouseEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#22 0x41120491 in QWidget::event(QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#23 0x410876d6 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#24 0x41087238 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#25 0x40c7f8c9 in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kde3/lib/libkdecore.so.4
#26 0x4101af76 in QETWidget::translateMouseEvent(_XEvent const*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#27 0x41018b3c in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#28 0x4102ed7d in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#29 0x4109b980 in QEventLoop::enterLoop() ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#30 0x4109b876 in QEventLoop::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#31 0x4108796f in QApplication::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#32 0x08064d9c in main ()
Comment 1 Jens Dagerbo 2004-05-25 22:08:04 UTC
Crossref bug #82140
Comment 2 Alexander Dymo 2004-06-05 00:07:20 UTC
Toolbar classbrowser is replaced with new one in cvs and this bug most likely is fixed.
Comment 3 Aleix Pol 2013-03-31 01:30:51 UTC
moving to kdevplatform's classbrowser