Re: MATLAB R2007a, Leopard and X11
Re: MATLAB R2007a, Leopard and X11
- Subject: Re: MATLAB R2007a, Leopard and X11
- From: "Andrew J. Hesford" <email@hidden>
- Date: Sun, 11 Nov 2007 13:00:02 -0600
I have more information on this problem. It does not seem to occur on
my G4 iBook, which has Xquartz 1.2a8 and the updated libX11. Hence,
this is either related to the Core Duo, or it is related to the GMA
950 graphics chip and drivers. Since I don't have an Intel Mac without
the GMA 950, I can't isolate the problem in this two possibilities.
Cheers,
Andrew
On Nov 11, 2007, at 11:41 AM, Andrew J. Hesford wrote:
I've noticed an issue with MATLAB R14, MATLAB R2007a, Leopard and
the new X11. The problem occurs with both the shipping version of
the Xquartz server, and version 1.2a8 from the XDarwin wiki. I've
also tried upgrading libX11, but that doesn't make a difference. I
have a 1.83 GHz Core Duo iMac with 1 GB RAM and the Intel GMA 950
(one of the original education models).
MATLAB tends to be fickle when starting with X11 in Leopard. If I
start the program once, it requests an X11 connection, and launchd
starts the X server. As long as I keep the X server running, I can
quit and relaunch MATLAB, and everything works fine.
However, if I kill the server (after quitting MATLAB) and relaunch
MATLAB, I run into problems. Launchd will restart the X server, but
the X server will not respond to any connection attempts. This
occurs whether the connection attempts come from the local or a
remote client, and whether or not MATLAB is run on the local or a
remote client. MATLAB will hang, failing to start because the X
server is responding. Xterm similarly hangs, so I get no window when
I attempt to start it.
At this point, if I kill all the clients and then kill the X server
(by selecting the dock icon and pressing Command-Q), launchd will
immediately relaunch the server. If I attempt another client connect
(such as starting an Xterm), it will again hang.
To get back functionality, I have to kill all clients, and kill the
server. When it immediately restarts, I have to kill it again. After
that, it appears that launchd does not attempt to restart the
server. I believe it was attempting to restart because it has a
buffered request from a client. Killing it the second time clears
the buffer, and launchd no longer things anything is trying to
connect. However, I still cannot start MATLAB, or the server will
get hosed again. If I kill X11 until it has stopped trying to
respawn and start an Xterm, it will open properly. Then, once the
server is running, I can run MATLAB again.
After all the tests, it seems like the cause is starting the X
server in a normal, responsive state, killing the server, and then
attempting to start MATLAB. While the server starts, it appears to
hang. However, if I get the server to first respond with something
like an Xterm, I can start MATLAB as long as the server is already
running.
--
Andrew J. Hesford <email@hidden>
Department of Electrical and Computer Engineering
University of Illinois at Urbana-Champaign
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden