Starting program: /usr/bin/gst-launch-1.0 v4l2src device=/dev/video0 \! image/jpeg,width=1920 \! rtpjpegpay \! fakesink
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff3232700 (LWP 6672)]
[New Thread 0x7ffff2a31700 (LWP 6673)]
[New Thread 0x7ffff1a46700 (LWP 6674)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff3232700 (LWP 6672)]
gst_rtp_jpeg_pay_handle_buffer (basepayload=0x3f34e54c, buffer=0x3f4800) at gstrtpjpegpay.c:714
714	gstrtpjpegpay.c: No such file or directory.
warning: target file /proc/6665/cmdline contained unexpected null characters
warning: Memory read failed for corefile section, 8192 bytes at 0x7ffff7ffa000.
Saved corefile core.6665

Thread 4 (Thread 0x7ffff1a46700 (LWP 6674)):
#0  0x00007ffff7084fd9 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff75f7a0a in g_cond_wait_until (cond=cond@entry=0x6228c8, mutex=mutex@entry=0x6228c0, end_time=end_time@entry=175237963190) at /build/glib2.0-NiYzoW/glib2.0-2.44.1/./glib/gthread-posix.c:1442
        now = {tv_sec = 175237, tv_nsec = 463190771}
        span = {tv_sec = 0, tv_nsec = 499999229}
        sampled = 0
        res = <optimized out>
#2  0x00007ffff7587889 in g_async_queue_pop_intern_unlocked (queue=0x6228c0, wait=wait@entry=1, end_time=175237963190) at /build/glib2.0-NiYzoW/glib2.0-2.44.1/./glib/gasyncqueue.c:422
        retval = <optimized out>
        __FUNCTION__ = "g_async_queue_pop_intern_unlocked"
#3  0x00007ffff7587ee8 in g_async_queue_timeout_pop_unlocked (queue=<optimized out>, timeout=timeout@entry=500000)
    at /build/glib2.0-NiYzoW/glib2.0-2.44.1/./glib/gasyncqueue.c:570
        end_time = <optimized out>
#4  0x00007ffff75da2c0 in g_thread_pool_thread_proxy (pool=0x622330)
    at /build/glib2.0-NiYzoW/glib2.0-2.44.1/./glib/gthreadpool.c:262
        task = <optimized out>
        task = 0x7fffec003860
        pool = 0x622330
#5  0x00007ffff75da2c0 in g_thread_pool_thread_proxy (data=<optimized out>)
    at /build/glib2.0-NiYzoW/glib2.0-2.44.1/./glib/gthreadpool.c:296
        task = 0x7fffec003860
        pool = 0x622330
#6  0x00007ffff75d9955 in g_thread_proxy (data=0x800630) at /build/glib2.0-NiYzoW/glib2.0-2.44.1/./glib/gthread.c:764
        thread = 0x800630
#7  0x00007ffff73540a4 in start_thread (arg=0x7ffff1a46700) at pthread_create.c:309
        __res = <optimized out>
        pd = 0x7ffff1a46700
        now = <optimized out>
        unwind_buf = 
              {cancel_jmp_buf = {{jmp_buf = {140737247471360, -3840331868770572307, 1, 140737354125408, 140737343494400, 140737247471360, 3840310216748001261, 3840313644366391277}, 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"
#8  0x00007ffff708904d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7ffff2a31700 (LWP 6673)):
#0  0x00007ffff708050d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ffff75b2ebc in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7fffe40008c0, timeout=-1, context=0x804d10) at /build/glib2.0-NiYzoW/glib2.0-2.44.1/./glib/gmain.c:4103
        poll_func = 0x7ffff75c23e0 <g_poll>
        max_priority = 2147483647
        timeout = -1
        some_ready = <optimized out>
        nfds = 1
        allocated_nfds = 1
        fds = 0x7fffe40008c0
#2  0x00007ffff75b2ebc in g_main_context_iterate (context=context@entry=0x804d10, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-NiYzoW/glib2.0-2.44.1/./glib/gmain.c:3803
        max_priority = 2147483647
        timeout = -1
        some_ready = <optimized out>
        nfds = 1
        allocated_nfds = 1
        fds = 0x7fffe40008c0
#3  0x00007ffff75b2fcc in g_main_context_iteration (context=0x804d10, may_block=may_block@entry=1)
    at /build/glib2.0-NiYzoW/glib2.0-2.44.1/./glib/gmain.c:3869
        retval = <optimized out>
#4  0x00007ffff75b3009 in glib_worker_main (data=<optimized out>)
    at /build/glib2.0-NiYzoW/glib2.0-2.44.1/./glib/gmain.c:5618
#5  0x00007ffff75d9955 in g_thread_proxy (data=0x800230) at /build/glib2.0-NiYzoW/glib2.0-2.44.1/./glib/gthread.c:764
        thread = 0x800230
#6  0x00007ffff73540a4 in start_thread (arg=0x7ffff2a31700) at pthread_create.c:309
        __res = <optimized out>
        pd = 0x7ffff2a31700
        now = <optimized out>
        unwind_buf = 
              {cancel_jmp_buf = {{jmp_buf = {140737264162560, -3840331868770572307, 1, 140737354125408, 140737343494400, 140737264162560, 3840307990344329197, 3840313644366391277}, 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"
#7  0x00007ffff708904d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7ffff3232700 (LWP 6672)):
#0  0x00007ffff3da2b33 in gst_rtp_jpeg_pay_handle_buffer (basepayload=0x3f34e54c, buffer=0x3f4800)
    at gstrtpjpegpay.c:714
        ret = GST_FLOW_OK
        tables = {{size = 0 '\000', data = 0x0} <repeats 15 times>}
        info = 
            {{id = 0 '\000', samp = 0 '\000', qt = 0 '\000'}, {id = 0 '\000', samp = 0 '\000', qt = 0 '\000'}, {id = 0 '\000', samp = 0 '\000', qt = 0 '\000'}}
        map = 
            {memory = 0x7fd560, flags = GST_MAP_READ, data = 0x7ffff1e3c000 <error: Cannot access memory at address 0x7ffff1e3c000>, size = 295640, maxsize = 4147200, user_data = {0x12004000482d8, 0x0, 0x2ac85, 0x9889a}, _gst_reserved = {0x0, 0x0, 0x100000003, 0x0}}
        data = 0x7ffff1e3c000 <error: Cannot access memory at address 0x7ffff1e3c000>
        bytes_left = 295640
        __FUNCTION__ = "gst_rtp_jpeg_pay_handle_buffer"
#1  0x00007ffff7b31e1f in gst_pad_push_data (data=<optimized out>, type=<optimized out>, pad=<optimized out>)
    at gstpad.c:3830
        chainfunc = 0x7ffff36b9bf0
        parent = 0x7f20d0 [GstRtpJPEGPay]
        peer = 0x7e6570 [GstPad]
        __PRETTY_FUNCTION__ = "gst_pad_push_data"
#2  0x00007ffff7b31e1f in gst_pad_push_data (pad=0x7e6c00 [GstPad], type=4083915760, data=0x7fffec050940)
    at gstpad.c:4063
        peer = 0x7e6570 [GstPad]
        __PRETTY_FUNCTION__ = "gst_pad_push_data"
#3  0x00007ffff5b73c14 in gst_base_transform_chain (pad=0x3f34e54c, parent=0x7fe0f0 [GstCapsFilter], buffer=0x0)
    at gstbasetransform.c:2260
        priv = 0x7fe020
        ret = GST_FLOW_OK
        duration = 140737272551517
        outbuf = 0x7fffec050940
        __PRETTY_FUNCTION__ = "gst_base_transform_chain"
#4  0x00007ffff7b31e1f in gst_pad_push_data (data=<optimized out>, type=<optimized out>, pad=<optimized out>)
    at gstpad.c:3830
        chainfunc = 0x7ffff5b739d0 <gst_base_transform_chain>
        parent = 0x7fe0f0 [GstCapsFilter]
        peer = 0x7e69d0 [GstPad]
        __PRETTY_FUNCTION__ = "gst_pad_push_data"
#5  0x00007ffff7b31e1f in gst_pad_push_data (pad=0x7e6110 [GstPad], type=4122425808, data=0x7fffec050940)
    at gstpad.c:4063
        peer = 0x7e69d0 [GstPad]
        __PRETTY_FUNCTION__ = "gst_pad_push_data"
#6  0x00007ffff5b6b815 in gst_base_src_loop (pad=0x7e6110 [GstPad]) at gstbasesrc.c:2835
        src = 0x7e4350 [GstV4l2Src]
        buf = 0x7fffec050940
        ret = 8274792
        blocksize = 0
        __PRETTY_FUNCTION__ = "gst_base_src_loop"
#7  0x00007ffff7b5fb61 in gst_task_func (task=0x805050 [GstTask]) at gsttask.c:316
        lock = 0x7e6180
        priv = 0x805000
        __PRETTY_FUNCTION__ = "gst_task_func"
#8  0x00007ffff75da2e8 in g_thread_pool_thread_proxy (data=<optimized out>)
    at /build/glib2.0-NiYzoW/glib2.0-2.44.1/./glib/gthreadpool.c:307
        task = 0x621fc0
        pool = 0x6234d0
#9  0x00007ffff75d9955 in g_thread_proxy (data=0x8002d0) at /build/glib2.0-NiYzoW/glib2.0-2.44.1/./glib/gthread.c:764
        thread = 0x8002d0
#10 0x00007ffff73540a4 in start_thread (arg=0x7ffff3232700) at pthread_create.c:309
        __res = <optimized out>
        pd = 0x7ffff3232700
        now = <optimized out>
        unwind_buf = 
              {cancel_jmp_buf = {{jmp_buf = {140737272555264, -3840331868770572307, 1, 140737354125408, 140737343494400, 140737272555264, 3840304691272574957, 3840313644366391277}, 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"
#11 0x00007ffff708904d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7ffff7fc8700 (LWP 6665)):
#0  0x00007ffff708050d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ffff75b2ebc in g_main_context_iterate (priority=2147483647, n_fds=2, fds=0x803a60, timeout=-1, context=0x7da500) at /build/glib2.0-NiYzoW/glib2.0-2.44.1/./glib/gmain.c:4103
        poll_func = 0x7ffff75c23e0 <g_poll>
        max_priority = 2147483647
        timeout = -1
        some_ready = <optimized out>
        nfds = 2
        allocated_nfds = 2
        fds = 0x803a60
#2  0x00007ffff75b2ebc in g_main_context_iterate (context=0x7da500, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-NiYzoW/glib2.0-2.44.1/./glib/gmain.c:3803
        max_priority = 2147483647
        timeout = -1
        some_ready = <optimized out>
        nfds = 2
        allocated_nfds = 2
        fds = 0x803a60
#3  0x00007ffff75b3242 in g_main_loop_run (loop=0x8039d0) at /build/glib2.0-NiYzoW/glib2.0-2.44.1/./glib/gmain.c:4002
        __FUNCTION__ = "g_main_loop_run"
#4  0x00007ffff7b0880a in gst_bus_poll (bus=0x7cea40 [GstBus], events=GST_MESSAGE_ANY, timeout=140737351886016)
    at gstbus.c:1091
        poll_data = 0x7f6c00
        ret = 0xffffffff
        id = 23
        __PRETTY_FUNCTION__ = "gst_bus_poll"
#5  0x00000000004046e8 in event_loop (pipeline=0x7fa1e0 [GstPipeline], blocking=blocking@entry=1, do_progress=do_progress@entry=0, target_state=target_state@entry=GST_STATE_PLAYING) at gst-launch.c:512
        bus = 0x7cea40 [GstBus]
        message = <optimized out>
        res = ELR_NO_ERROR
        buffering = 0
        in_progress = 0
        prerolled = 1
#6  0x000000000040381c in main (argc=9, argv=0x7fffffffe268) at gst-launch.c:1090
        tfthen = 175236564439968
        tfnow = <optimized out>
        diff = <optimized out>
        state = 4160539104
        pending = 32767
        ret = <optimized out>
        bus = 0x7cea40 [GstBus]
        verbose = 0
        no_fault = 0
        eos_on_shutdown = 0
        exclude_args = 0x0
        options = 
            {{long_name = 0x405b6e "tags", short_name = 116 't', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x60747c <tags>, description = 0x406080 "Output tags (also known as metadata)", arg_description = 0x0}, {long_name = 0x405b73 "toc", short_name = 99 'c', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x607478 <toc>, description = 0x4060a8 "Output TOC (chapters and editions)", arg_description = 0x0}, {long_name = 0x405b77 "verbose", short_name = 118 'v', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x7fffffffde94, description = 0x4060d0 "Output status information and property notifications", arg_description = 0x0}, {long_name = 0x405b7f "quiet", short_name = 113 'q', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x607480 <quiet>, description = 0x406108 "Do not print any progress information", arg_description = 0x0}, {long_name = 0x405b8c "messages", short_name = 109 'm', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x607474 <messages>, description = 0x405b85 "Output messages", arg_description = 0x0}, {long_name = 0x405b95 "exclude", short_name = 88 'X', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x7fffffffdea8, description = 0x406130 "Do not output status information of TYPE", arg_description = 0x405b9d "TYPE1,TYPE2,..."}, {long_name = 0x405bad "no-fault", short_name = 102 'f', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x7fffffffde98, description = 0x406160 "Do not install a fault handler", arg_description = 0x0}, {long_name = 0x405bb6 "eos-on-shutdown", short_name = 101 'e', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x7fffffffde9c, description = 0x406180 "Force EOS on sources before shutting the pipeline down", arg_description = 0x0}, {long_name = 0x405bc6 "version", short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x607490 <__gst_tools_version>, description = 0x4061b8 "Print version information and exit", arg_description = 0x0}, {long_name = 0x0, short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x0, arg_description = 0x0}}
        ctx = <optimized out>
        err = 0x0
        argvn = <optimized out>
        error = 0x0
        deep_notify_id = 0
        res = 0
A debugging session is active.

	Inferior 1 [process 6665] will be killed.

Quit anyway? (y or n) 