[Bug 695981] Segmentation fault on gst_v4l2_buffer_pool_process

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Mar 17 06:12:30 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=695981
  GStreamer | gst-plugins-good | 1.x

--- Comment #5 from Patricio Palladino <email at patriciopalladino.com> 2013-03-17 13:12:25 UTC ---
Created an attachment (id=239062)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=239062)
A smaller reproduction script, with a workaround commented out

I kept investigating about this bug and created a better reproduction script.
It doesn't have all the unnecessary Gtk stuff as I realized that the bug will
affect me just by creating the pipeline, it doesn't matter that I never use it.

The script makes use of fork() to create sub-processes iteratively until one of
them crashes. The expected behavior would be the program running forever
without printing anything. The bugged behavior would be printing "Program
crashed" and exiting correctly.

I also found a workaround to this bug. It consists on sleeping the processes
during some time (say 100ms) after setting the pipeline's state to PLAYING
before sending the first "start-capture" signal to camera bin. It's commented
out on the reproduction script. I tested it during a long time (1000s of
executions) and it never crashed.

I filed this bug under gst-plugins-good as the backtraces said it crashed on
v4l, but maybe is a camerabin2 bug. I'm afraid I'm not qualify enough to be
sure about that.

-- 
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