GNU gdb (Debian 7.11.1-2) 7.11.1 Copyright (C) 2016 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 "x86_64-linux-gnu". 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". (gdb) handle DIGSIG33 pass nostop noprint Signal Stop Print Pass to program Description SIG33 No No Yes Real-time event 33 (gdb) set pagination 0 (gdb) attach 3617 Attaching to process 3617 [New LWP 3619] [New LWP 3621] [New LWP 3622] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". 0x00007f10bc287fd3 in epoll_wait () at ../sysdeps/unix/syscall-template.S:84 84 ../sysdeps/unix/syscall-template.S: No such file or directory. (gdb) continuer Continuing. Thread 1 "weston" received signal SIGSEGV, Segmentation fault. wl_resource_get_version (resource=0x0) at ../src/wayland-server.c:696 696 ../src/wayland-server.c: No such file or directory. (gdb) backtrace full #0 wl_resource_get_version (resource=0x0) at ../src/wayland-server.c:696 No locals. #1 0x00007f10bd389e8c in drag_grab_button (grab=0x560353eb9008, time=, button=, state_w=) at libweston/data-device.c:662 drag = 0x560353eb8f80 pointer = 0x560353f3fba0 state = data_source = 0x560353faaa30 #2 0x00007f10bd388653 in notify_button (seat=, time=3687537, button=button@entry=272, state=state@entry=WL_POINTER_BUTTON_STATE_RELEASED) at libweston/input.c:1676 compositor = 0x560353d1c850 pointer = 0x560353f3fba0 #3 0x00007f10b96cdc28 in handle_pointer_button (pointer_event=0x560353eb77c0, libinput_device=) at libweston/libinput-device.c:162 device = 0x560353ef9bc0 button_state = 0 seat_button_count = #4 evdev_device_process_event (event=event@entry=0x560353eb77c0) at libweston/libinput-device.c:383 libinput_device = device = 0x560353ef9bc0 handled = 1 need_frame = false #5 0x00007f10b96cd524 in process_event (event=0x560353eb77c0) at libweston/libinput-seat.c:170 No locals. #6 process_events (input=) at libweston/libinput-seat.c:180 event = 0x560353eb77c0 #7 0x00007f10b96cd826 in udev_input_dispatch (input=0x560353d22500) at libweston/libinput-seat.c:191 No locals. #8 libinput_source_dispatch (fd=, mask=, data=0x560353d22500) at libweston/libinput-seat.c:201 input = 0x560353d22500 #9 0x00007f10bd165b32 in wl_event_loop_dispatch (loop=0x560353d1a000, timeout=timeout@entry=-1) at ../src/event-loop.c:423 ep = {{events = 1, data = {ptr = 0x560353f37a00, fd = 1408465408, u32 = 1408465408, u64 = 94572293356032}}, {events = 1, data = {ptr = 0x5603543c4090, fd = 1413234832, u32 = 1413234832, u64 = 94572298125456}}, {events = 4252107520, data = {ptr = 0x53edfec0af80eafc, fd = -1350505732, u32 = 2944461564, u64 = 6047769978160081660}}, {events = 22019, data = {ptr = 0x18, fd = 24, u32 = 24, u64 = 24}}, {events = 4064172576, data = {ptr = 0x53ee2ed800007ffe, fd = 32766, u32 = 32766, u64 = 6047822854853001214}}, {events = 22019, data = {ptr = 0x560353ee0ec8, fd = 1408110280, u32 = 1408110280, u64 = 94572293000904}}, {events = 3172360325, data = {ptr = 0x1800007f10, fd = 32528, u32 = 32528, u64 = 103079247632}}, {events = 0, data = {ptr = 0x7ffef23e5a80, fd = -230794624, u32 = 4064172672, u64 = 140732962593408}}, {events = 4064172688, data = {ptr = 0x7ffe, fd = 32766, u32 = 32766, u64 = 32766}}, {events = 52708, data = {ptr = 0x0, fd = 0, u32 = 0, u64 = 0}}, {events = 0, data = {ptr = 0xf23e5a60ffffffff, fd = -1, u32 = 4294967295, u64 = 17455488578392948735}}, {events = 32766, data = {ptr = 0x1, fd = 1, u32 = 1, u64 = 1}}, {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 = 0x53ee1cac00000000, fd = 0, u32 = 0, u64 = 6047802874665107456}}, {events = 22019, data = {ptr = 0x18, fd = 24, u32 = 24, u64 = 24}}, {events = 1408110280, data = {ptr = 0x2400005603, fd = 22019, u32 = 22019, u64 = 154618844675}}, {events = 0, data = {ptr = 0x14, fd = 20, u32 = 20, u64 = 20}}, {events = 1, data = {ptr = 0x3600000001, fd = 1, u32 = 1, u64 = 231928233985}}, {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 = 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 = 0x560353d1a328, fd = 1406247720, u32 = 1406247720, u64 = 94572291138344}}, {events = 3156034737, data = {ptr = 0x4c59415700007f10, fd = 32528, u32 = 32528, u64 = 5501500261727764240}}, {events = 1598312001, data = {ptr = 0x7f10bc537b00 , fd = -1135379712, u32 = 3159587584, u64 = 139709855791872}}, {events = 1408468336, data = {ptr = 0xfd72030000005603, fd = 22019, u32 = 22019, u64 = 18262662737475687939}}, {events = 2944461564, data = {ptr = 0x560353d19f98, fd = 1406246808, u32 = 1406246808, u64 = 94572291137432}}, {events = 1413234656, data = {ptr = 0x53d19f7000005603, fd = 22019, u32 = 22019, u64 = 6039783878665721347}}, {events = 22019, data = {ptr = 0x560353d19f98, fd = 1406246808, u32 = 1406246808, u64 = 94572291137432}}} source = i = count = #10 0x00007f10bd163fda in wl_display_run (display=0x560353d19f50) at ../src/wayland-server.c:1110 No locals. #11 0x00005603530a37be in main (argc=, argv=) at compositor/main.c:1758 ret = 1 display = 0x560353d19f50 ec = signals = {0x560353d1a050, 0x560353d1a100, 0x560353d1a150, 0x560353d1a1a0} loop = i = 1 fd = backend = 0x560353d1a3b0 "drm-backend.so" shell = 0x560353d3cd10 "desktop-shell.so" modules = 0x560353ef88f0 "xwayland.so,cms-colord.so" option_modules = 0x0 log = 0x0 server_socket = idle_time = 0 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 = 0x560353d1b830} core_options = {{type = WESTON_OPTION_STRING, name = 0x5603530a80a3 "backend", short_name = 66, data = 0x7ffef23e5c58}, {type = WESTON_OPTION_STRING, name = 0x5603530a80ab "shell", short_name = 0, data = 0x7ffef23e5c60}, {type = WESTON_OPTION_STRING, name = 0x5603530a8272 "socket", short_name = 83, data = 0x7ffef23e5c80}, {type = WESTON_OPTION_INTEGER, name = 0x5603530a80b1 "idle-time", short_name = 105, data = 0x7ffef23e5c30}, {type = WESTON_OPTION_STRING, name = 0x5603530a80bb "modules", short_name = 0, data = 0x7ffef23e5c70}, {type = WESTON_OPTION_STRING, name = 0x5603530a80c3 "log", short_name = 0, data = 0x7ffef23e5c78}, {type = WESTON_OPTION_BOOLEAN, name = 0x5603530a80c7 "help", short_name = 104, data = 0x7ffef23e5c34}, {type = WESTON_OPTION_BOOLEAN, name = 0x5603530a80cc "version", short_name = 0, data = 0x7ffef23e5c38}, {type = WESTON_OPTION_BOOLEAN, name = 0x5603530a80d4 "no-config", short_name = 0, data = 0x7ffef23e5c3c}, {type = WESTON_OPTION_STRING, name = 0x5603530a80d7 "config", short_name = 99, data = 0x7ffef23e5c88}} (gdb) info registers rax 0x7f10bd59cd01 139709872983297 rbx 0x7ffef23e6128 140732962595112 rcx 0x0 0 rdx 0x110 272 rsi 0x384471 3687537 rdi 0x0 0 rbp 0x1 0x1 rsp 0x7ffef23e5b90 0x7ffef23e5b90 r8 0x0 0 r9 0x30 48 r10 0x0 0 r11 0x246 582 r12 0x5603530a8450 94572278088784 r13 0x7ffef23e5e80 140732962594432 r14 0x560353d1b830 94572291143728 r15 0x560353d1c850 94572291147856 rip 0x5603530a37be 0x5603530a37be eflags 0x10246 [ PF ZF IF RF ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 (gdb) x/16i $pc => 0x5603530a37be : mov 0x350(%r15),%ebp 0x5603530a37c5 : jmpq 0x5603530a280f 0x5603530a37ca : mov 0x120(%rsp),%rsi 0x5603530a37d2 : lea 0x59bf(%rip),%rdi # 0x5603530a9198 0x5603530a37d9 : xor %eax,%eax 0x5603530a37db : callq 0x5603530a1960 0x5603530a37e0 : jmpq 0x5603530a2e4f 0x5603530a37e5 : mov 0x100(%rsp),%rdi 0x5603530a37ed : lea 0x4b20(%rip),%rcx # 0x5603530a8314 0x5603530a37f4 : lea 0x4af3(%rip),%rsi # 0x5603530a82ee 0x5603530a37fb : mov %r12,%rdx 0x5603530a37fe : callq 0x5603530a6eb0 0x5603530a3803 : mov 0x50(%rsp),%rcx 0x5603530a3808 : mov 0x10(%rsp),%rdx 0x5603530a380d : lea 0x4b09(%rip),%rsi # 0x5603530a831d 0x5603530a3814 : mov 0x118(%rsp),%rdi (gdb) thread apply all backtrace Thread 4 (Thread 0x7f10a3fff700 (LWP 3622)): #0 0x00007f10bc27e56d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007f10bae209f6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f10bae20d82 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f10b268e899 in colord_run_loop_thread (data=0x560353f40720) at compositor/cms-colord.c:343 #4 0x00007f10bae48345 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007f10bbb78464 in start_thread (arg=0x7f10a3fff700) at pthread_create.c:333 #6 0x00007f10bc2879df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105 Thread 3 (Thread 0x7f10b0dda700 (LWP 3621)): #0 0x00007f10bc27e56d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007f10bae209f6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f10bae20d82 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f10bab0c4f6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0 #4 0x00007f10bae48345 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007f10bbb78464 in start_thread (arg=0x7f10b0dda700) at pthread_create.c:333 #6 0x00007f10bc2879df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105 Thread 2 (Thread 0x7f10b1ddc700 (LWP 3619)): #0 0x00007f10bc27e56d in poll () at ../sysdeps/unix/syscall-template.S:84 #1 0x00007f10bae209f6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f10bae20b0c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f10bae20b51 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007f10bae48345 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007f10bbb78464 in start_thread (arg=0x7f10b1ddc700) at pthread_create.c:333 #6 0x00007f10bc2879df in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105 Thread 1 (Thread 0x7f10bd762e80 (LWP 3617)): #0 wl_resource_get_version (resource=0x0) at ../src/wayland-server.c:696 #1 0x00007f10bd389e8c in drag_grab_button (grab=0x560353eb9008, time=, button=, state_w=) at libweston/data-device.c:662 #2 0x00007f10bd388653 in notify_button (seat=, time=3687537, button=button@entry=272, state=state@entry=WL_POINTER_BUTTON_STATE_RELEASED) at libweston/input.c:1676 #3 0x00007f10b96cdc28 in handle_pointer_button (pointer_event=0x560353eb77c0, libinput_device=) at libweston/libinput-device.c:162 #4 evdev_device_process_event (event=event@entry=0x560353eb77c0) at libweston/libinput-device.c:383 #5 0x00007f10b96cd524 in process_event (event=0x560353eb77c0) at libweston/libinput-seat.c:170 #6 process_events (input=) at libweston/libinput-seat.c:180 #7 0x00007f10b96cd826 in udev_input_dispatch (input=0x560353d22500) at libweston/libinput-seat.c:191 #8 libinput_source_dispatch (fd=, mask=, data=0x560353d22500) at libweston/libinput-seat.c:201 #9 0x00007f10bd165b32 in wl_event_loop_dispatch (loop=0x560353d1a000, timeout=timeout@entry=-1) at ../src/event-loop.c:423 #10 0x00007f10bd163fda in wl_display_run (display=0x560353d19f50) at ../src/wayland-server.c:1110 #11 0x00005603530a37be in main (argc=, argv=) at compositor/main.c:1758 (gdb) quit A debugging session is active. Inferior 1 [process 3617] will be detached. Quit anyway? (y or n) y Detaching from program: /usr/bin/weston, process 3617