Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Precondition and assert failures using CGAL 3.3.1

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Precondition and assert failures using CGAL 3.3.1


Chronological Thread 
  • From: Ashwin Nanjappa <>
  • To:
  • Subject: Re: [cgal-discuss] Precondition and assert failures using CGAL 3.3.1
  • Date: Tue, 22 Jan 2008 13:21:31 +0800

Tuukka Kataja wrote:
Hello,
I'm experiencing weird precondition and assert failures when using CGAL with the following system:

64-bit Ubuntu 6.10
gcc 4.1.2
CGAL 3.3.1

As a minimal example, consider the attached code (minkowski.cpp). It terminates with

CGAL error: precondition violation!
Expr: nodeP != NULL && nodeP->is_valid()
File: /usr/local/include/CGAL/Multiset.h
Line: 338
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct NULL not valid

I tried your program and see a similar error. I'm on 32-bit WinXP, VC++ 2008 EE and CGAL 3.3.1.

~ash



Archive powered by MHonArc 2.6.16.

Top of Page