Subject: Re: compat_linux/i386 broken for x11 programs
To: Johnny Billquist <bqt@softjar.se>
From: Kurt Schreiner <ks@ub.uni-mainz.de>
List: current-users
Date: 06/04/2007 11:47:04
On Mon, Jun 04, 2007 at 10:27:58AM +0200, Johnny Billquist wrote:
> Kurt Schreiner skrev:
> > Hi,
> > 
> > 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...)
> 
> Hint: read the man-page for select() once more. :-)
> That's not fd 8.
Thanks, I stand corrected - and will read manuals once more before posting
rubbish early in the morning without having had enough coffee... ;-)

That aside (and two cups of coffee later ;-) here's the trace from acroread:

  1515      1 acroread CALL  read(3,0xbfbfe604,8)
  1515      1 acroread RET   read -1 errno -11 Resource temporarily unavailable
  1515      1 acroread CALL  select(4,0xbfbfe43c,0,0,0)
  1515      1 acroread RET   select -1 errno -22 Invalid argument

Again select produces the error message...

Kurt