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
I did not observe a crash when -U yakra mapcat oscar was at the end of this commandline, but that is most likely only coincidence. The rest of the arguments were still processed OK in both cases; failure happened when Processing traveler list files
ISTR something like: Processing traveler list files: yakra.list mapcat.listoscar.list with no space between mapcat.list & oscar.list.
After 20 repeated tries, I was not able to reproduce the bug.
Try cranking up the number of threads to increase the odds of collisions.
No spaces: [23.3] Processing traveler list files: master_son.list extremebandman.listbaugh17.list barefoot_driver.list
observed, without actual crashes in script output. Assuming this is unrelated, an artifact of streaming stuff to std::cout without a mutex.
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.
cout << et.et() << "Processing traveler list files:";
// -->
cout << et.et() << "Processing traveler list files:" << std::flush;
From there, the new printfs don't flush stdout. Convert back to std::cout for the sake of simplicity of DIFFs. Change << -> +; add std::to_string as needed.
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 25, 2019
No spaces:
[23.3] Processing traveler list files: master_son.list extremebandman.listbaugh17.list barefoot_driver.listobserved, without actual crashes in
scriptoutput. Assuming this is unrelated, an artifact of streaming stuff to std::cout without a mutex.yakra commentedon Jan 26, 2019
Makes sense to take the 3 current bugs chronologically:
#44, #55, #54
yakra commentedon Jan 27, 2019
8 threads: 1 crash in 100 runs (3lists.log & 3lists_full.log).
crashlog.sh commandline:
./siteupdate -t 8 -U yakra mapcat oscar -l logs -n nmp_merged -c stats -u /home/yakra/TravelMapping/UserData/list_files -w /home/yakra/TravelMapping/HighwayData | tee siteupdate_m1.logNo further shell output; it just dies.
yakra commentedon Jan 27, 2019
ifadded to ReadListThread:no crashes in 100 runs, 8 threads.
Closing issue.
yakra commentedon Jan 27, 2019
Related issues:
#56 ReadWptThread
#44 NmpMergedThread
#55 ReadListThread
#58 ConcAugThread
#54 ComputeStatsThread
#59 UserLogThread
yakra commentedon Jun 4, 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 11, 2019
lab1, hung up on attempt 0133
From there, the new
printfs don't flush stdout. Convert back tostd::coutfor the sake of simplicity of DIFFs. Change<<->+; addstd::to_stringas needed.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.