[Bug 777742] New: avfvideosrc SEGFAULT

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Jan 25 13:27:00 UTC 2017


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

            Bug ID: 777742
           Summary: avfvideosrc SEGFAULT
    Classification: Platform
           Product: GStreamer
           Version: 1.10.2
                OS: Mac OS
            Status: NEW
          Severity: major
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: thecopy at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Using "video/x-raw(memory:GLMemory)” (default caps) fails for me using
python-gst but somehow work when using gst-launch. (avfvideosrc ! fakesink)

Making it not use GLMemory ("video/x-raw") makes it skip this block:
https://github.com/GStreamer/gst-plugins-bad/blob/master/sys/applemedia/avfvideosrc.m#L1002
which in turn makes the element work (i.e. not crash).

* thread #5: tid = 0x30c4b, 0x0000000102a9e5fd libglib-2.0.0.dylib`g_mutex_lock
+ 13, name = 'avfvideosrc0:src', stop reason = EXC_BAD_ACCESS (code=1,
address=0x18)
  * frame #0: 0x0000000102a9e5fd libglib-2.0.0.dylib`g_mutex_lock + 13
    frame #1: 0x000000010480b4db
libgstapplemedia.so`gst_gl_context_helper_ensure_context + 353
    frame #2: 0x0000000104810008 libgstapplemedia.so`-[GstAVFVideoSrcImpl
decideAllocation:] + 118
    frame #3: 0x0000000104811083
libgstapplemedia.so`gst_avf_video_src_decide_allocation + 80
    frame #4: 0x00000001048b021c libgstbase-1.0.0.dylib`gst_base_src_loop + 370
    frame #5: 0x0000000103ba3fd9 libgstreamer-1.0.0.dylib`gst_task_func + 339
    frame #6: 0x0000000102a85664 libglib-2.0.0.dylib`g_thread_pool_thread_proxy
+ 37
    frame #7: 0x0000000102a849c6 libglib-2.0.0.dylib`g_thread_proxy + 90
    frame #8: 0x00007fff8b5e499d libsystem_pthread.dylib`_pthread_body + 131
    frame #9: 0x00007fff8b5e491a libsystem_pthread.dylib`_pthread_start + 168
    frame #10: 0x00007fff8b5e2351 libsystem_pthread.dylib`thread_start + 13

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