-
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-extract stuck in a loop #2852
Comments
Should be solved in #2854, requires some validation on the larger extract though |
I picked up the same issue on the australia-latest.osm.pbf yesterday if you're looking for a bigger problem set to reproduce the issue. I let it run for about 50 hours before killing the process. |
Just verified that this fix works on |
I can confirm I'm facing the same problem for |
@MoKob thanks for the quick reply, I'll be patient and wait for master :) |
Fix got merged. Most recent master should be without this problem. |
Re-running with my test data now. |
I tested on my data that was failing and the master works now. Thanks for the speedy patch. |
Can confirm fix on belgium-latest.osm.pbf |
Using
master
at bb244e2, and theunprocessed-osm.pbf
linked from here, #2832,osrm-extract
seems to take an extrodinarily long amount of time (I haven't yet seen it finish).After a period (a couple of hours) of normal busy-ness on all CPUs, activity seems to reduce to just one CPU. I attached a debugger and took a look at the only busy thread, here's the backtrace:
All other threads were in a wait condition of one form or another.
I resumed the process, waited a few seconds, then interrupted it again, and I got this backtrace on the same thread:
Frame 12 in the first trace and frame 8 in the second trace look identical - this seems unexpected, I wouldn't imagine we'd still be looking at the same
from_node
for several seconds unless I got ridiculously unlucky with my interrupt. It looks like we might be stuck in a loop starting here: https://github.com/Project-OSRM/osrm-backend/blob/master/src/extractor/guidance/intersection_generator.cpp#L36-L37The text was updated successfully, but these errors were encountered: