Bug 324938 - KTorrent crashes after some hours working in the background
Summary: KTorrent crashes after some hours working in the background
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: drkonqi
Depends on:
Blocks:
 
Reported: 2013-09-15 19:08 UTC by Martin Scheffler
Modified: 2013-09-16 01:16 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 Martin Scheffler 2013-09-15 19:08:11 UTC
Application: ktorrent (4.3.1)
KDE Platform Version: 4.11.1
Qt Version: 4.8.4
Operating System: Linux 3.11.0-7-generic x86_64
Distribution: Ubuntu Saucy Salamander (development branch)

-- Information about the crash:
- What I was doing when the application crashed:

i did other things with my computer.
KTorrent sat minimized in the task tray.
This now happened several times, after 4-8 hours of runtime.
KTorrent crashes with a stacktrace similar to the former report.

The crash can be reproduced every time.

-- 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 0x7f6fb9ebb7c0 (LWP 10174))]

Thread 5 (Thread 0x7f6fa5089700 (LWP 10177)):
#0  0x00007f6fb5d9d3dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f6fb191e6b4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6fb191e7bc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6fb76eea76 in QEventDispatcherGlib::processEvents (this=0x7f6fa0002800, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f6fb76c05ef in QEventLoop::processEvents (this=this@entry=0x7f6fa5088db0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f6fb76c08e5 in QEventLoop::exec (this=this@entry=0x7f6fa5088db0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f6fb75bf88f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#7  0x00007f6fb75c1f2f in QThreadPrivate::start (arg=0x246fdd0) at thread/qthread_unix.cpp:338
#8  0x00007f6fb316ff6e in start_thread (arg=0x7f6fa5089700) at pthread_create.c:311
#9  0x00007f6fb5da9e2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f6f971f0700 (LWP 10302)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f6fb75c0b7a in thread_sleep (ti=ti@entry=0x7f6f971efd50) at thread/qthread_unix.cpp:475
#2  0x00007f6fb75c136d in QThread::msleep (msecs=<optimized out>) at thread/qthread_unix.cpp:501
#3  0x00007f6fb99ba4a8 in update (this=0x229ac30) at ../../src/net/downloadthread.cpp:91
#4  net::DownloadThread::update (this=0x229ac30) at ../../src/net/downloadthread.cpp:46
#5  0x00007f6fb99ba4e9 in net::NetworkThread::run (this=0x229ac30) at ../../src/net/networkthread.cpp:48
#6  0x00007f6fb75c1f2f in QThreadPrivate::start (arg=0x229ac30) at thread/qthread_unix.cpp:338
#7  0x00007f6fb316ff6e in start_thread (arg=0x7f6f971f0700) at pthread_create.c:311
#8  0x00007f6fb5da9e2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f6f969ef700 (LWP 10303)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f6fb75c0b7a in thread_sleep (ti=ti@entry=0x7f6f969eed50) at thread/qthread_unix.cpp:475
#2  0x00007f6fb75c136d in QThread::msleep (msecs=<optimized out>) at thread/qthread_unix.cpp:501
#3  0x00007f6fb99b9d88 in update (this=0x229b000) at ../../src/net/uploadthread.cpp:89
#4  net::UploadThread::update (this=0x229b000) at ../../src/net/uploadthread.cpp:43
#5  0x00007f6fb99ba4e9 in net::NetworkThread::run (this=0x229b000) at ../../src/net/networkthread.cpp:48
#6  0x00007f6fb75c1f2f in QThreadPrivate::start (arg=0x229b000) at thread/qthread_unix.cpp:338
#7  0x00007f6fb316ff6e in start_thread (arg=0x7f6f969ef700) at pthread_create.c:311
#8  0x00007f6fb5da9e2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f6f961ee700 (LWP 10304)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f6fb75c2406 in wait (time=18446744073709551615, this=0x2b5d4f0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x3504c38, mutex=mutex@entry=0x3504c30, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f6fb99bcd62 in net::ReverseResolverThread::run (this=0x3504c20) at ../../src/net/reverseresolver.cpp:124
#4  0x00007f6fb75c1f2f in QThreadPrivate::start (arg=0x3504c20) at thread/qthread_unix.cpp:338
#5  0x00007f6fb316ff6e in start_thread (arg=0x7f6f961ee700) at pthread_create.c:311
#6  0x00007f6fb5da9e2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f6fb9ebb7c0 (LWP 10174)):
[KCrash Handler]
#6  0x00007f6fb5ce6f77 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007f6fb5cea5e8 in __GI_abort () at abort.c:90
#8  0x00007f6fb5d244fb in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7f6fb5e35370 "*** %s ***: %s terminated\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:199
#9  0x00007f6fb5dc14ec in __GI___fortify_fail (msg=<optimized out>, msg@entry=0x7f6fb5e35307 "buffer overflow detected") at fortify_fail.c:37
#10 0x00007f6fb5dc0480 in __GI___chk_fail () at chk_fail.c:28
#11 0x00007f6fb5dc1437 in __fdelt_chk (d=<optimized out>) at fdelt_chk.c:25
#12 0x00007f6fb88408f5 in QNativeSocketEnginePrivate::nativeSelect (this=this@entry=0x4dfaea0, timeout=timeout@entry=-1, checkRead=checkRead@entry=true, checkWrite=checkWrite@entry=true, selectForRead=selectForRead@entry=0x7fff711c824e, selectForWrite=selectForWrite@entry=0x7fff711c824f) at socket/qnativesocketengine_unix.cpp:1116
#13 0x00007f6fb883e5ce in QNativeSocketEngine::waitForReadOrWrite (this=0x4a96130, readyToRead=0x7fff711c824e, readyToWrite=0x7fff711c824f, checkRead=<optimized out>, checkWrite=<optimized out>, msecs=-1, timedOut=0x0) at socket/qnativesocketengine.cpp:1000
#14 0x00007f6fb8837e90 in QAbstractSocket::waitForBytesWritten (this=0x358e050, msecs=-1) at socket/qabstractsocket.cpp:1939
#15 0x00007f6fb8b76132 in KIO::SocketConnectionBackend::sendCommand (this=0x51a85a0, task=...) at ../../kio/kio/connection.cpp:298
#16 0x00007f6fb8b76f84 in KIO::Connection::sendnow (this=0x4c5ec30, _cmd=<optimized out>, data=...) at ../../kio/kio/connection.cpp:509
#17 0x00007f6fb8b77894 in KIO::ConnectionPrivate::dequeue (this=0x4112ee0) at ../../kio/kio/connection.cpp:78
#18 0x00007f6fb8b7795b 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 0x00007f6fb8c3b02c in KIO::Slave::accept (this=0x7f6fb8c3b9e0 <KIO::Slave::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>) at ../../kio/kio/slave.cpp:116
#21 0x00007f6fb76d5a58 in QMetaObject::activate (sender=0x4e90740, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#22 0x00007f6fb76d5a58 in QMetaObject::activate (sender=0x4d4a5e0, m=m@entry=0x7f6fb8f4cb20 <KIO::AbstractConnectionBackend::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#23 0x00007f6fb8b761bb in newConnection (this=<optimized out>) at ./connection_p.moc:116
#24 KIO::AbstractConnectionBackend::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./connection_p.moc:55
#25 0x00007f6fb76d5a58 in QMetaObject::activate (sender=sender@entry=0x42de030, m=m@entry=0x7f6fb7edf560 <KLocalSocketServer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#26 0x00007f6fb7bc7480 in KLocalSocketServer::newConnection (this=this@entry=0x42de030) at ./klocalsocket.moc:180
#27 0x00007f6fb7bc756b in KLocalSocketServer::incomingConnection (this=0x42de030, descriptor=1024) at ../../kdecore/network/klocalsocket.cpp:212
#28 0x00007f6fb7c2eb4c in KLocalSocketServerPrivate::processSocketActivity (this=0x4a951c0) at ../../kdecore/network/klocalsocket_unix.cpp:394
#29 0x00007f6fb76d5a58 in QMetaObject::activate (sender=sender@entry=0x4694ef0, m=m@entry=0x7f6fb7a24a40 <QSocketNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff711c8850) at kernel/qobject.cpp:3539
#30 0x00007f6fb772030e in QSocketNotifier::activated (this=this@entry=0x4694ef0, _t1=1023) at .moc/release-shared/moc_qsocketnotifier.cpp:103
#31 0x00007f6fb76de7cb in QSocketNotifier::event (this=0x4694ef0, e=0x7fff711c8b70) at kernel/qsocketnotifier.cpp:317
#32 0x00007f6fb6a5edfc in QApplicationPrivate::notify_helper (this=this@entry=0x22d64d0, receiver=receiver@entry=0x4694ef0, e=e@entry=0x7fff711c8b70) at kernel/qapplication.cpp:4567
#33 0x00007f6fb6a65470 in QApplication::notify (this=0x7fff711c9b00, receiver=0x4694ef0, e=0x7fff711c8b70) at kernel/qapplication.cpp:4353
#34 0x000000000043a10a in kt::App::notify (this=<optimized out>, receiver=<optimized out>, event=<optimized out>) at ../../ktorrent/app.cpp:99
#35 0x00007f6fb76c18bd in QCoreApplication::notifyInternal (this=0x7fff711c9b00, receiver=0x4694ef0, event=event@entry=0x7fff711c8b70) at kernel/qcoreapplication.cpp:946
#36 0x00007f6fb76ef590 in sendEvent (event=0x7fff711c8b70, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#37 socketNotifierSourceDispatch (source=0x22d6760) at kernel/qeventdispatcher_glib.cpp:110
#38 0x00007f6fb191e3c6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f6fb191e718 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007f6fb191e7bc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007f6fb76eea55 in QEventDispatcherGlib::processEvents (this=0x2284b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#42 0x00007f6fb6b009d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007f6fb76c05ef in QEventLoop::processEvents (this=this@entry=0x7fff711c8dc0, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007f6fb76c08e5 in QEventLoop::exec (this=this@entry=0x7fff711c8dc0, flags=...) at kernel/qeventloop.cpp:204
#45 0x00007f6fb76c5e5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#46 0x00007f6fb6a5d34c in QApplication::exec () at kernel/qapplication.cpp:3828
#47 0x00000000004283db in main (argc=1, argv=0x7fff711c9c38) at ../../ktorrent/main.cpp:186

The reporter indicates this bug may be a duplicate of or related to bug 294996.

Possible duplicates by query: bug 323830, bug 322782, bug 318896, bug 317009, bug 315658.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-09-16 01:16:44 UTC
See https://bugs.kde.org/show_bug.cgi?id=294996#c1

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