From owner-freebsd-current@FreeBSD.ORG Sun Dec 2 04:42:59 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF72916A46B for ; Sun, 2 Dec 2007 04:42:57 +0000 (UTC) (envelope-from carl.shapiro@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.237]) by mx1.freebsd.org (Postfix) with ESMTP id AC5C813C458 for ; Sun, 2 Dec 2007 04:42:57 +0000 (UTC) (envelope-from carl.shapiro@gmail.com) Received: by wr-out-0506.google.com with SMTP id 68so2258991wra for ; Sat, 01 Dec 2007 20:42:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=At4pxFCzMgAsfuiPu0M+yXBaMNOXoCUtIXfHKOoXt9A=; b=ZsX/6e4VIqg7DDw2jjzDIjn7HbdTpO7TGHA2Dia/9x1JYxlKun6b6bxkcv48BeFfUdjy+qrDopIcKqxhfobtNp4qLc64M2WxxRnp7TcxNSxNNeiAPEBzESRrHqxEgRyhsoH8rF7fjUDWwFVnX8FhkQdzC6A3LxreWg69TfONiEs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hBWJC1BxvVN1Uh0+rcHVhyDuAnu6aX1dg1NnZfVRhEJVFbj68ztBX7WAsFrpbgcCQBIUpz4cKbfoQyzLbxbvbjiGzspQz/h4FkbQ3xMa52CcYNM0KFYz65lDva1FkNF2CPXE4F2cDcAqhT9dK+Q+ocYyxN12Mi+GnD1JbY4F64Q= Received: by 10.150.58.5 with SMTP id g5mr2407222yba.1196570576782; Sat, 01 Dec 2007 20:42:56 -0800 (PST) Received: by 10.150.200.6 with HTTP; Sat, 1 Dec 2007 20:42:56 -0800 (PST) Message-ID: <4dcb5abd0712012042m6e6cd00br3c9e72c97f047ee5@mail.gmail.com> Date: Sat, 1 Dec 2007 20:42:56 -0800 From: "Carl Shapiro" To: "Kostik Belousov" In-Reply-To: <20071130152631.GJ83121@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4dcb5abd0711290226u69105089ya10526519e5cc12d@mail.gmail.com> <20071129112824.GD83121@deviant.kiev.zoral.com.ua> <4dcb5abd0711292235k2bc2af86t45f7268d429c03ad@mail.gmail.com> <20071130152631.GJ83121@deviant.kiev.zoral.com.ua> Cc: freebsd-current@freebsd.org, davidxu@freebsd.org Subject: Re: Serious compatibility breakage in -current. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Dec 2007 04:42:59 -0000 On Nov 30, 2007 7:26 AM, Kostik Belousov wrote: > The patch I posted was enough for CMUCL to survive the gc. The SIGBUS handler in CMUCL compares the value of si_code to BUS_PAGE_FAULT. If these values do not compare equal, the signal is not interpreted by the garbage collector. For the record, your original patch did not fill the si_code value with BUS_PAGE_FAULT and so it was not enough. > Patch below shall implement it, and be MFCed to RELENG_7. The change to > crtbrand.c shall be MFCed to RELENG_6 (and, possibly, RELENG_5). Patch > was lightly tested on i386, and compile tested on amd64. > Please, give it a run. I applied your patch to my 7.0-BETA3 sources and my test programs now behave as expected. Notably, the si_code value is always correct. Thanks!