Bug 58788

Summary: gideon crashes when switching from header file to source file
Product: [Applications] kdevelop Reporter: Sven Schmidt <sschmidt>
Component: generalAssignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: crash    
Priority: HI    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Sven Schmidt 2003-05-22 10:36:50 UTC
Version:            (using KDE KDE 3.1.1)
Installed from:    Compiled From Sources
Compiler:          gcc 3.3 (prerelease) 
OS:          Linux

Hi!

I imported a c++-project created with kdev 2.1.5 in gedeon. Than I opened a header file and tried to switch to the source file (click on the right mouse button, than click an the entry in the popup menu).
Here is what gideon says:


[New Thread 16384 (LWP 6047)]
[New Thread 32769 (LWP 6052)]
[New Thread 49154 (LWP 6079)]
0x41350d2a in waitpid () from /lib/libpthread.so.0
#0  0x41350d2a in waitpid () from /lib/libpthread.so.0
#1  0x40a69c89 in KCrash::defaultCrashHandler(int) ()
   from /opt/kde3/lib/libkdecore.so.4
#2  0x4134f895 in __pthread_sighandler () from /lib/libpthread.so.0
#3  <signal handler called>
#4  0x42aeb186 in KateBufBlock::line(unsigned) ()
   from /opt/kde3/lib/kde3/libkatepart.so
#5  0x42ae92ef in KateBuffer::needHighlight(KateBufBlock*, unsigned, unsigned)
    () from /opt/kde3/lib/kde3/libkatepart.so
#6  0x42ae97fe in KateBuffer::updateHighlighting(unsigned, unsigned, bool) ()
   from /opt/kde3/lib/kde3/libkatepart.so
#7  0x42ae9936 in KateBuffer::slotBufferUpdateHighlight(unsigned, unsigned) ()
   from /opt/kde3/lib/kde3/libkatepart.so
#8  0x42ae791f in KateBuffer::qt_invoke(int, QUObject*) ()
   from /opt/kde3/lib/kde3/libkatepart.so
#9  0x40df58e7 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#10 0x42ae780f in KateBuffer::pleaseHighlight(unsigned, unsigned) ()
   from /opt/kde3/lib/kde3/libkatepart.so
#11 0x42ae9150 in KateBuffer::line(unsigned) ()
   from /opt/kde3/lib/kde3/libkatepart.so
#12 0x42b14fa6 in KateDocument::kateTextLine(unsigned) ()
   from /opt/kde3/lib/kde3/libkatepart.so
#13 0x42b4cc77 in KateViewInternal::range(int, LineRange const*) ()
   from /opt/kde3/lib/kde3/libkatepart.so
#14 0x42b4dcde in KateViewInternal::viewLineOffset(KateTextCursor const&, int, bool) () from /opt/kde3/lib/kde3/libkatepart.so
#15 0x42b48c11 in KateViewInternal::maxStartPos(bool) ()
   from /opt/kde3/lib/kde3/libkatepart.so
#16 0x42b491b2 in KateViewInternal::updateView(bool, int) ()
   from /opt/kde3/lib/kde3/libkatepart.so
#17 0x42b117c5 in KateDocument::tagAll() ()
   from /opt/kde3/lib/kde3/libkatepart.so
#18 0x42b14f1d in KateDocument::slotLoadingFinished() ()
   from /opt/kde3/lib/kde3/libkatepart.so
#19 0x42afe804 in KateDocument::qt_invoke(int, QUObject*) ()
   from /opt/kde3/lib/kde3/libkatepart.so
#20 0x40df58e7 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0x40df578f in QObject::activate_signal(int) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#22 0x42ae786c in KateBuffer::loadingFinished() ()
   from /opt/kde3/lib/kde3/libkatepart.so
#23 0x42ae8fe8 in KateBuffer::loadFilePart() ()
   from /opt/kde3/lib/kde3/libkatepart.so
#24 0x42ae792c in KateBuffer::qt_invoke(int, QUObject*) ()
   from /opt/kde3/lib/kde3/libkatepart.so
#25 0x40df58e7 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#26 0x40df578f in QObject::activate_signal(int) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#27 0x410ee139 in QTimer::timeout() () from /usr/lib/qt3/lib/libqt-mt.so.3
#28 0x40e17433 in QTimer::event(QEvent*) () from /usr/lib/qt3/lib/libqt-mt.so.3
#29 0x40d945f8 in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#30 0x40d93b50 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#31 0x409f6929 in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kde3/lib/libkdecore.so.4
#32 0x40d6b935 in QEventLoop::activateTimers() ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#33 0x40d48974 in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#34 0x40da8b83 in QEventLoop::enterLoop() ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#35 0x40da8a76 in QEventLoop::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#36 0x40d9487f in QApplication::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#37 0x080709b6 in main (argc=1, argv=0xbffff374) at main.cpp:123
#38 0x414af8ae in __libc_start_main () from /lib/libc.so.6


Sven Schmidt


PS: compiled today (22.05.2003) at 0400 am.
Comment 1 Amilcar do Carmo Lucas 2003-05-22 11:01:39 UTC
This is a regression agains KDevelop 2
Changing priority to HI.
Comment 2 Jens Dagerbo 2003-05-22 18:47:28 UTC
 
Looks similar to http://bugs.kde.org/show_bug.cgi?id=57455 
 
I'm not sure how we can cause/solve this, since the crash is in katepart. But judging by 
bug 57455 the same crash doesn't appear in kwrite/kate. 
Comment 3 Jens Dagerbo 2003-05-22 23:18:16 UTC
Turns out this was a katepart bug after all. Reported as fixed in CVS HEAD. Closing.