Bug 240157 - ktorrent 4.0.0 crashes while running, utorrent transport protocol problem?
Summary: ktorrent 4.0.0 crashes while running, utorrent transport protocol problem?
Status: RESOLVED DUPLICATE of bug 240003
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-31 00:11 UTC by Arthur Gruzauskas
Modified: 2010-05-31 18:15 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arthur Gruzauskas 2010-05-31 00:11:00 UTC
Application: ktorrent (4.0.0)
KDE Platform Version: 4.4.3 (KDE 4.4.3)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-10005121 x86_64
Distribution: Debian GNU/Linux testing (squeeze)

-- Information about the crash:
just upgraded from the 3.5 testing version. It now just keeps crashing after a few minutes of running. the only setting changed was the utorrent UDP thingo. On turning  it off, seems stable again

The crash can be reproduced every time.

 -- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7f8389e1d750 (LWP 8786))]

Thread 6 (Thread 0x7f837a86a910 (LWP 8790)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f8387394d03 in QMutexPrivate::wait (this=0xc54100, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007f8387390865 in QMutex::lock (this=0xc11510) at thread/qmutex.cpp:205
#3  0x00007f838749f96d in QMutexLocker::relock (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:120
#4  QMutexLocker (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:102
#5  ~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:896
#6  0x00007f838994d1bb in ~StreamSocket (this=0x7f83680cdbd0, __in_chrg=<value optimized out>) at ../../src/mse/streamsocket.cpp:91
#7  0x00007f8387499b6d in QObject::event (this=0x7f83680cdbd0, e=0x7f83743bb200) at kernel/qobject.cpp:1231
#8  0x00007f83868288fc in QApplicationPrivate::notify_helper (this=0xb73af0, receiver=0x7f83680cdbd0, e=0x7f83743bb200) at kernel/qapplication.cpp:4300
#9  0x00007f838682eddb in QApplication::notify (this=0x7fffdc5044a0, receiver=0x7f83680cdbd0, e=0x7f83743bb200) at kernel/qapplication.cpp:4183
#10 0x00007f8388ad4366 in KApplication::notify (this=0x7fffdc5044a0, receiver=0x7f83680cdbd0, event=0x7f83743bb200) at ../../kdeui/kernel/kapplication.cpp:302
#11 0x00007f8387489f0c in QCoreApplication::notifyInternal (this=0x7fffdc5044a0, receiver=0x7f83680cdbd0, event=0x7f83743bb200) at kernel/qcoreapplication.cpp:704
#12 0x00007f838748c687 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0xc81f30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#13 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0xc81f30) at kernel/qcoreapplication.cpp:1345
#14 0x00007f83874b3823 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#15 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#16 0x00007f83820716c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#17 0x00007f8382075538 in ?? () from /lib/libglib-2.0.so.0
#18 0x00007f83820756ec in g_main_context_iteration () from /lib/libglib-2.0.so.0
#19 0x00007f83874b3363 in QEventDispatcherGlib::processEvents (this=0xc7b710, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#20 0x00007f8387488832 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#21 0x00007f8387488c0c in QEventLoop::exec (this=0x7f837a86a040, flags=) at kernel/qeventloop.cpp:201
#22 0x00007f8387392bb9 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#23 0x00007f83873955b5 in QThreadPrivate::start (arg=0xc7bbc0) at thread/qthread_unix.cpp:248
#24 0x00007f8382d577aa in start_thread (arg=<value optimized out>) at pthread_create.c:300
#25 0x00007f8385bfc59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#26 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f837a069910 (LWP 8791)):
#0  0x00007f8385bf5e32 in select () from /lib/libc.so.6
#1  0x00007f83899a5fdc in dht::RPCServerThread::run (this=0xb857c0) at ../../src/dht/rpcserver.cpp:107
#2  0x00007f83873955b5 in QThreadPrivate::start (arg=0xb857c0) at thread/qthread_unix.cpp:248
#3  0x00007f8382d577aa in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f8385bfc59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 4 (Thread 0x7f837b06b910 (LWP 8804)):
#0  QHash<unsigned short, QHashDummyValue>::createNode (this=0x1f5cb00, p=<value optimized out>, conn_id=7417, self=) at /usr/include/qt4/QtCore/qhash.h:545
#1  QHash<unsigned short, QHashDummyValue>::insert (this=0x1f5cb00, p=<value optimized out>, conn_id=7417, self=) at /usr/include/qt4/QtCore/qhash.h:756
#2  QSet<unsigned short>::insert (this=0x1f5cb00, p=<value optimized out>, conn_id=7417, self=) at /usr/include/qt4/QtCore/qset.h:176
#3  utp::PollPipe::prepare (this=0x1f5cb00, p=<value optimized out>, conn_id=7417, self=) at ../../src/utp/pollpipe.cpp:41
#4  0x00007f83899d9f65 in utp::UTPServer::preparePolling (this=0xc99890, p=0xb481f0, mode=net::Poll::INPUT, conn=<value optimized out>) at ../../src/utp/utpserver.cpp:491
#5  0x00007f83899e1209 in utp::UTPSocket::prepare (this=0x7f837443a2a0, p=0xb481f0, mode=net::Poll::INPUT) at ../../src/utp/utpsocket.cpp:199
#6  0x00007f838994705e in net::DownloadThread::waitForSocketReady (this=0xb481e0) at ../../src/net/downloadthread.cpp:123
#7  0x00007f8389947156 in net::DownloadThread::update (this=0x7f8368000020) at ../../src/net/downloadthread.cpp:48
#8  0x00007f8389947c39 in net::NetworkThread::run (this=0xb481e0) at ../../src/net/networkthread.cpp:48
#9  0x00007f83873955b5 in QThreadPrivate::start (arg=0xb481e0) at thread/qthread_unix.cpp:248
#10 0x00007f8382d577aa in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007f8385bfc59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 3 (Thread 0x7f836d1cd910 (LWP 8805)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f8387394f35 in thread_sleep (ti=0x7f836d1ccff0) at thread/qthread_unix.cpp:398
#2  0x00007f8387395090 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:424
#3  0x00007f83899469fd in net::UploadThread::update (this=0xb48830) at ../../src/net/uploadthread.cpp:89
#4  0x00007f8389947c39 in net::NetworkThread::run (this=0xb48830) at ../../src/net/networkthread.cpp:48
#5  0x00007f83873955b5 in QThreadPrivate::start (arg=0xb48830) at thread/qthread_unix.cpp:248
#6  0x00007f8382d577aa in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7  0x00007f8385bfc59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()
The current source language is "auto; currently c++".

Thread 2 (Thread 0x7f8367fff910 (LWP 8806)):
#0  0x00007f8385bf040b in read () from /lib/libc.so.6
#1  0x00007f8385b9e178 in _IO_new_file_underflow (fp=0x2b15d30) at fileops.c:605
#2  0x00007f8385b9f85e in _IO_default_uflow (fp=0x4) at genops.c:440
#3  0x00007f8385b947de in _IO_getline_info (fp=0x2b15d30, buf=0x7f837d2df000 "RESOLVE-ADDRESS 207.81.84.213\n", n=255, delim=10, extract_delim=1, eof=0x0) at iogetline.c:74
#4  0x00007f8385b936b9 in _IO_fgets (buf=0x7f8367ffe350 "-15 Timeout reached\n", n=<value optimized out>, fp=0x2b15d30) at iofgets.c:58
#5  0x00007f836c3c3f00 in ?? () from /lib/libnss_mdns4.so.2
#6  0x00007f836c3c437b in _nss_mdns4_gethostbyaddr_r () from /lib/libnss_mdns4.so.2
#7  0x00007f8385c12be8 in __gethostbyaddr_r (addr=0x27b1c34, len=4, type=<value optimized out>, resbuf=0x7f8367ffeda0, buffer=<value optimized out>, buflen=<value optimized out>, 
    result=0x7f8367ffedd0, h_errnop=0x7f8367ffeddc) at ../nss/getXXbyYY_r.c:253
#8  0x00007f8385c1834d in *__GI_getnameinfo (sa=0x27b1c30, addrlen=<value optimized out>, host=0x7f8367ffef00 "", hostlen=199, serv=0x7f8367ffee30 "", servlen=199, flags=<value optimized out>)
    at getnameinfo.c:223
#9  0x00007f838994a6ec in net::ReverseResolver::resolve (this=<value optimized out>, addr=...) at ../../src/net/reverseresolver.cpp:64
#10 0x00007f838994a770 in net::ReverseResolver::run (this=0x1ee02b0) at ../../src/net/reverseresolver.cpp:73
#11 0x00007f838994a867 in net::ReverseResolverThread::run (this=0x7f8374285880) at ../../src/net/reverseresolver.cpp:118
#12 0x00007f83873955b5 in QThreadPrivate::start (arg=0x7f8374285880) at thread/qthread_unix.cpp:248
#13 0x00007f8382d577aa in start_thread (arg=<value optimized out>) at pthread_create.c:300
#14 0x00007f8385bfc59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 1 (Thread 0x7f8389e1d750 (LWP 8786)):
[KCrash Handler]
#5  ~QObject (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qobject.cpp:911
#6  0x00007f8387417293 in ~QFile (this=0x21dea70, __in_chrg=<value optimized out>) at io/qfile.cpp:409
#7  0x00007f83899bb086 in bt::CacheFile::closeTemporary (this=0x1877bc0) at ../../src/diskio/cachefile.cpp:470
#8  0x00007f83899bbe67 in bt::CacheFile::unmap (this=0x1877bc0, ptr=0x7f837805154f, size=<value optimized out>) at ../../src/diskio/cachefile.cpp:301
#9  0x00007f83899bad55 in bt::PieceData::unload (this=0x18de110) at ../../src/diskio/piecedata.cpp:49
#10 0x00007f83899bae45 in ~PieceData (this=0x7f8385e80e60, __in_chrg=<value optimized out>) at ../../src/diskio/piecedata.cpp:38
#11 0x00007f83899aab9b in bt::Cache::checkMemoryUsage (this=0xfb1b10) at ../../src/diskio/cache.cpp:149
#12 0x00007f838998a86f in bt::TorrentControl::update (this=0xf96e00) at ../../src/torrent/torrentcontrol.cpp:246
#13 0x000000000042aafb in kt::Core::update (this=0xc80960) at ../../ktorrent/core.cpp:1020
#14 0x0000000000432fb2 in kt::Core::qt_metacall (this=0xc80960, _c=QMetaObject::InvokeMetaMethod, _id=42660000, _a=0x7fffdc503a20) at ./core.moc:167
#15 0x00007f838749cc3f in QMetaObject::activate (sender=0xc80988, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3293
#16 0x00007f8387499863 in QObject::event (this=0xc80988, e=0x7fffdc504170) at kernel/qobject.cpp:1212
#17 0x00007f83868288fc in QApplicationPrivate::notify_helper (this=0xb73af0, receiver=0xc80988, e=0x7fffdc504170) at kernel/qapplication.cpp:4300
#18 0x00007f838682eddb in QApplication::notify (this=0x7fffdc5044a0, receiver=0xc80988, e=0x7fffdc504170) at kernel/qapplication.cpp:4183
#19 0x00007f8388ad4366 in KApplication::notify (this=0x7fffdc5044a0, receiver=0xc80988, event=0x7fffdc504170) at ../../kdeui/kernel/kapplication.cpp:302
#20 0x00007f8387489f0c in QCoreApplication::notifyInternal (this=0x7fffdc5044a0, receiver=0xc80988, event=0x7fffdc504170) at kernel/qcoreapplication.cpp:704
#21 0x00007f83874b6a72 in QCoreApplication::sendEvent (this=0xb94970) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#22 QTimerInfoList::activateTimers (this=0xb94970) at kernel/qeventdispatcher_unix.cpp:603
#23 0x00007f83874b3698 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#24 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#25 0x00007f83820716c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#26 0x00007f8382075538 in ?? () from /lib/libglib-2.0.so.0
#27 0x00007f83820756ec in g_main_context_iteration () from /lib/libglib-2.0.so.0
#28 0x00007f83874b3363 in QEventDispatcherGlib::processEvents (this=0xb461d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#29 0x00007f83868d83ce in QGuiEventDispatcherGlib::processEvents (this=0x7f8385e80e60, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#30 0x00007f8387488832 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#31 0x00007f8387488c0c in QEventLoop::exec (this=0x7fffdc504410, flags=) at kernel/qeventloop.cpp:201
#32 0x00007f838748c94b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#33 0x0000000000428d7b in main (argc=<value optimized out>, argv=<value optimized out>) at ../../ktorrent/main.cpp:173
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Joris Guisson 2010-05-31 18:15:31 UTC
Probably the caused by the same problem which is causing 240003

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