Bug 63581 - Crash while right clicking in source code window
Summary: Crash while right clicking in source code window
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: CPP (old) (show other bugs)
Version: git master
Platform: Compiled Sources All
: NOR crash
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
: 63556 63756 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-09-01 18:39 UTC by Steffen Schoenwiese
Modified: 2003-09-05 16:18 UTC (History)
2 users (show)

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 Steffen Schoenwiese 2003-09-01 18:39:11 UTC
Version:           3.0.0a5 (using KDE KDE 3.1.3)
Installed from:    SuSE RPMs
Compiler:          gcc 3.3 
OS:          Linux

I was right clicking to the source code window to switch between header and implementation when Gideon crashed. Crashmanager outputs:
[New Thread 16384 (LWP 4365)]
[New Thread 32769 (LWP 4375)]
[New Thread 16386 (LWP 4376)]
0x414e3d2a in waitpid () from /lib/libpthread.so.0
#0  0x414e3d2a in waitpid () from /lib/libpthread.so.0
#1  0x40bf2ad9 in KCrash::defaultCrashHandler(int) ()
   from /opt/kde3/lib/libkdecore.so.4
#2  0x414e2895 in __pthread_sighandler () from /lib/libpthread.so.0
#3  <signal handler called>
#4  0x40544dac in ClassModel::functionDefinitionList() const ()
   from /opt/kde3/lib/libkdevelop.so.1
#5  0x422f7963 in CppSupportPart::contextMenu(QPopupMenu*, Context const*) ()
   from /opt/kde3/lib/kde3/libkdevcppsupport.so
#6  0x4230365f in CppSupportPart::qt_invoke(int, QUObject*) ()
   from /opt/kde3/lib/kde3/libkdevcppsupport.so
#7  0x40f831de in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#8  0x405374c4 in KDevCore::contextMenu(QPopupMenu*, Context const*) ()
   from /opt/kde3/lib/libkdevelop.so.1
#9  0x080888e6 in EditorProxy::popupAboutToShow() ()
#10 0x08088d69 in EditorProxy::qt_invoke(int, QUObject*) ()
#11 0x40f831de in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#12 0x40f8310f in QObject::activate_signal(int) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#13 0x41294bec in QPopupMenu::aboutToShow() ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#14 0x4107636e in QPopupMenu::popup(QPoint const&, int) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#15 0x428153d3 in KateViewInternal::mousePressEvent(QMouseEvent*) ()
   from /opt/kde3/lib/kde3/libkatepart.so
#16 0x40fb9c28 in QWidget::event(QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#17 0x40f2136f in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0x40f20a33 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#19 0x40b7dc19 in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kde3/lib/libkdecore.so.4
#20 0x40ec11f8 in QETWidget::translateMouseEvent(_XEvent const*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0x40ebebcd in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#22 0x40ed46cd in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#23 0x40f359d3 in QEventLoop::enterLoop() ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#24 0x40f358c6 in QEventLoop::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#25 0x40f2157f in QApplication::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#26 0x08067416 in main ()
#27 0x416418ae in __libc_start_main () from /lib/libc.so.6

Hope this helps
Comment 1 Steffen Schoenwiese 2003-09-01 18:42:16 UTC
The crash seems to be reproduceable, since every time I right click to the 
Gideon-generated XXXIface file, it crashes 
Comment 2 Mario Scalas 2003-09-02 12:51:48 UTC
Maybe this is related: I just rmb in a .cpp file and got this bt (note the null pointer 
reference): 
 
[New Thread 16384 (LWP 17766)] 
[New Thread 32769 (LWP 17772)] 
[New Thread 16386 (LWP 17773)] 
0x4141389e in waitpid () from /lib/libpthread.so.0 
#0  0x4141389e in waitpid () from /lib/libpthread.so.0 
#1  0x40b3badf in KCrash::defaultCrashHandler(int) () 
   from /usr/kde/3.1/lib/libkdecore.so.4 
#2  0x41412758 in __pthread_sighandler () from /lib/libpthread.so.0 
#3  <signal handler called> 
#4  0x4113b2b9 in QString::QString(QString const&) () 
   from /usr/qt/3/lib/libqt-mt.so.3 
#5  0x4043f1a0 in CodeModelItem::fileName() const (this=0x0) 
    at codemodel.cpp:232 
#6  0x424d3c99 in CppSupportPart::contextMenu(QPopupMenu*, Context const*) ( 
    this=0x8b5f978, popup=0x81e2590, context=0xbfffe740) 
    at cppsupportpart.cpp:467 
#7  0x424dac51 in CppSupportPart::qt_invoke(int, QUObject*) (this=0x8b5f978, 
    _id=9, _o=0xbfffe5f0) at cppsupportpart.moc:196 
#8  0x40ebe1f0 in QObject::activate_signal(QConnectionList*, QUObject*) () 
   from /usr/qt/3/lib/libqt-mt.so.3 
#9  0x40431df3 in KDevCore::contextMenu(QPopupMenu*, Context const*) ( 
    this=0x81b30e0, t0=0x81e2590, t1=0xbfffe740) at kdevcore.moc:157 
#10 0x08074475 in Core::fillContextMenu(QPopupMenu*, Context const*) ( 
    this=0x81b30e0, popup=0x81e2590, context=0xbfffe740) at core.cpp:83 
#11 0x0808e178 in EditorProxy::popupAboutToShow() (this=0x82c6ae0) 
    at editorproxy.cpp:138 
#12 0x0808e3cf in EditorProxy::qt_invoke(int, QUObject*) (this=0x82c6ae0, 
    _id=2, _o=0xbfffe820) at editorproxy.moc:82 
#13 0x40ebe1f0 in QObject::activate_signal(QConnectionList*, QUObject*) () 
   from /usr/qt/3/lib/libqt-mt.so.3 
#14 0x40ebe11d in QObject::activate_signal(int) () 
   from /usr/qt/3/lib/libqt-mt.so.3 
#15 0x411b2e8e in QPopupMenu::aboutToShow() () from /usr/qt/3/lib/libqt-mt.so.3 
#16 0x40fa74fa in QPopupMenu::popup(QPoint const&, int) () 
   from /usr/qt/3/lib/libqt-mt.so.3 
#17 0x4449b039 in KateViewInternal::mousePressEvent(QMouseEvent*) () 
   from /usr/kde/3.1/lib/kde3/libkatepart.so 
#18 0x40ef24eb in QWidget::event(QEvent*) () from /usr/qt/3/lib/libqt-mt.so.3 
#19 0x40e604a4 in QApplication::internalNotify(QObject*, QEvent*) () 
   from /usr/qt/3/lib/libqt-mt.so.3 
#20 0x40e5fa83 in QApplication::notify(QObject*, QEvent*) () 
   from /usr/qt/3/lib/libqt-mt.so.3 
#21 0x40ab159b in KApplication::notify(QObject*, QEvent*) () 
   from /usr/kde/3.1/lib/libkdecore.so.4 
#22 0x40e05d58 in QETWidget::translateMouseEvent(_XEvent const*) () 
   from /usr/qt/3/lib/libqt-mt.so.3 
#23 0x40e03610 in QApplication::x11ProcessEvent(_XEvent*) () 
   from /usr/qt/3/lib/libqt-mt.so.3 
#24 0x40e18ba1 in QEventLoop::processEvents(unsigned) () 
   from /usr/qt/3/lib/libqt-mt.so.3 
#25 0x40e742a6 in QEventLoop::enterLoop() () from /usr/qt/3/lib/libqt-mt.so.3 
#26 0x40e74148 in QEventLoop::exec() () from /usr/qt/3/lib/libqt-mt.so.3 
#27 0x40e606d1 in QApplication::exec() () from /usr/qt/3/lib/libqt-mt.so.3 
#28 0x0806b038 in main (argc=1, argv=0xbffff414) at main.cpp:125 
#29 0x41566707 in __libc_start_main () from /lib/libc.so.6 
 
Comment 3 Jens Dagerbo 2003-09-02 12:53:31 UTC
*** Bug 63556 has been marked as a duplicate of this bug. ***
Comment 4 Amilcar do Carmo Lucas 2003-09-05 11:02:00 UTC
This was solved by Roberto Raggi 
Comment 5 Amilcar do Carmo Lucas 2003-09-05 16:18:47 UTC
*** Bug 63756 has been marked as a duplicate of this bug. ***