From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 25083 invoked from network); 7 Aug 1998 13:39:59 -0000 Received: from mea.tmt.tele.fi (root@194.252.70.2) by mail2.redhat.com with SMTP; 7 Aug 1998 13:39:59 -0000 Received: by mea.tmt.tele.fi id <92241-24186>; Fri, 7 Aug 1998 16:38:29 +0300 Subject: Re: patch for Xserver crash on alpha In-Reply-To: <19980807152004.A20588@twister.gmd.de> from Georg Wittig at "Aug 7, 98 03:20:04 pm" To: axp-list@redhat.com Date: Fri, 7 Aug 1998 16:38:29 +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: <19980807133843Z92241-24186+10@mea.tmt.tele.fi> Georg Wittig refers > Found this one in comp.os.linux.x. Don't know yet if it really fixes > the problem. It isn't sufficient cure. Have a look at: ftp://mea.tmt.tele.fi/pub/XFree86/XFree86-3.3-alpha3-sockets.patch /Matti Aarnio > ---------------------------------------------------------------------------- > From: raphael@cs.uky.edu > Newsgroups: comp.os.linux.x > Subject: Bug fixed in XFree86 for Linux/AXP > Date: Thu, 06 Aug 1998 18:40:28 GMT > Message-ID: <6qctat$9fj$1@nnrp1.dejanews.com> > NNTP-Posting-Host: 128.163.146.41 > X-Article-Creation-Date: Thu Aug 06 18:40:28 1998 GMT > > A while ago I reported a bug with XF86 servers under Linux/AXP. > I have now tracked down and corrected this bug. > > It is due to an assumption that fd_mask is 32 bits wide. On Linux/AXP, > fd_mask is 65 bits wide. The symptom was that client #27 leads to a segment > violation. The cure is to use lffs() instead of the library ffs(), differing > only in that the parameter is long, not int. This fix needs to be placed > in several locations (but not all where ffs() is used), and there is one > other mod necessary. > > Besides minor changes to reduce the number of compiler warnings, > here are the necessary fixes: ...