Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Weird issue with X11 via launchd



On Nov 1, 2007, at 2:57 PM, Mike Beattie wrote:

I realise this (old X hat), but it's happening occasionally at an odd place
in the cycle which makes me think race condition too:

I figured -- I mention only because I saw some bugs filed on this internally during development. You don't normally see it on other platforms, because usually you start xterm from within X11 (in some form), so if you kill the X server, you won't get a chance to see the message.


1) Start Terminal.app, do work
2) Need an xterm, start xterm
3) X11.app starts
4) xterm execution hangs.
5) Kill X11.app, new X11.app spawns
6) xterm complains about server shutdown instead of spawning

Basically, at step 6, xterm will most of the time spawn in the new server.

If I had more time to dive in and try to find the problem, I would, but I'm
more in a position of just trying to give you as much information as
possible. This is my work laptop, and I have more pressing things to do,
like write technical documents... :/ (I'd much rather be diagnosing this
problem, believe me!)


Alas ... so many of these problems are the kind of thing that any developer who took a solid interest in the problem could probably fix with a week or two of focussed effort. It's just that there are a dozen of them, and at least up until this point, only me.

Hell, there are probably people out there that would be better suited for this job than me. I have several years of X experience as a user, and fair bit of experience as an X developer on the client side, but I only looked at the server code for the first time about a year ago. Most of that past year has gone towards getting the thing to build, correctly, and fixing crashes -- you know, the kinds of things that you can catch in GDB.

Things like launchd support were fairly easy -- mainly a matter of finding the places where I needed to nudge some sockets into place. In contrast, I spent at least a month trying to figure out how to get fullscreen support working, and made almost zero progress. I'm looking at the Spaces stuff now, but it's slow going.
--
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)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden

This email sent to email@hidden
References: 
 >Re: Weird issue with X11 via launchd (From: Mike Beattie <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.