After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 796030 - decklink: Crash with closed-captions signal and 10-bit input
decklink: Crash with closed-captions signal and 10-bit input
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 1.15.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-05-11 14:22 UTC by Vivia Nikolaidou
Modified: 2018-05-11 14:42 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Vivia Nikolaidou 2018-05-11 14:22:38 UTC
gdb --args ./gst/master/gstreamer/tools/.libs/gst-launch-1.0 decklinkvideosrc output-cc=true mode=12 video-format=2 ! queue !  fakesink

[...]


Thread 4 "decklinkvideosr" received signal SIGSEGV, Segmentation fault.

Thread 140737152808704 (LWP 2273)

  • #0 gst_video_vbi_parser_free
    at video-anc.c line 290
  • #1 extract_cc_from_vbi(GstDecklinkVideoSrc*, GstBuffer**, VideoFrame*, GstDecklinkMode const*)
    at gstdecklinkvideosrc.cpp line 819
  • #2 gst_decklink_video_src_create(GstPushSrc*, GstBuffer**)
    at gstdecklinkvideosrc.cpp line 1006
  • #3 gst_base_src_get_range
    at gstbasesrc.c line 2512
  • #4 gst_base_src_loop
    at gstbasesrc.c line 2836
  • #5 gst_task_func
    at gsttask.c line 332
  • #6 g_thread_pool_thread_proxy
    at ././glib/gthreadpool.c line 307
  • #7 g_thread_proxy
    at ././glib/gthread.c line 784
  • #8 start_thread
    at pthread_create.c line 333
  • #9 clone
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S line 97

Comment 1 Vivia Nikolaidou 2018-05-11 14:42:15 UTC
commit 31aafdbea55586edd0c40d651232ea983e256f8b (HEAD -> master, dev/master)
Author: Vivia Nikolaidou <vivia@ahiru.eu>
Date:   Fri May 11 17:39:35 2018 +0300

    decklink: Fix crash with closed-captions signal and 10-bit input

    Only free the parser if there is one. If the format hadn't changed but
    had always been 10-bit, there might genuinely be no parser.

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