Dan Sully;135329 Wrote: 
> * Steve Bernard, Jr shaped the electrons to say...
> 
> >this legwork.  I've been trying to track it down myself for a while.
> >I did notice it seemed to happen much more often on Debian-based
> Linux
> >distros than it did when I tried Fedora (but it still happened once
> in
> >a while).
> 
> Does this patch fix the issue?
> 
> -D
> 

Sorry for not following up, but good to know I'm not the only one with
this issue.

Yeah, that's exactly the change I made (with the necessary declaration
of EINTR). I've been running it for the past couple of days, and it
seems swell.

For the curious: I think the underlying cause is that slimserver tries
to read from the decoder pipe before the process on the other end is
fully established. Then when the pipe does come ready, it causes the
sysread() to be interrupted. Why this happens more on Debian, I don't
know, but it's a legitimate Linux system call error case. The right
response in this situation is just to retry the call.

--Andy


-- 
av249
------------------------------------------------------------------------
av249's Profile: http://forums.slimdevices.com/member.php?userid=7381
View this thread: http://forums.slimdevices.com/showthread.php?t=27190

_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/beta

Reply via email to