Skip to content

Instantly share code, notes, and snippets.

@FreeFull
Last active January 6, 2020 01:27
Show Gist options
  • Select an option

  • Save FreeFull/2a00065a15b1a2ea079f29274c8c9532 to your computer and use it in GitHub Desktop.

Select an option

Save FreeFull/2a00065a15b1a2ea079f29274c8c9532 to your computer and use it in GitHub Desktop.
(gdb) bt full
#0 0x0000561b5b607b79 in wl_signal_add (signal=0x2c0, listener=0x561b5cb3a988) at /usr/include/wayland-server-core.h:435
#1 0x0000561b5b607b79 in cursor_set_image_surface (cursor=0x561b5cb3a720, surface=0x0, hotspot_x=0, hotspot_y=0, client=0x561b5ce63fd0) at ../sway/sway/input/cursor.c:837
#2 0x00007f91a00f858e in wlr_signal_emit_safe (signal=<optimized out>, data=data@entry=0x7ffc10d07030) at ../util/signal.c:29
pos = 0x561b5cb3a970
l = 0x561b5cb3a970
cursor = {link = {prev = 0x561b5cb3a970, next = 0x7ffc10d06fe0}, notify = 0x7f91a00f8500 <handle_noop>}
end = {link = {prev = 0x7ffc10d06fc0, next = 0x561b5cb3a5d0}, notify = 0x7f91a00f8500 <handle_noop>}
#3 0x00007f91a00d15e3 in pointer_set_cursor (client=<optimized out>, pointer_resource=<optimized out>, serial=26, surface_resource=0x0, hotspot_x=0, hotspot_y=0)
at ../types/seat/wlr_seat_pointer.c:99
seat_client = 0x561b5cfe4960
surface = 0x0
event = {seat_client = 0x561b5cfe4960, surface = 0x0, serial = 26, hotspot_x = 0, hotspot_y = 0}
#4 0x00007f919f7c969a in ffi_call_unix64 () at /usr/lib/libffi.so.6
#5 0x00007f919f7c8fb6 in ffi_call () at /usr/lib/libffi.so.6
#6 0x00007f91a014982f in () at /usr/lib/libwayland-server.so.0
#7 0x00007f91a0146193 in () at /usr/lib/libwayland-server.so.0
#8 0x00007f91a01477f2 in wl_event_loop_dispatch () at /usr/lib/libwayland-server.so.0
#9 0x00007f91a014639c in wl_display_run () at /usr/lib/libwayland-server.so.0
#10 0x0000561b5b5f258c in main (argc=2, argv=0x7ffc10d07778) at ../sway/sway/main.c:403
verbose = 0
debug = 1
validate = 0
allow_unsupported_gpu = 0
long_options =
{{name = 0x561b5b63c45b "help", has_arg = 0, flag = 0x0, val = 104}, {name = 0x561b5b63f7b1 "config", has_arg = 1, flag = 0x0, val = 99}, {name = 0x561b5b63c460 "validate", has_arg = 0, flag = 0x0, val = 67}, {name = 0x561b5b63c469 "debug", has_arg = 0, flag = 0x0, val = 100}, {name = 0x561b5b63c3bf "version", has_arg = 0, flag = 0x0, val = 118}, {name = 0x561b5b63b55c "verbose", has_arg = 0, flag = 0x0, val = 86}, {name = 0x561b5b63c46f "get-socketpath", has_arg = 0, flag = 0x0, val = 112}, {name = 0x561b5b63c47e "unsupported-gpu", has_arg = 0, flag = 0x0, val = 117}, {name = 0x561b5b63c48e "my-next-gpu-wont-be-nvidia", has_arg = 0, flag = 0x0, val = 117}, {name = 0x0, has_arg = 0, flag = 0x0, val = 0}}
config_path = 0x0
usage = 0x561b5b63c7c0 "Usage: sway [options] [command]\n\n -h, --help", ' ' <repeats 13 times>, "Show help message and quit.\n -c, --config <config> Specify a config file.\n -C, --validate Check the validity of the config file, th"...
c = <optimized out>
(gdb) frame 0
#0 wl_signal_add (signal=0x2c0, listener=0x561b5cb3a988) at /usr/include/wayland-server-core.h:435
435 wl_list_insert(signal->listener_list.prev, &listener->link);
(gdb) frame 1
#1 cursor_set_image_surface (cursor=0x561b5cb3a720, surface=0x0, hotspot_x=0, hotspot_y=0, client=0x561b5ce63fd0) at ../sway/sway/input/cursor.c:837
837 ../sway/sway/input/cursor.c: No such file or directory.
(gdb) frame 2
#2 0x00007f91a00f858e in wlr_signal_emit_safe (signal=<optimized out>, data=data@entry=0x7ffc10d07030) at ../util/signal.c:29
29 ../util/signal.c: No such file or directory.
(gdb) frame 3
#3 0x00007f91a00d15e3 in pointer_set_cursor (client=<optimized out>, pointer_resource=<optimized out>, serial=26, surface_resource=0x0, hotspot_x=0, hotspot_y=0)
at ../types/seat/wlr_seat_pointer.c:99
99 ../types/seat/wlr_seat_pointer.c: No such file or directory.
(gdb) frame 4
#4 0x00007f919f7c969a in ffi_call_unix64 () from /usr/lib/libffi.so.6
(gdb) frame 5
#5 0x00007f919f7c8fb6 in ffi_call () from /usr/lib/libffi.so.6
(gdb) frame 6
#6 0x00007f91a014982f in ?? () from /usr/lib/libwayland-server.so.0
(gdb) frame 7
#7 0x00007f91a0146193 in ?? () from /usr/lib/libwayland-server.so.0
(gdb) frame 8
#8 0x00007f91a01477f2 in wl_event_loop_dispatch () from /usr/lib/libwayland-server.so.0
(gdb) frame 9
#9 0x00007f91a014639c in wl_display_run () from /usr/lib/libwayland-server.so.0
(gdb) frame 10
#10 0x0000561b5b5f258c in main (argc=2, argv=0x7ffc10d07778) at ../sway/sway/main.c:403
403 ../sway/sway/main.c: No such file or directory.
Jan 06 01:08:51 freefull-asus systemd-coredump[5270]: Process 4935 (sway) of user 1000 dumped core.
Stack trace of thread 4935:
#0 0x0000561b5b607b79 wl_signal_add (sway + 0x23b79)
#1 0x00007f91a00f858e wlr_signal_emit_safe (libwlroots.so.4 + 0x6b58e)
#2 0x00007f91a00d15e3 pointer_set_cursor (libwlroots.so.4 + 0x445e3)
#3 0x00007f919f7c969a ffi_call_unix64 (libffi.so.6 + 0x669a)
#4 0x00007f919f7c8fb6 ffi_call (libffi.so.6 + 0x5fb6)
#5 0x00007f91a014982f n/a (libwayland-server.so.0 + 0xc82f)
#6 0x00007f91a0146193 n/a (libwayland-server.so.0 + 0x9193)
#7 0x00007f91a01477f2 wl_event_loop_dispatch (libwayland-server.so.0 + 0xa7f2)
#8 0x00007f91a014639c wl_display_run (libwayland-server.so.0 + 0x939c)
#9 0x0000561b5b5f258c main (sway + 0xe58c)
#10 0x00007f919fe72153 __libc_start_main (libc.so.6 + 0x27153)
#11 0x0000561b5b5f271e _start (sway + 0xe71e)
Stack trace of thread 4937:
#0 0x00007f919fe38c45 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfc45)
#1 0x00007f919966fd0c n/a (i965_dri.so + 0x4f6d0c)
#2 0x00007f919966f908 n/a (i965_dri.so + 0x4f6908)
#3 0x00007f919fe324cf start_thread (libpthread.so.0 + 0x94cf)
#4 0x00007f919ff4a2d3 __clone (libc.so.6 + 0xff2d3)
Stack trace of thread 4938:
#0 0x00007f919fe38c45 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfc45)
#1 0x00007f919966fd0c n/a (i965_dri.so + 0x4f6d0c)
#2 0x00007f919966f908 n/a (i965_dri.so + 0x4f6908)
#3 0x00007f919fe324cf start_thread (libpthread.so.0 + 0x94cf)
#4 0x00007f919ff4a2d3 __clone (libc.so.6 + 0xff2d3)
Stack trace of thread 4940:
#0 0x00007f919fe38c45 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfc45)
#1 0x00007f919966fd0c n/a (i965_dri.so + 0x4f6d0c)
#2 0x00007f919966f908 n/a (i965_dri.so + 0x4f6908)
#3 0x00007f919fe324cf start_thread (libpthread.so.0 + 0x94cf)
#4 0x00007f919ff4a2d3 __clone (libc.so.6 + 0xff2d3)
Stack trace of thread 4939:
#0 0x00007f919fe38c45 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfc45)
#1 0x00007f919966fd0c n/a (i965_dri.so + 0x4f6d0c)
#2 0x00007f919966f908 n/a (i965_dri.so + 0x4f6908)
#3 0x00007f919fe324cf start_thread (libpthread.so.0 + 0x94cf)
#4 0x00007f919ff4a2d3 __clone (libc.so.6 + 0xff2d3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment