Bug 243620 - torrent download crashed when i tried to restart a stoped download
Summary: torrent download crashed when i tried to restart a stoped download
Status: RESOLVED WORKSFORME
Alias: None
Product: kget
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: KGet authors
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-05 02:38 UTC by FireIcer
Modified: 2010-07-05 13:50 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 FireIcer 2010-07-05 02:38:10 UTC
Application that crashed: kget
Version of the application: 2.3.5
KDE Version: 4.3.5 (KDE 4.3.5)
Qt Version: 4.6.2
Operating System: Linux 2.6.33-gentoo-r2-f1r31c3r i686

What I was doing when the application crashed:
I had problems restarting a download after i exited the aplication. I then tried to resume downloading without success. On clicking the rescan files from the right click menu kget crashed.

 -- Backtrace:
Application: KGet (kget), signal: Segmentation fault
[Current thread is 1 (Thread 0xb709e710 (LWP 10206))]

Thread 3 (Thread 0xb46ffb70 (LWP 11265)):
#0  net::DownloadThread::waitForSocketReady (this=0x849bd38, timeout=50)
    at /var/tmp/portage/kde-base/kget-4.3.5-r1/work/kget-4.3.5/kget/transfer-plugins/bittorrent/libbtcore/net/downloadthread.cpp:157
#1  0xb5686a3d in net::DownloadThread::update (this=0x849bd38) at /var/tmp/portage/kde-base/kget-4.3.5-r1/work/kget-4.3.5/kget/transfer-plugins/bittorrent/libbtcore/net/downloadthread.cpp:53
#2  0xb5687485 in net::NetworkThread::run (this=0x849bd38) at /var/tmp/portage/kde-base/kget-4.3.5-r1/work/kget-4.3.5/kget/transfer-plugins/bittorrent/libbtcore/net/networkthread.cpp:48
#3  0x49b4063c in QThreadPrivate::start (arg=<value optimized out>) at thread/qthread_unix.cpp:248
#4  0xb770166f in start_thread (arg=0xb46ffb70) at pthread_create.c:297
#5  0xb765b95e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 2 (Thread 0xb3efeb70 (LWP 11266)):
#0  0xb7831424 in __kernel_vsyscall ()
#1  0xb77053a5 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x49b4148f in QWaitConditionPrivate::wait (this=0x849c0d0, mutex=0x849c0d4, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x849c0d0, mutex=0x849c0d4, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0xb5686300 in net::UploadThread::update (this=0x849c098) at /var/tmp/portage/kde-base/kget-4.3.5-r1/work/kget-4.3.5/kget/transfer-plugins/bittorrent/libbtcore/net/uploadthread.cpp:73
#5  0xb5687485 in net::NetworkThread::run (this=0x849c098) at /var/tmp/portage/kde-base/kget-4.3.5-r1/work/kget-4.3.5/kget/transfer-plugins/bittorrent/libbtcore/net/networkthread.cpp:48
#6  0x49b4063c in QThreadPrivate::start (arg=<value optimized out>) at thread/qthread_unix.cpp:248
#7  0xb770166f in start_thread (arg=0xb3efeb70) at pthread_create.c:297
#8  0xb765b95e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:133

Thread 1 (Thread 0xb709e710 (LWP 10206)):
[KCrash Handler]
#6  0x49b870b3 in replaceArgEscapes (s=<value optimized out>, d=<value optimized out>, field_width=<value optimized out>, arg=<value optimized out>, larg=<value optimized out>, 
    fillChar=<value optimized out>) at tools/qstring.cpp:6185
#7  0x49b88a6e in QString::arg (this=<value optimized out>, a=<value optimized out>, fieldWidth=) at tools/qstring.cpp:6303
#8  0x415141d0 in KLocalizedString::subs (this=<value optimized out>, a=<value optimized out>, fieldWidth=<value optimized out>, fillChar=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kdecore/localization/klocalizedstring.cpp:903
#9  0xb5650272 in i18n<QString> (this=0x848cc48, tc=0x0, silently=false) at /usr/include/klocalizedstring.h:613
#10 kt::ScanDlg::execute (this=0x848cc48, tc=0x0, silently=false) at /var/tmp/portage/kde-base/kget-4.3.5-r1/work/kget-4.3.5/kget/transfer-plugins/bittorrent/scandlg.cpp:87
#11 0xb564bca7 in BTTransferHandler::createScanDlg (this=0x84eb1b8) at /var/tmp/portage/kde-base/kget-4.3.5-r1/work/kget-4.3.5/kget/transfer-plugins/bittorrent/bttransferhandler.cpp:73
#12 0xb5644eca in BTTransferHandler::qt_metacall (this=0x84eb1b8, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbf9fce5c)
    at /var/tmp/portage/kde-base/kget-4.3.5-r1/work/kget-4.3.5_build/kget/transfer-plugins/bittorrent/moc_bttransferhandler.cpp:80
#13 0x49c3ab0f in QMetaObject::metacall (object=<value optimized out>, cl=) at kernel/qmetaobject.cpp:237
#14 0x49c4886d in QMetaObject::activate (sender=<value optimized out>, m=<value optimized out>, local_signal_index=<value optimized out>, argv=<value optimized out>) at kernel/qobject.cpp:3285
#15 0x41abbfd3 in QAction::triggered (this=) at .moc/release-shared/moc_qaction.cpp:263
#16 0x41abdfd6 in QAction::activate (this=<value optimized out>, event=<value optimized out>) at kernel/qaction.cpp:1255
#17 0x41f151f2 in QMenuPrivate::activateCausedStack (this=<value optimized out>, causedStack=<value optimized out>, action=<value optimized out>, action_e=<value optimized out>, 
    self=<value optimized out>) at widgets/qmenu.cpp:1011
#18 0x41f1b09c in QMenuPrivate::activateAction (this=<value optimized out>, action=<value optimized out>, action_e=<value optimized out>, self=<value optimized out>) at widgets/qmenu.cpp:1103
#19 0x41f1bfd3 in QMenu::mouseReleaseEvent (this=<value optimized out>, e=<value optimized out>) at widgets/qmenu.cpp:2312
#20 0x426366aa in KMenu::mouseReleaseEvent (this=<value optimized out>, e=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kdeui/widgets/kmenu.cpp:456
#21 0x41b19af2 in QWidget::event (this=<value optimized out>, event=<value optimized out>) at kernel/qwidget.cpp:7998
#22 0x41f1d63a in QMenu::event (this=<value optimized out>, e=<value optimized out>) at widgets/qmenu.cpp:2414
#23 0x41ac2058 in QApplicationPrivate::notify_helper (this=<value optimized out>, receiver=<value optimized out>, e=<value optimized out>) at kernel/qapplication.cpp:4300
#24 0x41ac99e5 in QApplication::notify (this=<value optimized out>, receiver=<value optimized out>, e=<value optimized out>) at kernel/qapplication.cpp:3865
#25 0x4255accd in KApplication::notify (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kdeui/kernel/kapplication.cpp:302
#26 0x49c35d90 in QCoreApplication::notifyInternal (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>) at kernel/qcoreapplication.cpp:704
#27 0x41ac8a13 in QCoreApplication::sendEvent (receiver=<value optimized out>, event=<value optimized out>, alienWidget=<value optimized out>, nativeWidget=<value optimized out>, 
    buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#28 QApplicationPrivate::sendMouseEvent (receiver=<value optimized out>, event=<value optimized out>, alienWidget=<value optimized out>, nativeWidget=<value optimized out>, 
    buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=<value optimized out>) at kernel/qapplication.cpp:2965
#29 0x41b4add2 in QETWidget::translateMouseEvent (this=<value optimized out>, event=<value optimized out>) at kernel/qapplication_x11.cpp:4302
#30 0x41b4a0eb in QApplication::x11ProcessEvent (this=<value optimized out>, event=<value optimized out>) at kernel/qapplication_x11.cpp:3379
#31 0x41b73f2f in x11EventSourceDispatch (s=<value optimized out>, callback=<value optimized out>, user_data=) at kernel/qguieventdispatcher_glib.cpp:146
#32 0xb73dae65 in g_main_dispatch (context=0x8396a90) at gmain.c:1960
#33 IA__g_main_context_dispatch (context=0x8396a90) at gmain.c:2513
#34 0xb73de1ad in g_main_context_iterate (context=0x8396a90, block=1, dispatch=1, self=0x838ca80) at gmain.c:2591
#35 0xb73de317 in IA__g_main_context_iteration (context=0x8396a90, may_block=1) at gmain.c:2654
#36 0x49c5edcd in QEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#37 0x41b73acb in QGuiEventDispatcherGlib::processEvents (this=) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x49c34670 in QEventLoop::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:149
#39 0x49c34a51 in QEventLoop::exec (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:201
#40 0x41f18709 in QMenu::exec (this=<value optimized out>, p=<value optimized out>, action=<value optimized out>) at widgets/qmenu.cpp:2063
#41 0x0807538a in TransfersViewDelegate::editorEvent (this=0x84cf358, event=0xbf9fecfc, model=0x8384b60, option=..., index=...)
    at /var/tmp/portage/kde-base/kget-4.3.5-r1/work/kget-4.3.5/kget/ui/transfersviewdelegate.cpp:447
#42 0x4200a65a in QAbstractItemViewPrivate::sendDelegateEvent (this=<value optimized out>, index=<value optimized out>, event=<value optimized out>) at itemviews/qabstractitemview.cpp:4018
#43 0x4200a8c6 in QAbstractItemView::edit (this=<value optimized out>, index=<value optimized out>, trigger=<value optimized out>, event=<value optimized out>) at itemviews/qabstractitemview.cpp:2483
#44 0x420091ba in QAbstractItemView::mousePressEvent (this=<value optimized out>, event=<value optimized out>) at itemviews/qabstractitemview.cpp:1640
#45 0x4205073d in QTreeView::mousePressEvent (this=<value optimized out>, event=<value optimized out>) at itemviews/qtreeview.cpp:1810
#46 0x41b19ad6 in QWidget::event (this=<value optimized out>, event=<value optimized out>) at kernel/qwidget.cpp:7994
#47 0x41ed5423 in QFrame::event (this=<value optimized out>, e=<value optimized out>) at widgets/qframe.cpp:557
#48 0x41f64dbe in QAbstractScrollArea::viewportEvent (this=) at widgets/qabstractscrollarea.cpp:1036
#49 0x4200d17d in QAbstractItemView::viewportEvent (this=<value optimized out>, event=<value optimized out>) at itemviews/qabstractitemview.cpp:1610
#50 0x4204b007 in QTreeView::viewportEvent (this=<value optimized out>, event=<value optimized out>) at itemviews/qtreeview.cpp:1248
#51 0x41f673c4 in QAbstractScrollAreaPrivate::viewportEvent (this=<value optimized out>, o=<value optimized out>, e=) at widgets/qabstractscrollarea_p.h:100
#52 QAbstractScrollAreaFilter::eventFilter (this=<value optimized out>, o=<value optimized out>, e=) at widgets/qabstractscrollarea_p.h:116
#53 0x49c351e7 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>) at kernel/qcoreapplication.cpp:819
#54 0x41ac203b in QApplicationPrivate::notify_helper (this=<value optimized out>, receiver=<value optimized out>, e=<value optimized out>) at kernel/qapplication.cpp:4296
#55 0x41ac99e5 in QApplication::notify (this=<value optimized out>, receiver=<value optimized out>, e=<value optimized out>) at kernel/qapplication.cpp:3865
#56 0x4255accd in KApplication::notify (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>)
    at /var/tmp/portage/kde-base/kdelibs-4.3.5/work/kdelibs-4.3.5/kdeui/kernel/kapplication.cpp:302
#57 0x49c35d90 in QCoreApplication::notifyInternal (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>) at kernel/qcoreapplication.cpp:704
#58 0x41ac8a13 in QCoreApplication::sendEvent (receiver=<value optimized out>, event=<value optimized out>, alienWidget=<value optimized out>, nativeWidget=<value optimized out>, 
    buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#59 QApplicationPrivate::sendMouseEvent (receiver=<value optimized out>, event=<value optimized out>, alienWidget=<value optimized out>, nativeWidget=<value optimized out>, 
    buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=<value optimized out>) at kernel/qapplication.cpp:2965
#60 0x41b4ab92 in QETWidget::translateMouseEvent (this=<value optimized out>, event=<value optimized out>) at kernel/qapplication_x11.cpp:4368
#61 0x41b4a0eb in QApplication::x11ProcessEvent (this=<value optimized out>, event=<value optimized out>) at kernel/qapplication_x11.cpp:3379
#62 0x41b73f2f in x11EventSourceDispatch (s=<value optimized out>, callback=<value optimized out>, user_data=) at kernel/qguieventdispatcher_glib.cpp:146
#63 0xb73dae65 in g_main_dispatch (context=0x8396a90) at gmain.c:1960
#64 IA__g_main_context_dispatch (context=0x8396a90) at gmain.c:2513
#65 0xb73de1ad in g_main_context_iterate (context=0x8396a90, block=1, dispatch=1, self=0x838ca80) at gmain.c:2591
#66 0xb73de317 in IA__g_main_context_iteration (context=0x8396a90, may_block=1) at gmain.c:2654
#67 0x49c5edcd in QEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#68 0x41b73acb in QGuiEventDispatcherGlib::processEvents (this=) at kernel/qguieventdispatcher_glib.cpp:204
#69 0x49c34670 in QEventLoop::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:149
#70 0x49c34a51 in QEventLoop::exec (this=<value optimized out>, flags=<value optimized out>) at kernel/qeventloop.cpp:201
#71 0x49c36e2f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#72 0x41ac20ef in QApplication::exec () at kernel/qapplication.cpp:3579
#73 0x0809c0f5 in main (argc=6, argv=0xbf9ff624) at /var/tmp/portage/kde-base/kget-4.3.5-r1/work/kget-4.3.5/kget/main.cpp:173

This bug may be a duplicate of or related to bug 233618

Reported using DrKonqi
Comment 1 Lukas Appelhans 2010-07-05 13:50:37 UTC
Hey!

I'm pretty sure this is already fixed in 4.4.x/trunk... please retest...

Lukas