Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] CGAL and valgrind

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] CGAL and valgrind


Chronological Thread 
  • From: Laurent Rineau <>
  • To:
  • Subject: Re: [cgal-discuss] CGAL and valgrind
  • Date: Fri, 28 Nov 2008 14:27:28 +0100

On Friday 28 November 2008 14:17:06 Sylvain Pion wrote:
> Jens K. Becker wrote:
> > The program compiles fine but does
> > not work (it always crashes when trying to remove halfedges (using
> > join_facets). If I run it in valgrind, it perfectly works.

> Valgrind does not emulate FPU rounding modes which are used to implement
> interval arithmetic. The later being used in filtered kernels which you
> can find in many places in CGAL. A solution is to used either inexact
> fast non-robust, risky, use-at-your-own-risk, may-or-may-not-work-for-you
> kernels e.g. Simple_cartesian<double>, or a slow exact kernel, e.g.
> Simple_cartesian<Gmpq>. That may be enough for debugging.
>
> The ideal solution would be to ping the valgrind developers (again),
> so that they work on supporting this missing feature.

Sylvain, you missed a point: Jens program works only *IN* valgrind, and
*that*
is strange. What sort of CGAL can work only if rounding mode are never
changed?

--
Laurent Rineau, PhD
Engineer at GeometryFactory
http://www.geometryfactory.com/



Archive powered by MHonArc 2.6.16.

Top of Page