Skip to Content.
Sympa Menu

cgal-discuss - CGAL assertion when run using valgrind

Subject: CGAL users discussion list

List archive

CGAL assertion when run using valgrind


Chronological Thread 
  • From: Thomas Zangl <>
  • To:
  • Subject: CGAL assertion when run using valgrind
  • Date: Mon, 26 May 2008 10:46:35 +0200

Hi!

If I run a certain application which uses CGAL I get an assertion if its profiled using callgrind:

valgrind --tool=callgrind ./myapp

If I run the same application w/o valgrind/callgrind it works.

The message is:

tzi@helio:~$
valgrind --tool=callgrind ./myapp
==30295== Callgrind, a call-graph generating cache profiler.
==30295== Copyright (C) 2002-2007, and GNU GPL'd, by Josef Weidendorfer et al.
==30295== Using LibVEX rev 1804, a library for dynamic binary translation.
==30295== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==30295== Using valgrind-3.3.0-Debian, a dynamic binary instrumentation framework.
==30295== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==30295== For more details, rerun with: -v
==30295==
==30295== For interactive control, run 'callgrind_control -h'.
Starting ALL...

Writing debug.list
Starting regularTriangulation...
Time for regularTriangulation: [525.09 s]

Starting writeSingularSegments...
CGAL error: postcondition violation!
Expr: is_ccw_strongly_convex_2( res.output_so_far_begin(), res.output_so_far_end(), ch_traits)
File: /home/tzi/CGAL-3.3.1/include/CGAL/Convex_hull_2/ch_graham_andrew_impl.h
Line: 232
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct NULL not valid
==30295==
==30295== Events : Ir
==30295== Collected : 12454834378
==30295==
==30295== I refs: 12,454,834,378
Aborted


Any idea whats wrong?

TIA! Thomas



Archive powered by MHonArc 2.6.16.

Top of Page