Bug 168791

Summary: Crash after invoking action "Redownload selected" on running torrent
Product: [Applications] kget Reporter: jofko <joffko>
Component: torrentAssignee: KGet authors <kget>
Status: RESOLVED FIXED    
Severity: crash CC: andresbajotierra, l.appelhans, Regnaron
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: backtrace

Description jofko 2008-08-09 01:07:00 UTC
Version:           2.1.0 (using Devel)
Installed from:    Compiled sources
Compiler:          gcc (GCC) 4.3.1 20080724 (prerelease) Arch linux Using KDE 4.1.1 (KDE 4.1.0 (4.1 >= 20080722)) (KDEmod)
OS:                Linux

Reproduce:

1. start torrent download, wait until torrent start downloading  
2. Righ click on runnig torrent -> "Redownload selected"
3. Crash
Comment 1 jofko 2008-08-09 01:08:02 UTC
Created attachment 26746 [details]
backtrace
Comment 2 Dario Andres 2008-08-09 19:48:29 UTC
Using KDE 4.1.1 (KDE 4.1.0 (4.1 >= 20080722)) (KDEmod) in ArchLinux i686:
I can reproduce this bug
Comment 3 Oliver Putz 2008-08-10 10:34:09 UTC
Confirming on KDE-4.1.0 with the following backtrace:
Application: KGet (kget), signal SIGABRT
[Thread debugging using libthread_db enabled]
[New Thread 0xb61cd700 (LWP 15380)]
[KCrash handler]
#6  0xffffe424 in __kernel_vsyscall ()
#7  0xb64fc690 in *__GI_raise (sig=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0xb64fded8 in *__GI_abort () at abort.c:88
#9  0xb750d097 in qt_message_output (msgType=QtFatalMsg, 
    buf=0xbffd6cac "ASSERT: \"extenderIndices.value(extender).isValid()\" in file /var/tmp/portage/kde-base/kdelibs-4.1.0/work/kdelibs-4.1.0/kdeui/itemviews/kextendableitemdelegate.cpp, line 128") at global/qglobal.cpp:2058
#10 0xb750d14f in qFatal (msg=0xb7660ab4 "ASSERT: \"%s\" in file %s, line %d")
    at global/qglobal.cpp:2260
#11 0xb750d5cb in qt_assert (
    assertion=0xb7f882a0 "extenderIndices.value(extender).isValid()", 
    file=0xb7f88238 "/var/tmp/portage/kde-base/kdelibs-4.1.0/work/kdelibs-4.1.0/kdeui/itemviews/kextendableitemdelegate.cpp", line=128)
    at global/qglobal.cpp:1828
#12 0xb7e3d55d in KExtendableItemDelegate::Private::_k_extenderDestructionHandler (this=0x81de4f8, destroyed=0x81c0e28)
    at /var/tmp/portage/kde-base/kdelibs-4.1.0/work/kdelibs-4.1.0/kdeui/itemviews/kextendableitemdelegate.cpp:128
#13 0xb7e3d70c in KExtendableItemDelegate::qt_metacall (this=0x81e0308, 
    _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbffd8e6c)
    at /var/tmp/portage/kde-base/kdelibs-4.1.0/work/kdelibs_build/kdeui/kextendableitemdelegate.moc:74
#14 0x0807169b in TransfersViewDelegate::qt_metacall (this=0x81e0308, 
    _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbffd8e6c)
    at /var/tmp/portage/kde-base/kget-4.1.0/work/kget_build/kget/transfersviewdelegate.moc:159
#15 0xb7620530 in QMetaObject::activate (sender=0x81c0e28, 
    from_signal_index=<value optimized out>, to_signal_index=1, 
    argv=<value optimized out>) at kernel/qobject.cpp:3001
#16 0xb7620a4a in QMetaObject::activate (sender=0x81c0e28, m=0x80a12b0, 
    from_local_signal_index=0, to_local_signal_index=1, argv=0xbffd8e6c)
    at kernel/qobject.cpp:3091
#17 0xb7620acb in QObject::destroyed (this=0x81c0e28, _t1=0x81c0e28)
    at .moc/debug-shared/moc_qobject.cpp:115
#18 0xb76230f8 in ~QObject (this=0x81c0e28) at kernel/qobject.cpp:796
#19 0xb68921be in ~QWidget (this=0x81c0e28) at kernel/qwidget.cpp:1346
#20 0xb6bf322d in ~QGroupBox (this=0x81c0e28) at widgets/qgroupbox.cpp:219
#21 0xb761a2b2 in qDeleteInEventHandler (o=0x6) at kernel/qobject.cpp:3586
#22 0xb761c2ca in QObject::event (this=0x81c0e28, e=0x834da08)
    at kernel/qobject.cpp:1115
#23 0xb689d434 in QWidget::event (this=0x81c0e28, event=0x834da08)
    at kernel/qwidget.cpp:7310
#24 0xb6bf4bc5 in QGroupBox::event (this=0x81c0e28, e=0x834da08)
    at widgets/qgroupbox.cpp:400
#25 0xb68448a4 in QApplicationPrivate::notify_helper (this=0x80b2730, 
    receiver=0x81c0e28, e=0x834da08) at kernel/qapplication.cpp:3772
#26 0xb68489b2 in QApplication::notify (this=0xbffd9870, receiver=0x81c0e28, 
    e=0x834da08) at kernel/qapplication.cpp:3739
#27 0xb7e5c6c3 in KApplication::notify (this=0xbffd9870, receiver=0x81c0e28, 
    event=0x834da08)
    at /var/tmp/portage/kde-base/kdelibs-4.1.0/work/kdelibs-4.1.0/kdeui/kernel/kapplication.cpp:311
#28 0xb760ad59 in QCoreApplication::notifyInternal (this=0xbffd9870, 
    receiver=0x81c0e28, event=0x834da08) at kernel/qcoreapplication.cpp:587
#29 0xb760c006 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, 
    event_type=0, data=0x80a2900) at kernel/qcoreapplication.h:215
#30 0xb7639eca in QEventDispatcherUNIX::processEvents (this=0x80b1698, 
    flags=@0xbffd9758) at kernel/qeventdispatcher_unix.cpp:867
#31 0xb68d4f61 in QEventDispatcherX11::processEvents (this=0x80b1698, 
    flags=@0xbffd9788) at kernel/qeventdispatcher_x11.cpp:154
#32 0xb760a0d3 in QEventLoop::processEvents (this=0xbffd9800, 
    flags=@0xbffd97c8) at kernel/qeventloop.cpp:149
#33 0xb760a246 in QEventLoop::exec (this=0xbffd9800, flags=@0xbffd9808)
    at kernel/qeventloop.cpp:200
#34 0xb760c401 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#35 0xb684423f in QApplication::exec () at kernel/qapplication.cpp:3304
#36 0x080907be in main (argc=5, argv=0xbffd9a54)
    at /var/tmp/portage/kde-base/kget-4.1.0/work/kget-4.1.0/kget/main.cpp:153
#0  0xffffe424 in __kernel_vsyscall ()
Comment 4 Lukas Appelhans 2008-09-14 14:11:35 UTC
Oliver: Your backtrace is another crash in KDELibs and has nothing to do with the original crash, please create another bugreport ;)

Lukas
Comment 5 Oliver Putz 2008-09-14 16:52:16 UTC
Ok, "my" backtrace is now filed as bug #171055. (Hope it is still valid though...)
Comment 6 Lukas Appelhans 2008-12-16 19:50:09 UTC
SVN commit 897743 by lappelhans:

Fix crash when redownload selected gets hit with a Torrent-Transfer
BUG:168791


 M  +1 -1      core/transferhandler.cpp  
 M  +13 -3     transfer-plugins/bittorrent/btdetailswidget.cpp  
 M  +7 -0      transfer-plugins/bittorrent/btdetailswidget.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=897743