-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Segmentation fault in GraphSymmetryFinder destructor #3954
Comments
From an internal test:
or-tools/ortools/algorithms/find_graph_symmetries_test.cc Lines 72 to 77 in 9154cf3
two questions:
|
Seems the second arg means "is_undirect" or-tools/ortools/algorithms/find_graph_symmetries.h Lines 49 to 60 in 9154cf3
|
The error also occurs with a non empty undirected graph. You get correct results from the symmetry finder but it still crashes in the destructor. |
We have added unit test on our code, and it does not crash. |
see d0eb8dd note: currently not supported nor run when using cmake based build... |
What version of OR-Tools and what language are you using?
Version: v9.7
Language: C++
Which solver are you using (e.g. CP-SAT, Routing Solver, GLOP, BOP, Gurobi)
GraphSymmetryFinder
What operating system (Linux, Windows, ...) and version?
Ubuntu 22.04
What did you do?
Steps to reproduce the behavior:
I run this code snippet via doctest.
What did you expect to see
I expect this to just run through.
What did you see instead?
The program crashes with a segmentation violation signal. This is the stack trace I get:
Anything else we should know about your project / environment
We also use CP-SAT in our project and don't have any issues there.
The text was updated successfully, but these errors were encountered: