Bug 189268 - Crash with SIGABRT after marking 26 upload torrents and clicking "Start"
Summary: Crash with SIGABRT after marking 26 upload torrents and clicking "Start"
Status: RESOLVED FIXED
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-10 12:31 UTC by Jonathan Avraham
Modified: 2009-04-11 10:06 UTC (History)
0 users

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 Jonathan Avraham 2009-04-10 12:31:42 UTC
Version:           3.1.2 (using KDE 4.2.0)
OS:                Linux
Installed from:    Ubuntu Packages

System:
Ubuntu 8.10 (gnome) on a Pentium 4.
Latest KTorrent from repos.
Kcrash produced the following backtrace:

Application: KTorrent (ktorrent), signal SIGABRT
[Current thread is 0 (LWP 6153)]

Thread 3 (Thread 0x8ce63b90 (LWP 13506)):
#0  0xb738a330 in QMutex::lock () from /usr/lib/libQtCore.so.4
#1  0xb7b9dd50 in net::SocketMonitor::lock (this=0xb7c6e46c) at /build/buildd/ktorrent-3.1.2+dfsg.1/libbtcore/net/socketmonitor.cpp:73
#2  0xb7b9f8df in net::DownloadThread::update (this=0x887b1d8) at /build/buildd/ktorrent-3.1.2+dfsg.1/libbtcore/net/downloadthread.cpp:54
#3  0xb7ba0368 in net::NetworkThread::run (this=0x887b1d8) at /build/buildd/ktorrent-3.1.2+dfsg.1/libbtcore/net/networkthread.cpp:48
#4  0xb738f6ae in ?? () from /usr/lib/libQtCore.so.4
#5  0xb60b550f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb6715a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0x93372b90 (LWP 13507)):
#0  0xb7f77430 in __kernel_vsyscall ()
#1  0xb60b9075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb6723bbd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb73906f2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb7b9f22e in net::UploadThread::update (this=0x887b510) at /build/buildd/ktorrent-3.1.2+dfsg.1/libbtcore/net/uploadthread.cpp:73
#5  0xb7ba0368 in net::NetworkThread::run (this=0x887b510) at /build/buildd/ktorrent-3.1.2+dfsg.1/libbtcore/net/networkthread.cpp:48
#6  0xb738f6ae in ?? () from /usr/lib/libQtCore.so.4
#7  0xb60b550f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0xb6715a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb5d756c0 (LWP 6153)):
[KCrash Handler]
#6  0xb7f77430 in __kernel_vsyscall ()
#7  0xb665f8a0 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb6661268 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb7387795 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb7387872 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb7387915 in qt_assert () from /usr/lib/libQtCore.so.4
#12 0x0806b740 in kt::Core::start (this=0x8a73838, todo=@0xbf9778ac) at /usr/include/qt4/QtCore/qlist.h:246
#13 0x080715d8 in kt::Core::qt_metacall (this=0x8a73838, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0xbf977880) at /build/buildd/ktorrent-3.1.2+dfsg.1/obj-i486-linux-gnu/ktorrent/core.moc:147
#14 0xb7494a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0xb74957e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#16 0x0807aeb5 in kt::View::wantToStart (this=0x95a76a8, _t1=@0xbf9778ac) at /build/buildd/ktorrent-3.1.2+dfsg.1/obj-i486-linux-gnu/ktorrent/view.moc:173
#17 0x0807b66b in kt::View::startTorrents (this=0x95a76a8) at /build/buildd/ktorrent-3.1.2+dfsg.1/ktorrent/view.cpp:192
#18 0x08082b09 in kt::ViewManager::startTorrents (this=0x8aac7e8) at /build/buildd/ktorrent-3.1.2+dfsg.1/ktorrent/viewmanager.cpp:104
#19 0x08077200 in kt::GUI::qt_metacall (this=0x8a77b30, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbf9779dc) at /build/buildd/ktorrent-3.1.2+dfsg.1/ktorrent/gui.cpp:302
#20 0xb7494a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#21 0xb7494e60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#22 0xb6b6a5f1 in QAction::triggered () from /usr/lib/libQtGui.so.4
#23 0xb6b6af5f in QAction::activate () from /usr/lib/libQtGui.so.4
#24 0xb6f90612 in QToolButton::nextCheckState () from /usr/lib/libQtGui.so.4
#25 0xb6eb3d53 in ?? () from /usr/lib/libQtGui.so.4
#26 0xb6eb4026 in QAbstractButton::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#27 0xb6f90b0c in QToolButton::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#28 0xb6bc8962 in QWidget::event () from /usr/lib/libQtGui.so.4
#29 0xb6eb203e in QAbstractButton::event () from /usr/lib/libQtGui.so.4
#30 0xb6f905d4 in QToolButton::event () from /usr/lib/libQtGui.so.4
#31 0xb6b708ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#32 0xb6b790e1 in QApplication::notify () from /usr/lib/libQtGui.so.4
#33 0xb79b3fed in KApplication::notify (this=0xbf97889c, receiver=0x8b9a050, event=0xbf977fe8) at /build/buildd/kde4libs-4.2.0/kdeui/kernel/kapplication.cpp:307
#34 0xb747fe61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#35 0xb6b7836e in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#36 0xb6be2656 in ?? () from /usr/lib/libQtGui.so.4
#37 0xb6be19e5 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#38 0xb6c0b7aa in ?? () from /usr/lib/libQtGui.so.4
#39 0xb6102718 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#40 0xb6105dc3 in ?? () from /usr/lib/libglib-2.0.so.0
#41 0xb6105f81 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#42 0xb74aa478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#43 0xb6c0aea5 in ?? () from /usr/lib/libQtGui.so.4
#44 0xb747e52a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#45 0xb747e6ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#46 0xb7480da5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#47 0xb6b70767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#48 0x0806441b in main (argc=4, argv=0xbf978c14) at /build/buildd/ktorrent-3.1.2+dfsg.1/ktorrent/main.cpp:165
Comment 1 Joris Guisson 2009-04-11 10:06:33 UTC
SVN commit 952154 by guisson:

Fix crash caused by calling front on empty QList

BUG: 189268


 M  +1 -0      ChangeLog  
 M  +4 -1      ktorrent/core.cpp  


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