[Xcb] [Bug 45776] all X programs hanging in libxcb on GNU/kFreeBSD
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Feb 8 11:43:43 PST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=45776
--- Comment #3 from Julien Cristau <jcristau at debian.org> 2012-02-08 11:43:43 PST ---
> --- Comment #2 from Christoph Egger <christoph at debian.org> 2012-02-08 11:30:26 PST ---
> Hi!
>
> I the following patch fixes the problem for me (as well does reverting from
> recv to read. I'll see if I can work out why it fails here without the patch
> with debian-bsd at lists.debian.org folks.
>
> recv seems to fail (loop) with "Resource temporarily unavailable" (ret=-1,
> errno=35) according to ktrace
>
> http://people.debian.org/~christoph/libxcb.diff
>
The MSG_WAITALL addition looks very wrong to me. The commit message
doesn't explain it, and it's replacing a plain read() which should be
equivalent to a recv() with flags == 0, *not* MSG_WAITALL.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the Xcb
mailing list