[Bug 784658] New: CPU memory allocation error when trying to map a frame buffer

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jul 7 16:52:01 UTC 2017


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

            Bug ID: 784658
           Summary: CPU memory allocation error when trying to map a frame
                    buffer
    Classification: Platform
           Product: GStreamer
           Version: 1.12.0
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: jeremi.wojcicki at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

On ANDROID

In a pipeline:

videotestsrc !
video/x-raw,format=RGB,width=1280,height=720,framerate=30/1,pixel-aspect-ratio=1/1
! glupload ! appsink

When trying to map a video frame in an appsink callback:

gst_video_frame_map(&frame, &info, buffer, (GstMapFlags) (GST_MAP_READ |
(GST_MAP_FLAG_LAST << 1)) )

Gives a following error (does not block/crash the app however):

07-07 18:43:49.530 24876-25152/org.freedesktop.gstreamer.tutorials.tutorial_3
E/GStreamer+gldebug: 0:03:59.174314367 0x7cdf48c0f0
gstgldebug.c:303:_gst_gl_debug_callback:<glcontextegl0> high: GL error from API
id:150, Error:glGetQueryObjectui64vEXT::invalid query object
07-07 18:43:49.531 24876-25152/org.freedesktop.gstreamer.tutorials.tutorial_3
E/GStreamer+gldebug: 0:03:59.174688175 0x7cdf48c0f0
gstgldebug.c:303:_gst_gl_debug_callback:<glcontextegl0> high: GL error from API
id:1, Error:glBeginQueryEXT::failed to allocate CPU memory
07-07 18:43:49.534 24876-25152/org.freedesktop.gstreamer.tutorials.tutorial_3
E/GStreamer+gldebug: 0:03:59.177960175 0x7cdf48c0f0
gstgldebug.c:303:_gst_gl_debug_callback:<glcontextegl0> high: GL error from API
id:148, Error:glEndQueryEXT::query name is 0

Run on Samsung Galaxy S8, API 24, android 7.0

>From more details refer to:
http://gstreamer-devel.966125.n4.nabble.com/Memory-allocation-error-when-trying-to-map-a-video-frame-td4683716.html

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