From: Robin Green Subject: Re: Floating Point Exception when compiling w/ gcc Date: Sat, 05 Mar 2005 19:22:51 +0000 Message-ID: References: <5710bb97d32307e8ffa7cca445a89232@cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org On Tue, 22 Feb 2005 23:47:37 +0000, Keir Fraser wrote: > On 22 Feb 2005, at 19:26, Robin Green wrote: >=20 >> I found a floating-point bug in xen-unstable, which, since I don't kno= w >> what causes it, might also be present in xen 2.0.4. (See thread >> "reproducable data corruption in xen-unstable".) >> >> HOWEVER, I did create a workaround patch, which effectively solves the >> problem for me. Remember to apply this patch both to xen0 and xenU >> kernels. >=20 > I'd like to get to the bottom of this problem. I've checked in some=20 > cleanups to FPU > code in both -testing and -unstable trees (the cleanups are=20 > particularly extensive > in the unstable tree). Can you see if the problem still occurs? I just tried xen-unstable from 20050302 (I was waiting for it to be packaged in the fedora development repo), and it's much better - thanks! However, there is still a less frequent problem with ptrace (which also occurred even when I'd applied my workaround patch). When running firefox under gdb only, display corruption and odd crashes in floating-point code are seen - which are the same symptoms as I had befor= e. So I assume that something is still wrong with the floating-point save/restore in the case where a process is being ptraced. Not nearly such a big deal, but annoying when you are trying to debug something. --=20 Robin ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick