Ubuntu

Comment 2 for bug 454740

Kamal Mostafa (kamalmostafa) wrote :

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)
[...]