Program received signal SIGSEGV, Segmentation fault. 0x00007f9dbc7ae4e7 in drm_output_set_cursor (output=0x913ef0) at compositor-drm.c:1003 1003 stride = wl_shm_buffer_get_stride(buffer->shm_buffer); (gdb) print buffer $1 = (struct weston_buffer *) 0x2 (gdb) print buffer->shm_buffer Cannot access memory at address 0x32 (gdb) bt #0 0x00007f9dbc7ae4e7 in drm_output_set_cursor (output=0x913ef0) at compositor-drm.c:1003 #1 0x00007f9dbc7ad0fe in drm_output_repaint (output_base=0x913ef0, damage=0x7fffbe5c1760) at compositor-drm.c:621 #2 0x000000000040da48 in weston_output_repaint (output=0x913ef0, msecs=264402238) at compositor.c:1860 #3 0x000000000040dcac in weston_output_finish_frame (output=0x913ef0, msecs=264402238) at compositor.c:1905 #4 0x00007f9dbc7ad76b in page_flip_handler (fd=18, frame=1311276, sec=264402, usec=238265, data=0x913ef0) at compositor-drm.c:759 #5 0x00007f9dbb4a81c4 in drmHandleEvent (fd=18, evctx=0x7fffbe5c1cb0) at xf86drmMode.c:826 #6 0x00007f9dbc7af1ef in on_drm_input (fd=18, mask=1, data=0x8fc940) at compositor-drm.c:1253 #7 0x00007f9dbeddcc8e in wl_event_source_fd_dispatch (source=0xa72d20, ep=0x7fffbe5c1d20) at event-loop.c:86 #8 0x00007f9dbeddd902 in wl_event_loop_dispatch (loop=0x8f6ec0, timeout=-1) at event-loop.c:421 #9 0x00007f9dbeddaac2 in wl_display_run (display=0x8f6e30) at wayland-server.c:961 #10 0x0000000000413d7c in main (argc=1, argv=0x7fffbe5c2188) at compositor.c:4254 (gdb) bt full #0 0x00007f9dbc7ae4e7 in drm_output_set_cursor (output=0x913ef0) at compositor-drm.c:1003 ev = 0xd52640 buffer = 0x2 stride = 32 buf = {0 } x = 4223888 c = 0x8fc940 handle = 0 bo = 0xa5cc00 s = 0x913ef0 "" i = 0 y = 32669 #1 0x00007f9dbc7ad0fe in drm_output_repaint (output_base=0x913ef0, damage=0x7fffbe5c1760) at compositor-drm.c:621 s = 0x22500000315 ret = 0 output = 0x913ef0 compositor = 0x8fc940 mode = 0x910640 #2 0x000000000040da48 in weston_output_repaint (output=0x913ef0, msecs=264402238) at compositor.c:1860 ec = 0x8fc940 output_damage = {extents = {x1 = 0, y1 = 0, x2 = 1024, y2 = 768}, data = 0x0} ev = 0x8fcac0 animation = 0x18 next = 0x7f9dbdd89760 cb = 0x200000006 cnext = 0x7f9dbc7c44b7 frame_callback_list = {prev = 0x7fffbe5c1780, next = 0x7fffbe5c1780} r = 0 #3 0x000000000040dcac in weston_output_finish_frame (output=0x913ef0, msecs=264402238) at compositor.c:1905 compositor = 0x8fc940 loop = 0x8f6ec0 fd = 1 r = 0 #4 0x00007f9dbc7ad76b in page_flip_handler (fd=18, frame=1311276, sec=264402, usec=238265, data=0x913ef0) at compositor-drm.c:759 output = 0x913ef0 msecs = 264402238 #5 0x00007f9dbb4a81c4 in drmHandleEvent (fd=18, evctx=0x7fffbe5c1cb0) at xf86drmMode.c:826 buffer = "\002\000\000\000 \000\000\000\360>\221\000\000\000\000\000\322\b\004\000\271\242\003\000,\002\024\000\000\000\000\000\002\000\000\000 \000\000\000\360Х\000\000\000\000\000\322\b\004\000\235\262\003\000\001:\022\000\000\000\000\000`\000\000\000\000\000\000\000`\227ؽ\235\177\000\000`\000\000\000\000\000\000\000Pb\247\000\000\000\000\000\067\000\000\000\000\000\000\000\b\234\322\000\000\000\000\000\000\031\\\276\377\177\000\000\340\310\322\000\000\000\000\000\067\000\000\000\070\000\000\000\b\234\322\000\000\000\000\000@\031\\\276\377\177\000\000t\265ݾ\235\177\000\000\000EA\000\000\000\000\000\067\000\000\000\003\000\000\000\000EA\000\000\000\000\000\340\355\245\000\000\000\000\000\210\375B\000\000\000\000\000Pb\247"... len = 64 i = 0 e = 0x7fffbe5c1870 vblank = 0x7fffbe5c1870 #6 0x00007f9dbc7af1ef in on_drm_input (fd=18, mask=1, data=0x8fc940) at compositor-drm.c:1253 evctx = {version = 2, vblank_handler = 0x7f9dbc7ad57d , page_flip_handler = 0x7f9dbc7ad654 } #7 0x00007f9dbeddcc8e in wl_event_source_fd_dispatch (source=0xa72d20, ep=0x7fffbe5c1d20) at event-loop.c:86 fd_source = 0xa72d20 mask = 1 #8 0x00007f9dbeddd902 in wl_event_loop_dispatch (loop=0x8f6ec0, timeout=-1) at event-loop.c:421 i = 0 count = 2 ep = {{events = 1, data = {ptr = 0xa72d20, fd = 10956064, u32 = 10956064, u64 = 10956064}}, {events = 1, data = {ptr = 0xa99280, fd = 11113088, u32 = 11113088, u64 = 11113088}}, {events = 3202225161, data = {ptr = 0x7f9d, fd = 32669, u32 = 32669, u64 = 32669}}, {events = 0, data = {ptr = 0x7fffbe5c1e70, fd = -1101259152, u32 = 3193708144, u64 = 140736387096176}}, {events = 3193708016, data = {ptr = 0xa972a800007fff, fd = 32767, u32 = 32767, u64 = 47695336944205823}}, {events = 0, data = {ptr = 0x4, fd = 4, u32 = 4, u64 = 4}}, {events = 1, data = {ptr = 0xbe5c1e8000000001, fd = 1, u32 = 1, u64 = 13716872100168335361}}, {events = 32767, data = { ptr = 0x7f9dbede1726 , fd = -1092741338, u32 = 3202225958, u64 = 140315488818982}}, {events = 3051676113, data = {ptr = 0xabc75000000000, fd = 0, u32 = 0, u64 = 48351367428833280}}, {events = 0, data = {ptr = 0xa95dcc, fd = 11099596, u32 = 11099596, u64 = 11099596}}, {events = 16, data = {ptr = 0xabd75800000000, fd = 0, u32 = 0, u64 = 48368993974616064}}, {events = 0, data = {ptr = 0x58, fd = 88, u32 = 88, u64 = 88}}, {events = 0, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 32767, data = {ptr = 0x7fffbe5c1d90, fd = -1101259376, u32 = 3193707920, u64 = 140736387095952}}, {events = 1, data = { ptr = 0xbe5c1df000000000, fd = 0, u32 = 0, u64 = 13716871481693044736}}, {events = 32767, data = {ptr = 0x14, fd = 20, u32 = 20, u64 = 20}}, {events = 0, data = {ptr = 0xbefeb27800000000, fd = 0, u32 = 0, u64 = 13762633739756634112}}, {events = 32669, data = {ptr = 0x14, fd = 20, u32 = 20, u64 = 20}}, {events = 1, data = {ptr = 0x1b00000001, fd = 1, u32 = 1, u64 = 115964116993}}, {events = 0, data = {ptr = 0x7f9dbefeb398, fd = -1090604136, u32 = 3204363160, u64 = 140315490956184}}, {events = 0, data = {ptr = 0xbe5c218000000000, fd = 0, u32 = 0, u64 = 13716875398703218688}}, {events = 32767, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, { ---Type to continue, or q to quit--- events = 0, data = {ptr = 0xbe5c1ee000000000, fd = 0, u32 = 0, u64 = 13716872512485195776}}, {events = 32767, data = {ptr = 0x7f9dbeffc756 <_dl_fixup+230>, fd = -1090533546, u32 = 3204433750, u64 = 140315491026774}}, { events = 5, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0x7fffbe5c20a0, fd = -1101258592, u32 = 3193708704, u64 = 140736387096736}}, {events = 3202167592, data = {ptr = 0x7f9d, fd = 32669, u32 = 32669, u64 = 32669}}, {events = 0, data = {ptr = 0x7fffbe5c1ee0, fd = -1101259040, u32 = 3193708256, u64 = 140736387096288}}, {events = 20, data = {ptr = 0x1b3400000001, fd = 1, u32 = 1, u64 = 29910152249345}}, { events = 0, data = {ptr = 0x7fffbe5c1ec0, fd = -1101259072, u32 = 3193708224, u64 = 140736387096256}}, {events = 3202198329, data = {ptr = 0x8f6e7800007f9d, fd = 32669, u32 = 32669, u64 = 40372383344787357}}, {events = 0, data = {ptr = 0x8f6e30, fd = 9399856, u32 = 9399856, u64 = 9399856}}} source = 0xa72d20 n = 0 #9 0x00007f9dbeddaac2 in wl_display_run (display=0x8f6e30) at wayland-server.c:961 No locals. #10 0x0000000000413d7c in main (argc=1, argv=0x7fffbe5c2188) at compositor.c:4254 help = 0 backend = 0x42f8fe "drm-backend.so" config = 0x0 signals = {0x8f6f50, 0x8f76f0, 0x8f7740, 0x8f7790} backend_init = 0x7f9dbc7b3fa1 shell = 0x902d40 "desktop-shell.so" modules = 0x8f6fa0 "" log = 0x8f69e0 "weston.log" idle_time = 0 section = 0x0 ret = 0 ec = 0x8fc940 loop = 0x8f6ec0 i = 1 option_backend = 0x0 version = 0 core_options = {{type = WESTON_OPTION_STRING, name = 0x42f75f "backend", short_name = 66, data = 0x7fffbe5c2058}, {type = WESTON_OPTION_STRING, name = 0x42f767 "shell", short_name = 0, data = 0x7fffbe5c2050}, { type = WESTON_OPTION_STRING, name = 0x42f76d "socket", short_name = 83, data = 0x7fffbe5c2028}, {type = WESTON_OPTION_INTEGER, name = 0x42f774 "idle-time", short_name = 105, data = 0x7fffbe5c2034}, { type = WESTON_OPTION_STRING, name = 0x42f77e "modules", short_name = 0, data = 0x7fffbe5c2040}, {type = WESTON_OPTION_STRING, name = 0x42f786 "log", short_name = 0, data = 0x7fffbe5c2038}, {type = WESTON_OPTION_BOOLEAN, name = 0x42f78a "help", short_name = 104, data = 0x7fffbe5c2030}, {type = WESTON_OPTION_BOOLEAN, name = 0x42f78f "version", short_name = 0, data = 0x7fffbe5c2024}} display = 0x8f6e30 option_modules = 0x0 socket_name = 0x42f755 "wayland-0" (gdb)