[Gmsh] bug in 2.04/5 and works fine in 1.65

Christophe Geuzaine cgeuzaine at ulg.ac.be
Tue Mar 27 16:40:06 CEST 2007

Christophe Prud'homme wrote:
> [ Sunday 25 March 2007 ]
> | Weird, works fine over here (on Mac, Windows and Linux)... Does the
> | version available on our website also crash?
> it runs fine with the version on the website
> here are the flags I use to configure gmsh
> CC="gcc" CXX="g++" CFLAGS="-m32 -Wall  -O2 " 
> CXXFLAGS="-m32 -Wall  -O2" ./configure --host=i486-linux-gnu \
> --build=i486-linux-gnu --prefix=/usr --mandir=\${prefix}/share/man \
> --infodir=\${prefix}/share/info  --disable-metis --disable-tetgen
> is something wrong with this command line?

I don't see anything wrong... We mostly use gcc 3.4.X (Windows) and 
4.0.X (Linux and Mac), but we also tested with gcc 4.1.2 on Ubuntu and 
didn't encounter any problems.

Maybe forcing 32 bit mode makes the robust predicates code 
(Numeric/predicates.cpp) go wild?

Can you run the code in gdb and send a backtrace?


> the compiler is gcc/g++ version 4.1.2 20061115
> Best regards
> C.

Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science