Program received signal SIGSEGV, Segmentation fault. 0x0000000000000000 in ?? () (gdb) bt #0 0x0000000000000000 in ?? () #1 0x00007ffff262a5a5 in gl_renderer_query_dmabuf_formats (wc=, formats=0x7fffffffcec0, num_formats=0x7fffffffceb8) at ../libweston/gl-renderer.c:1914 #2 0x00007ffff7bc8403 in bind_linux_dmabuf (client=0x555555e31940, data=0x555555773a90, version=3, id=) at ../libweston/linux-dmabuf.c:492 #3 0x00007ffff67b61c8 in ffi_call_unix64 () from target:/usr/lib/libffi.so.6 #4 0x00007ffff67b5c2a in ffi_call () from target:/usr/lib/libffi.so.6 #5 0x00007ffff799a018 in wl_closure_invoke (closure=closure@entry=0x555555e30840, target=, target@entry=0x555555e30720, opcode=opcode@entry=0, data=, data@entry=0x555555e31940, flags=2) at ../src/connection.c:935 #6 0x00007ffff799f635 in wl_client_connection_data (fd=, mask=, data=0x555555e31940) at ../src/wayland-server.c:406 #7 0x00007ffff799c3d2 in wl_event_loop_dispatch (loop=, timeout=, loop=) at ../src/event-loop.c:423 #8 0x00007ffff799d752 in wl_display_run (display=0x555555770f30) at ../src/wayland-server.c:1245 #9 0x0000555555559aa2 in main (argc=, argv=0x7fffffffdb18) at ../compositor/main.c:1969 (gdb) bt full #0 0x0000000000000000 in ?? () No symbol table info available. #1 0x00007ffff262a5a5 in gl_renderer_query_dmabuf_formats (wc=, formats=0x7fffffffcec0, num_formats=0x7fffffffceb8) at ../libweston/gl-renderer.c:1914 num = 32767 __PRETTY_FUNCTION__ = "gl_renderer_query_dmabuf_formats" #2 0x00007ffff7bc8403 in bind_linux_dmabuf (client=0x555555e31940, data=0x555555773a90, version=3, id=) at ../libweston/linux-dmabuf.c:492 compositor = 0x555555773a90 resource = 0x555555e30950 formats = 0x0 modifiers = 0x0 num_formats = 2080 num_modifiers = 0 modifier_invalid = 72057594037927935 i = j = #3 0x00007ffff67b61c8 in ffi_call_unix64 () from target:/usr/lib/libffi.so.6 No symbol table info available. #4 0x00007ffff67b5c2a in ffi_call () from target:/usr/lib/libffi.so.6 No symbol table info available. #5 0x00007ffff799a018 in wl_closure_invoke (closure=closure@entry=0x555555e30840, target=, target@entry=0x555555e30720, opcode=opcode@entry=0, data=, data@entry=0x555555e31940, flags=2) at ../src/connection.c:935 cif = {abi = FFI_UNIX64, nargs = 6, arg_types = 0x7fffffffd050, rtype = 0x7ffff67b65b0 , bytes = 0, flags = 0} ffi_types = {0x7ffff67b6490 , 0x7ffff67b6490 , 0x7ffff67b6510 , 0x7ffff67b6490 , 0x7ffff67b6510 , 0x7ffff67b6510 , 0x7fffffffd140, 0x7ffff7230f08 , 0x55550000001f, 0x555549eb8ef1, 0x1c, 0xe15ed83c00000000, 0x12000000011, 0x130, 0x101, 0x4, 0x3400000011, 0x0, 0x7c00000000, 0x0, 0x0, 0xe15ed83c8cedaa00} ffi_args = {0x7fffffffd020, 0x7fffffffd028, 0x555555e30858, 0x555555e30860, 0x555555e30868, 0x555555e30870, 0x110, 0x7ffff799b5e6 , 0x90, 0x555555770f30, 0x11, 0x130, 0xfc, 0x4, 0x3400000011, 0x0, 0x7c0000005b, 0x0, 0x0, 0x6e00000077, 0x1, 0x7ffff7553a80 } implementation = #6 0x00007ffff799f635 in wl_client_connection_data (fd=, mask=, data=0x555555e31940) at ../src/wayland-server.c:406 client = connection = resource = 0x555555e30720 object = 0x555555e30720 message = 0x7ffff7ba4850 p = {14, 2883584} resource_flags = opcode = 0 size = len = #7 0x00007ffff799c3d2 in wl_event_loop_dispatch (loop=, timeout=, loop=) at ../src/event-loop.c:423 ep = {{events = 1, data = {ptr = 0x555555e248e0, fd = 1440893152, u32 = 1440893152, u64 = 93825001474272}}, {events = 1, data = {ptr = 0x555555774090, fd = 1433878672, u32 = 1433878672, u64 = 93824994459792}}, {events = 2364385792, data = {ptr = 0x354e15ed83c, fd = -513877956, u32 = 3781089340, u64 = 3663093225532}}, {events = 0, data = {ptr = 0x555555e368f0, fd = 1440966896, u32 = 1440966896, u64 = 93825001548016}}, {events = 4294956096, data = {ptr = 0x55e3990800007fff, fd = 32767, u32 = 32767, u64 = 6188958572576014335}}, {events = 21845, data = {ptr = 0x555555e378f8, fd = 1440971000, u32 = 1440971000, u64 = 93825001552120}}, {events = 4154041925, data = {ptr = 0x35400007fff, fd = 32767, u32 = 32767, u64 = 3659312168959}}, {events = 0, data = {ptr = 0x7fffffffd4b0, fd = -11088, u32 = 4294956208, u64 = 140737488344240}}, {events = 4294956192, data = {ptr = 0xf7de7b7300007fff, fd = 32767, u32 = 32767, u64 = 17860848906049454079}}, {events = 1868, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0xffffd48000000000, fd = 0, u32 = 0, u64 = 18446696244953743360}}, {events = 32767, data = {ptr = 0x1, fd = 1, u32 = 1, u64 = 1}}, {events = 4294956192, data = {ptr = 0x1400007fff, fd = 32767, u32 = 32767, u64 = 85899378687}}, {events = 0, data = {ptr = 0xffffffff00000000, fd = 0, u32 = 0, u64 = 18446744069414584320}}, {events = 4294967295, data = {ptr = 0x55e38044ffffffff, fd = -1, u32 = 4294967295, u64 = 6188931346778292223}}, {events = 21845, data = {ptr = 0x354, fd = 852, u32 = 852, u64 = 852}}, {events = 1436097736, data = {ptr = 0x2c00005555, fd = 21845, u32 = 21845, u64 = 188978582869}}, {events = 0, data = {ptr = 0x14, fd = 20, u32 = 20, u64 = 20}}, {events = 1, data = {ptr = 0x3a00000001, fd = 1, u32 = 1, u64 = 249108103169}}, {events = 0, data = {ptr = 0xff0000, fd = 16711680, u32 = 16711680, u64 = 16711680}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x3176, fd = 12662, u32 = 12662, u64 = 12662}}, {events = 273, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 12662, data = {ptr = 0x11100000000, fd = 0, u32 = 0, u64 = 1172526071808}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x8cedaa0000000000, fd = 0, u32 = 0, u64 = 10154959651767058432}}, {events = 3781089340, data = {ptr = 0x55555596e820, fd = 1435953184, u32 = 1435953184, u64 = 93824996534304}}, {events = 1440946496, data = {ptr = 0x55770f5800005555, fd = 21845, u32 = 21845, u64 = 6158407886084003157}}, {events = 21845, data = {ptr = 0x555555770f78, fd = 1433866104, u32 = 1433866104, u64 = 93824994447224}}} source = i = count = #8 0x00007ffff799d752 in wl_display_run (display=0x555555770f30) at ../src/wayland-server.c:1245 No locals. #9 0x0000555555559aa2 in main (argc=, argv=0x7fffffffdb18) at ../compositor/main.c:1969 ret = 1 display = 0x555555770f30 ec = 0x555555773a90 signals = {0x555555771060, 0x555555771100, 0x555555771150, 0x5555557711a0} loop = i = 1 fd = backend = 0x5555557713e0 "drm-backend.so" shell = 0x555555950d20 "desktop-shell.so" xwayland = 1 modules = 0x5555559285e0 "" option_modules = 0x0 log = 0x0 server_socket = idle_time = 7200 help = 0 socket_name = 0x0 version = 0 noconfig = 0 numlock_on = 0 config_file = 0x0 config = section = primary_client = primary_client_destroyed = {link = {prev = 0x0, next = 0x1}, notify = 0x0} seat = user_data = {config = 0x555555772a70, parsed_options = 0x0, pending_output_listener = {link = {prev = 0x555555773b58, next = 0x555555773b58}, notify = 0x55555555ae60 }, drm_use_current_mode = false} require_input = 1 core_options = {{type = WESTON_OPTION_STRING, name = 0x55555555e705 "backend", short_name = 66, data = 0x7fffffffd630}, {type = WESTON_OPTION_STRING, name = 0x55555555e70d "shell", short_name = 0, data = 0x7fffffffd638}, {type = WESTON_OPTION_STRING, name = 0x55555555e8f9 "socket", short_name = 83, data = 0x7fffffffd658}, {type = WESTON_OPTION_INTEGER, name = 0x55555555e713 "idle-time", short_name = 105, data = 0x7fffffffd618}, {type = WESTON_OPTION_BOOLEAN, name = 0x55555555e71d "xwayland", short_name = 0, data = 0x7fffffffd614}, {type = WESTON_OPTION_STRING, name = 0x55555555e726 "modules", short_name = 0, data = 0x7fffffffd648}, {type = WESTON_OPTION_STRING, name = 0x55555555e72e "log", short_name = 0, data = 0x7fffffffd650}, {type = WESTON_OPTION_BOOLEAN, name = 0x55555555e732 "help", short_name = 104, data = 0x7fffffffd61c}, {type = WESTON_OPTION_BOOLEAN, name = 0x55555555e737 "version", short_name = 0, data = 0x7fffffffd620}, {type = WESTON_OPTION_BOOLEAN, name = 0x55555555e73f "no-config", short_name = 0, data = 0x7fffffffd624}, {type = WESTON_OPTION_STRING, name = 0x55555555e742 "config", short_name = 99, data = 0x7fffffffd660}} (gdb) p num numCalls.35793 num_dynamic_stubs num_leaps num_sources_from_inst num_transitions numeric_members.cc numlock_on numRects num_ifs num_led num_tp num_types numeric_members_cow.cc (gdb) down […] (gdb) down #1 0x00007ffff262a5a5 in gl_renderer_query_dmabuf_formats (wc=, formats=0x7fffffffcec0, num_formats=0x7fffffffceb8) at ../libweston/gl-renderer.c:1914 1914 !gr->query_dmabuf_formats(gr->egl_display, 0, NULL, &num)) { (gdb) p num_formats $1 = (int *) 0x7fffffffceb8 (gdb) p num_formats[0] $2 = 2080 (gdb) p num_formats[1] $3 = 0 (gdb) p num_formats[2] $4 = 0 (gdb) p formats[0] $5 = (int *) 0x0 (gdb) p formats[1] $6 = (int *) 0x0 (gdb) p formats[2] $7 = (int *) 0xffffffffffffff (gdb) p formats[3] $8 = (int *) 0xe15ed83c8cedaa00 (gdb) quit