This forum has been archived. All content is frozen. Please use KDE Discuss instead.

ktorrent 4.0.1 and constant crashes on Archlinux 686

Tags: None
(comma "," separated)
arch2009
Registered Member
Posts
3
Karma
0
on my config, ktorrent can't usually stay up for more than a few minutes... :(
ktorrent 4.0.1
kde 4.4.4
kernel 2.6.34-ARCH
hope I can help by posting the backtrace:

Code: Select all
Application: KTorrent (ktorrent), signal: Aborted
[Current thread is 1 (Thread 0xb4f7c710 (LWP 617))]

Thread 6 (Thread 0xb2effb70 (LWP 619)):
#0  0xb784b424 in __kernel_vsyscall ()
#1  0xb5e541f1 in select () from /lib/libc.so.6
#2  0xb777f72b in ?? () from /usr/lib/libktorrent.so.2
#3  0xb6acc32e in ?? () from /usr/lib/libQtCore.so.4
#4  0xb6a59e60 in start_thread () from /lib/libpthread.so.0
#5  0xb5e5b20e in clone () from /lib/libc.so.6

Thread 5 (Thread 0xa4afab70 (LWP 638)):
#0  0xb7723ac2 in ?? () from /usr/lib/libktorrent.so.2
#1  0xb7723bff in ?? () from /usr/lib/libktorrent.so.2
#2  0xb7723e98 in ?? () from /usr/lib/libktorrent.so.2
#3  0xb6acc32e in ?? () from /usr/lib/libQtCore.so.4
#4  0xb6a59e60 in start_thread () from /lib/libpthread.so.0
#5  0xb5e5b20e in clone () from /lib/libc.so.6

Thread 4 (Thread 0xa42f9b70 (LWP 639)):
#0  0xb784b424 in __kernel_vsyscall ()
#1  0xb6a5e7a4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb6acc0d1 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb6acc213 in QThread::msleep(unsigned long) () from /usr/lib/libQtCore.so.4
#4  0xb77235d2 in ?? () from /usr/lib/libktorrent.so.2
#5  0xb7723e98 in ?? () from /usr/lib/libktorrent.so.2
#6  0xb6acc32e in ?? () from /usr/lib/libQtCore.so.4
#7  0xb6a59e60 in start_thread () from /lib/libpthread.so.0
#8  0xb5e5b20e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xa3af8b70 (LWP 640)):
#0  0xb784b424 in __kernel_vsyscall ()
#1  0xb5e50e26 in poll () from /lib/libc.so.6
#2  0xb1e8c8e0 in ?? () from /lib/libresolv.so.2
#3  0xb1e8a883 in __libc_res_nquery () from /lib/libresolv.so.2
#4  0xb1e9bd91 in _nss_dns_gethostbyaddr2_r () from /lib/libnss_dns.so.2
#5  0xb1e9befa in _nss_dns_gethostbyaddr_r () from /lib/libnss_dns.so.2
#6  0xb5e7278f in gethostbyaddr_r () from /lib/libc.so.6
#7  0xb5e7add3 in getnameinfo () from /lib/libc.so.6
#8  0xb7726a70 in ?? () from /usr/lib/libktorrent.so.2
#9  0xb7726af3 in ?? () from /usr/lib/libktorrent.so.2
#10 0xb7726e04 in ?? () from /usr/lib/libktorrent.so.2
#11 0xb6acc32e in ?? () from /usr/lib/libQtCore.so.4
#12 0xb6a59e60 in start_thread () from /lib/libpthread.so.0
#13 0xb5e5b20e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xafdfeb70 (LWP 2538)):
[KCrash Handler]
#6  0xb784b424 in __kernel_vsyscall ()
#7  0xb5db6d61 in raise () from /lib/libc.so.6
#8  0xb5db85ee in abort () from /lib/libc.so.6
#9  0xb5319e57 in g_logv () from /usr/lib/libglib-2.0.so.0
#10 0xb5319e86 in g_log () from /usr/lib/libglib-2.0.so.0
#11 0xb530dd3b in g_main_context_init_pipe () from /usr/lib/libglib-2.0.so.0
#12 0xb530e134 in g_main_context_new () from /usr/lib/libglib-2.0.so.0
#13 0xb6be8cbe in QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*) () from /usr/lib/libQtCore.so.4
#14 0xb6be8d5b in QEventDispatcherGlib::QEventDispatcherGlib(QObject*) () from /usr/lib/libQtCore.so.4
#15 0xb6acb64b in ?? () from /usr/lib/libQtCore.so.4
#16 0xb6acc305 in ?? () from /usr/lib/libQtCore.so.4
#17 0xb6a59e60 in start_thread () from /lib/libpthread.so.0
#18 0xb5e5b20e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb4f7c710 (LWP 617)):
#0  0xb784b424 in __kernel_vsyscall ()
#1  0xb6a5e3fc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb6acc9cf in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#3  0xb6ac1a9b in ?? () from /usr/lib/libQtCore.so.4
#4  0xb6ac2f70 in QThreadPool::~QThreadPool() () from /usr/lib/libQtCore.so.4
#5  0xb6f81e41 in ?? () from /usr/lib/libQtNetwork.so.4
#6  0xb6f820d2 in ?? () from /usr/lib/libQtNetwork.so.4
#7  0xb6f82afa in ?? () from /usr/lib/libQtNetwork.so.4
#8  0xb5db9ddf in ?? () from /lib/libc.so.6
#9  0xb5db9e3f in exit () from /lib/libc.so.6
#10 0xb619e99b in ?? () from /usr/lib/libQtGui.so.4
#11 0xb71daf5a in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib/libkdeui.so.5
#12 0xb71daf96 in kde_xio_errhandler () from /usr/lib/libkdeui.so.5
#13 0xb56bfe26 in _XIOError () from /usr/lib/libX11.so.6
#14 0xb56c6f7f in _XEventsQueued () from /usr/lib/libX11.so.6
#15 0xb56b01cb in XEventsQueued () from /usr/lib/libX11.so.6
#16 0xb61d8f95 in ?? () from /usr/lib/libQtGui.so.4
#17 0xb5310be7 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#18 0xb531151a in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#19 0xb5311a04 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#20 0xb6be8e7c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#21 0xb61d91b5 in ?? () from /usr/lib/libQtGui.so.4
#22 0xb6bbd119 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#23 0xb6bbd38a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#24 0xb6bc1c6f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#25 0xb612a637 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#26 0x08066e51 in _start ()

Thank you :)
arch2009
Registered Member
Posts
3
Karma
0
new crash
(backtrace with GDB):

Code: Select all
GLib-ERROR **: Cannot create pipe main loop wake-up: Too many open files

aborting...

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xa7591b70 (LWP 20792)]
0xb7fe1424 in __kernel_vsyscall ()
(gdb) thread apply all backtrace

Thread 55 (Thread 0xa7591b70 (LWP 20792)):
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0xb654cd61 in raise () from /lib/libc.so.6
#2  0xb654e5ee in abort () from /lib/libc.so.6
#3  0xb5aafe57 in g_logv () from /usr/lib/libglib-2.0.so.0
#4  0xb5aafe86 in g_log () from /usr/lib/libglib-2.0.so.0
#5  0xb5aa3d3b in g_main_context_init_pipe () from /usr/lib/libglib-2.0.so.0
#6  0xb5aa4134 in g_main_context_new () from /usr/lib/libglib-2.0.so.0
#7  0xb737ecbe in QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*) () from /usr/lib/libQtCore.so.4
#8  0xb737ed5b in QEventDispatcherGlib::QEventDispatcherGlib(QObject*) ()
   from /usr/lib/libQtCore.so.4
#9  0xb726164b in ?? () from /usr/lib/libQtCore.so.4
#10 0xb7262305 in ?? () from /usr/lib/libQtCore.so.4
#11 0xb71efe60 in start_thread () from /lib/libpthread.so.0
#12 0xb65f120e in clone () from /lib/libc.so.6

Thread 54 (Thread 0xa7d92b70 (LWP 20791)):
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0xb71f7069 in __lll_lock_wait () from /lib/libpthread.so.0
#2  0xb71f241b in _L_lock_517 () from /lib/libpthread.so.0
#3  0xb71f2241 in pthread_mutex_lock () from /lib/libpthread.so.0
#4  0xb5ac556d in g_slice_alloc () from /usr/lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#5  0xb5aca1fb in g_string_sized_new () from /usr/lib/libglib-2.0.so.0
#6  0xb5aaeec2 in g_log_default_handler () from /usr/lib/libglib-2.0.so.0
#7  0xb5aafa6e in g_logv () from /usr/lib/libglib-2.0.so.0
#8  0xb5aafe86 in g_log () from /usr/lib/libglib-2.0.so.0
#9  0xb5aa3d3b in g_main_context_init_pipe () from /usr/lib/libglib-2.0.so.0
#10 0xb5aa4134 in g_main_context_new () from /usr/lib/libglib-2.0.so.0
#11 0xb737ecbe in QEventDispatcherGlibPrivate::QEventDispatcherGlibPrivate(_GMainContext*) () from /usr/lib/libQtCore.so.4
#12 0xb737ed5b in QEventDispatcherGlib::QEventDispatcherGlib(QObject*) ()
   from /usr/lib/libQtCore.so.4
#13 0xb726164b in ?? () from /usr/lib/libQtCore.so.4
#14 0xb7262305 in ?? () from /usr/lib/libQtCore.so.4
#15 0xb71efe60 in start_thread () from /lib/libpthread.so.0
#16 0xb65f120e in clone () from /lib/libc.so.6

Thread 53 (Thread 0xb05feb70 (LWP 20790)):
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0xb65edae8 in mmap () from /lib/libc.so.6
#2  0xb657e576 in _IO_file_doallocate () from /lib/libc.so.6
#3  0xb658c43d in _IO_doallocbuf () from /lib/libc.so.6
#4  0xb658b355 in _IO_file_underflow () from /lib/libc.so.6
#5  0xb658c49b in _IO_default_uflow () from /lib/libc.so.6
#6  0xb658c298 in __uflow () from /lib/libc.so.6
#7  0xb658005c in _IO_getline_info () from /lib/libc.so.6
---Type <return> to continue, or q <return> to quit---
#8  0xb657ffa1 in _IO_getline () from /lib/libc.so.6
#9  0xb6589216 in fgets_unlocked () from /lib/libc.so.6
#10 0xb5543fa2 in ?? () from /lib/libnss_files.so.2
#11 0xb5544c97 in _nss_files_gethostbyname2_r () from /lib/libnss_files.so.2
#12 0xb6608f7d in gethostbyname2_r () from /lib/libc.so.6
#13 0xb65d8f06 in ?? () from /lib/libc.so.6
#14 0xb65dab1b in getaddrinfo () from /lib/libc.so.6
#15 0xb75c94e7 in (anonymous namespace)::GetAddrInfoThread::run() ()
   from /usr/lib/libkdecore.so.5
#16 0xb75c7813 in KNetwork::Internal::KResolverThread::run() ()
   from /usr/lib/libkdecore.so.5
#17 0xb726232e in ?? () from /usr/lib/libQtCore.so.4
#18 0xb71efe60 in start_thread () from /lib/libpthread.so.0
#19 0xb65f120e in clone () from /lib/libc.so.6

Thread 52 (Thread 0xa658fb70 (LWP 20746)):
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0xb71f47a4 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#2  0xb726294f in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/libQtCore.so.4
#3  0xb72584c9 in ?? () from /usr/lib/libQtCore.so.4
#4  0xb726232e in ?? () from /usr/lib/libQtCore.so.4
#5  0xb71efe60 in start_thread () from /lib/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#6  0xb65f120e in clone () from /lib/libc.so.6

Thread 51 (Thread 0xb0dffb70 (LWP 20745)):
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0xb71f47a4 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#2  0xb726294f in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/libQtCore.so.4
#3  0xb72584c9 in ?? () from /usr/lib/libQtCore.so.4
#4  0xb726232e in ?? () from /usr/lib/libQtCore.so.4
#5  0xb71efe60 in start_thread () from /lib/libpthread.so.0
#6  0xb65f120e in clone () from /lib/libc.so.6

Thread 50 (Thread 0xaf9d2b70 (LWP 20698)):
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0xb71f47a4 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#2  0xb726294f in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/libQtCore.so.4
#3  0xb72584c9 in ?? () from /usr/lib/libQtCore.so.4
#4  0xb726232e in ?? () from /usr/lib/libQtCore.so.4
#5  0xb71efe60 in start_thread () from /lib/libpthread.so.0
#6  0xb65f120e in clone () from /lib/libc.so.6

---Type <return> to continue, or q <return> to quit---
Thread 49 (Thread 0xb21b6b70 (LWP 20674)):
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0xb71f47a4 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#2  0xb726294f in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /usr/lib/libQtCore.so.4
#3  0xb72584c9 in ?? () from /usr/lib/libQtCore.so.4
#4  0xb726232e in ?? () from /usr/lib/libQtCore.so.4
#5  0xb71efe60 in start_thread () from /lib/libpthread.so.0
#6  0xb65f120e in clone () from /lib/libc.so.6

Thread 16 (Thread 0xa43fdb70 (LWP 18793)):
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0xb65e6e26 in poll () from /lib/libc.so.6
#2  0xb291c8e0 in ?? () from /lib/libresolv.so.2
#3  0xb291a883 in __libc_res_nquery () from /lib/libresolv.so.2
#4  0xb292bd91 in _nss_dns_gethostbyaddr2_r () from /lib/libnss_dns.so.2
#5  0xb292befa in _nss_dns_gethostbyaddr_r () from /lib/libnss_dns.so.2
#6  0xb660878f in gethostbyaddr_r () from /lib/libc.so.6
#7  0xb6610dd3 in getnameinfo () from /lib/libc.so.6
#8  0xb7ebca70 in ?? () from /usr/lib/libktorrent.so.2
#9  0xb7ebcaf3 in ?? () from /usr/lib/libktorrent.so.2
#10 0xb7ebce04 in ?? () from /usr/lib/libktorrent.so.2
#11 0xb726232e in ?? () from /usr/lib/libQtCore.so.4
---Type <return> to continue, or q <return> to quit---
#12 0xb71efe60 in start_thread () from /lib/libpthread.so.0
#13 0xb65f120e in clone () from /lib/libc.so.6

Thread 15 (Thread 0xa4bfeb70 (LWP 18792)):
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0xb71f47a4 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#2  0xb72620d1 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb7262213 in QThread::msleep(unsigned long) ()
   from /usr/lib/libQtCore.so.4
#4  0xb7eb95d2 in ?? () from /usr/lib/libktorrent.so.2
#5  0xb7eb9e98 in ?? () from /usr/lib/libktorrent.so.2
#6  0xb726232e in ?? () from /usr/lib/libQtCore.so.4
#7  0xb71efe60 in start_thread () from /lib/libpthread.so.0
#8  0xb65f120e in clone () from /lib/libc.so.6

Thread 14 (Thread 0xa53ffb70 (LWP 18791)):
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0xb65e6e26 in poll () from /lib/libc.so.6
#2  0xb7ebd356 in net::Poll::poll(int) () from /usr/lib/libktorrent.so.2
#3  0xb7eb9b12 in ?? () from /usr/lib/libktorrent.so.2
#4  0xb7eb9bff in ?? () from /usr/lib/libktorrent.so.2
#5  0xb7eb9e98 in ?? () from /usr/lib/libktorrent.so.2
#6  0xb726232e in ?? () from /usr/lib/libQtCore.so.4
---Type <return> to continue, or q <return> to quit---
#7  0xb71efe60 in start_thread () from /lib/libpthread.so.0
#8  0xb65f120e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xb37beb70 (LWP 18772)):
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0xb65ea1f1 in select () from /lib/libc.so.6
#2  0xb7f1572b in ?? () from /usr/lib/libktorrent.so.2
#3  0xb726232e in ?? () from /usr/lib/libQtCore.so.4
#4  0xb71efe60 in start_thread () from /lib/libpthread.so.0
#5  0xb65f120e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb5712710 (LWP 18765)):
#0  0xb7ec79f1 in bt::PeerID::identifyClient() const ()
   from /usr/lib/libktorrent.so.2
#1  0xb7ec91c6 in bt::PeerID::PeerID() () from /usr/lib/libktorrent.so.2
#2  0xb7ec2ea8 in ?? () from /usr/lib/libktorrent.so.2
#3  0xb7ec020a in ?? () from /usr/lib/libktorrent.so.2
#4  0xb7ed7add in bt::PeerConnector::start(bt::PeerConnector::Method) ()
   from /usr/lib/libktorrent.so.2
#5  0xb7ed7c38 in bt::PeerConnector::start() () from /usr/lib/libktorrent.so.2
#6  0xb7ecf6ad in bt::PeerManager::connectToPeers() ()
   from /usr/lib/libktorrent.so.2
#7  0xb7eff3a3 in bt::TorrentControl::update() ()
   from /usr/lib/libktorrent.so.2
---Type <return> to continue, or q <return> to quit---
#8  0x08069a43 in _start ()
George
Moderator
Posts
5421
Karma
1
It seems you are getting XIOError's this means that ktorrent is losing it's connection with the X server.
arch2009
Registered Member
Posts
3
Karma
0
hmmm... is it a new bug? Should I post to KDE Bugzilla?

Thank You


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]