![]() Registered Member ![]()
|
Hey guys im having some trouble with ktorrent, its new havent got the problem until recently is there a way to see why ktorrent stops responding or crash after a while?
|
![]() Registered Member ![]()
|
Application: KTorrent (ktorrent), signal: Segmentation fault
82 T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS) [Current thread is 1 (Thread 0x7fc4cc246840 (LWP 32067))] Thread 7 (Thread 0x7fc4c54b7700 (LWP 32068)): #0 0x00000039a14d7423 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x0000003a66642d24 in g_main_context_poll (n_fds=1, fds=0x7fc4c0001110, priority=<optimized out>, timeout=-1, context=0x2730b30) at gmain.c:3405 #2 g_main_context_iterate (context=0x2730b30, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3087 #3 0x0000003a6664360d in g_main_loop_run (loop=0x2730b10) at gmain.c:3300 #4 0x0000003a696b4564 in gdbus_shared_thread_func (data=<optimized out>) at gdbusprivate.c:276 #5 0x0000003a666683a6 in g_thread_create_proxy (data=0x2730c20) at gthread.c:1955 #6 0x00000039a1807b31 in start_thread (arg=0x7fc4c54b7700) at pthread_create.c:305 #7 0x00000039a14dfd2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 6 (Thread 0x7fc4bb2fa700 (LWP 32070)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165 #1 0x0000003e816ca93a in ?? () from /usr/lib64/libQtWebKit.so.4 #2 0x0000003e816caa29 in ?? () from /usr/lib64/libQtWebKit.so.4 #3 0x00000039a1807b31 in start_thread (arg=0x7fc4bb2fa700) at pthread_create.c:305 #4 0x00000039a14dfd2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 5 (Thread 0x7fc4ac7da700 (LWP 32071)): #0 0x00000039a180a999 in __pthread_mutex_unlock_usercnt (mutex=0x7fc4b40009b8, decr=<optimized out>) at pthread_mutex_unlock.c:53 #1 __pthread_mutex_unlock (mutex=0x7fc4b40009b8) at pthread_mutex_unlock.c:298 #2 0x0000003a66641313 in g_main_context_acquire (context=0x7fc4b40009b0) at gmain.c:2542 #3 0x0000003a66642b41 in g_main_context_iterate (context=0x7fc4b40009b0, block=1, dispatch=1, self=<optimized out>) at gmain.c:3036 #4 0x0000003a6664325c in g_main_context_iteration (context=0x7fc4b40009b0, may_block=1) at gmain.c:3155 #5 0x00000035125853e6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #6 0x0000003512559df2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #7 0x0000003512559fef in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #8 0x000000351247207f in QThread::exec() () from /usr/lib64/libQtCore.so.4 #9 0x0000003512474af5 in ?? () from /usr/lib64/libQtCore.so.4 #10 0x00000039a1807b31 in start_thread (arg=0x7fc4ac7da700) at pthread_create.c:305 #11 0x00000039a14dfd2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 4 (Thread 0x7fc490c44700 (LWP 32082)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:219 #1 0x0000003512473dd8 in ?? () from /usr/lib64/libQtCore.so.4 #2 0x0000003512474210 in QThread::msleep(unsigned long) () from /usr/lib64/libQtCore.so.4 #3 0x0000003e7c477048 in update (this=0x26b9f90) at /usr/src/debug/libktorrent-1.1.2/src/net/downloadthread.cpp:91 #4 net::DownloadThread::update (this=0x26b9f90) at /usr/src/debug/libktorrent-1.1.2/src/net/downloadthread.cpp:46 #5 0x0000003e7c477079 in net::NetworkThread::run (this=0x26b9f90) at /usr/src/debug/libktorrent-1.1.2/src/net/networkthread.cpp:48 #6 0x0000003512474af5 in ?? () from /usr/lib64/libQtCore.so.4 #7 0x00000039a1807b31 in start_thread (arg=0x7fc490c44700) at pthread_create.c:305 #8 0x00000039a14dfd2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 3 (Thread 0x7fc48bfff700 (LWP 32083)): #0 net::UploadThread::waitForSocketsReady (this=0x26b9400) at /usr/src/debug/libktorrent-1.1.2/src/net/uploadthread.cpp:122 #1 0x0000003e7c476766 in net::UploadThread::update (this=0x26b9400) at /usr/src/debug/libktorrent-1.1.2/src/net/uploadthread.cpp:45 #2 0x0000003e7c477079 in net::NetworkThread::run (this=0x26b9400) at /usr/src/debug/libktorrent-1.1.2/src/net/networkthread.cpp:48 #3 0x0000003512474af5 in ?? () from /usr/lib64/libQtCore.so.4 #4 0x00000039a1807b31 in start_thread (arg=0x7fc48bfff700) at pthread_create.c:305 #5 0x00000039a14dfd2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 2 (Thread 0x7fc48b7fe700 (LWP 32084)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165 #1 0x0000003512474f8b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/libQtCore.so.4 #2 0x0000003e7c479c1a in net::ReverseResolverThread::run (this=0x6363fc0) at /usr/src/debug/libktorrent-1.1.2/src/net/reverseresolver.cpp:123 #3 0x0000003512474af5 in ?? () from /usr/lib64/libQtCore.so.4 #4 0x00000039a1807b31 in start_thread (arg=0x7fc48b7fe700) at pthread_create.c:305 #5 0x00000039a14dfd2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115 Thread 1 (Thread 0x7fc4cc246840 (LWP 32067)): [KCrash Handler] #6 0x0000003e794abe70 in ?? () from /usr/lib64/libQtNetwork.so.4 #7 0x0000003e794ae748 in ?? () from /usr/lib64/libQtNetwork.so.4 #8 0x0000003e794bfefd in QAbstractSocket::waitForBytesWritten(int) () from /usr/lib64/libQtNetwork.so.4 #9 0x0000003e7b6c47d2 in KIO::SocketConnectionBackend::sendCommand (this=0x37e9d00, task=...) at /usr/src/debug/kdelibs-4.6.5/kio/kio/connection.cpp:294 #10 0x0000003e7b6c5b2f in sendnow (data=..., _cmd=85, this=0x623f250) at /usr/src/debug/kdelibs-4.6.5/kio/kio/connection.cpp:505 #11 KIO::Connection::sendnow (this=0x623f250, _cmd=85, data=...) at /usr/src/debug/kdelibs-4.6.5/kio/kio/connection.cpp:493 #12 0x0000003e7b6c6ee6 in dequeue (this=<optimized out>) at /usr/src/debug/kdelibs-4.6.5/kio/kio/connection.cpp:78 #13 KIO::ConnectionPrivate::dequeue (this=0x6429dd0) at /usr/src/debug/kdelibs-4.6.5/kio/kio/connection.cpp:71 #14 0x0000003e7b78ec34 in KIO::Slave::accept (this=0x50a6760) at /usr/src/debug/kdelibs-4.6.5/kio/kio/slave.cpp:120 #15 0x0000003e7b78fa34 in KIO::Slave::qt_metacall (this=0x50a6760, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff53988990) at /usr/src/debug/kdelibs-4.6.5/x86_64-redhat-linux-gnu/kio/slave.moc:81 #16 0x000000351256d59a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4 #17 0x0000003e7b6c6440 in KIO::ConnectionServer::qt_metacall (this=0x5c43430, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdelibs-4.6.5/x86_64-redhat-linux-gnu/kio/connection.moc:146 #18 0x000000351256d59a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4 #19 0x0000003e7b6c634c in KIO::AbstractConnectionBackend::qt_metacall (this=0x649b4b0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff53988b80) at /usr/src/debug/kdelibs-4.6.5/x86_64-redhat-linux-gnu/kio/connection_p.moc:78 #20 0x0000003e7b6c6398 in KIO::SocketConnectionBackend::qt_metacall (this=0x649b4b0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdelibs-4.6.5/x86_64-redhat-linux-gnu/kio/connection_p.moc:153 #21 0x000000351256d59a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4 #22 0x0000003e799bb9aa in KLocalSocketServer::incomingConnection (this=0x6263580, descriptor=1183) at /usr/src/debug/kdelibs-4.6.5/kdecore/network/klocalsocket.cpp:212 #23 0x0000003e79a29c5b in KLocalSocketServerPrivate::processSocketActivity (this=0x5f873f0) at /usr/src/debug/kdelibs-4.6.5/kdecore/network/klocalsocket_unix.cpp:394 #24 0x0000003e799bb8f2 in KLocalSocketServer::qt_metacall (this=0x6263580, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdelibs-4.6.5/x86_64-redhat-linux-gnu/kdecore/klocalsocket.moc:140 #25 0x000000351256d59a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4 #26 0x00000035125b658e in QSocketNotifier::activated(int) () from /usr/lib64/libQtCore.so.4 #27 0x00000035125752eb in QSocketNotifier::event(QEvent*) () from /usr/lib64/libQtCore.so.4 #28 0x0000003513dbcc64 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #29 0x0000003513dc1af1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #30 0x0000000000439a01 in kt::App::notify (this=<optimized out>, receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/ktorrent-4.1.2/ktorrent/app.cpp:99 #31 0x000000351255a8dc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4 #32 0x0000003512584a97 in ?? () from /usr/lib64/libQtCore.so.4 #33 0x0000003a666427ed in g_main_dispatch (context=0x26edf40) at gmain.c:2441 #34 g_main_context_dispatch (context=0x26edf40) at gmain.c:3014 #35 0x0000003a66642fc8 in g_main_context_iterate (context=0x26edf40, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3092 #36 0x0000003a6664325c in g_main_context_iteration (context=0x26edf40, may_block=1) at gmain.c:3155 #37 0x000000351258537f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #38 0x0000003513e5fc0e in ?? () from /usr/lib64/libQtGui.so.4 #39 0x0000003512559df2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #40 0x0000003512559fef in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4 #41 0x000000351255e107 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4 #42 0x0000000000428472 in main (argc=5, argv=0x7fff5398a508) at /usr/src/debug/ktorrent-4.1.2/ktorrent/main.cpp:177 this is the debug info i get |
![]() Moderator ![]()
|
|
![]() Registered Member ![]()
|
|
![]() Registered Member ![]()
|
does the amount of torrents open effect the stability of ktorrent?, always ran 30 only now that its crashes or just hangs the client
|
![]() Moderator ![]()
|
Normally the amount shouldn't matter, it's just that a combination of many torrents with many files and many network connections can lead to problems where ktorrent hits the system limits on open files. Which can have unexpected consequences in libraries which ktorrent uses. But this should be properly resolved in 4.2.
The crash happens in KDE's KIO library. Can you still reproduce it if you enable "Do not use KIO for tracker announces" in the advanced settings ? |
Registered users: Bing [Bot], daret, Google [Bot], sandyvee, Sogou [Bot]