I just tried to strace urfkilld and it loops all the time on this
syscalls:

10945 read(3, "\2\0\0\0\0\0\0\0", 16)   = 8
10945 write(3, "\1\0\0\0\0\0\0\0", 8)   = 8
10945 read(11, 0x7f5bdff4bf60, 1024)    = -1 ENODEV (No such device)
10945 write(3, "\1\0\0\0\0\0\0\0", 8)   = 8
10945 poll([{fd=3, events=POLLIN}, {fd=8, events=POLLIN}, {fd=11, 
events=POLLIN}], 3, 4294967295) = 2 ([{fd=3, revents=POLLIN}, {fd=11, 
revents=POLLIN|POLLERR|POLLHUP}])

These are the FD open for that PID:

$ sudo ls -l /proc/10945/fd
total 0
lrwx------ 1 root root 64 nov 20 15:39 0 -> /dev/null
lrwx------ 1 root root 64 nov 20 15:39 1 -> /dev/pts/3
lrwx------ 1 root root 64 nov 20 15:39 10 -> /dev/rfkill
lr-x------ 1 root root 64 nov 20 15:39 11 -> /dev/input/event4 (deleted)
lrwx------ 1 root root 64 nov 20 20:06 12 -> /dev/rfkill
lrwx------ 1 root root 64 nov 20 15:39 2 -> /dev/pts/3
lrwx------ 1 root root 64 nov 20 15:39 3 -> anon_inode:[eventfd]
lrwx------ 1 root root 64 nov 20 15:39 4 -> anon_inode:[eventfd]
lrwx------ 1 root root 64 nov 20 15:39 5 -> socket:[203561]
lrwx------ 1 root root 64 nov 20 15:39 6 -> socket:[203562]
lrwx------ 1 root root 64 nov 20 15:39 7 -> anon_inode:[eventfd]
lrwx------ 1 root root 64 nov 20 15:39 8 -> /dev/rfkill
lrwx------ 1 root root 64 nov 20 15:39 9 -> /dev/rfkill

Hope this helps!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1385641

Title:
  urfkilld use 100% cpu after resume

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/urfkill/+bug/1385641/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to