Re: xquartz and floating point exception
Re: xquartz and floating point exception
- Subject: Re: xquartz and floating point exception
- From: Jonas Maebe <email@hidden>
- Date: Thu, 13 Aug 2009 17:00:38 +0200
On 13 Aug 2009, at 15:46, michael bane wrote:
Despite upgrading to 10.5.7 and xquartz 2.3.3.2 recently I still get
a 'floating point exception' error occasionally when I to open
certain X apps (xxdiff in particular)... anybody seen & solved this?
One thing to keep in mind is that Mac OS X' frameworks related to
rendering the GUI contain several invalid floating point operations.
Normally you don't notice this, because the related exceptions are all
masked on program startup. If you however have a program that enables
them because depends on such exceptions for its proper operation, the
application will crash sooner or later. Since the X11 libs call
through to other standard Mac OS X frameworks, X11 programs are
probably also susceptible to this problem.
We encountered this when porting our compiler + run time library to
Mac OS X, and the only way around it I've found was to simply disable
floating point exceptions as soon as you start building a GUI app (or
to disable them every time you call into Mac OS X frameworks and re-
enable them afterwards, but that's not really feasible in practice).
Jonas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden