From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 22569 invoked from network); 30 Jun 1998 16:45:20 -0000 Received: from mea.tmt.tele.fi (root@194.252.70.2) by mail2.redhat.com with SMTP; 30 Jun 1998 16:45:20 -0000 Received: by mea.tmt.tele.fi id <92211-377>; Tue, 30 Jun 1998 19:44:31 +0300 Subject: Re: X server crashes In-Reply-To: from Ken Raeburn at "Jun 30, 98 10:10:53 am" To: axp-list@redhat.com Date: Tue, 30 Jun 1998 19:44:31 +0300 (EEST) From: Matti Aarnio Phone: +358-20402082 (office, with redirection to cellular) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <19980630164445Z92211-377+7@mea.tmt.tele.fi> Ok, new binaries are available... > > On Mon, Jun 29, 1998 at 10:47:18PM +0300, Matti Aarnio wrote: > > > Wait a few hours -- two, I think -- and then download from > > > ftp://mea.tmt.tele.fi/pub/XFree86/ > > IMHO the main X code shouldn't be conditionalized so much on sizes > just to deal with which utility functions to call and how many bits to > shift a value. Both could be hidden away in macros, making the code > easier to read and no slower to run. > > curclient = XFD_FFS (clientsReadable.fds_bits[i]) - 1; > client_index = ConnectionTranslation[curclient + (i << XFD_LOG2_NBITS)]; > > Will your ffsl do the right thing for an input of 0? The "ffsl()" is just "ffs()" with "long" input parameter (where the ffs() has "int"). > "Andreas U. Trottmann" writes: > > I.e. if I start the X server (no window manager), I can start 32 xterms. > > When I try to start the 33rd, no window appears but I can kill the xterm > > process. If I then kill one of the old ones, I can start a new one (making > > again 32 X clients), but any try to go again past 32 fails. > > Hm, me too. So, we're still missing something.... Yep, that was a nasty one. Found the same problem present in Xserver/os/io.c, lbxproxy/os/io.c, and somewhere else, which I don't remember offhand. I have to do more work to get proper diffs out this time, as I had to tinker far and wide before I finally found that one. /Matti Aarnio -- with fvwm current-desk object listing going to "i" (damn, it just doesn't fit to my screen anymore! 93 fd's on the XF86_SVGA process.)