Skip to content
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

Assertion failed: (smallestWeight != INT_MAX), function _UnpackPath #83

Closed
emiltin opened this issue Jan 19, 2012 · 8 comments
Closed
Milestone

Comments

@emiltin
Copy link
Contributor

emiltin commented Jan 19, 2012

running the debug version, and moving the start pointer around bit, west of the covered data area repeatedly results in:

Assertion failed: (smallestWeight != INT_MAX), function _UnpackPath, file Plugins/../DataStructures/SearchEngine.h, line 494.

@DennisOSRM
Copy link
Collaborator

I was not able to reproduce this one on my data sets. Did you use the Bryggen test file?

@DennisOSRM
Copy link
Collaborator

So, I was finally able to reproduce the error. Will look into that more thouroughly in the coming days.

@DrVanScott
Copy link

I can only reproduce this problem, if i move the end pointer out of the area. Moving the start pointer out of area is no problem.

@DennisOSRM
Copy link
Collaborator

I was finally able to nail this one. As always fix is waiting to be pushed to master repo.

@DrVanScott
Copy link

Unfortunately i can still reproduce this:

osrm-routed: Plugins/../DataStructures/SearchEngine.h:510: void SearchEngine<EdgeData, GraphT>::_UnpackPath(std::deque&, std::vector<_PathData>&) const [with EdgeData = ContractionCleanup::Edge::EdgeData, GraphT = StaticGraphContractionCleanup::Edge::EdgeData]: Assertion `smallestWeight != 2147483647' failed.

@DennisOSRM
Copy link
Collaborator

Please uncomment line 54 of Server/RequestHandler.h so that it reads

INFO( "[r] " << request );

It will give you the actual request that is getting computed. The last one it prints will be the one that breaks. Which data file are you using?

@DennisOSRM DennisOSRM reopened this Feb 10, 2012
DennisOSRM pushed a commit that referenced this issue Feb 10, 2012
@DrVanScott
Copy link

I use a datafile of approx. 4MB osm data. But i guess you won't need it anymore...
Without 8cddaf3:

[info Server/RequestHandler.h:54] [r] /viaroute&start=49.459440627311,11.14348597767&dest=49.465521224945,11.168462708016&z=14&output=json&jsonp=showResultsDragRoute&geomformat=cmp&instructions=false
[debug Server/../DataStructures/NNGrid.h:391] Resetting stale filestream
osrm-routed: Plugins/../DataStructures/SearchEngine.h:510: void SearchEngine<EdgeData, GraphT>::_UnpackPath(std::deque&, std::vector<_PathData>&) const [with EdgeData = ContractionCleanup::Edge::EdgeData, GraphT = StaticGraphContractionCleanup::Edge::EdgeData]: Assertion `smallestWeight != 2147483647' failed.

With 8cddaf3 no crash anymore! :-)

@DennisOSRM
Copy link
Collaborator

Thanks for the feedback. Happy to hear that this one is gone now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants