Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] exception in Surface_mesh_2sm_circulators_8cpp

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] exception in Surface_mesh_2sm_circulators_8cpp


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] exception in Surface_mesh_2sm_circulators_8cpp
  • Date: Wed, 20 Jun 2018 09:00:01 +0200
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:IHWPeBO0MBG89q5RBkAl6mtUPXoX/o7sNwtQ0KIMzox0IvX6rarrMEGX3/hxlliBBdydt6oZzbKO+4nbGkU4qa6bt34DdJEeHzQksu4x2zIaPcieFEfgJ+TrZSFpVO5LVVti4m3peRMNQJW2aFLduGC94iAPERvjKwV1Ov71GonPhMiryuy+4ZLebxlIiTanfb9+MAi9oBnMuMURnYZsMLs6xAHTontPdeRWxGdoKkyWkh3h+Mq+/4Nt/jpJtf45+MFOTav1f6IjTbxFFzsmKHw65NfqtRbYUwSC4GYXX3gMnRpJBwjF6wz6Xov0vyDnuOdxxDWWMMvrRr0yRD+s7bpkSAXwhSkaKTA5/mHZhM9+gq1Vrx2upQBwzYHPbYGJN/dzZL/Rcc8USGdBWMtaSixPApm7b4sKF+cNM/tWoJfmqFQUthu+GQisC/3pyjRVgHH22rc60+UmEQHawQcsG9MAv2rTrNXwKqgSTfq1zanIwzrZc/xWxTD96JLIcxwkr/2HQLV9cdHVyUkoDQPFj1KQqZD/MzOQ0uQAqGeb7+96WuKuj24rsR1+oj+qxso1jITCm4wbylfB9SpjwYY1I8W1SElmYd6+CJtQrSaaN4loTcw+X2FkoiE6yqcJuZKjcygF1pMnxxvBZPybaYiJ4hzjW/yNLjdkg3JlYrK+iwyu/kinz+3xUNS/3lVSriddkNTBuWoB2wHN5sWHUPdw/Vmt1SyP2g3d8u1JI0M5mbDFJ5Muw7M8jIcfvEDNEyPsmkj7jKmbfVg+9Oey8eToeLDmq4ecN4BqjgH+NbwjmsmlDuQ5NggCRmaa+eGg2LH68030QLtHguc5kqnet5DaKsAbqbCjDwBJ1YYj7g6zDzag0NsGgXkKNFBIdR2dg4T0JV3DIOr0APShj1i2kDpmyejKPrj7DZXMKnjDnq3hfbF460NE0wozyddf54hVCrEGPPL/QErxtNjDAx82Ngy72efnCNFn2owCXmKPB7eVMLnOvl+Q+uIvP+6MaZcJtzbyMfcl4+figmI4mV8GYaapwIAXaGujE/R9I0SZZGLsjc0bHWcLuAo+Vu3qh0eYXT5dfXbhF547szo0AYbjAYbYTZ22m5SA2j26F9tYfDNoEFeJRD3Teo+NQOsNZSTaBsh7kzsYHfiORogk2A20pSHzwKZgNPuVsGVMrpbkztly+6vWkTk98DV1C4KW1GTbHDI8pX8BWzJjhPM3mkd60FrWifEp0cwdLsRa4rZyail/MJfdy+JgDNWrA1DOe96ITBCtRdD0WGhtHOJ0+McHZgNGI/vnlgrKhnP4DLoclrjND5sxoPqFgirBYv1lwnOD75EPylkrRswVaD+jj697shfWX8vHzh7fmKGteqARmiXK8TXbwA==

There must be something fishy here. See for example our test results here:

https://cgal.geometryfactory.com/CGAL/testsuite/results-4.13-I-34.shtml

You'll see that the line Surface_mesh_Examples where sm_circulators.cpp
is tested can be compiled and ran successfully on all our test platforms
(that includes some of yours).

Note also that in your compilation line with gcc you are missing -frounding-math but that should not be responsible for the issue you have.

Could you indicate the gcc version with which sm_circulators.cpp is
failing?

Sebastien.

On 06/19/2018 11:22 PM, J. Scheurich wrote:
If you have this error message it means that you are trying to access
the property of an element that is outside of the range of simplices.
Are you sure you did not modify the example in the manual?

> I did not modified the example, but i found out it runs on
> Ubuntu 16.04 Linux.
> I also get a internal error in gdb while getting this exception,
> maybe a error in gcc/g++ in fedora 28 ?

I found out:

Linux           | runs Surface_m...cpp without problems | realthing
----------------+---------------------------------------+----------
Fedora 28       | O                                     | O
----------------+---------------------------------------+----------
Arch Linux      | X                                     | O
----------------+---------------------------------------+----------
Ubuntu 16-04    | X                                     | X
----------------+---------------------------------------+----------
OpenSuse 42.3   | X                                     | X
----------------+---------------------------------------+----------
Debian strech   | X                                     | O

Realthing is the target csg in white_dune 0.99rc994

ftp://ftp.ourproject.org/pub/wdune/wdune-0.99rc994.tar.bz2

to make csg, use e.g.

$ dune -english

create -> Grouping node -> group
create -> Shape -> Sphere
click to group
create -> Shape -> cone
Convert -> Convert To IndexedFaceSet
click to Sphere
Convert -> Convert To IndexedFaceSet
Click to group
(IndexedFace)Set -> Boolean Operations -> Union

In case of realthing X this works, otherwise i get the
Exception of the fedora28 failure 8-(

So i think, the code is correct, but there is something
in (newer ?) CGAL, that causes the exception.

so long
MUFTI








Archive powered by MHonArc 2.6.18.

Top of Page