Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Matti Aarnio <matti.aarnio@sonera.fi>
To: axp-list@redhat.com
Subject: Re: X server crashes
Date: Tue, 30 Jun 1998 19:44:31 +0300 (EEST)	[thread overview]
Message-ID: <19980630164445Z92211-377+7@mea.tmt.tele.fi> (raw)
In-Reply-To: <tx1k95zrnde.fsf@raeburn.org> from Ken Raeburn at "Jun 30, 98 10:10:53 am"

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" <andreas.trottmann@werft22.com> 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 <matti.aarnio@sonera.fi> -- 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.)


  reply	other threads:[~1998-06-30 16:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-29 19:06 X server crashes Ken Raeburn
1998-06-29 19:47 ` Matti Aarnio
1998-06-30  0:44   ` Andreas U. Trottmann
1998-06-30 14:10     ` Ken Raeburn
1998-06-30 16:44       ` Matti Aarnio [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-06-30 18:58 DevGolfs18
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox