Bug 359619 - Ktorrent ceashed while performing normal activity
Summary: Ktorrent ceashed while performing normal activity
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
: 373974 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-02-21 03:08 UTC by ponchorat1968
Modified: 2016-12-20 22:49 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 ponchorat1968 2016-02-21 03:08:20 UTC
Application: ktorrent (4.3.1)
KDE Platform Version: 4.14.13
Qt Version: 4.8.6
Operating System: Linux 3.19.0-49-generic x86_64
Distribution: Ubuntu 14.04.4 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I had just selected 13 torrents to download and was in the process of changing the file priority to high and unselecting trackers when Ktorrent crashed.

-- 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 0x7f23dcc797c0 (LWP 26078))]

Thread 10 (Thread 0x7f23ab482700 (LWP 26185)):
#0  0x00007f23d642754b in __GI___pthread_mutex_lock (mutex=0x7f23a0000a60) at ../nptl/pthread_mutex_lock.c:119
#1  0x00007f23d49bc981 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f23d497a699 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f23d497af03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f23d497b0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f23d97fc7be in QEventDispatcherGlib::processEvents (this=0x7f23a00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007f23d97ce0af in QEventLoop::processEvents (this=this@entry=0x7f23ab481de0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f23d97ce3a5 in QEventLoop::exec (this=this@entry=0x7f23ab481de0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f23d96cac5f in QThread::exec (this=this@entry=0x1fff42c0) at thread/qthread.cpp:537
#9  0x00007f23d97af823 in QInotifyFileSystemWatcherEngine::run (this=0x1fff42c0) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f23d96cd32f in QThreadPrivate::start (arg=0x1fff42c0) at thread/qthread_unix.cpp:349
#11 0x00007f23d6425182 in start_thread (arg=0x7f23ab482700) at pthread_create.c:312
#12 0x00007f23d8b6747d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 9 (Thread 0x7f23aac81700 (LWP 26190)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f23d96cbdd3 in _q_futex (val2=0, addr2=0x0, timeout=0x0, val=2, op=0, addr=0xd24820) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=this@entry=0xd24820, timeout=timeout@entry=-1) at thread/qmutex_unix.cpp:113
#3  0x00007f23d96c83bd in QMutex::lock (this=<optimized out>) at thread/qmutex.cpp:164
#4  0x00007f23dc76d930 in ?? () from /usr/lib/libktorrent.so.5
#5  0x00007f23dc76db19 in ?? () from /usr/lib/libktorrent.so.5
#6  0x00007f23d96cd32f in QThreadPrivate::start (arg=0xd24850) at thread/qthread_unix.cpp:349
#7  0x00007f23d6425182 in start_thread (arg=0x7f23aac81700) at pthread_create.c:312
#8  0x00007f23d8b6747d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 8 (Thread 0x7f23aa480700 (LWP 26191)):
#0  0x00007f23dc76d28f in ?? () from /usr/lib/libktorrent.so.5
#1  0x00007f23dc76db19 in ?? () from /usr/lib/libktorrent.so.5
#2  0x00007f23d96cd32f in QThreadPrivate::start (arg=0xd24c40) at thread/qthread_unix.cpp:349
#3  0x00007f23d6425182 in start_thread (arg=0x7f23aa480700) at pthread_create.c:312
#4  0x00007f23d8b6747d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 7 (Thread 0x7f23a9c7f700 (LWP 26192)):
#0  0x00007f23d8b5a12d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f23cf7e3234 in send_dg (ansp2_malloced=0x0, resplen2=0x0, anssizp2=0x0, ansp2=0x0, anscp=0x7f23a9c7dfe0, gotsomewhere=<synthetic pointer>, v_circuit=<synthetic pointer>, ns=0, terrno=0x7f23a9c7d810, anssizp=0x7f23a9c7d950, ansp=0x7f23a9c7d808, buflen2=0, buf2=0x0, buflen=46, buf=0x7f23a9c7d980 "\027\272\001", statp=0x7f23a9c7fdb8) at res_send.c:1206
#2  __libc_res_nsend (statp=statp@entry=0x7f23a9c7fdb8, buf=buf@entry=0x7f23a9c7d980 "\027\272\001", buflen=46, buf2=buf2@entry=0x0, buflen2=buflen2@entry=0, ans=ans@entry=0x7f23a9c7db90 "\232\374\201\200", anssiz=anssiz@entry=1024, ansp=ansp@entry=0x7f23a9c7dfe0, ansp2=ansp2@entry=0x0, nansp2=nansp2@entry=0x0, resplen2=resplen2@entry=0x0, ansp2_malloced=ansp2_malloced@entry=0x0) at res_send.c:576
#3  0x00007f23cf7e0e2c in __GI___libc_res_nquery (statp=0x7f23a9c7fdb8, name=name@entry=0x7f23a9c7dff0 "215.131.193.140.in-addr.arpa", class=class@entry=1, type=type@entry=12, answer=0x7f23a9c7db90 "\232\374\201\200", anslen=anslen@entry=1024, answerp=answerp@entry=0x7f23a9c7dfe0, answerp2=answerp2@entry=0x0, nanswerp2=nanswerp2@entry=0x0, resplen2=resplen2@entry=0x0, answerp2_malloced=answerp2_malloced@entry=0x0) at res_query.c:227
#4  0x00007f23b9c0944c in __GI__nss_dns_gethostbyaddr2_r (addr=0x7f23a9c7eba4, len=4, af=<optimized out>, result=0x7f23a9c7e990, buffer=0x7f23a9c7e520 "\377\002", buflen=1024, errnop=errnop@entry=0x7f23a9c7f630, h_errnop=h_errnop@entry=0x7f23a9c7e970, ttlp=ttlp@entry=0x0) at nss_dns/dns-host.c:488
#5  0x00007f23b9c09595 in _nss_dns_gethostbyaddr_r (addr=<optimized out>, len=<optimized out>, af=<optimized out>, result=<optimized out>, buffer=<optimized out>, buflen=<optimized out>, errnop=0x7f23a9c7f630, h_errnop=0x7f23a9c7e970) at nss_dns/dns-host.c:547
#6  0x00007f23d8b79cf3 in __gethostbyaddr_r (addr=addr@entry=0x7f23a9c7eba4, len=len@entry=4, type=type@entry=2, resbuf=0x7f23a9c7e990, buffer=buffer@entry=0x7f23a9c7e520 "\377\002", buflen=buflen@entry=1024, result=result@entry=0x7f23a9c7e980, h_errnop=h_errnop@entry=0x7f23a9c7e970) at ../nss/getXXbyYY_r.c:266
#7  0x00007f23d8b7fa3c in __GI_getnameinfo (sa=0x7f23a9c7eba0, addrlen=<optimized out>, host=<optimized out>, hostlen=<optimized out>, serv=<optimized out>, servlen=<optimized out>, flags=8) at getnameinfo.c:224
#8  0x00007f23dc76fe41 in ?? () from /usr/lib/libktorrent.so.5
#9  0x00007f23dc76feb8 in ?? () from /usr/lib/libktorrent.so.5
#10 0x00007f23dc7701df in ?? () from /usr/lib/libktorrent.so.5
#11 0x00007f23d96cd32f in QThreadPrivate::start (arg=0x1f5d6840) at thread/qthread_unix.cpp:349
#12 0x00007f23d6425182 in start_thread (arg=0x7f23a9c7f700) at pthread_create.c:312
#13 0x00007f23d8b6747d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7f237a82b700 (LWP 26035)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f23d96cd7f4 in wait (time=30000, this=0x1e1dcb30) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this@entry=0x1e1dc8e0, mutex=mutex@entry=0x1e1db958, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f23d96c10fa in QThreadPoolThread::run (this=0x1e1dc8d0) at concurrent/qthreadpool.cpp:142
#4  0x00007f23d96cd32f in QThreadPrivate::start (arg=0x1e1dc8d0) at thread/qthread_unix.cpp:349
#5  0x00007f23d6425182 in start_thread (arg=0x7f237a82b700) at pthread_create.c:312
#6  0x00007f23d8b6747d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f237350a700 (LWP 26539)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f23d96cd7f4 in wait (time=30000, this=0x1f8d5490) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this@entry=0x1f8d5240, mutex=mutex@entry=0x1e1db958, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f23d96c10fa in QThreadPoolThread::run (this=0x1f8d5230) at concurrent/qthreadpool.cpp:142
#4  0x00007f23d96cd32f in QThreadPrivate::start (arg=0x1f8d5230) at thread/qthread_unix.cpp:349
#5  0x00007f23d6425182 in start_thread (arg=0x7f237350a700) at pthread_create.c:312
#6  0x00007f23d8b6747d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f236e30b700 (LWP 27023)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f23d96cd7f4 in wait (time=30000, this=0x1e1dbe80) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this@entry=0x1e1dbc30, mutex=mutex@entry=0x1e1db958, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f23d96c10fa in QThreadPoolThread::run (this=0x1e1dbc20) at concurrent/qthreadpool.cpp:142
#4  0x00007f23d96cd32f in QThreadPrivate::start (arg=0x1e1dbc20) at thread/qthread_unix.cpp:349
#5  0x00007f23d6425182 in start_thread (arg=0x7f236e30b700) at pthread_create.c:312
#6  0x00007f23d8b6747d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f2382c2c700 (LWP 27024)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f23d96cd7f4 in wait (time=30000, this=0x1f8d4bf0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this@entry=0x1acce2a0, mutex=mutex@entry=0x1e1db958, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f23d96c10fa in QThreadPoolThread::run (this=0x1acce290) at concurrent/qthreadpool.cpp:142
#4  0x00007f23d96cd32f in QThreadPrivate::start (arg=0x1acce290) at thread/qthread_unix.cpp:349
#5  0x00007f23d6425182 in start_thread (arg=0x7f2382c2c700) at pthread_create.c:312
#6  0x00007f23d8b6747d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f238b253700 (LWP 27025)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f23d96cd7f4 in wait (time=30000, this=0x1f8d5d60) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=this@entry=0x1f8d5b10, mutex=mutex@entry=0x1e1db958, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f23d96c10fa in QThreadPoolThread::run (this=0x1f8d5b00) at concurrent/qthreadpool.cpp:142
#4  0x00007f23d96cd32f in QThreadPrivate::start (arg=0x1f8d5b00) at thread/qthread_unix.cpp:349
#5  0x00007f23d6425182 in start_thread (arg=0x7f238b253700) at pthread_create.c:312
#6  0x00007f23d8b6747d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f23dcc797c0 (LWP 26078)):
[KCrash Handler]
#6  0x00007f23d8aa3cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007f23d8aa70d8 in __GI_abort () at abort.c:89
#8  0x00007f23d8ae0394 in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7f23d8bec52b "*** %s ***: %s terminated\n") at ../sysdeps/posix/libc_fatal.c:175
#9  0x00007f23d8b77c9c in __GI___fortify_fail (msg=<optimized out>, msg@entry=0x7f23d8bec4c2 "buffer overflow detected") at fortify_fail.c:37
#10 0x00007f23d8b76b60 in __GI___chk_fail () at chk_fail.c:28
#11 0x00007f23d8b77be7 in __fdelt_chk (d=<optimized out>) at fdelt_chk.c:25
#12 0x00007f23db5ffa15 in QNativeSocketEnginePrivate::nativeSelect (this=this@entry=0x239de170, timeout=timeout@entry=-1, checkRead=checkRead@entry=true, checkWrite=checkWrite@entry=true, selectForRead=selectForRead@entry=0x7ffecdce5f1e, selectForWrite=selectForWrite@entry=0x7ffecdce5f1f) at socket/qnativesocketengine_unix.cpp:1094
#13 0x00007f23db5fd73e in QNativeSocketEngine::waitForReadOrWrite (this=0x23f05150, readyToRead=0x7ffecdce5f1e, readyToWrite=0x7ffecdce5f1f, checkRead=<optimized out>, checkWrite=<optimized out>, msecs=-1, timedOut=0x0) at socket/qnativesocketengine.cpp:1000
#14 0x00007f23db5f7020 in QAbstractSocket::waitForBytesWritten (this=0x25681030, msecs=-1) at socket/qabstractsocket.cpp:1939
#15 0x00007f23db932f22 in KIO::SocketConnectionBackend::sendCommand (this=0x224fd070, task=...) at ../../kio/kio/connection.cpp:298
#16 0x00007f23db933d74 in KIO::Connection::sendnow (this=0x20a4de20, _cmd=<optimized out>, data=...) at ../../kio/kio/connection.cpp:509
#17 0x00007f23db934684 in KIO::ConnectionPrivate::dequeue (this=0x10440600) at ../../kio/kio/connection.cpp:78
#18 0x00007f23db93474b 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 0x00007f23db9f72ec in KIO::Slave::accept (this=0x7f23db9f7c90 <KIO::Slave::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>) at ../../kio/kio/slave.cpp:116
#21 0x00007f23d97e387a in QMetaObject::activate (sender=0x1f72e4d0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#22 0x00007f23d97e387a in QMetaObject::activate (sender=0x2428dc80, m=m@entry=0x7f23dbd02180 <KIO::AbstractConnectionBackend::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#23 0x00007f23db932fab 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 0x00007f23d97e387a in QMetaObject::activate (sender=sender@entry=0x1f291190, m=m@entry=0x7f23dac9d640 <KLocalSocketServer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#26 0x00007f23da988d40 in KLocalSocketServer::newConnection (this=this@entry=0x1f291190) at ./klocalsocket.moc:179
#27 0x00007f23da988e2b in KLocalSocketServer::incomingConnection (this=0x1f291190, descriptor=1046) at ../../kdecore/network/klocalsocket.cpp:212
#28 0x00007f23da9efa8c in KLocalSocketServerPrivate::processSocketActivity (this=0x2428dd70) at ../../kdecore/network/klocalsocket_unix.cpp:394
#29 0x00007f23d97e387a in QMetaObject::activate (sender=sender@entry=0x230c9530, m=m@entry=0x7f23d9b33a40 <QSocketNotifier::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffecdce6520) at kernel/qobject.cpp:3539
#30 0x00007f23d982e2ae in QSocketNotifier::activated (this=this@entry=0x230c9530, _t1=808) at .moc/release-shared/moc_qsocketnotifier.cpp:102
#31 0x00007f23d97ec64b in QSocketNotifier::event (this=0x230c9530, e=0x7ffecdce6840) at kernel/qsocketnotifier.cpp:316
#32 0x00007f23d9d00e2c in QApplicationPrivate::notify_helper (this=this@entry=0xd5fb90, receiver=receiver@entry=0x230c9530, e=e@entry=0x7ffecdce6840) at kernel/qapplication.cpp:4567
#33 0x00007f23d9d074a0 in QApplication::notify (this=0x7ffecdce7770, receiver=0x230c9530, e=0x7ffecdce6840) at kernel/qapplication.cpp:4353
#34 0x000000000043a162 in _start ()

Possible duplicates by query: bug 354642, bug 345433, bug 338528, bug 337451, bug 332489.

Reported using DrKonqi
Comment 1 Christoph Feck 2016-12-20 22:47:02 UTC
*** Bug 373974 has been marked as a duplicate of this bug. ***
Comment 2 Christoph Feck 2016-12-20 22:49:00 UTC

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