linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #06197
[Bug 1035911] Re: LinuxDC++ window never paints; 100% cpu
[Expired for LinuxDC++ because there has been no activity for 60 days.]
** Changed in: linuxdcpp
Status: Incomplete => Expired
--
You received this bug notification because you are a member of LinuxDC++
Team, which is subscribed to LinuxDC++.
https://bugs.launchpad.net/bugs/1035911
Title:
LinuxDC++ window never paints; 100% cpu
Status in Linux DC++:
Expired
Bug description:
On starting LinuxDC++, I see the main window appear white; it never
paints. The linuxdcpp process also uses 100% (actually around 150%
according to top :/ ) CPU. I believe this is different to #966852, as
I never see the thing load, even if I leave it for days (it's sitting
on a NAS so can potter away undisturbed by me).
What's strange, is that it's normally run under user "dcpp". Even if I
delete the directory /home/dcpp/.dc++, the problem still occurs.
HOWEVER, if I run it via sux as my day-to-day user "jarrad", it runs
fine. Copying jarrad's ~/.dc++ over to dcpp's home does not change
anything.
I'm running under Debian Testing, and this problem occurs with
versions from 1.0 up through to current oneiric trunk. I've also tried
compiling the package from source to no avail. Backtrace below (I left
about 40 seconds after [Thread 0x7fffed56e700 (LWP 2228) exited]
before I SIGINTed). It seems to be hanging somewhere in kernel
threading stuff via gtk - I'm not experienced enough to interpret this
any further.
Starting program: /usr/bin/linuxdcpp
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Thrown: FileException: No such file or directory
Thrown: FileException: No such file or directory
Xlib: extension "RANDR" missing on display ":14".
Thrown: FileException: No such file or directory
Thrown: FileException: No such file or directory
Thrown: FileException: No such file or directory
FavoriteManager::load: FileException: No such file or directory
[New Thread 0x7fffef90f700 (LWP 2223)]
Thrown: FileException: No such file or directory
Thrown: FileException: No such file or directory
FileException: No such file or directory
[New Thread 0x7fffef10e700 (LWP 2224)]
[Thread 0x7fffef10e700 (LWP 2224) exited]
[New Thread 0x7fffef10e700 (LWP 2225)]
Thrown: FileException: No such file or directory
[New Thread 0x7fffee90d700 (LWP 2226)]
[New Thread 0x7fffee10c700 (LWP 2227)]
[New Thread 0x7fffed56e700 (LWP 2228)]
[New Thread 0x7fffecd6d700 (LWP 2229)]
MainWindow::createIPCPipe(): Pipepath /home/dcpp/.dc++/linuxdcpp.pipe
Stale pipe detected. Unlinking...
[New Thread 0x7fffe7b8e700 (LWP 2230)]
[New Thread 0x7fffe738d700 (LWP 2231)]
[New Thread 0x7fffe6b8c700 (LWP 2232)]
[Thread 0x7fffecd6d700 (LWP 2229) exited]
[Thread 0x7fffed56e700 (LWP 2228) exited]
^C
Program received signal SIGINT, Interrupt.
0x00007ffff7bcecec in __lll_lock_wait () from /lib/x86_64-linux-gnu/libpthread.so.0
(gdb) info threads
Id Target Id Frame
11 Thread 0x7fffe6b8c700 (LWP 2232) "linuxdcpp" 0x00007ffff7bcf543 in recvfrom () from /lib/x86_64-linux-gnu/libpthread.so.0
10 Thread 0x7fffe738d700 (LWP 2231) "linuxdcpp" 0x00007ffff4d1c1d3 in select () from /lib/x86_64-linux-gnu/libc.so.6
9 Thread 0x7fffe7b8e700 (LWP 2230) "linuxdcpp" 0x00007ffff4d1c1d3 in select () from /lib/x86_64-linux-gnu/libc.so.6
6 Thread 0x7fffee10c700 (LWP 2227) "linuxdcpp" 0x00007ffff7bcc2d4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
5 Thread 0x7fffee90d700 (LWP 2226) "linuxdcpp" 0x00007ffff4d6f448 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
4 Thread 0x7fffef10e700 (LWP 2225) "linuxdcpp" 0x00007ffff7bcecec in __lll_lock_wait () from /lib/x86_64-linux-gnu/libpthread.so.0
2 Thread 0x7fffef90f700 (LWP 2223) "linuxdcpp" 0x00007ffff7bcc2d4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
* 1 Thread 0x7ffff7fd0940 (LWP 2220) "linuxdcpp" 0x00007ffff7bcecec in __lll_lock_wait () from /lib/x86_64-linux-gnu/libpthread.so.0
(gdb) help info thread
Display currently known threads.
Usage: info threads [ID]...
Optional arguments are thread IDs with spaces between.
If no arguments, all threads are displayed.
(gdb) info thread 11
Id Target Id Frame
11 Thread 0x7fffe6b8c700 (LWP 2232) "linuxdcpp" 0x00007ffff7bcf543 in recvfrom () from /lib/x86_64-linux-gnu/libpthread.so.0
(gdb) bt
#0 0x00007ffff7bcecec in __lll_lock_wait () from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x00007ffff7bca36f in _L_lock_1145 () from /lib/x86_64-linux-gnu/libpthread.so.0
#2 0x00007ffff7bca2ba in pthread_mutex_lock () from /lib/x86_64-linux-gnu/libpthread.so.0
#3 0x00007ffff57f61b1 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007ffff61641b6 in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#5 0x00007ffff57ba205 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6 0x00007ffff57ba538 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7 0x00007ffff57ba932 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8 0x00007ffff647f5fb in gtk_dialog_run () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#9 0x000000000042288d in DialogEntry::run (this=0x8363e0) at linux/dialogentry.cc:58
#10 0x00000000004671dd in MainWindow::onPreferencesClicked_gui (widget=<optimized out>, data=0x67aeb0) at linux/mainwindow.cc:1010
#11 0x000000000046a852 in MainWindow::show (this=0x67aeb0) at linux/mainwindow.cc:255
#12 0x00000000004cf41c in WulforManager::start () at linux/wulformanager.cc:40
#13 0x00000000004121b0 in main (argc=1, argv=0x7fffffffec08) at linux/wulfor.cc:248
Oprofile shows a vdso from tgid 2220 using the majority of linuxdcpp's time, with main::on() the next.
Happy to provide more info, but you'll have to walk me through it as
this is about the limit of my expertise.
Jarrad Whitaker
To manage notifications about this bug go to:
https://bugs.launchpad.net/linuxdcpp/+bug/1035911/+subscriptions
References