Bug 230033 - ktorrent crashes when reopening the chunks tab
Summary: ktorrent crashes when reopening the chunks tab
Status: RESOLVED FIXED
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
: 233996 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-03-09 00:55 UTC by cmertes
Modified: 2010-04-11 01:50 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cmertes 2010-03-09 00:55:20 UTC
Application that crashed: ktorrent
Version of the application: 3.2.4
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-20-generic-pae i686
Distribution: Linux Mint 8 Helena - Main Edition

What I was doing when the application crashed:
I had a look at the chunks tab, saw that one chunk was being downloaded from two web locations at the same time which I thought might explain why this last remaining chunk never finished downloading despite the very decent speed -- another bug I might file one day if I find out what goes on. Anyway, I deleted all webseeds but one in the webseeds tab and went back to the chunks tab just in time to see ktorrent crash and burn.

 -- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
[Current thread is 1 (Thread 0xb501b700 (LWP 12074))]

Thread 3 (Thread 0xafefdb70 (LWP 12095)):
#0  0xb75f28a4 in QMutex::lock () from /usr/lib/libbtcore.so.11
#1  0xb760a6c0 in net::SocketMonitor::lock (this=0xb76d95ac) at ../../libbtcore/net/socketmonitor.cpp:74
#2  0xb760c31f in net::DownloadThread::update (this=0x924d150) at ../../libbtcore/net/downloadthread.cpp:56
#3  0xb760cd38 in net::NetworkThread::run (this=0x924d150) at ../../libbtcore/net/networkthread.cpp:48
#4  0xb6989e32 in QThreadPrivate::start (arg=0x924d150) at thread/qthread_unix.cpp:188
#5  0xb54dd80e in start_thread (arg=0xafefdb70) at pthread_create.c:300
#6  0xb5ded8de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xaf6fcb70 (LWP 12096)):
#0  0xb7728430 in __kernel_vsyscall ()
#1  0xb54e1e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0xb5dfa87d in __pthread_cond_wait (cond=0x924d6e0, mutex=0x924d6c8) at forward.c:139
#3  0xb698ae67 in QWaitConditionPrivate::wait (this=0x924d438, mutex=0x924d43c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x924d438, mutex=0x924d43c, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb760ba6d in net::UploadThread::update (this=0x924d400) at ../../libbtcore/net/uploadthread.cpp:73
#6  0xb760cd38 in net::NetworkThread::run (this=0x924d400) at ../../libbtcore/net/networkthread.cpp:48
#7  0xb6989e32 in QThreadPrivate::start (arg=0x924d400) at thread/qthread_unix.cpp:188
#8  0xb54dd80e in start_thread (arg=0xaf6fcb70) at pthread_create.c:300
#9  0xb5ded8de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb501b700 (LWP 12074)):
[KCrash Handler]
#6  0xb2113005 in kt::ChunkDownloadModel::Item::changed (this=0x96e3848, col=0, modified=@0xbf9a833f) at ../../../plugins/infowidget/chunkdownloadmodel.cpp:42
#7  0xb21131c4 in kt::ChunkDownloadModel::update (this=0x9965bd8) at ../../../plugins/infowidget/chunkdownloadmodel.cpp:173
#8  0xb211099d in kt::ChunkDownloadView::update (this=0x9965918) at ../../../plugins/infowidget/chunkdownloadview.cpp:74
#9  0xb20fe130 in kt::InfoWidgetPlugin::guiUpdate (this=0x992e638) at ../../../plugins/infowidget/infowidgetplugin.cpp:150
#10 0xb759e1e3 in kt::PluginManager::updateGuiPlugins (this=0x93a6b88) at ../../libktcore/pluginmanager.cpp:203
#11 0x08075b80 in kt::GUI::update (this=0x929f800) at ../../ktorrent/gui.cpp:572
#12 0x08078f5f in kt::GUI::qt_metacall (this=0x929f800, _c=QMetaObject::InvokeMetaMethod, _id=69, _a=0xbf9a850c) at ./gui.moc:134
#13 0xb6a90263 in QMetaObject::activate (sender=0x929f85c, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#14 0xb6a90ec2 in QMetaObject::activate (sender=0x929f85c, m=0xb6b6b904, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#15 0xb6aca667 in QTimer::timeout (this=0x929f85c) at .moc/release-shared/moc_qtimer.cpp:128
#16 0xb6a959ae in QTimer::timerEvent (this=0x929f85c, e=0xbf9a89a0) at kernel/qtimer.cpp:261
#17 0xb6a8a3bf in QObject::event (this=0x929f85c, e=0xbf9a89a0) at kernel/qobject.cpp:1075
#18 0xb60bdf54 in QApplicationPrivate::notify_helper (this=0x9277b68, receiver=0x929f85c, e=0xbf9a89a0) at kernel/qapplication.cpp:4056
#19 0xb60c567c in QApplication::notify (this=0xbf9a8cf4, receiver=0x929f85c, e=0xbf9a89a0) at kernel/qapplication.cpp:3603
#20 0xb70b1bfa in KApplication::notify (this=0xbf9a8cf4, receiver=0x929f85c, event=0xbf9a89a0) at ../../kdeui/kernel/kapplication.cpp:302
#21 0xb6a7a6cb in QCoreApplication::notifyInternal (this=0xbf9a8cf4, receiver=0x929f85c, event=0xbf9a89a0) at kernel/qcoreapplication.cpp:610
#22 0xb6aa77ce in QCoreApplication::sendEvent (this=0x92701b4) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#23 QTimerInfoList::activateTimers (this=0x92701b4) at kernel/qeventdispatcher_unix.cpp:572
#24 0xb6aa50e0 in timerSourceDispatch (source=0x9270180) at kernel/qeventdispatcher_glib.cpp:165
#25 0xb540fe88 in g_main_dispatch (context=0x926f310) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:1960
#26 IA__g_main_context_dispatch (context=0x926f310) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2513
#27 0xb5413730 in g_main_context_iterate (context=0x926f310, block=<value optimized out>, dispatch=1, self=0x926e840) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2591
#28 0xb5413863 in IA__g_main_context_iteration (context=0x926f310, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#29 0xb6aa502c in QEventDispatcherGlib::processEvents (this=0x926c218, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#30 0xb615ebe5 in QGuiEventDispatcherGlib::processEvents (this=0x926c218, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#31 0xb6a78c79 in QEventLoop::processEvents (this=0xbf9a8c64, flags=) at kernel/qeventloop.cpp:149
#32 0xb6a790ca in QEventLoop::exec (this=0xbf9a8c64, flags=...) at kernel/qeventloop.cpp:201
#33 0xb6a7b53f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#34 0xb60bddd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#35 0x08065b98 in main (argc=1, argv=0xbf9a90b4) at ../../ktorrent/main.cpp:171

Reported using DrKonqi
Comment 1 Joris Guisson 2010-03-09 18:07:59 UTC
Upgrade to 3.3.4, this has long been fixed.
Comment 2 Dario Andres 2010-04-11 01:50:43 UTC
*** Bug 233996 has been marked as a duplicate of this bug. ***