Bug 337451 - Ktorrent crashes for no aparent reason
Summary: Ktorrent crashes for no aparent reason
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: 2014-07-14 23:47 UTC by ponchorat1968
Modified: 2014-07-15 12:56 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 ponchorat1968 2014-07-14 23:47:40 UTC
Application: ktorrent (4.3.1)
KDE Platform Version: 4.13.2
Qt Version: 4.8.2
Operating System: Linux 3.2.0-65-generic x86_64
Distribution: Ubuntu 12.04.4 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Selected multiple torrents to download and then going through each one to change file priority and to add sources.
It then crashed.

The crash can be reproduced sometimes.

-- 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 0x7f3e753a1780 (LWP 8908))]

Thread 9 (Thread 0x7f3e5fb9c700 (LWP 8911)):
#0  0x00007f3e7120ca43 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f3e6cd59ff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3e6cd5a124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3e71ea0926 in QEventDispatcherGlib::processEvents (this=0x7f3e58002800, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f3e71e6fe62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f3e71e700b7 in QEventLoop::exec (this=0x7f3e5fb9bdd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f3e71d6f077 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f3e71e4fb6f in QInotifyFileSystemWatcherEngine::run (this=0x2a980d0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f3e71d7209b in QThreadPrivate::start (arg=0x2a980d0) at thread/qthread_unix.cpp:307
#9  0x00007f3e6e5e3e9a in start_thread (arg=0x7f3e5fb9c700) at pthread_create.c:308
#10 0x00007f3e712183fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f3e4d3f8700 (LWP 8912)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f3e56152dec in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f3e56152f19 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f3e6e5e3e9a in start_thread (arg=0x7f3e4d3f8700) at pthread_create.c:308
#4  0x00007f3e712183fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f3e4caf7700 (LWP 8913)):
#0  0x00007f3e7120ca43 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f3e6cd59ff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3e6cd5a124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3e71ea0926 in QEventDispatcherGlib::processEvents (this=0x7f3e480008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f3e71e6fe62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f3e71e700b7 in QEventLoop::exec (this=0x7f3e4caf6e00, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f3e71d6f077 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f3e71d7209b in QThreadPrivate::start (arg=0x2d3b050) at thread/qthread_unix.cpp:307
#8  0x00007f3e6e5e3e9a in start_thread (arg=0x7f3e4caf7700) at pthread_create.c:308
#9  0x00007f3e712183fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f3e47bc4700 (LWP 8914)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215
#1  0x00007f3e71d7250f in wait (time=30000, this=0x2e829d0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2e82948, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f3e71d6568f in QThreadPoolThread::run (this=0x2e82d10) at concurrent/qthreadpool.cpp:141
#4  0x00007f3e71d7209b in QThreadPrivate::start (arg=0x2e82d10) at thread/qthread_unix.cpp:307
#5  0x00007f3e6e5e3e9a in start_thread (arg=0x7f3e47bc4700) at pthread_create.c:308
#6  0x00007f3e712183fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f3e3f3c3700 (LWP 8915)):
#0  0x00007f3e7120ca43 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f3e67ce07cd in send_dg (resplen2=0x0, anssizp2=0x0, ansp2=0x0, anscp=0x7f3e3f3c2070, gotsomewhere=<synthetic pointer>, v_circuit=<synthetic pointer>, ns=0, terrno=0x7f3e3f3c0c10, anssizp=0x7f3e3f3c0ca0, ansp=0x7f3e3f3c0be8, buflen2=0, buf2=0x0, buflen=40, buf=0x7f3e3f3c0cd0 "_\224\001", statp=0x7f3e3f3c3db8) at res_send.c:1066
#2  __libc_res_nsend (statp=0x7f3e3f3c3db8, buf=0x7f3e3f3c0cd0 "_\224\001", buflen=40, buf2=0x0, buflen2=0, ans=0x7f3e3f3c1820 "_\224\201\201", anssiz=1024, ansp=0x7f3e3f3c2070, ansp2=0x0, nansp2=0x0, resplen2=0x0) at res_send.c:556
#3  0x00007f3e67cde105 in __libc_res_nquery (statp=0x7f3e3f3c3db8, name=0x7f3e38005b68 "tracker.mightynova.com", class=1, type=1, answer=0x7f3e3f3c1820 "_\224\201\201", anslen=1024, answerp=0x7f3e3f3c2070, answerp2=0x0, nanswerp2=0x0, resplen2=0x0) at res_query.c:226
#4  0x00007f3e67cde6c5 in __libc_res_nquerydomain (statp=0x7f3e3f3c3db8, name=0x7f3e38005b68 "tracker.mightynova.com", domain=<optimized out>, class=1, type=1, answer=0x7f3e3f3c1820 "_\224\201\201", anslen=1024, answerp=0x7f3e3f3c2070, answerp2=0x0, nanswerp2=0x0, resplen2=0x0) at res_query.c:578
#5  0x00007f3e67cdeb14 in __libc_res_nsearch (statp=0x7f3e3f3c3db8, name=0x7f3e38005b68 "tracker.mightynova.com", class=1, type=1, answer=0x7f3e3f3c1820 "_\224\201\201", anslen=1024, answerp=0x7f3e3f3c2070, answerp2=0x0, nanswerp2=0x0, resplen2=0x0) at res_query.c:378
#6  0x00007f3e457b9c7d in _nss_dns_gethostbyname3_r (name=0x7f3e38005b68 "tracker.mightynova.com", af=2, result=0x7f3e3f3c2520, buffer=0x7f3e3f3c2190 "\377\002", buflen=512, errnop=0x7f3e3f3c3670, h_errnop=0x7f3e3f3c2590, canonp=0x0, ttlp=0x0) at nss_dns/dns-host.c:197
#7  0x00007f3e71231771 in __gethostbyname2_r (name=0x7f3e38005b68 "tracker.mightynova.com", af=2, resbuf=0x7f3e3f3c2520, buffer=0x7f3e3f3c2190 "\377\002", buflen=512, result=0x7f3e3f3c2570, h_errnop=0x7f3e3f3c2590) at ../nss/getXXbyYY_r.c:256
#8  0x00007f3e711f065a in gaih_inet (name=0x7f3e38005b68 "tracker.mightynova.com", service=<optimized out>, req=0x7f3e3f3c26b0, pai=<optimized out>, naddrs=0x7f3e3f3c2760) at ../sysdeps/posix/getaddrinfo.c:581
#9  0x00007f3e711f31dc in __GI_getaddrinfo (name=0x7f3e38005b68 "tracker.mightynova.com", service=<optimized out>, hints=0x7f3e3f3c26b0, pai=0x7f3e3f3c28d8) at ../sysdeps/posix/getaddrinfo.c:2423
#10 0x00007f3e73cd994a in QHostInfoAgent::fromName (hostName=...) at kernel/qhostinfo_unix.cpp:212
#11 0x00007f3e73cce498 in QHostInfoRunnable::run (this=0x3b124a0) at kernel/qhostinfo.cpp:503
#12 0x00007f3e71d655c2 in QThreadPoolThread::run (this=0x2e83620) at concurrent/qthreadpool.cpp:107
#13 0x00007f3e71d7209b in QThreadPrivate::start (arg=0x2e83620) at thread/qthread_unix.cpp:307
#14 0x00007f3e6e5e3e9a in start_thread (arg=0x7f3e3f3c3700) at pthread_create.c:308
#15 0x00007f3e712183fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#16 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f3e473c3700 (LWP 8916)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215
#1  0x00007f3e71d7250f in wait (time=30000, this=0x2e829d0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2e82948, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f3e71d6568f in QThreadPoolThread::run (this=0x2e83e60) at concurrent/qthreadpool.cpp:141
#4  0x00007f3e71d7209b in QThreadPrivate::start (arg=0x2e83e60) at thread/qthread_unix.cpp:307
#5  0x00007f3e6e5e3e9a in start_thread (arg=0x7f3e473c3700) at pthread_create.c:308
#6  0x00007f3e712183fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f3e46bc2700 (LWP 8917)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215
#1  0x00007f3e71d7250f in wait (time=30000, this=0x2e829d0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2e82948, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f3e71d6568f in QThreadPoolThread::run (this=0x2e846b0) at concurrent/qthreadpool.cpp:141
#4  0x00007f3e71d7209b in QThreadPrivate::start (arg=0x2e846b0) at thread/qthread_unix.cpp:307
#5  0x00007f3e6e5e3e9a in start_thread (arg=0x7f3e46bc2700) at pthread_create.c:308
#6  0x00007f3e712183fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f3e463c1700 (LWP 8918)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215
#1  0x00007f3e71d7250f in wait (time=30000, this=0x2e829d0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2e82948, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f3e71d6568f in QThreadPoolThread::run (this=0x2e84ef0) at concurrent/qthreadpool.cpp:141
#4  0x00007f3e71d7209b in QThreadPrivate::start (arg=0x2e84ef0) at thread/qthread_unix.cpp:307
#5  0x00007f3e6e5e3e9a in start_thread (arg=0x7f3e463c1700) at pthread_create.c:308
#6  0x00007f3e712183fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f3e753a1780 (LWP 8908)):
[KCrash Handler]
#6  0x00007f3e7115a425 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f3e7115db8b in __GI_abort () at abort.c:91
#8  0x00007f3e7119839e in __libc_message (do_abort=2, fmt=0x7f3e712a057f "*** %s ***: %s terminated\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:201
#9  0x00007f3e7122ef47 in __GI___fortify_fail (msg=0x7f3e712a0516 "buffer overflow detected") at fortify_fail.c:32
#10 0x00007f3e7122de40 in __GI___chk_fail () at chk_fail.c:29
#11 0x00007f3e7122eefe in __fdelt_chk (d=<optimized out>) at fdelt_chk.c:26
#12 0x00007f3e73cf7dea in QNativeSocketEnginePrivate::nativeSelect (this=0x303d720, timeout=-1, checkRead=<optimized out>, checkWrite=<optimized out>, selectForRead=0x7fff59ad9aae, selectForWrite=0x7fff59ad9aaf) at socket/qnativesocketengine_unix.cpp:1109
#13 0x00007f3e73cf5ea8 in QNativeSocketEngine::waitForReadOrWrite (this=0x48484b0, readyToRead=0x7fff59ad9aae, readyToWrite=0x7fff59ad9aaf, checkRead=true, checkWrite=<optimized out>, msecs=-1, timedOut=0x0) at socket/qnativesocketengine.cpp:1000
#14 0x00007f3e73ced7cf in QAbstractSocket::waitForBytesWritten (this=0x2d28ec0, msecs=-1) at socket/qabstractsocket.cpp:1949
#15 0x00007f3e7402ae02 in KIO::SocketConnectionBackend::sendCommand (this=0x4325860, task=...) at ../../kio/kio/connection.cpp:298
#16 0x00007f3e7402c1df in sendnow (data=..., _cmd=85, this=0x312e750) at ../../kio/kio/connection.cpp:509
#17 KIO::Connection::sendnow (this=0x312e750, _cmd=85, data=...) at ../../kio/kio/connection.cpp:497
#18 0x00007f3e7402d596 in dequeue (this=<optimized out>) at ../../kio/kio/connection.cpp:78
#19 KIO::ConnectionPrivate::dequeue (this=0x4828d60) at ../../kio/kio/connection.cpp:71
#20 0x00007f3e740fc254 in KIO::Slave::accept (this=<optimized out>) at ../../kio/kio/slave.cpp:116
#21 0x00007f3e71e85781 in QMetaObject::activate (sender=0x312f4c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#22 0x00007f3e71e85781 in QMetaObject::activate (sender=0x2c41fa0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#23 0x00007f3e71e85781 in QMetaObject::activate (sender=0x4828960, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#24 0x00007f3e7304fe7a in KLocalSocketServer::incomingConnection (this=0x4828960, descriptor=1625) at ../../kdecore/network/klocalsocket.cpp:212
#25 0x00007f3e730c263b in KLocalSocketServerPrivate::processSocketActivity (this=0x4827cd0) at ../../kdecore/network/klocalsocket_unix.cpp:394
#26 0x00007f3e71e85781 in QMetaObject::activate (sender=0x4828460, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff59ada0e0) at kernel/qobject.cpp:3547
#27 0x00007f3e71ed27fe in QSocketNotifier::activated (this=<optimized out>, _t1=1106) at .moc/release-shared/moc_qsocketnotifier.cpp:103
#28 0x00007f3e71e8eb0b in QSocketNotifier::event (this=0x4828460, e=0x7fff59ada730) at kernel/qsocketnotifier.cpp:317
#29 0x00007f3e723947b4 in notify_helper (e=0x7fff59ada730, receiver=0x4828460, this=0xc78cb0) at kernel/qapplication.cpp:4556
#30 QApplicationPrivate::notify_helper (this=0xc78cb0, receiver=0x4828460, e=0x7fff59ada730) at kernel/qapplication.cpp:4528
#31 0x00007f3e72399583 in QApplication::notify (this=0x7fff59ada9b0, receiver=0x4828460, e=0x7fff59ada730) at kernel/qapplication.cpp:4417
#32 0x000000000043a4b1 in ?? ()
#33 0x00007f3e71e7132c in QCoreApplication::notifyInternal (this=0x7fff59ada9b0, receiver=0x4828460, event=0x7fff59ada730) at kernel/qcoreapplication.cpp:915
#34 0x00007f3e71e9ff97 in sendEvent (event=0x7fff59ada730, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#35 socketNotifierSourceDispatch (source=0xc78f40) at kernel/qeventdispatcher_glib.cpp:110
#36 0x00007f3e6cd59d13 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f3e6cd5a060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f3e6cd5a124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f3e71ea08bf in QEventDispatcherGlib::processEvents (this=0xc34b30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#40 0x00007f3e7243ccde in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007f3e71e6fe62 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#42 0x00007f3e71e700b7 in QEventLoop::exec (this=0x7fff59ada940, flags=...) at kernel/qeventloop.cpp:204
#43 0x00007f3e71e75407 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#44 0x00000000004283be in ?? ()
#45 0x00007f3e7114576d in __libc_start_main (main=0x425c60, argc=5, ubp_av=0x7fff59adb848, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff59adb838) at libc-start.c:226
#46 0x00000000004297cd in _start ()

Possible duplicates by query: bug 332489, bug 327574, bug 324938, bug 323830, bug 322782.

Reported using DrKonqi
Comment 1 ponchorat1968 2014-07-14 23:49:50 UTC
Current state of Ktorrent causes it to crash every time it is started.
Comment 2 Jekyll Wu 2014-07-15 01:52:31 UTC

*** This bug has been marked as a duplicate of bug 294996 ***
Comment 3 ponchorat1968 2014-07-15 12:56:01 UTC
Is there a fix?