xiccd icon indicating copy to clipboard operation
xiccd copied to clipboard

xiccd takes up 100% CPU

Open infernix opened this issue 6 years ago • 13 comments

This happens to me a few times a week and I'm not sure why. I have a multi monitor setup.

Strace just shows

[pid  2574] poll([{fd=3, events=POLLIN}, {fd=4, events=POLLIN}], 2, -1) = 1 ([{fd=4, revents=POLLIN|POLLHUP}])

In a loop. gdb bt and bt full:

(gdb) bt
#0  0x00007f73a23de66d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f73a388e119 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f73a388e4b2 in g_main_loop_run () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x000055656f7b5f5a in  ()
#4  0x00007f73a231f2e1 in __libc_start_main (main=
    0x55656f7b5de0, argc=1, argv=0x7ffef32afe18, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffef32afe08) at ../csu/libc-start.c:291
#5  0x000055656f7b5fda in  ()
(gdb) bt  full
#0  0x00007f73a23de66d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f73a388e119 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f73a388e4b2 in g_main_loop_run () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x000055656f7b5f5a in  ()
#4  0x00007f73a231f2e1 in __libc_start_main (main=
    0x55656f7b5de0, argc=1, argv=0x7ffef32afe18, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffef32afe08) at ../csu/libc-start.c:291
        result = <optimized out>
        unwind_buf = 
              {cancel_jmp_buf = {{jmp_buf = {0, 3153315518114591741, 93894150414256, 140732978101776, 0, 0, 9148477030173668349, 9218667593766827005}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x7ffef32afe28, 0x7f73a3d7c170}, data = {prev = 0x0, cleanup = 0x0, canceltype = -215286232}}}
        not_first_call = <optimized out>
#5  0x000055656f7b5fda in  ()

There's some .xsession-errors but that might be totally unrelated:

** (xiccd:14208): CRITICAL **: unable to connect to device: Failed to connect to missing device /org/freedesktop/ColorManager/devices/xrandr_Samsung_Electric_Company_SMS27A850_H1AK500000_gerben_1000

** (xiccd:14208): CRITICAL **: unable to connect to device: Failed to connect to missing device /org/freedesktop/ColorManager/devices/xrandr_Sharp_Corporation_gerben_1000

any ideas how to diagnose this further?

infernix avatar Oct 24 '17 16:10 infernix

FWIW, could be related to #9

infernix avatar Oct 24 '17 16:10 infernix

This is likely to be fixed, please retest it and report if it works for you.

agalakhov avatar Dec 19 '18 09:12 agalakhov

Not sure if related, but I just experienced a similar issue (on a docked laptop with external screen). This is on Debian with 0.2.4.

corsac-s avatar Aug 22 '19 18:08 corsac-s

I also experienced this issue with xiccd 0.2.4 and Debian Sid. I too have a docked laptop (Lenovo X220) with external screens, but I'm not sure if that's related to the issue.

dHeinemann avatar Aug 24 '19 04:08 dHeinemann

Please retest it with 0.3.0.

agalakhov avatar Aug 24 '19 12:08 agalakhov

I also experienced this issue with xiccd 0.2.4 and Debian Sid. I too have a docked laptop (Lenovo X220) with external screens, but I'm not sure if that's related to the issue.

I am also experiencing 100% load on sid and x220 but without dock and external screens

iddqd2 avatar Sep 01 '19 17:09 iddqd2

I upgraded to 0.3.0 today and haven't encountered the issue so far. If it does pop up again, I'll report back.

dHeinemann avatar Sep 02 '19 10:09 dHeinemann

I'm on Xubuntu 19.10 and just now ran into this issue after logging out and -in again into my session, so likely this is the same bug as #9

untom avatar Oct 26 '19 08:10 untom

Do you use version 0.2 or 0.3? If it is 0.2, please upgrade.

agalakhov avatar Oct 26 '19 16:10 agalakhov

Unfortunately Ubuntu still ships version 0.2.x in its current stable release, so that's likely what @untom is seeing: https://packages.ubuntu.com/search?keywords=xiccd&searchon=names&suite=eoan&section=all

ochosi avatar Oct 28 '19 20:10 ochosi

I confirm this bug on Xubuntu 19.10 and xiccd 0.2.4-1.

jpfleury avatar Oct 31 '19 20:10 jpfleury

Please do not report this bug for 0.2 anymore. It is fixed in 0.3. Please upgrade to 0.3. Ubuntu users please file a bug for Ubuntu to upgrade 0.2 to 0.3.

agalakhov avatar Oct 31 '19 21:10 agalakhov

this is often observed after display going to sleep

rnz avatar Feb 25 '20 15:02 rnz