[Bug 765600] gst_memory_map: delegate logging traces to subclass on failure

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Jun 26 11:22:36 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=765600

--- Comment #15 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
(In reply to Julien Isorce from comment #14)
> I plan to add traces in various subclasses when it is not already the case.
> It seems that for protected areas mmap will just return NULL so in that case
> gst_fd_mem_map does not log any error. When it returns MAP_FAILED, we can
> log GST_ERROR or GST_INFO depending on the "errno" value.

Seems like a bad kernel implementation. Should fail with ENOPERM imh, as this
is what everything else return in similar situations.

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