-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
dD Triangulation crash with -O2 flag (ok in debug) #557
Comments
I can confirm that there is a problem. I get a segfault with VC12. We investigate. |
I am also getting the issue on linux, though it crashes a bit earlier (before printing 7/8). |
In Triangulation.h:
|
Thank you Mark. Do you take care of putting it in a git branch and integration, or shall GF do it? |
Sorry, not much time. I'll let you discuss that with @cjamin . |
I confirm the proposed patch fixes the issue at my side. |
With Mingw64 gcc 4.8.0, I have an assert when compiling this sample with -O2 or -O1 flag. Everything is ok in debug mode or when using Delaunay_triangulation.
I use:
CGAL 4.7
boost 1.59
eigen 3.2.7
gmp 6.1.0
mpfr 3.1.3
Result output:
Processing: 1/8
Processing: 2/8
Processing: 3/8
Processing: 4/8
Processing: 5/8
Processing: 6/8
Processing: 7/8
Assertion failed!
File: ............\Binaries\win64\include/Eigen/src/Core/DenseCoeffsBase.h, Line 337
Expression: row >= 0 && row < rows() && col >= 0 && col < cols()
And the call stack:
The text was updated successfully, but these errors were encountered: