Re: MATLAB R2007a, Leopard and X11
Re: MATLAB R2007a, Leopard and X11
- Subject: Re: MATLAB R2007a, Leopard and X11
- From: Ben Byer <email@hidden>
- Date: Mon, 12 Nov 2007 15:24:56 -0800
On Nov 11, 2007, at 10:56 PM, Anton Rang wrote:
On Nov 11, 2007, at 11:18 PM, Ben Byer wrote:
The easiest way to trigger this bug is to just run "xdpyinfo;
xdpyinfo" from Terminal with X11.app *not* running. Something
about the first xdpyinfo exiting so quickly is messing this up. I
think that xauth has the same problem.
dtruss in this case seems to indicate that the X server is going
into an infinite loop trying to select() on a bad file descriptor:
1816/0x6940e40: select(0xFF, 0x218E00, 0x0, 0x0, 0xB00BBA14) = -1
Err#9
1816/0x6940e40: select(0xFF, 0x218E00, 0x0, 0x0, 0xB00BBA14) = -1
Err#9
...
I think it might be looping in WaitForSomething, but gdb seems a
little confused when I try to look at the thread stacks.
Interesting. Yes, it's definitely looping in WaitForSomething, but
when I single-step through gdb, select() returns 1, not -1. I'm
rebuilding the server with SMART_SCHEDULE disabled to see if that
helps (it shouldn't...)
--
Ben Byer
CoreOS / BSD Technology Group, XDarwin maintainer
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden