« Previous | Next » 

Revision b933281e

Parent 35164c50
Child 11b32d91

Added by Ondrej Zajicek about 12 years ago

Fixes nasty bug in event processing.

WALK_LIST_DELSAFE (in ev_run_list) is not safe with regard
to deletion of next node. When some events are rescheduled
during event execution, it may lead to deletion of next
node and some events are skipped. Such skipped nodes remain
in temporary list on stack and the last of them contains
'next' pointer to stack area. When this event is later
scheduled, it damages stack area trying to remove it from
the list, which leads to random crashes with funny
backtraces :-) .


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences