Bug 171144

Summary: kget crashes when deleting two downloads (one in detailed view)
Product: [Applications] kget Reporter: Oliver Putz <Regnaron>
Component: generalAssignee: KGet authors <kget>
Status: RESOLVED FIXED    
Severity: crash CC: jgoday
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Oliver Putz 2008-09-16 11:20:14 UTC
Version:           2.1.66 (using 4.1.66 (KDE 4.1.66 (KDE 4.2 >= 20080912)), Gentoo)
Compiler:          i686-pc-linux-gnu-gcc
OS:                Linux (i686) release 2.6.25-gentoo-r7

Steps to reproduce:

1) Download two files with kget
2) Select both files (after having finished) [note that the first one shows its details]
3) Hit delete and see kget (current svn checkout) crash with the following backtrace:

Application: KGet (kget), signal SIGSEGV

Thread 1 (Thread 0xb62ceb20 (LWP 2432)):
[KCrash Handler]
#6  0xb7a11606 in QBasicAtomicInt::operator!= (this=0x0, value=1) at /usr/include/qt4/QtCore/qbasicatomic.h:71
#7  0xb7a27604 in QList<TransferObserver*>::detach (this=0x8405504) at /usr/include/qt4/QtCore/qlist.h:121
#8  0xb7a27aaf in QList<TransferObserver*>::removeAll (this=0x8405504, _t=@0xbfeca774) at /usr/include/qt4/QtCore/qlist.h:573
#9  0xb7a26c52 in TransferHandler::delObserver (this=0x84054f8, observer=0x844cda4) at /var/tmp/portage/kde-base/kget-9999/work/kget/kget/core/transferhandler.cpp:54
#10 0x08075dfb in ~TransferDetails (this=0x844cd90) at /var/tmp/portage/kde-base/kget-9999/work/kget/kget/ui/transferdetails.cpp:58
#11 0xb74670de in QObjectPrivate::deleteChildren (this=0x83e69c8) at kernel/qobject.cpp:1860
#12 0xb6bad20c in ~QWidget (this=0x840d458) at kernel/qwidget.cpp:1341
#13 0xb6ee7ca5 in ~QGroupBox (this=0x840d458) at widgets/qgroupbox.cpp:219
#14 0xb7465c38 in qDeleteInEventHandler (o=0x844cd90) at kernel/qobject.cpp:3635
#15 0xb7467825 in QObject::event (this=0x840d458, e=0x842a3a0) at kernel/qobject.cpp:1115
#16 0xb6bab88e in QWidget::event (this=0x840d458, event=0x842a3a0) at kernel/qwidget.cpp:7407
#17 0xb6ee979d in QGroupBox::event (this=0x840d458, e=0x842a3a0) at widgets/qgroupbox.cpp:400
#18 0xb6b53f1b in QApplicationPrivate::notify_helper (this=0x80b7e18, receiver=0x840d458, e=0x842a3a0) at kernel/qapplication.cpp:3800
#19 0xb6b5aab2 in QApplication::notify (this=0xbfecb210, receiver=0x840d458, e=0x842a3a0) at kernel/qapplication.cpp:3765
#20 0xb7e4c469 in KApplication::notify (this=0xbfecb210, receiver=0x840d458, event=0x842a3a0) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdeui/kernel/kapplication.cpp:307
#21 0xb7457771 in QCoreApplication::notifyInternal (this=0xbfecb210, receiver=0x840d458, event=0x842a3a0) at kernel/qcoreapplication.cpp:591
#22 0xb74585d4 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x80a6438) at kernel/qcoreapplication.h:215
#23 0xb7484100 in QEventDispatcherUNIX::processEvents (this=0x80b1800, flags={i = -1075007252}) at kernel/qeventdispatcher_unix.cpp:867
#24 0xb6be903f in QEventDispatcherX11::processEvents (this=0x80b1800, flags={i = -1075007192}) at kernel/qeventdispatcher_x11.cpp:154
#25 0xb7456300 in QEventLoop::processEvents (this=0xbfecb1a0, flags={i = -1075007128}) at kernel/qeventloop.cpp:149
#26 0xb74564a2 in QEventLoop::exec (this=0xbfecb1a0, flags={i = -1075007064}) at kernel/qeventloop.cpp:200
#27 0xb74588bf in QCoreApplication::exec () at kernel/qcoreapplication.cpp:849
#28 0xb6b53cb3 in QApplication::exec () at kernel/qapplication.cpp:3330
#29 0x0809330e in main (argc=5, argv=0xbfecb3f4) at /var/tmp/portage/kde-base/kget-9999/work/kget/kget/main.cpp:153
Comment 1 Oliver Putz 2008-09-17 12:16:39 UTC
Futher note: Only selecting (showing details of) one download and then hitting the delete button has the same effect.
Comment 2 Javier goday 2008-09-28 17:24:28 UTC
- Fixed by 865663 revision http://websvn.kde.org/?view=rev&revision=865663