Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why is CGAL less stable on Ubuntu 20.04.5 compared to Windows? #8471

Open
lisir3000 opened this issue Sep 9, 2024 · 4 comments
Open

Why is CGAL less stable on Ubuntu 20.04.5 compared to Windows? #8471

lisir3000 opened this issue Sep 9, 2024 · 4 comments

Comments

@lisir3000
Copy link

We implemented an incremental topological map application using the CGAL library’s Arrangement_2, Arr_segment_traits_2, and Arr_observer. We found that the library is more stable in a Windows environment. When running on Ubuntu 20.04.5, crashes occur, such as when inserting multiple overlapping segments into the library or when batch deleting vertices. These operations perform well in the Windows environment, but cause crashes in Ubuntu 20.04.5. Both environments use the same CGAL version 5.5.3. What could be causing this issue?

@sloriot
Copy link
Member

sloriot commented Sep 9, 2024

What gcc version are you using? Could you try clang++ instead?

@lrineau
Copy link
Member

lrineau commented Sep 9, 2024

@lisir3000

We implemented an incremental topological map application using the CGAL library’s Arrangement_2, Arr_segment_traits_2, and Arr_observer. We found that the library is more stable in a Windows environment. When running on Ubuntu 20.04.5, crashes occur, such as when inserting multiple overlapping segments into the library or when batch deleting vertices. These operations perform well in the Windows environment, but cause crashes in Ubuntu 20.04.5. Both environments use the same CGAL version 5.5.3. What could be causing this issue?

That is really hard to guess without knowing more about those crashes. Are they assertions/exceptions that are thrown, segfault? Do you have stack traces?

CGAL-5.5.x is tested every week. See last test results. We do not test with Ubuntu 20.04, but we could. As Sébastien said, it is very important we know which compiler (and which version of it) you used.

By the way, you mentioned CGAL-5.5.3. Note that CGAL-5.5.4 was released in February 2024. Maybe that version already contains a fix for you issue. Could you try, please?

@efifogel
Copy link
Member

efifogel commented Sep 9, 2024 via email

@lisir3000
Copy link
Author

I'm using gcc 9.4.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants