GNOME Bugzilla – Bug 147819
[PATCH] Add some checks in the opt scheduler
Last modified: 2004-12-22 21:47:04 UTC
The attached patch adds some checks to the opt scheduler. The group check will segfault if the element's sched has been unset, so there is an intermediate check there. Also, if a group that was enabled and on the runqueue becomes disabled during the execution of another group, opt still tries to run it, which doesn't really work.
Created attachment 29627 [details] [review] Patch to fix the segfaults I'm not sure if this is the right place for checking for a disabled group. Meaning, I'm not sure if it's the right fix, or if it's just papering over another problem.
Created attachment 29653 [details] [review] new patch new patch, uses an existing function to safely get the group of an element. removed one of the g_warnings as it still fails the testsuite that way.
Ronald says this makes RB unable to play. marking as blocker.
fixed in cvs.