Subject: Re: compat_linux/i386 broken for x11 programs
To: Kurt Schreiner <ks@ub.uni-mainz.de>
From: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
List: current-users
Date: 06/04/2007 10:30:46
On Mon, Jun 04, 2007 at 10:17:49AM +0200, Kurt Schreiner wrote:
> Hi,
>
> On Mon, Jun 04, 2007 at 10:02:25AM +0200, Markus W Kilbinger wrote:
> > Hi!
> >
> > -current source changes between 2007-06-02 06:00 UTC and 2007-06-03
> > 18:00 UTC seem to break compat_linux on both of my i386 machines for
> > x11 programs (acroread, firefox-bin):
> >
> > $ acroread
> > acroread: Fatal IO error 22 (Invalid argument) on X server :0.0.
> >
> > Reverting to a kernel based on -current sources directly before
> > 2007-06-02 06:00 UTC makes these linux binaries run fine.
> >
> > Does anybody else see this?
> Hm, maybe this is related:
>
> >-1007: ktrace -i ./vmware-server-console
> vmware-server-console: Fatal IO error 22 (Invalid argument) on X server localhost:10.1.
> vmware-server-console: Fatal IO error 22 (Invalid argument) on X server localhost:10.1.
>
> and from the trace:
>
> 463 1 vmware-server-co CALL read(7,0xbfbf7104,8)
> 463 1 vmware-server-co RET read -1 errno -11 Resource temporarily unavailable
> 463 1 vmware-server-co CALL select(8,0xbfbf6f3c,0,0,0)
> 463 1 vmware-server-co RET select -1 errno -22 Invalid argument
> 463 1 vmware-server-co CALL open(0x886cf28,0x8000,0x1b6)
>
> Why uses select fd 8? (Which is closed somewhere above and has nothing
> to do at all with the display file descriptor...)
Man select(2):
int
select(int nfds, fd_set * restrict readfds, fd_set * restrict writefds,
fd_set * restrict exceptfds, struct timeval * restrict timeout)
so this is calling for eight read descriptors at 0xbfbf6f3c.
--
Juergen Hannken-Illjes - hannken@eis.cs.tu-bs.de - TU Braunschweig (Germany)