[Bug 701110] videomixer: sinkpads GSList is not protected for multi-threading

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jan 23 06:50:14 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=701110
  GStreamer | gst-plugins-good | git

--- Comment #2 from [laucha] <lauchapc87 at gmail.com> 2014-01-23 14:50:11 UTC ---
Created an attachment (id=267052)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=267052)
example that causes segmentation fault on the videomixer

Talking with Sebastian on the list:
http://lists.freedesktop.org/archives/gstreamer-devel/2014-January/045768.html 

This example have a pipe with videotestsrc ! capsfilter ! videomxier !
xvimagesink.
Then on PLAYING_STATE I do this:
while (TRUE){
    sleep(1);
    add_mixer_input(); //adds a new bin to the mixer
    sleep(1);
    remove_mixer_input(); // removes the previously added bin.
}
The program causes segfault, and always crashed in the same point.
If I run the program with GST_DEBUG=4 the program crashes more quickly.

One more thing, if I don't call release_request_pad on mixer, the program seems
to doesn't blow up.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list