Comment 3 for bug 513902

Revision history for this message
Johan Hake (johan-hake) wrote : Re: [Bug 513902] [NEW] Crash when importing tritetmesh.trimesh

On Thursday 28 January 2010 10:40:32 Garth Wells wrote:
> Johan Hake wrote:
> > On Thursday 28 January 2010 10:06:14 Garth Wells wrote:
> >> Public bug reported:
> >>
> >> When I have
> >>
> >> from tritetmesh.tetmesh import *
> >>
> >> or
> >>
> >> from tritetmesh.trimesh import *
> >>
> >> I get the below crash message. I have the development version of DOLFIN.
> >>
> >> 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/garth/local/include/CGAL/Interval_nt.h
> >> Line: 158
> >> Explanation: Wrong rounding: did you forget the -frounding-math option
> >> if you use GCC? [gnw20pc:19113] *** Process received signal ***
> >> [gnw20pc:19113] Signal: Aborted (6)
> >> [gnw20pc:19113] Signal code: (-6)
> >
> > Everything works fine here, but then I compiled cgal using -frounding-
> > math.
>
> Me too.
>
> > Does cgal only complains when dragged in from dolfin through tritetmesh?
> > Does it not complain when you just import dolfin?
>
> Exactly. I can import dolfin just fine.

Strange...

Are you sure you compiled against the same libdolfin you run against?

Johan

> Garth
>
> > Johan
>