You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Logs produced while troubleshooting #44 showed evidence of crashes while Reading waypoints for all routes.
This happened while running siteupdate 100 times via a shell script. I didn't catch it in the act, and didn't see what (if anything) Bash had to say.
Noteworthy:
in void read_wpts_for_highway_system: all_wpt_files->erase(path + "/" + r->region->code + "/" + r->system->systemname + "/" + r->root + ".wpt"); happens without a mutex
Edit: Per the comment in siteupdate.cpp when "Finding unprocessed wpt files.", there's some monkey business going on here, and a mutex is needed.
After adding awf_mtx, no crashes while reading WPTs in 400 consecutive runs (vice 7 before adding awf_mtx).
Number of unprocessed WPTs reported correctly 400 times.
Going to call this closed, but I still have #44, #54 & #55 to contend with.
It's back!
Or rather, nothing has changed here in a while IIRC, but running with 16 threads on lab2 gives more opportunity to observe this.
No core dump or any text in bash to let us know what's going on.
Changed from a "modify the list" technique to a "modify the iterator" technique.
Siteupdate has now been running in a loop on lab2 for > 38 hours & 1313 passes now, with no crashes. Going to re-close this.
See #58 (comment) and forum post.
Activity
yakra commentedon Jan 24, 2019
Caught it in the act. Bash says nothing.
Edit: This while working on implementing #57. 2 trials out of 10. Either these changes were enough to make it more probable, or it's just luck.
yakra commentedon Jan 25, 2019
After adding awf_mtx, no crashes while reading WPTs in 400 consecutive runs (vice 7 before adding awf_mtx).
Number of unprocessed WPTs reported correctly 400 times.
Going to call this closed, but I still have #44, #54 & #55 to contend with.
yakra commentedon Jan 27, 2019
No problems observed, but adding in an
ifstatement to check for empty list, as done with other threads.Consider this issue re-opened & re-closed. :)
yakra commentedon Jan 27, 2019
Related issues:
#56 ReadWptThread
#44 NmpMergedThread
#55 ReadListThread
#58 ConcAugThread
#54 ComputeStatsThread
#59 UserLogThread
yakra commentedon Jun 7, 2019
It's back!
Or rather, nothing has changed here in a while IIRC, but running with 16 threads on lab2 gives more opportunity to observe this.
No core dump or any text in bash to let us know what's going on.
yakra commentedon Jun 23, 2019
Changed from a "modify the list" technique to a "modify the iterator" technique.
Siteupdate has now been running in a loop on lab2 for > 38 hours & 1313 passes now, with no crashes. Going to re-close this.
See #58 (comment) and forum post.