[Bug 59464] New: crashes when saving header file (.h)

Stefan Schmidt s-kde at hilft.net
Sat Jun 7 12:17:05 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=59464     
           Summary: crashes when saving header file (.h)
           Product: kdevelop
           Version: unspecified
          Platform: SuSE RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-devel at kdevelop.org
        ReportedBy: s-kde at hilft.net


Version:           Gideon CVS HEAD (using KDE KDE 3.1.2)
Installed from:    SuSE RPMs
Compiler:          gcc 2.95.3 standard configure settings
OS:          Linux

I created a standard KDE program (C++, KDE Application Framework) from the templates. I added some lines of code then.
When changing a .cpp file, saving it works fine, while saving changes in a .h file crashes gideon.

I reproduced the bug with a new project from template, and it persisted after switching background C++ parsing off, and deactivating all the plugins for the project.

[New Thread 1024 (LWP 24174)]
[New Thread 2049 (LWP 24194)]
[New Thread 2050 (LWP 24197)]
0x412c7079 in wait4 () from /lib/libc.so.6
#0  0x412c7079 in wait4 () from /lib/libc.so.6
#1  0x4133f8c4 in __DTOR_END__ () from /lib/libc.so.6
#2  0x41184177 in waitpid () from /lib/libpthread.so.0
#3  0x40946abe in KCrash::defaultCrashHandler ()
   from /opt/kde3/lib/libkdecore.so.4
#4  0x41181bc4 in pthread_sighandler () from /lib/libpthread.so.0
#5  <signal handler called>
#6  0x40e8b4b9 in QString::QString () from /usr/lib/qt3/lib/libqt-mt.so.3
#7  0x403783a6 in ClassStore::removeWithReferences ()
   from /filez/kde/cvs/kdevelop/lib/.libs/libkdevelop.so.1
#8  0x41af9908 in StoreWalker::parseTranslationUnit ()
   from /data/home/stefan/.kde/lib/kde3/libkdevcppsupport.so
#9  0x41ad268a in CppSupportPart::maybeParse ()
   from /data/home/stefan/.kde/lib/kde3/libkdevcppsupport.so
#10 0x41acf0f5 in CppSupportPart::savedFile ()
   from /data/home/stefan/.kde/lib/kde3/libkdevcppsupport.so
#11 0x41ad646d in CppSupportPart::qt_invoke ()
   from /data/home/stefan/.kde/lib/kde3/libkdevcppsupport.so
#12 0x40c83465 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#13 0x40c836db in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#14 0x0809222b in KDevPartController::savedFile ()
#15 0x08071854 in PartController::slotUploadFinished ()
#16 0x08073c79 in PartController::qt_invoke ()
#17 0x40c83465 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0x40c832fe in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#19 0x40407525 in KParts::ReadOnlyPart::completed ()
   from /opt/kde3/lib/libkparts.so.2
#20 0x40406f84 in KParts::ReadWritePart::saveToURL ()
   from /opt/kde3/lib/libkparts.so.2
#21 0x40406b6f in KParts::ReadWritePart::save ()
   from /opt/kde3/lib/libkparts.so.2
#22 0x41e76e1c in KateView::save () from /opt/kde3/lib/kde3/libkatepart.so
#23 0x41e72003 in KateView::qt_invoke () from /opt/kde3/lib/kde3/libkatepart.so
#24 0x40c833c4 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#25 0x40c832fe in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#26 0x4074eac0 in KAction::activated () from /opt/kde3/lib/libkdeui.so.4
#27 0x407442d2 in KAction::slotActivated () from /opt/kde3/lib/libkdeui.so.4
#28 0x4074ecc2 in KAction::qt_invoke () from /opt/kde3/lib/libkdeui.so.4
#29 0x40c833c4 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#30 0x40c832fe in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#31 0x40942120 in KAccelPrivate::menuItemActivated ()
   from /opt/kde3/lib/libkdecore.so.4
#32 0x40940de6 in KAccelPrivate::eventFilter ()
   from /opt/kde3/lib/libkdecore.so.4
#33 0x40c812b8 in QObject::activate_filters ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#34 0x40c81171 in QObject::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#35 0x40cad325 in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#36 0x40d370d1 in QMainWindow::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#37 0x40c3809a in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#38 0x40c377bc in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#39 0x408e4dcb in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4
#40 0x40940060 in KAccelEventHandler::x11Event ()
   from /opt/kde3/lib/libkdecore.so.4
#41 0x408e8bd5 in KApplication::x11EventFilter ()
   from /opt/kde3/lib/libkdecore.so.4
#42 0x40be3d29 in qt_set_x11_event_filter ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#43 0x40bed38c in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#44 0x40bfdf8f in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#45 0x40c48520 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#46 0x40c48467 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#47 0x40c38216 in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#48 0x08069905 in main ()
#49 0x4123c7ee in __libc_start_main () from /lib/libc.so.6


Here's the tail of it's standard err/out:

qeditor: CppSupportPart::activePartChanged()
kdevelop (cpp support): CppCodeCompletion::slotActivePartChanged()
kdevelop (cpp support): enabling code completion
kdevelop (cpp support): CppCodeCompletion::slotActivePartChanged() -- end
kdevelop (core): dcop emitting loadedFile /data/home/stefan/kohphone/src/kohphone.h
kdevelop (core): [void PartController::editDocument(const KURL &, int = -1)] file:/data/home/stefan/kohphone/src/kohphone.h linenum -1
kdevelop (core): [void PartController::editDocument(const KURL &, int = -1)] file:/data/home/stefan/kohphone/src/kohphone.h linenum -1
kdevelop (cpp support): ProblemReporter::reparse()
kdevelop (cpp support): ---> file added
kdevelop (cpp support): CppCodeCompletion::computeRecoveryPoints
kdevelop (cpp support): found 0 recovery points
kdevelop (core): MainWindowIDEAl::slotNewStatus()
kdevelop (core): MainWindowIDEAl::slotNewStatus()
kdevelop (core): MainWindowIDEAl::slotPartJobCompleted()
kdevelop (core): dcop emitting savedFile /data/home/stefan/kohphone/src/kohphone.h
kdevelop (cpp support): savedFile(): src/kohphone.h
kdevelop (cpp support): CppCodeCompletion::computeRecoveryPoints
kdevelop (cpp support): found 0 recovery points




More information about the KDevelop-devel mailing list