Bug 338528 - Crashed while working in background with large number of torrents
Summary: Crashed while working in background with large number of torrents
Status: RESOLVED DUPLICATE of bug 294996
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: 4.3.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-24 16:45 UTC by janot2012
Modified: 2014-08-25 00:03 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
crashed again =O (10.76 KB, text/plain)
2014-08-24 17:44 UTC, janot2012
Details
again (11.25 KB, text/plain)
2014-08-24 18:20 UTC, janot2012
Details

Note You need to log in before you can comment on or make changes to this bug.
Description janot2012 2014-08-24 16:45:31 UTC
Application: ktorrent (4.3.1)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 3.13.0-34-generic x86_64
Distribution: Ubuntu 14.04.1 LTS

-- Information about the crash:

Autobugreport tool says that it's a duplicate of bugreport which is closed with statement that "This bug isn't related to KDE". But the difference is that I've noticed that KTorrent crashed only when I've added significant number of torrents (currently and in the moment of crash I have ~350 torrents seeding and ~ 100 downloading, 450 in total). I faced no crashed at all before , I had 300 and less torrents before today. So, maybe it's somehow connected with such big number of torrents running simultaneously.

-- Backtrace:
Application: KTorrent (ktorrent), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f265edc97c0 (LWP 3120))]

Thread 8 (Thread 0x7f2648bf0700 (LWP 3121)):
#0  0x00007f265654a62d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f265654a9b9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2656508ef6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f26565090ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f2648bf81ad in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#5  0x00007f265652df15 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f265aaea182 in start_thread (arg=0x7f2648bf0700) at pthread_create.c:312
#7  0x00007f265adfb38d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 7 (Thread 0x7f2643fff700 (LWP 3122)):
#0  0x00007f265654a62a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f265654a9b9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2656508718 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2656508f03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f265650930a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f264d645e16 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6  0x00007f265652df15 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f265aaea182 in start_thread (arg=0x7f2643fff700) at pthread_create.c:312
#8  0x00007f265adfb38d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7f2642461700 (LWP 3123)):
#0  0x00007f265adee03d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f2656508fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f26565090ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2656509129 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f265652df15 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f265aaea182 in start_thread (arg=0x7f2642461700) at pthread_create.c:312
#6  0x00007f265adfb38d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f26237fe700 (LWP 3183)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f265b95fdd3 in _q_futex (val2=0, addr2=0x0, timeout=0x0, val=2, op=0, addr=0x1822d80) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=this@entry=0x1822d80, timeout=timeout@entry=-1) at thread/qmutex_unix.cpp:113
#3  0x00007f265b95c3bd in QMutex::lock (this=<optimized out>) at thread/qmutex.cpp:164
#4  0x00007f265ea11259 in net::SocketMonitor::lock (this=<optimized out>) at ../../src/net/socketmonitor.cpp:108
#5  0x00007f265ea12930 in net::DownloadThread::update (this=0x1822db0) at ../../src/net/downloadthread.cpp:51
#6  0x00007f265ea12b19 in net::NetworkThread::run (this=0x1822db0) at ../../src/net/networkthread.cpp:48
#7  0x00007f265b96132f in QThreadPrivate::start (arg=0x1822db0) at thread/qthread_unix.cpp:349
#8  0x00007f265aaea182 in start_thread (arg=0x7f26237fe700) at pthread_create.c:312
#9  0x00007f265adfb38d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f2622ffd700 (LWP 3184)):
#0  net::UploadThread::waitForSocketsReady (this=this@entry=0x18231d0) at ../../src/net/uploadthread.cpp:122
#1  0x00007f265ea12236 in net::UploadThread::update (this=0x18231d0) at ../../src/net/uploadthread.cpp:45
#2  0x00007f265ea12b19 in net::NetworkThread::run (this=0x18231d0) at ../../src/net/networkthread.cpp:48
#3  0x00007f265b96132f in QThreadPrivate::start (arg=0x18231d0) at thread/qthread_unix.cpp:349
#4  0x00007f265aaea182 in start_thread (arg=0x7f2622ffd700) at pthread_create.c:312
#5  0x00007f265adfb38d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f26227fc700 (LWP 3185)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f265b961816 in wait (time=18446744073709551615, this=0xef49240) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x7224298, mutex=mutex@entry=0x7224290, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f265ea152aa in net::ReverseResolverThread::run (this=0x7224280) at ../../src/net/reverseresolver.cpp:124
#4  0x00007f265b96132f in QThreadPrivate::start (arg=0x7224280) at thread/qthread_unix.cpp:349
#5  0x00007f265aaea182 in start_thread (arg=0x7f26227fc700) at pthread_create.c:312
#6  0x00007f265adfb38d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f26297e6700 (LWP 3358)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f265b9617f4 in wait (time=30000, this=0xec285a0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this@entry=0xec28770, mutex=mutex@entry=0xd268338, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f265b9550fa in QThreadPoolThread::run (this=0xec28760) at concurrent/qthreadpool.cpp:142
#4  0x00007f265b96132f in QThreadPrivate::start (arg=0xec28760) at thread/qthread_unix.cpp:349
#5  0x00007f265aaea182 in start_thread (arg=0x7f26297e6700) at pthread_create.c:312
#6  0x00007f265adfb38d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f265edc97c0 (LWP 3120)):
[KCrash Handler]
#6  0x00007f265ad36f89 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007f265ad3a398 in __GI_abort () at abort.c:89
#8  0x00007f265ad741e4 in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7f265ae804b5 "*** %s ***: %s terminated\n") at ../sysdeps/posix/libc_fatal.c:175
#9  0x00007f265ae0bbac in __GI___fortify_fail (msg=<optimized out>, msg@entry=0x7f265ae8044c "buffer overflow detected") at fortify_fail.c:37
#10 0x00007f265ae0aa70 in __GI___chk_fail () at chk_fail.c:28
#11 0x00007f265ae0baf7 in __fdelt_chk (d=<optimized out>) at fdelt_chk.c:25
#12 0x00007f265d899a15 in QNativeSocketEnginePrivate::nativeSelect (this=this@entry=0x1b34b920, timeout=timeout@entry=-1, checkRead=checkRead@entry=true, checkWrite=checkWrite@entry=true, selectForRead=selectForRead@entry=0x7ffff97e940e, selectForWrite=selectForWrite@entry=0x7ffff97e940f) at socket/qnativesocketengine_unix.cpp:1094
#13 0x00007f265d89773e in QNativeSocketEngine::waitForReadOrWrite (this=0xeacdf70, readyToRead=0x7ffff97e940e, readyToWrite=0x7ffff97e940f, checkRead=<optimized out>, checkWrite=<optimized out>, msecs=-1, timedOut=0x0) at socket/qnativesocketengine.cpp:1000
#14 0x00007f265d891020 in QAbstractSocket::waitForBytesWritten (this=0xed9f1b0, msecs=-1) at socket/qabstractsocket.cpp:1939
#15 0x00007f265dbcfa92 in KIO::SocketConnectionBackend::sendCommand (this=0x8d2bdf0, task=...) at ../../kio/kio/connection.cpp:298
#16 0x00007f265dbd08e4 in KIO::Connection::sendnow (this=0x1e0fd460, _cmd=<optimized out>, data=...) at ../../kio/kio/connection.cpp:509
#17 0x00007f265dbd11f4 in KIO::ConnectionPrivate::dequeue (this=0x13aa4250) at ../../kio/kio/connection.cpp:78
#18 0x00007f265dbd12bb in dequeue (this=<optimized out>) at ../../kio/kio/connection.cpp:619
#19 KIO::ConnectionServer::setNextPendingConnection (this=<optimized out>, conn=<optimized out>) at ../../kio/kio/connection.cpp:618
#20 0x00007f265dc9495c in KIO::Slave::accept (this=0x7f265dc95310 <KIO::Slave::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>) at ../../kio/kio/slave.cpp:116
#21 0x00007f265ba7787a in QMetaObject::activate (sender=0x1797d180, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#22 0x00007f265ba7787a in QMetaObject::activate (sender=0xeed0c00, m=m@entry=0x7f265dfa5b20 <KIO::AbstractConnectionBackend::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#23 0x00007f265dbcfb1b in newConnection (this=<optimized out>) at ./connection_p.moc:115
#24 KIO::AbstractConnectionBackend::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./connection_p.moc:54
#25 0x00007f265ba7787a in QMetaObject::activate (sender=sender@entry=0xd03fc30, m=m@entry=0x7f265cf35560 <KLocalSocketServer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#26 0x00007f265cc1d870 in KLocalSocketServer::newConnection (this=this@entry=0xd03fc30) at ./klocalsocket.moc:179
#27 0x00007f265cc1d95b in KLocalSocketServer::incomingConnection (this=0xd03fc30, descriptor=1263) at ../../kdecore/network/klocalsocket.cpp:212
#28 0x00007f265cc84edc in KLocalSocketServerPrivate::processSocketActivity (this=0xf0c9f80) at ../../kdecore/network/klocalsocket_unix.cpp:394
#29 0x00007f265ba7787a in QMetaObject::activate (sender=sender@entry=0x1e7ad840, m=m@entry=0x7f265bdc7a40 <QSocketNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffff97e9a10) at kernel/qobject.cpp:3539
#30 0x00007f265bac22ae in QSocketNotifier::activated (this=this@entry=0x1e7ad840, _t1=525) at .moc/release-shared/moc_qsocketnotifier.cpp:102
#31 0x00007f265ba8064b in QSocketNotifier::event (this=0x1e7ad840, e=0x7ffff97e9d30) at kernel/qsocketnotifier.cpp:316
#32 0x00007f265bf94e2c in QApplicationPrivate::notify_helper (this=this@entry=0x1861920, receiver=receiver@entry=0x1e7ad840, e=e@entry=0x7ffff97e9d30) at kernel/qapplication.cpp:4567
#33 0x00007f265bf9b4a0 in QApplication::notify (this=0x7ffff97eac60, receiver=0x1e7ad840, e=0x7ffff97e9d30) at kernel/qapplication.cpp:4353
#34 0x000000000043a162 in kt::App::notify (this=<optimized out>, receiver=<optimized out>, event=<optimized out>) at ../../ktorrent/app.cpp:99
#35 0x00007f265ba634dd in QCoreApplication::notifyInternal (this=0x7ffff97eac60, receiver=0x1e7ad840, event=event@entry=0x7ffff97e9d30) at kernel/qcoreapplication.cpp:953
#36 0x00007f265ba914a8 in sendEvent (event=0x7ffff97e9d30, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#37 socketNotifierSourceDispatch (source=0x185ce60) at kernel/qeventdispatcher_glib.cpp:117
#38 0x00007f2656508e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f2656509048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007f26565090ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007f265ba907a1 in QEventDispatcherGlib::processEvents (this=0x180cb50, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#42 0x00007f265c036bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007f265ba620af in QEventLoop::processEvents (this=this@entry=0x7ffff97e9f70, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007f265ba623a5 in QEventLoop::exec (this=this@entry=0x7ffff97e9f70, flags=...) at kernel/qeventloop.cpp:204
#45 0x00007f265ba67b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#46 0x00007f265bf9337c in QApplication::exec () at kernel/qapplication.cpp:3828
#47 0x00000000004282d9 in main (argc=6, argv=0x7ffff97ead98) at ../../ktorrent/main.cpp:186

Possible duplicates by query: bug 337451, bug 332489, bug 327574, bug 324938.

Report to https://bugs.kde.org/
Comment 1 janot2012 2014-08-24 17:44:27 UTC
Created attachment 88403 [details]
crashed again =O
Comment 2 janot2012 2014-08-24 18:20:35 UTC
Created attachment 88404 [details]
again

Right after I've closed Teamviewer connection with another computer
Comment 3 Christoph Feck 2014-08-25 00:03:49 UTC

*** This bug has been marked as a duplicate of bug 294996 ***