From owner-freebsd-bugs@FreeBSD.ORG Thu Apr 4 05:25:32 2013 Return-Path: Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 95D5F11E for ; Thu, 4 Apr 2013 05:25:32 +0000 (UTC) (envelope-from bdemsky@uci.edu) Received: from esmtp1.es.uci.edu (esmtp1.es.uci.edu [128.195.153.131]) by mx1.freebsd.org (Postfix) with ESMTP id 641406E4 for ; Thu, 4 Apr 2013 05:25:31 +0000 (UTC) Received: from [192.168.0.103] (adsl-75-50-191-170.dsl.lsan03.sbcglobal.net [75.50.191.170]) (authenticated bits=0) by esmtp1.es.uci.edu (8.13.8/8.13.8) with ESMTP id r345PSsb586473 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Wed, 3 Apr 2013 22:25:30 -0700 X-UCInetID: bdemsky Subject: Re: misc/177624: Swapcontext can get compiled incorrectly Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=windows-1252 From: Brian Demsky In-Reply-To: Date: Wed, 3 Apr 2013 22:25:35 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <201304040310.r343A1Zj035196@freefall.freebsd.org> To: Eitan Adler X-Mailer: Apple Mail (2.1283) Cc: freebsd-bugs@freebsd.org X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Apr 2013 05:25:32 -0000 > The analysis is a little wrong about the problem. Ultimately, the = tail call to set context trashes the copies of bx and r14 on the stack=85.= On Apr 3, 2013, at 10:03 PM, Eitan Adler wrote: > On 3 April 2013 23:10, Brian Demsky wrote: >> The following reply was made to PR misc/177624; it has been noted by = GNATS. >>=20 >> From: Brian Demsky >> To: bug-followup@FreeBSD.org >> Cc: >> Subject: Re: misc/177624: Swapcontext can get compiled incorrectly >> Date: Wed, 03 Apr 2013 20:01:14 -0700 >>=20 >> = QSBxdWljayBub3RlIHRoYXQgdGhlIHRhaWwgY2FsbCB0byBzZXQgY29udGV4dCBpcyB3aGF0IG= Fj >> = dHVhbGx5IHRyYXNoZXMgdGhlIGNvcGllcyBvZiByYnggYW5kIHIxNCBvbiB0aGUgc3RhY2su >=20 > Something is weird with this submission. Please resend? >=20 > --=20 > Eitan Adler >=20