-
Notifications
You must be signed in to change notification settings - Fork 3.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
OSRM Route crash #4515
Comments
@AlekseiSolonkov Please supply more information. It looks like you're using Without more information to reproduce the issue, we cannot fix this. |
I use the traffic extension to set the speeds (data I get from the gps-trackers). Also, I change the car.lua profile to allow/disable travel on toll roads. There is an assumption that sometimes when it is impossible to build a road graph the library flies out.
OSRMS class:
|
When traffic is not used and car.lua default, the system works stably |
I strongly suspect a race condition in your locking logic, and you are I would also try with an empty If you find a particular traffic.csv file causes the crash, see if you can reproduce the crash in a single-threaded environment. The OSRM object is thread-safe - many callers should work just fine. |
Mutexes are the same. Is it necessary to re-create the object of the OSRM after complete osrm-contract? And is it possible to use an object created on a configuration that is currently running an osrm-contract? |
Yes, it is necessary, the data needs to be re-loaded. I have an idea what the problem might be - the You should run |
Now I implement this idea in the code and check. Thank you! |
Greato. Closing this, as I don't think the problem is inside OSRM, rather it's how it was used in this case. |
(gdb) backtrace |
In this case, I think an exception is being thrown that you're not properly catching. Try adding You can also try disabling the Qt default signal handler, but I don't know how to do that. |
OSRM version 5.12
The text was updated successfully, but these errors were encountered: