Bug 97379 - Crash in Navigator::refreshNavBars() when selecting a file in File List
Summary: Crash in Navigator::refreshNavBars() when selecting a file in File List
Status: RESOLVED FIXED
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: classbrowser (other bugs)
Version First Reported In: git master
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-18 19:40 UTC by Nick Savoiu
Modified: 2013-03-31 01:31 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Savoiu 2005-01-18 19:40:29 UTC
Version:           3.1.2 (using KDE KDE 3.3.2)
Installed from:    Compiled From Sources
Compiler:          gcc3.2.3 
OS:                Linux

Here's the backtrace:

0x41bdad69 in wait4 () from /lib/libc.so.6
#0  0x41bdad69 in wait4 () from /lib/libc.so.6
#1  0x41bdacf9 in waitpid () from /lib/libc.so.6
#2  0x41a42713 in waitpid () from /lib/libpthread.so.0
#3  0x40e8abc2 in KCrash::defaultCrashHandler(int) ()
   from /home/nsavoiu/apps/kde3.3.2/lib/libkdecore.so.4
#4  0x41a4042b in sigaction () from /lib/libpthread.so.0
#5  0x41b4e918 in killpg () from /lib/libc.so.6
#6  0x4224fda2 in Navigator::refreshNavBars(QString const&, bool) ()
   from /home/nsavoiu/apps/kde3.3.2/lib/kde3/libkdevclassview.so
#7  0x42250a14 in Navigator::addFile(QString const&) ()
   from /home/nsavoiu/apps/kde3.3.2/lib/kde3/libkdevclassview.so
#8  0x4225219a in Navigator::qt_invoke(int, QUObject*) ()
   from /home/nsavoiu/apps/kde3.3.2/lib/kde3/libkdevclassview.so
#9  0x412b2158 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /home/nsavoiu/apps/kde3.3.2/lib/libqt-mt.so.3
#10 0x412b267d in QObject::activate_signal(int, QString) ()
   from /home/nsavoiu/apps/kde3.3.2/lib/libqt-mt.so.3
#11 0x080d9dda in KDevLanguageSupport::addedSourceInfo(QString const&) ()
#12 0x4206a0d5 in CppSupportPart::recomputeCodeModel(QString const&) ()
   from /home/nsavoiu/apps/kde3.3.2/lib/kde3/libkdevcppsupport.so
#13 0x4205ada3 in CppSupportPart::customEvent(QCustomEvent*) ()
   from /home/nsavoiu/apps/kde3.3.2/lib/kde3/libkdevcppsupport.so
#14 0x412afa1c in QObject::event(QEvent*) ()
   from /home/nsavoiu/apps/kde3.3.2/lib/libqt-mt.so.3
#15 0x41258c75 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /home/nsavoiu/apps/kde3.3.2/lib/libqt-mt.so.3
#16 0x41258325 in QApplication::notify(QObject*, QEvent*) ()
   from /home/nsavoiu/apps/kde3.3.2/lib/libqt-mt.so.3
#17 0x40df24c6 in KApplication::notify(QObject*, QEvent*) ()
   from /home/nsavoiu/apps/kde3.3.2/lib/libkdecore.so.4
#18 0x41259a38 in QApplication::sendPostedEvents(QObject*, int) ()
   from /home/nsavoiu/apps/kde3.3.2/lib/libqt-mt.so.3
#19 0x412598b8 in QApplication::sendPostedEvents() ()
   from /home/nsavoiu/apps/kde3.3.2/lib/libqt-mt.so.3
#20 0x4120750e in QEventLoop::processEvents(unsigned) ()
   from /home/nsavoiu/apps/kde3.3.2/lib/libqt-mt.so.3
#21 0x4126ab86 in QEventLoop::enterLoop() ()
   from /home/nsavoiu/apps/kde3.3.2/lib/libqt-mt.so.3
#22 0x4126aa28 in QEventLoop::exec() ()
   from /home/nsavoiu/apps/kde3.3.2/lib/libqt-mt.so.3
#23 0x41258ec1 in QApplication::exec() ()
   from /home/nsavoiu/apps/kde3.3.2/lib/libqt-mt.so.3
#24 0x080b7c5b in main ()
Comment 1 Nick Savoiu 2005-01-18 19:43:21 UTC
Dies the same way if I try to access the same file as a result of a double click in Classes.
Comment 2 Amilcar do Carmo Lucas 2005-01-18 19:52:29 UTC
Which QT version?
Comment 3 Nick Savoiu 2005-01-18 22:57:12 UTC
Qt 3.3.3
Comment 4 Alexander Dymo 2005-01-20 22:26:41 UTC
I can't reproduce the crash therefore I need more information:
1) if possible please send me files (both .h and .cpp) you use and have a crash with
2) if that #1 not work, please compile kdevelop with debug information (like ./configure --enable-debug=full) and post here the backtrace again.
Comment 5 Nick Savoiu 2005-01-25 06:27:29 UTC
Any file I try to open in that project kills KDevelop. It might be a corrupted project file.

I can't reproduce it with KDevelop 3.1.91.
Comment 6 Jens Dagerbo 2005-01-25 20:30:46 UTC
Well, if it doesn't happen with 3.1.91, then I guess we must assume it's been fixed. It's very unlikely that a KDevelop-3.1.3 will be released so in KDevelop-3.2 is the "solution".
Comment 7 Aleix Pol 2013-03-31 01:31:12 UTC
moving to kdevplatform's classbrowser