Java SWIG wrapper for RoutingModel has a race condition during destruction #2466
Labels
Bug
Lang: Java
Java wrapper issue
Solver: Routing
Uses the Routing library and the original CP solver
Milestone
What version of OR-Tools and what language are you using?
Version: 8.1
Language: Java
Which solver are you using (e.g. CP-SAT, Routing Solver, GLOP, BOP, Gurobi)
Routing Solver
What operating system (Linux, Windows, ...) and version?
Across multiple (Mac + Linux)
What did you do?
Leave
RoutingModel
to be garbage collectedWhat did you expect to see
No error
What did you see instead?
Occasionally SIGSEGV
Anything else we should know about your project / environment
This can be worked around by calling
RoutingModel.delete()
before GCThis seems to be the underlying issue of #1468, #2178 and #2091
The text was updated successfully, but these errors were encountered: