After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 106885 - Issues when removing active elements
Issues when removing active elements
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other All
: Normal major
: 0.6.x
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-02-23 21:29 UTC by Benjamin Otte (Company)
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gcc -g `pkg-config --libs --cflags gstreamer-0.7` -o bug thisfile.c (1.15 KB, text/plain)
2003-02-23 21:31 UTC, Benjamin Otte (Company)
Details

Description Benjamin Otte (Company) 2003-02-23 21:29:42 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).
Comment 1 Benjamin Otte (Company) 2003-02-23 21:31:59 UTC
Created attachment 14557 [details]
gcc -g `pkg-config --libs --cflags gstreamer-0.7` -o bug thisfile.c
Comment 2 Wim Taymans 2003-02-23 22:03:47 UTC
ugh.. I guess doing a ref/unref on the pipeline in the iterate()
function could maybe improve behviour in this pathological situation.
Comment 3 Wim Taymans 2003-04-04 19:48:43 UTC
This one is fixed, see testsuite/refcounting/sched.c in HEAD