Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Valgrind

Subject: CGAL users discussion list

List archive

[cgal-discuss] Valgrind


Chronological Thread 
  • From: Bernhard Kornberger <>
  • To:
  • Subject: [cgal-discuss] Valgrind
  • Date: Sat, 31 Jul 2010 17:59:52 +0200

(Sorry, if this is a double post. I have posted this to
cgal-discuss-owner by mistake before)

Hi,

I'd like to run a CGAL'ed program in Valgrind. As I know already from
the past, this does not work very well. Are any compiler-switches or
Valgrind-options known to overcome the problems? I use gcc (4.4.3) and
CGAL3.6.0 on 64bit Linux:

terminate called after throwing an instance of 'CGAL::Assertion_exception'
what(): CGAL ERROR: assertion violation!
Expr: -CGAL_IA_MUL(-1.1, 10.1) != CGAL_IA_MUL(1.1, 10.1)
File: /opt/CGAL360/include/CGAL/Interval_nt.h
Line: 158
Explanation: Wrong rounding: did you forget the -frounding-math option if you use GCC?

...where -frounding-math is used, and the program works flawlessly
outside Valgrind.

Best
Bernhard



Archive powered by MHonArc 2.6.16.

Top of Page