Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] problems with valgrind
- Date: Mon, 05 Aug 2013 16:47:07 +0200
- Organization: GeometryFactory
There used to be a page giving patches to handle rounding mode in
valgrind here:
csa.inf.ethz.ch/valgrind
but the page seems no longer accessible.
Maybe you should try:
http://code.google.com/p/address-sanitizer/
Note that it is a built-in with gcc 4.8 and clang 3.2 (IIRC)
Sebastien.
On 08/05/2013 04:26 PM, Villa Andrea (RSE) wrote:
Dear CGAL developers, I'm currently experiencing some problems to use
CGAL under Valgrind.
The code, using valgrind, terminate showing the message:
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:
/home/avilla/Documenti/CGAL-4.0/releaseStatic/include/CGAL/Interval_nt.h
Line: 160
Explanation: Wrong rounding: did you forget the -frounding-math option
if you use GCC (or -fp-model strict for Intel)?
The program has been compiled using the following flags :
-frounding-math -pipe -Wall -W -g -O0 -DHAVE_CONFIG_H -fpermissive
The compiler is gcc-4.6.1
Is there any workaround?
Thankyou very much.
Andrea Villa.
/
RSE SpA ha adottato il Modello Organizzativo ai sensi del
D.Lgs.231/2001, in forza del quale l'assunzione di obbligazioni da parte
della Società avviene con firma di un procuratore, munito di idonei
poteri. RSE adopts a Compliance Programme under the Italian Law
(D.Lgs.231/2001). According to this RSE Compliance Programme, any
commitment of RSE is taken by the signature of one Representative
granted by a proper Power of Attorney.
Le informazioni contenute in questo messaggio di posta elettronica sono
riservate e confidenziali e ne e' vietata la diffusione in qualsiasi
modo o forma. Qualora Lei non fosse la persona destinataria del presente
messaggio, La invitiamo a non diffonderlo e ad eliminarlo, dandone
gentilmente comunicazione al mittente. The information included in this
e-mail and any attachments are confidential and may also be privileged.
If you are not the correct recipient, you are kindly requested to notify
the sender immediately, to cancel it and not to disclose the contents to
any other person./
- [cgal-discuss] problems with valgrind, Villa Andrea (RSE), 08/05/2013
- Re: [cgal-discuss] problems with valgrind, Panagiotis Foteinos, 08/05/2013
- Re: [cgal-discuss] problems with valgrind, Sebastien Loriot (GeometryFactory), 08/05/2013
Archive powered by MHonArc 2.6.18.