[Bug 454740] Re: xastir consumes CPU time in X11 socket I/O

Kamal Mostafa kamal at whence.com
Tue Dec 29 21:46:37 UTC 2009


The problem still occurs in the latest upstream version xastir-1.9.6 (
available for testing in my PPA:
https://launchpad.net/~kamalmostafa/+archive/xastir ).

Strace on xastir-1.9.6 shows this sequence spinning hard:

sched_yield()                           = 0
sched_yield()                           = 0
read(5, 0x1694914, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
read(5, 0x1694914, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN|POLLPRI}], 2, 9) = 0 (Timeout)
poll([{fd=6, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
read(5, 0x1694914, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
read(5, 0x1694914, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=5, events=POLLIN}, {fd=6, events=POLLIN|POLLPRI}], 2, 0) = 0 (Timeout)
poll([{fd=6, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
[...]

-- 
xastir consumes CPU time in X11 socket I/O
https://bugs.launchpad.net/bugs/454740
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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




More information about the universe-bugs mailing list