Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xiccd takes up 100% CPU #14

Open
infernix opened this issue Oct 24, 2017 · 13 comments
Open

xiccd takes up 100% CPU #14

infernix opened this issue Oct 24, 2017 · 13 comments

Comments

@infernix
Copy link

infernix commented Oct 24, 2017

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
Copy link
Author

FWIW, could be related to #9

@agalakhov
Copy link
Owner

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

@corsac-s
Copy link

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.

@dHeinemann
Copy link

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.

@agalakhov
Copy link
Owner

Please retest it with 0.3.0.

@iddqd2
Copy link

iddqd2 commented Sep 1, 2019

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

@dHeinemann
Copy link

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.

@untom
Copy link

untom commented Oct 26, 2019

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

@agalakhov
Copy link
Owner

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

@ochosi
Copy link

ochosi commented Oct 28, 2019

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

@jpfleury
Copy link

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

@agalakhov
Copy link
Owner

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.

@rnz
Copy link

rnz commented Feb 25, 2020

this is often observed after display going to sleep

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants