-
-
Notifications
You must be signed in to change notification settings - Fork 373
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
pgr_chinesePostman crash on test data #1300
Comments
@jmarca This function is currently an experimental function. |
Of course I understand the feature is experimental...just reporting
bugs as I find them.
I would love to help more if you need it, since I'm playing with these
functions at the moment. I just don't know how to debug the embedded
code properly. I see some logging lines in there, but not how to
activate them.
No worries on my end about waiting for next release for a fix...I'm
not using this function directly, as my problem is *not* CPP, but
rather generalized street sweeping.
Regards,
James E. Marca
|
I can replicate on v3.0.0-alpha |
Its no crashing the server in the newer releases, but nothing has been done to the code, so the issue is still there, only way to make sure that the server does not crash is working on 3.0.0-alpha
|
Chinese postman fails, it crashes the server |
Thanks @krashish8 for noticing will review the code again |
Expected behavior and actual behavior
Using the test data described here: http://docs.pgrouting.org/latest/en/sampledata.html, and running the query described here: http://docs.pgrouting.org/latest/en/pgr_chinesePostman.html,
The algorithm code works two times, but crashes on the third try, consistently (I repeated multiple times)
Steps to reproduce the problem
Load the data; run the query three times; third time is a crash.
Output of logging is unhelpful to me (how can I log more? setting debug5 log level didn't help) but I do see
invalid record length at 0/3A15448: wanted 24, got 0
each time. Also this same query works twice no problem before the crash. Crashes on the third time. Smells like not freeing up memory or something like that.Specifications like the version of pgRouting/PostGIS and PostgreSQL as well as Operating System
Use the commands:
The text was updated successfully, but these errors were encountered: