• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: MATLAB R2007a, Leopard and X11
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >MATLAB R2007a, Leopard and X11 (From: "Andrew J. Hesford" <email@hidden>)
 >Re: MATLAB R2007a, Leopard and X11 (From: Ben Byer <email@hidden>)
 >Re: MATLAB R2007a, Leopard and X11 (From: Anton Rang <email@hidden>)

  • Prev by Date: iokit subdir
  • Next by Date: xterm and UTF-8
  • Previous by thread: Re: MATLAB R2007a, Leopard and X11
  • Next by thread: System Log Sputum
  • Index(es):
    • Date
    • Thread