Bug 56504 - KDevelop crashes when user cancels a CVS diff command
Summary: KDevelop crashes when user cancels a CVS diff command
Status: RESOLVED FIXED
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: cvs (show other bugs)
Version: 0.9.94
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: KDevelop Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-27 18:17 UTC by Paul Hoepfner-Homme
Modified: 2010-12-16 19:27 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 Paul Hoepfner-Homme 2003-03-27 18:17:53 UTC
Version:           unknown (using KDE 3.1.0)
Installed from:    Gentoo
Compiler:          gcc version 2.95.3 20010315 (release)
OS:          Linux (i686) release 2.4.19-pre7

If I run CVS diff on a file I've modified, it sometimes takes a very long time for the CVS diff command to complete due to network congestion. In some cases I wish to cancel the command and try later. However, if I press Cancel in the window that pops up saying it's waiting for CVS diff to complete, KDevelop crashes. Here is the debug backtrace:

0x41378ed9 in wait4 () from /lib/libc.so.6
#0  0x41378ed9 in wait4 () from /lib/libc.so.6
#1  0x413fa900 in __check_rhosts_file () from /lib/libc.so.6
#2  0x4123c856 in waitpid () from /lib/libpthread.so.0
#3  0x409a886e in KCrash::defaultCrashHandler ()
   from /usr/kde/3.1/lib/libkdecore.so.4
#4  0x4123a664 in pthread_kill () from /lib/libpthread.so.0
#5  0x412fa8f8 in sigaction () from /lib/libc.so.6
#6  0x407adfea in KProgressDialog::slotCancel ()
   from /usr/kde/3.1/lib/libkdeui.so.4
#7  0x407f58af in KDialogBase::qt_invoke () from /usr/kde/3.1/lib/libkdeui.so.4
#8  0x407adb3f in KProgressDialog::qt_invoke ()
   from /usr/kde/3.1/lib/libkdeui.so.4
#9  0x40cfbd34 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#10 0x40cfbc6f in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3
#11 0x40f575fb in QButton::clicked () from /usr/qt/3/lib/libqt-mt.so.3
#12 0x40d60216 in QButton::mouseReleaseEvent ()
   from /usr/qt/3/lib/libqt-mt.so.3
#13 0x40d252a6 in QWidget::event () from /usr/qt/3/lib/libqt-mt.so.3
#14 0x40cb1e93 in QApplication::internalNotify ()
   from /usr/qt/3/lib/libqt-mt.so.3
#15 0x40cb16fc in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3
#16 0x4093f0af in KApplication::notify () from /usr/kde/3.1/lib/libkdecore.so.4
#17 0x40c6b12b in QETWidget::translateMouseEvent ()
   from /usr/qt/3/lib/libqt-mt.so.3
#18 0x40c69329 in QApplication::x11ProcessEvent ()
   from /usr/qt/3/lib/libqt-mt.so.3
#19 0x40c79234 in QEventLoop::processEvents () from /usr/qt/3/lib/libqt-mt.so.3
#20 0x40cc1d83 in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3
#21 0x40cc1cd2 in QEventLoop::exec () from /usr/qt/3/lib/libqt-mt.so.3
#22 0x40cb2015 in QApplication::exec () from /usr/qt/3/lib/libqt-mt.so.3
#23 0x08066a8c in main ()
#24 0x412e93c1 in __libc_start_main () from /lib/libc.so.6
Comment 1 Mario Scalas 2003-05-21 16:54:40 UTC
Hmmm .. can anybody confirm this? I'm unable to reproduce it (cvs.kde.org is too fast? 
;). Anyway I don't see any reference to gideon's code here (only Qt/KDE related), nor I 
see any reference to KDialog* or QButton in current CVS code ... :/  
Comment 2 Harald Fernengel 2003-05-22 21:30:31 UTC
Fixed in CVS, now you can use the stop button to cancel the command, no more need for the 
process dialog.