[Bug 740672] queue2 : get_buffering_percent() returns negative percentage may cause segmentation fault

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Nov 27 02:37:39 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=740672
  GStreamer | gstreamer (core) | 1.2.3

--- Comment #3 from Sebastian Dröge (slomo) <slomo at coaxion.net> 2014-11-27 10:37:33 UTC ---
Can you try to provide a testcase? I can't reproduce this here like that.

Your patch is obviously correct but there must be a deeper problem that it even
gets to a negative percentage... and that problem should be fixed instead.


If printf() does not help, try adding some g_assert() in there and when it
happens in a debugger you can check things then... or if it also does not
happen when running in a debugger, let it crash and create a coredump with
which you can then inspect that state of the queue.


Are you using queue2 in ringbuffer mode? Or with any other non-default property
settings?

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