Bug 57253

Summary: Change to header file crashes Gideon on save.
Product: [Applications] kdevelop Reporter: jalal <the_jalal>
Component: Language Support: CPP (old)Assignee: KDevelop Developers <kdevelop-devel>
Status: RESOLVED WORKSFORME    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description jalal 2003-04-15 10:10:07 UTC
Version:           Gideon (using KDE KDE 3.1.1a)
Installed from:    SuSE RPMs
Compiler:          gcc 2.95 
OS:          Linux

Using Gideon CVS from 14.4.03.

Open a Project.
Modify a header file.
Save file. (No problem)
Open another header file or use the same header file.
Make further changes.
Save file.
Application crash.

Repeatable.

Backtrace:
[New Thread 1024 (LWP 6104)]
[New Thread 2049 (LWP 6109)]
[New Thread 1026 (LWP 6110)]
0x412c6099 in wait4 () from /lib/libc.so.6
#0  0x412c6099 in wait4 () from /lib/libc.so.6
#1  0x41340bd8 in __DTOR_END__ () from /lib/libc.so.6
#2  0x4117a072 in waitpid () from /lib/libpthread.so.0
#3  0x4094083e in KCrash::defaultCrashHandler ()
   from /opt/kde3/lib/libkdecore.so.4
#4  0x41177a74 in pthread_sighandler () from /lib/libpthread.so.0
#5  <signal handler called>
#6  0x40e824b9 in QString::QString () from /usr/lib/qt3/lib/libqt-mt.so.3
#7  0x403745e6 in ClassStore::removeWithReferences (this=0x81f2b68, 
    fileName=@0xbfffe590) at classstore.cpp:538
#8  0x4635b108 in StoreWalker::parseTranslationUnit (this=0xbfffe58c, 
    ast=0x90d9ff8) at store_walker.cpp:43
#9  0x4630bc8f in CppSupportPart::maybeParse (this=0xbfffe634, 
    fileName=0xbfffe634, store=0x81f2b68) at cppsupportpart.cpp:756
#10 0x46308631 in CppSupportPart::savedFile (this=0x84285b0, 
    fileName=@0x8a25df0) at cppsupportpart.cpp:481
#11 0x4630db21 in CppSupportPart::qt_invoke (this=0x84285b0, _id=6, 
    _o=0xbfffe704) at cppsupportpart.moc:178
#12 0x40c7a465 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#13 0x40c7a6db in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#14 0x0808d13b in KDevPartController::savedFile (this=0x816a080, 
    t0=@0xbfffe7d0) at kdevpartcontroller.moc:90
#15 0x0806e244 in PartController::slotUploadFinished (this=0x816a080)
    at partcontroller.cpp:383
#16 0x08070669 in PartController::qt_invoke (this=0x816a080, _id=23, 
    _o=0xbfffe898) at partcontroller.moc:171
#17 0x40c7a465 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0x40c7a2fe in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#19 0x40402525 in KParts::ReadOnlyPart::completed ()
   from /opt/kde3/lib/libkparts.so.2
#20 0x40401f84 in KParts::ReadWritePart::saveToURL ()
   from /opt/kde3/lib/libkparts.so.2
#21 0x40401b6f in KParts::ReadWritePart::save ()
   from /opt/kde3/lib/libkparts.so.2
#22 0x466c1ecc in KateView::save () from /opt/kde3/lib/kde3/libkatepart.so
#23 0x466bd0b3 in KateView::qt_invoke () from /opt/kde3/lib/kde3/libkatepart.so
#24 0x40c7a3c4 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#25 0x40c7a2fe in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#26 0x40748810 in KAction::activated () from /opt/kde3/lib/libkdeui.so.4
#27 0x4073e022 in KAction::slotActivated () from /opt/kde3/lib/libkdeui.so.4
#28 0x40748a12 in KAction::qt_invoke () from /opt/kde3/lib/libkdeui.so.4
#29 0x40c7a3c4 in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#30 0x40c7a2fe in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#31 0x4093bea0 in KAccelPrivate::menuItemActivated ()
   from /opt/kde3/lib/libkdecore.so.4
#32 0x4093ab66 in KAccelPrivate::eventFilter ()
   from /opt/kde3/lib/libkdecore.so.4
#33 0x40c782b8 in QObject::activate_filters ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#34 0x40c78171 in QObject::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#35 0x40ca4325 in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#36 0x40d2e0d1 in QMainWindow::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#37 0x40c2f09a in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#38 0x40c2e7bc in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#39 0x408ded5b in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4
#40 0x40939de0 in KAccelEventHandler::x11Event ()
   from /opt/kde3/lib/libkdecore.so.4
#41 0x408e2b65 in KApplication::x11EventFilter ()
   from /opt/kde3/lib/libkdecore.so.4
#42 0x40bdad29 in qt_set_x11_event_filter ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#43 0x40be438c in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#44 0x40bf4f8f in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#45 0x40c3f520 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#46 0x40c3f467 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#47 0x40c2f216 in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#48 0x08066999 in main (argc=7, argv=0xbffff3e4) at main.cpp:89
#49 0x4123b9ed in __libc_start_main () from /lib/libc.so.6
Comment 1 jalal 2003-05-09 14:02:22 UTC
Fixed.