Menu

#10 Segfault with "at"

closed-fixed
None
5
2001-12-14
2001-12-13
Ryan Daum
No

When using the "at" statement, a segfault occurs when
the scheduled TimerEvent comes up. I.e. hitting the
punching bag causes segfault 5 seconds later.

Discussion

  • Ryan Daum

    Ryan Daum - 2001-12-14
    • summary: Segfault with "at" --> Segfault with "at"
    • status: open --> closed-fixed
     
  • Ryan Daum

    Ryan Daum - 2001-12-14

    Logged In: YES
    user_id=15747

    While processing events, the scheduler was also able to
    receive new ones, and often ended up (not clear why)
    processing the same event twice. I rewrote process_events
    to do its work in a copy of the event queue created at the
    start of each pass through. This seems to fix the problem,
    though it remains to see how it compares in terms of
    performance.

     

Log in to post a comment.

MongoDB Logo MongoDB