GNOME Bugzilla – Bug 106885
Issues when removing active elements
Last modified: 2004-12-22 21:47:04 UTC
When removing elements and/or the scheduler during iteration, the schedulers have severe problems. The basic scheduler might not unref all previously held references, the opt scheduler will probably have issues, too, though it works with the attached file. I'll attach a file to reproduce this bug (using the basic scheduler).
Created attachment 14557 [details] gcc -g `pkg-config --libs --cflags gstreamer-0.7` -o bug thisfile.c
ugh.. I guess doing a ref/unref on the pipeline in the iterate() function could maybe improve behviour in this pathological situation.
This one is fixed, see testsuite/refcounting/sched.c in HEAD