~ $ GST_DEBUG=3,waylandsink:5 gst-launch-1.0 --gst-debug-no-color videotestsrc ! waylandsink Setting pipeline to PAUSED ... Pipeline is PREROLLING ... 0:00:00.404001994 3432 0x20ee3800 FIXME default gstutils.c:3 981:gst_pad_create_stream_id_internal: Creating random stream -id, consider implementing a deterministic way of creating a stream-id 0:00:00.404620172 3432 0x20ee3800 DEBUG waylandsink gstwaylandsi nk.c:502:gst_wayland_sink_get_caps: display caps: video/x-raw, for mat=(string){ BGRA, BGRx, RGB16, I420, NV12, YUY2 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; vid eo/x-raw(memory:DMABuf), format=(string){ BGRA, BGRx, YUY2, NV12 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147 483647/1 ] 0:00:00.405278714 3432 0x20ee3800 DEBUG waylandsink gstwaylandsi nk.c:502:gst_wayland_sink_get_caps: display caps: video/x-raw, for mat=(string){ BGRA, BGRx, RGB16, I420, NV12, YUY2 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; vid eo/x-raw(memory:DMABuf), format=(string){ BGRA, BGRx, YUY2, NV12 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147 483647/1 ] 0:00:00.405417256 3432 0x20ee3800 DEBUG waylandsink gstwaylandsi nk.c:552:gst_wayland_sink_set_caps: set caps video/x-raw, format=( string)I420, width=(int)320, height=(int)240, framerate=(fraction)30/1, multivie w-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)pr ogressive 0:00:00.412678881 3432 0x20ee3800 DEBUG waylandsink wlshmallocat or.c:222:gst_wl_shm_memory_construct_wl_buffer: Creatin g wl_buffer from SHM of size 4 (1 x 1, stride 4), format BGRx 0:00:00.412869350 3432 0x20ee3800 WARN waylandsink wlvideoforma t.c:137:gst_video_format_to_wl_dmabuf_format: wayland dmabuf video format not fo und 0:00:00.412966382 3432 0x20ee3800 DEBUG waylandsink wlshmallocat or.c:222:gst_wl_shm_memory_construct_wl_buffer: Creatin g wl_buffer from SHM of size 115200 (320 x 240, stride 320), format I420 Pipeline is PREROLLED ... Setting pipeline to PLAYING ... xdg_surface@15: error 3: xdg_surface has never been configured 0:00:00.414065394 3432 0x20ee3770 ERROR waylandsink wldisplay.c: 273:gst_wl_display_thread_run: Error communicating with the wayland server New clock: GstSystemClock ^Chandling interrupt. Interrupt: Stopping pipeline ... Execution ended after 0:00:12.444979795 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... 0:00:12.861534671 3432 0x211a8100 DEBUG waylandsink gstwaylandsi nk.c:283:gst_wayland_sink_finalize: Finalizing the sink.. 0:00:12.861648369 3432 0x211a8100 DEBUG waylandsink wlbuffer.c:1 99:gst_wl_buffer_force_release_and_unref: forcing wl_buf fer::release (GstBuffer: 0x211d37e0) 0:00:12.861788838 3432 0x211a8100 DEBUG waylandsink wlbuffer.c:1 99:gst_wl_buffer_force_release_and_unref: forcing wl_buf fer::release (GstBuffer: 0x211d35a0) ~ $ ~ $ ~ $ ~ $ gdb --args gst-launch-1.0 videotestsrc ! waylandsink GNU gdb (GDB) 8.2.1 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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 "aarch64-linaro-linux". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . 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/bin/.debug/gst-l aunch-1.0...done. done. (gdb) b gst_wl_shm_memory_construct_wl_buffer Function "gst_wl_shm_memory_construct_wl_buffer" not defined. Make breakpoint pending on future shared library load? (y or [n]) y Breakpoint 1 (gst_wl_shm_memory_construct_wl_buffer) pending. (gdb) run Starting program: /usr/bin/gst-launch-1.0 videotestsrc \! waylandsink warning: File "/lib/libthread_db-1.0.so" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load". To enable execution of this file add add-auto-load-safe-path /lib/libthread_db-1.0.so line to your configuration file "/home/linaro/.gdbinit". To completely disable this security protection add set auto-load safe-path / line to your configuration file "/home/linaro/.gdbinit". For more information about this security protection see the "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: info "(gdb)Auto-loading safe path" warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available. Setting pipeline to PAUSED ... [New LWP 3467] [New LWP 3468] Pipeline is PREROLLING ... [New LWP 3469] [Switching to LWP 3468] Thread 3 "videotestsrc0:s" hit Breakpoint 1, gst_wl_shm_memory_construct_wl_buff er (mem=0xffffb000e850, display=0x42eb40, info=info@entry=0xffffbe37fb58) at ../../../git/ext/wayland/wlshmallocator.c:201 201 ../../../git/ext/wayland/wlshmallocator.c: No such file or directory. (gdb) bt #0 gst_wl_shm_memory_construct_wl_buffer (mem=0xffffb000e850, display=0x42eb40, info=info@entry=0xffffbe37fb58) at ../../../git/ext/wayland/wlshmallocator.c:201 #1 0x0000ffffbebf6030 in gst_wl_window_update_borders (window=0xffffb0018800) at ../../../git/ext/wayland/wlwindow.c:486 #2 gst_wl_window_set_render_rectangle (window=window@entry=0xffffb0018800, x=x@entry=0, y=y@entry=0, w=320, h=240) at ../../../git/ext/wayland/wlwindow.c:517 #3 0x0000ffffbebf61dc in gst_wl_window_new_toplevel (display=, info=info@entry=0x647300, fullscreen=0, render_lock=render_lock@entry=0x6473b0) at ../../../git/ext/wayland/wlwindow.c:300 #4 0x0000ffffbebf2624 in gst_wayland_sink_show_frame (vsink=, buffer=0x64f5a0) at ../../../git/ext/wayland/gstwaylandsink.c:699 #5 0x0000ffffbecc95a8 in gst_base_sink_do_preroll (sink=sink@entry=0x647010, obj=obj@entry=0x64f5a0) at ../../../../git/libs/gst/base/gstbasesink.c:2447 #6 0x0000ffffbecc9b30 in gst_base_sink_do_sync ( basesink=basesink@entry=0x647010, obj=obj@entry=0x64f5a0, late=late@entry=0xffffbe380658, step_end=step_end@entry=0xffffbe38065c) at ../../../../git/libs/gst/base/gstbasesink.c:2667 #7 0x0000ffffbeccaf1c in gst_base_sink_chain_unlocked ( basesink=basesink@entry=0x647010, obj=obj@entry=0x64f5a0, is_list=is_list@entry=0, pad=) at ../../../../git/libs/gst/base/gstbasesink.c:3616 #8 0x0000ffffbeccbe64 in gst_base_sink_chain_main (basesink=0x647010, pad=, obj=0x64f5a0, is_list=0) at ../../../../git/libs/gst/base/gstbasesink.c:3775 #9 0x0000ffffbf5f593c in gst_pad_chain_data_unchecked (data=0x64f5a0, type=4112, pad=0x640380) at ../../git/gst/gstpad.c:4326 #10 gst_pad_push_data (pad=pad@entry=0x640130, type=type@entry=4112, data=0x64f5a0) at ../../git/gst/gstpad.c:4582 #11 0x0000ffffbf5fc7b4 in gst_pad_push (pad=pad@entry=0x640130, buffer=) at ../../git/gst/gstpad.c:4701 #12 0x0000ffffbecd15dc in gst_base_src_loop (pad=0x640130) at ../../../../git/libs/gst/base/gstbasesrc.c:2966 #13 0x0000ffffbf62d1f4 in gst_task_func (task=0x64f050) at ../../git/gst/gsttask.c:328 #14 0x0000ffffbf453638 in ?? () from /usr/lib/libglib-2.0.so.0 #15 0x0000ffffbf452b7c in ?? () from /usr/lib/libglib-2.0.so.0 #16 0x0000ffffbf3b5854 in ?? () from /lib/libpthread.so.0 #17 0x0000ffffbf3109ac in ?? () from /lib/libc.so.6 (gdb) c Continuing. Thread 3 "videotestsrc0:s" hit Breakpoint 1, gst_wl_shm_memory_construct_wl_buff er (mem=mem@entry=0x42be90, display=0x42eb40, info=info@entry=0x647300) at ../../../git/ext/wayland/wlshmallocator.c:201 201 in ../../../git/ext/wayland/wlshmallocator.c (gdb) bt #0 gst_wl_shm_memory_construct_wl_buffer (mem=mem@entry=0x42be90, display=0x42eb40, info=info@entry=0x647300) at ../../../git/ext/wayland/wlshmallocator.c:201 #1 0x0000ffffbebf28b4 in gst_wayland_sink_show_frame (vsink=, buffer=0x64f5a0) at ../../../git/ext/wayland/gstwaylandsink.c:758 #2 0x0000ffffbecc95a8 in gst_base_sink_do_preroll (sink=sink@entry=0x647010, obj=obj@entry=0x64f5a0) at ../../../../git/libs/gst/base/gstbasesink.c:2447 #3 0x0000ffffbecc9b30 in gst_base_sink_do_sync ( basesink=basesink@entry=0x647010, obj=obj@entry=0x64f5a0, late=late@entry=0xffffbe380658, step_end=step_end@entry=0xffffbe38065c) at ../../../../git/libs/gst/base/gstbasesink.c:2667 #4 0x0000ffffbeccaf1c in gst_base_sink_chain_unlocked ( basesink=basesink@entry=0x647010, obj=obj@entry=0x64f5a0, is_list=is_list@entry=0, pad=) at ../../../../git/libs/gst/base/gstbasesink.c:3616 #5 0x0000ffffbeccbe64 in gst_base_sink_chain_main (basesink=0x647010, pad=, obj=0x64f5a0, is_list=0) at ../../../../git/libs/gst/base/gstbasesink.c:3775 #6 0x0000ffffbf5f593c in gst_pad_chain_data_unchecked (data=0x64f5a0, type=4112, pad=0x640380) at ../../git/gst/gstpad.c:4326 #7 gst_pad_push_data (pad=pad@entry=0x640130, type=type@entry=4112, data=0x64f5a0) at ../../git/gst/gstpad.c:4582 #8 0x0000ffffbf5fc7b4 in gst_pad_push (pad=pad@entry=0x640130, buffer=) at ../../git/gst/gstpad.c:4701 #9 0x0000ffffbecd15dc in gst_base_src_loop (pad=0x640130) at ../../../../git/libs/gst/base/gstbasesrc.c:2966 #10 0x0000ffffbf62d1f4 in gst_task_func (task=0x64f050) at ../../git/gst/gsttask.c:328 #11 0x0000ffffbf453638 in ?? () from /usr/lib/libglib-2.0.so.0 #12 0x0000ffffbf452b7c in ?? () from /usr/lib/libglib-2.0.so.0 #13 0x0000ffffbf3b5854 in ?? () from /lib/libpthread.so.0 #14 0x0000ffffbf3109ac in ?? () from /lib/libc.so.6 (gdb) c Continuing. Pipeline is PREROLLED ... xdg_surface@15: error 3: xdg_surface has never been configured Setting pipeline to PLAYING ... 0:00:14.048343866 3464 0x506a80 ERROR waylandsink wldisplay.c: 273:gst_wl_display_thread_run: Error communicating with the wayland server New clock: GstSystemClock [LWP 3467 exited]