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
{{ message }}
Repository navigation
crash when Augmenting travelers for detected concurrent segments #58
travlists->size() shouldn't even be a problem. It's read outside a mutex, but only written from within one, via pop_front().
This puts me at a loss for what to do.
I think I may try moving away from this method of popping elements off the list anyway.
I've never seen SubgraphThread (which reads a vector non-destructively, only messing with its index) crash since this nonsense began.
Hey man. Maybe that could mean something?
If, as per the previous post, we're getting caught in an infinite loop, maybe something's fishy with the while loop after all? I don't see what or how, but...
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 27, 2019
ifadded to ConcAugThread:no crashes in 100 runs, 8 threads.
yakra commentedon Jan 27, 2019
No crashes in 100 runs, 20 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 11, 2019
Forget whether I everI also observed a crash where the program just terminates, but observed a similar infinite loop to #44 (comment)On lab1, one thread appeared to get caught in an infinite loop, CPU @ 100%, with the other 7 CPUs @ 0%.
yakra commentedon Jun 22, 2019
-rw-rw-r--. 1 dan dan 11588974 Jun 21 22:49 0100.log0100.log: ConcAugThread 03 begin traveler processing97eaf1e
Last reported activity per thread
Starting ConcAugThread 01
Starting ConcAugThread 02
Starting ConcAugThread 05
Starting ConcAugThread 06
ConcAugThread 00 begin traveler processing
ConcAugThread 04 begin traveler processing
(threads 7+ did not start)
ConcAugThread 03 begin traveler processing
Starting ConcAugThread.while (travlists->size())beginstl_mtxis lockedtravlists->pop_front();begin traveler processingfor (HighwaySegment *s : t->clinched_segments)tis unique per threadif (s->concurrent) for (HighwaySegment *hs : *(s->concurrent))if (hs->route->system->active_or_preview() && hs->add_clinched_by(t))hs->add_clinched_by(t))Again, everything within a mutex.
travlists->size()shouldn't even be a problem. It's read outside a mutex, but only written from within one, viapop_front().This puts me at a loss for what to do.
I think I may try moving away from this method of popping elements off the list anyway.
I've never seen
SubgraphThread(which reads a vector non-destructively, only messing with its index) crash since this nonsense began.Hey man. Maybe that could mean something?
If, as per the previous post, we're getting caught in an infinite loop, maybe something's fishy with the while loop after all? I don't see what or how, but...
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.
.list processing enhancements