Bug 272297 - Ktorrent crashes
Summary: Ktorrent crashes
Status: RESOLVED DUPLICATE of bug 270127
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-03 04:06 UTC by Lastique
Modified: 2011-05-03 18:04 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 Lastique 2011-05-03 04:06:13 UTC
Application: ktorrent (4.1.0)
KDE Platform Version: 4.6.2 (4.6.2) "release 391"
Qt Version: 4.7.2
Operating System: Linux 2.6.37.6-0.5-desktop x86_64
Distribution: "openSUSE 11.4 (x86_64)"

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

There was one active download and several seeds. It seems that the crash is only apparent when a torrent is downloading.

-- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f0563eac760 (LWP 2915))]

Thread 8 (Thread 0x7f054f251700 (LWP 2980)):
[KCrash Handler]
#6  0x00007f0563a47ab8 in QHash<unsigned short, QHashDummyValue>::findNode (this=0x20698d0, akey=<value optimized out>, ahp=0x0) at /usr/include/QtCore/qhash.h:885
#7  0x00007f0563a43be9 in contains (this=0x7431e0, conn=..., readable=true, writeable=false) at /usr/include/QtCore/qhash.h:872
#8  contains (this=0x7431e0, conn=..., readable=true, writeable=false) at /usr/include/QtCore/qset.h:86
#9  polling (this=0x7431e0, conn=..., readable=true, writeable=false) at /usr/src/debug/libktorrent-1.1.0/src/utp/pollpipe.h:56
#10 utp::UTPServer::Private::wakeUpPollPipes (this=0x7431e0, conn=..., readable=true, writeable=false) at /usr/src/debug/libktorrent-1.1.0/src/utp/utpserver.cpp:193
#11 0x00007f0563a43d10 in utp::UTPServer::stateChanged (this=<value optimized out>, conn=<value optimized out>, readable=<value optimized out>, writeable=<value optimized out>) at /usr/src/debug/libktorrent-1.1.0/src/utp/utpserver.cpp:476
#12 0x00007f0563a4b74a in utp::Connection::checkState (this=0x7f053c740860) at /usr/src/debug/libktorrent-1.1.0/src/utp/connection.cpp:284
#13 0x00007f0563a4bd5e in utp::Connection::handlePacket (this=0x7f053c740860, parser=..., packet=...) at /usr/src/debug/libktorrent-1.1.0/src/utp/connection.cpp:266
#14 0x00007f0563a4552a in utp::UTPServer::handlePacket (this=0x742b90, packet=..., addr=<value optimized out>) at /usr/src/debug/libktorrent-1.1.0/src/utp/utpserver.cpp:358
#15 0x00007f0563a43790 in utp::UTPServer::Private::dataReceived (this=0x7431e0, data=..., addr=...) at /usr/src/debug/libktorrent-1.1.0/src/utp/utpserver.cpp:209
#16 0x00007f05639b3080 in net::ServerSocket::readyToRead (this=0x87be30) at /usr/src/debug/libktorrent-1.1.0/src/net/serversocket.cpp:130
#17 0x00007f05639953bb in net::ServerSocket::qt_metacall (this=0x87be30, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7f054f250570) at /usr/src/debug/libktorrent-1.1.0/build/src/moc_serversocket.cpp:76
#18 0x00007f0561773a5f in QMetaObject::activate (sender=0x734d80, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7f054f250570) at kernel/qobject.cpp:3278
#19 0x00007f05617bc6ae in QSocketNotifier::activated (this=<value optimized out>, _t1=17) at .moc/release-shared/moc_qsocketnotifier.cpp:89
#20 0x00007f056177a2ab in QSocketNotifier::event (this=0x734d80, e=0x7f054f250c00) at kernel/qsocketnotifier.cpp:317
#21 0x00007f056090a144 in QApplicationPrivate::notify_helper (this=0x738ef0, receiver=0x734d80, e=0x7f054f250c00) at kernel/qapplication.cpp:4462
#22 0x00007f05609126fa in QApplication::notify (this=<value optimized out>, receiver=0x734d80, e=0x7f054f250c00) at kernel/qapplication.cpp:4341
#23 0x000000000043c4d1 in kt::App::notify (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>) at /usr/src/debug/ktorrent-4.1.0/ktorrent/app.cpp:97
#24 0x00007f056175f47c in QCoreApplication::notifyInternal (this=0x7fffd73730e0, receiver=0x734d80, event=0x7f054f250c00) at kernel/qcoreapplication.cpp:731
#25 0x00007f0561789c09 in sendEvent (source=0x7f7380) at kernel/qcoreapplication.h:215
#26 socketNotifierSourceDispatch (source=0x7f7380) at kernel/qeventdispatcher_glib.cpp:110
#27 0x00007f055b05fbd3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#28 0x00007f055b0603b0 in ?? () from /lib64/libglib-2.0.so.0
#29 0x00007f055b060650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#30 0x00007f056178a22f in QEventDispatcherGlib::processEvents (this=0x807050, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#31 0x00007f056175e8d2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007f056175eae5 in QEventLoop::exec (this=0x7f054f250e20, flags=...) at kernel/qeventloop.cpp:201
#33 0x00007f05616737a4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#34 0x00007f0561676095 in QThreadPrivate::start (arg=0x8003b0) at thread/qthread_unix.cpp:320
#35 0x00007f05613e5a3f in start_thread () from /lib64/libpthread.so.0
#36 0x00007f055fd3067d in clone () from /lib64/libc.so.6
#37 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f054ea50700 (LWP 2996)):
#0  0x00007f055fd27503 in poll () from /lib64/libc.so.6
#1  0x00007f05639b210c in net::Poll::poll (this=0x7f054ea4fcf0, timeout=<value optimized out>) at /usr/src/debug/libktorrent-1.1.0/src/net/poll.cpp:99
#2  0x00007f0563a14183 in dht::RPCServer::Private::run (this=0x855450) at /usr/src/debug/libktorrent-1.1.0/src/dht/rpcserver.cpp:95
#3  0x00007f0561676095 in QThreadPrivate::start (arg=0x855450) at thread/qthread_unix.cpp:320
#4  0x00007f05613e5a3f in start_thread () from /lib64/libpthread.so.0
#5  0x00007f055fd3067d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f054fa52700 (LWP 3329)):
#0  0x00007f05613ea38c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f05477841d4 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f05613e5a3f in start_thread () from /lib64/libpthread.so.0
#3  0x00007f055fd3067d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f0542bb0700 (LWP 3796)):
#0  0x00007f05613ea38c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f0561675193 in QMutexPrivate::wait (this=0x7432b0, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007f0561671ab5 in QMutex::lock (this=0x743218) at thread/qmutex.cpp:167
#3  0x00007f0563a47010 in QMutexLocker (this=0x742b90, p=0x6e92b0, mode=net::Poll::INPUT, conn=...) at /usr/include/QtCore/qmutex.h:102
#4  utp::UTPServer::preparePolling (this=0x742b90, p=0x6e92b0, mode=net::Poll::INPUT, conn=...) at /usr/src/debug/libktorrent-1.1.0/src/utp/utpserver.cpp:452
#5  0x00007f0563a4f023 in utp::UTPSocket::prepare (this=0x228a800, p=0x6e92b0, mode=net::Poll::INPUT) at /usr/src/debug/libktorrent-1.1.0/src/utp/utpsocket.cpp:212
#6  0x00007f05639aeda6 in net::DownloadThread::waitForSocketReady (this=0x6e92a0) at /usr/src/debug/libktorrent-1.1.0/src/net/downloadthread.cpp:123
#7  0x00007f05639aeea6 in net::DownloadThread::update (this=0x6e92a0) at /usr/src/debug/libktorrent-1.1.0/src/net/downloadthread.cpp:48
#8  0x00007f05639af0a9 in net::NetworkThread::run (this=0x6e92a0) at /usr/src/debug/libktorrent-1.1.0/src/net/networkthread.cpp:48
#9  0x00007f0561676095 in QThreadPrivate::start (arg=0x6e92a0) at thread/qthread_unix.cpp:320
#10 0x00007f05613e5a3f in start_thread () from /lib64/libpthread.so.0
#11 0x00007f055fd3067d in clone () from /lib64/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f05423af700 (LWP 3797)):
#0  0x00007f05613ea38c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f0561675193 in QMutexPrivate::wait (this=0x6e9220, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007f0561671ab5 in QMutex::lock (this=0x6e88b0) at thread/qmutex.cpp:167
#3  0x00007f05639ae79c in net::UploadThread::update (this=0x6e97c0) at /usr/src/debug/libktorrent-1.1.0/src/net/uploadthread.cpp:49
#4  0x00007f05639af0a9 in net::NetworkThread::run (this=0x6e97c0) at /usr/src/debug/libktorrent-1.1.0/src/net/networkthread.cpp:48
#5  0x00007f0561676095 in QThreadPrivate::start (arg=0x6e97c0) at thread/qthread_unix.cpp:320
#6  0x00007f05613e5a3f in start_thread () from /lib64/libpthread.so.0
#7  0x00007f055fd3067d in clone () from /lib64/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f0541bae700 (LWP 3798)):
#0  0x00007f055fd27503 in poll () from /lib64/libc.so.6
#1  0x00007f05437c49cd in __libc_res_nsend () from /usr/lib64/libresolv.so
#2  0x00007f05437c2915 in __libc_res_nquery () from /usr/lib64/libresolv.so
#3  0x00007f05433b5063 in _nss_dns_gethostbyaddr2_r () from /lib64/libnss_dns.so.2
#4  0x00007f05433b5205 in _nss_dns_gethostbyaddr_r () from /lib64/libnss_dns.so.2
#5  0x00007f055fd477f0 in gethostbyaddr_r@@GLIBC_2.2.5 () from /lib64/libc.so.6
#6  0x00007f055fd50018 in getnameinfo () from /lib64/libc.so.6
#7  0x00007f05639b178f in net::ReverseResolver::resolve (this=<value optimized out>, addr=...) at /usr/src/debug/libktorrent-1.1.0/src/net/reverseresolver.cpp:64
#8  0x00007f05639b1830 in net::ReverseResolver::run (this=0x7f053cea0fe0) at /usr/src/debug/libktorrent-1.1.0/src/net/reverseresolver.cpp:73
#9  0x00007f05639b1bb7 in net::ReverseResolverThread::run (this=0x7f054814b250) at /usr/src/debug/libktorrent-1.1.0/src/net/reverseresolver.cpp:118
#10 0x00007f0561676095 in QThreadPrivate::start (arg=0x7f054814b250) at thread/qthread_unix.cpp:320
#11 0x00007f05613e5a3f in start_thread () from /lib64/libpthread.so.0
#12 0x00007f055fd3067d in clone () from /lib64/libc.so.6
#13 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f05441d2700 (LWP 10298)):
#0  0x00007f055fd27503 in poll () from /lib64/libc.so.6
#1  0x00007f055b060114 in ?? () from /lib64/libglib-2.0.so.0
#2  0x00007f055b060650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f056178a286 in QEventDispatcherGlib::processEvents (this=0x1b86590, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f056175e8d2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f056175eae5 in QEventLoop::exec (this=0x7f05441d1de0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f05616737a4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f0561740008 in QInotifyFileSystemWatcherEngine::run (this=0x229e4f0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f0561676095 in QThreadPrivate::start (arg=0x229e4f0) at thread/qthread_unix.cpp:320
#9  0x00007f05613e5a3f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f055fd3067d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f0563eac760 (LWP 2915)):
#0  0x00007f05613ea38c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f056167677b in wait (this=<value optimized out>, mutex=0x316e6e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x316e6e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f0561675810 in QThread::wait (this=<value optimized out>, time=18446744073709551615) at thread/qthread_unix.cpp:722
#4  0x00007f0561733820 in QFileSystemWatcher::~QFileSystemWatcher (this=<value optimized out>, __in_chrg=<value optimized out>) at io/qfilesystemwatcher.cpp:446
#5  0x00007f05617338f9 in QFileSystemWatcher::~QFileSystemWatcher (this=0x2053060, __in_chrg=<value optimized out>) at io/qfilesystemwatcher.cpp:462
#6  0x00007f0561771a34 in QObjectPrivate::deleteChildren (this=0x2077dd0) at kernel/qobject.cpp:1955
#7  0x00007f0561776782 in QObject::~QObject (this=0x2269ef0, __in_chrg=<value optimized out>) at kernel/qobject.cpp:946
#8  0x00007f0563479e79 in ?? () from /usr/lib64/libsolid.so.4
#9  0x00007f055fc925a1 in __run_exit_handlers () from /lib64/libc.so.6
#10 0x00007f055fc925f5 in exit () from /lib64/libc.so.6
#11 0x00007f0560976f48 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:772
#12 0x00007f05620b5e28 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib64/libkdeui.so.5
#13 0x00007f055d8e378e in _XIOError () from /usr/lib64/libX11.so.6
#14 0x00007f055d8e103d in _XEventsQueued () from /usr/lib64/libX11.so.6
#15 0x00007f055d8d18df in XEventsQueued () from /usr/lib64/libX11.so.6
#16 0x00007f05609afa4c in x11EventSourceCheck (s=0x745d70) at kernel/qguieventdispatcher_glib.cpp:85
#17 0x00007f055b05f84c in g_main_context_check () from /lib64/libglib-2.0.so.0
#18 0x00007f055b060132 in ?? () from /lib64/libglib-2.0.so.0
#19 0x00007f055b060650 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#20 0x00007f056178a286 in QEventDispatcherGlib::processEvents (this=0x6e7050, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#21 0x00007f05609afbae in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#22 0x00007f056175e8d2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#23 0x00007f056175eae5 in QEventLoop::exec (this=0x7fffd7373040, flags=...) at kernel/qeventloop.cpp:201
#24 0x00007f0561762f2b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#25 0x000000000042bf45 in main (argc=5, argv=0x7fffd7373f58) at /usr/src/debug/ktorrent-4.1.0/ktorrent/main.cpp:177

Possible duplicates by query: bug 271163, bug 270127, bug 270109, bug 269612, bug 259046.

Reported using DrKonqi
Comment 1 Joris Guisson 2011-05-03 18:04:17 UTC

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