[Bug 766015] New: decklinkvideosr seg fault

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu May 5 07:02:32 UTC 2016


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

            Bug ID: 766015
           Summary: decklinkvideosr seg fault
    Classification: Platform
           Product: GStreamer
           Version: 1.8.0
                OS: Linux
            Status: NEW
          Severity: critical
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: carl at personnelware.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

It takes about 5 min, and after 3 or 4 times paying attention, seems always
about 5 min.

gdb --args \
  gst-launch-1.0 \
            decklinkvideosrc mode=18 connection=2 ! \
        videoconvert ! \
                videorate ! \
                videoscale ! \
           
video/x-raw,format=I420,width=1280,height=720,framerate=30000/1001,pixel-aspect-ratio=1/1
! \
mux. \
            decklinkaudiosrc ! \
            audio/x-raw,format=S16LE,channels=2,layout=interleaved,rate=48000 !
\
     mux. \
            matroskamux name=mux ! \
                 tcpclientsink host=127.0.0.1 port=10000 \

juser at cnt3:~$ ./g.sh 
GNU gdb (Ubuntu 7.11-0ubuntu1) 7.11
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from gst-launch-1.0...Reading symbols from
/usr/lib/debug/.build-id/7f/218224d9efb937a9b838739ff5134d786f27c6.debug...done.
done.
(gdb) run
Starting program: /usr/bin/gst-launch-1.0 decklinkvideosrc mode=18 connection=2
\! videoconvert \! videorate \! videoscale \!
video/x-raw,format=I420,width=1280,height=720,framerate=30000/1001,pixel-aspect-ratio=1/1
\! mux. decklinkaudiosrc \!
audio/x-raw,format=S16LE,channels=2,layout=interleaved,rate=48000 \! mux.
matroskamux name=mux \! tcpclientsink host=127.0.0.1 port=10000
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Setting pipeline to PAUSED ...
[New Thread 0x7ffff019c700 (LWP 19542)]
[New Thread 0x7fffef99b700 (LWP 19543)]
[New Thread 0x7fffef19a700 (LWP 19544)]
Pipeline is live and does not need PREROLL ...
[New Thread 0x7fffee999700 (LWP 19545)]
Setting pipeline to PLAYING ...
New clock: GstDecklinkInputClock
[New Thread 0x7fffee198700 (LWP 19546)]
[New Thread 0x7fffd74b8700 (LWP 19547)]
[Thread 0x7fffd74b8700 (LWP 19547) exited]

Thread 6 "decklinkvideosr" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffee198700 (LWP 19546)]
gst_decklink_audio_src_got_packet (element=0x8ca8d0, packet=0x0, 
    capture_time=289868007529) at gstdecklinkaudiosrc.cpp:450
450        packet->AddRef ();
(gdb) 
#0  gst_decklink_audio_src_got_packet (element=0x8ca8d0, packet=0x0, 
    capture_time=289868007529) at gstdecklinkaudiosrc.cpp:450
        p = 0x7fffd000d830
        self = 0x8ca8d0
        videosrc = <optimized out>
        __FUNCTION__ = "gst_decklink_audio_src_got_packet"
#1  0x00007ffff5ce8e12 in
GStreamerDecklinkInputCallback::VideoInputFrameArrived (this=0x8c27d0,
video_frame=0x7fffd00008c0, audio_packet=0x0)
    at gstdecklink.cpp:577
        videosrc = 0x9430d0
        audiosrc = 0x8ca8d0
        got_video_frame = 0x7ffff5cf0e90
     <gst_decklink_video_src_got_frame(GstElement*, IDeckLinkVideoInputFrame*,
GstDecklinkModeEnum, GstClockTime, GstClockTime)>
        got_audio_packet = <optimized out>
        mode = GST_DECKLINK_MODE_720p5994
        capture_time = 289868007529
        capture_duration = 16683333
        res = <optimized out>
        __FUNCTION__ = "VideoInputFrameArrived"
#2  0x00007ffff268dba9 in CDeckLinkInput::inputFrameArrivalCallack() ()
   from /usr/lib/libDeckLinkAPI.so
No symbol table info available.
#3  0x00007ffff2665289 in CDeckLink::DriverNotificationThreadFunction(void*) ()
   from /usr/lib/libDeckLinkAPI.so
No symbol table info available.
#4  0x00007ffff73336fa in start_thread (arg=0x7fffee198700)
    at pthread_create.c:333
        __res = <optimized out>
        pd = 0x7fffee198700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737188038400, 
                5150649496094626421, 0, 140737204820943, 140737188039104, 18, 
                -5150688198031846795, -5150668770070900107}, 
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, 
            data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#5  0x00007ffff7069b5d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.

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