Skip to content

Instantly share code, notes, and snippets.

@biwhite
Last active February 28, 2019 16:14
Show Gist options
  • Save biwhite/30c70405f417ab302bde25f805bb8a51 to your computer and use it in GitHub Desktop.
Save biwhite/30c70405f417ab302bde25f805bb8a51 to your computer and use it in GitHub Desktop.
ben@gatsby  ~  coredumpctl gdb  ✔  7433  16:13:03
PID: 23490 (sway)
UID: 1000 (ben)
GID: 1000 (ben)
Signal: 11 (SEGV)
Timestamp: Thu 2019-02-28 16:06:28 GMT (6min ago)
Command Line: sway
Executable: /usr/bin/sway
Control Group: /user.slice/user-1000.slice/session-9.scope
Unit: session-9.scope
Slice: user-1000.slice
Session: 9
Owner UID: 1000 (ben)
Boot ID: af4e287595e24330810181bf2dc6af7f
Machine ID: 40a867acdcc045d2bd93cf312d8acd66
Hostname: gatsby
Storage: /var/lib/systemd/coredump/core.sway.1000.af4e287595e24330810181bf2dc6af7f.23490.1551369988000000.lz4
Message: Process 23490 (sway) of user 1000 dumped core.
Stack trace of thread 23490:
#0 0x000055f07359432d workspace_output_next (sway)
#1 0x000055f073581e2b cmd_workspace (sway)
#2 0x000055f0735487eb execute_command (sway)
#3 0x000055f073573c23 seat_execute_command (sway)
#4 0x000055f07356e15b handle_keyboard_key (sway)
#5 0x00007fbafd5f4bce wlr_signal_emit_safe (libwlroots.so.1)
#6 0x00007fbafd5e3436 wlr_keyboard_notify_key (libwlroots.so.1)
#7 0x00007fbafd5be957 handle_keyboard_key (libwlroots.so.1)
#8 0x00007fbafd5bd7bc handle_libinput_readable (libwlroots.so.1)
#9 0x00007fbafd637702 wl_event_loop_dispatch (libwayland-server.so.0)
#10 0x00007fbafd6362ac wl_display_run (libwayland-server.so.0)
#11 0x000055f0735561e0 server_run (sway)
#12 0x000055f07355571a main (sway)
#13 0x00007fbafd36f223 __libc_start_main (libc.so.6)
#14 0x000055f073547e6e _start (sway)
Stack trace of thread 23492:
#0 0x00007fbafd337afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
#1 0x00007fbafabd5c94 n/a (i965_dri.so)
#2 0x00007fbafabd59b8 n/a (i965_dri.so)
#3 0x00007fbafd331a9d start_thread (libpthread.so.0)
#4 0x00007fbafd446b23 __clone (libc.so.6)
GNU gdb (GDB) 8.2.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/sway...done.
[New LWP 23490]
[New LWP 23492]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `sway'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x000055f07359432d in workspace_output_next (current=0x0, create=false) at ../sway/sway/tree/workspace.c:443
443 ../sway/sway/tree/workspace.c: No such file or directory.
[Current thread is 1 (Thread 0x7fbafb40a9c0 (LWP 23490))]
(gdb) bt full
#0 0x000055f07359432d in workspace_output_next (current=0x0, create=false) at ../sway/sway/tree/workspace.c:443
#1 0x000055f073581e2b in cmd_workspace (argc=1, argv=0x55f074cbb448) at ../sway/sway/commands/workspace.c:207
create = false
current = 0x0
ws = 0x0
no_auto_back_and_forth = false
seat = 0x55f074775cf0
error = 0x0
output_location = -1
gaps_location = -1
#2 0x000055f0735487eb in execute_command
(_exec=0x55f074780500 "workspace next_on_output", seat=0x55f074775cf0, con=0x0) at ../sway/sway/commands.c:286
node = 0x55f074ca5360
res = 0x0
argc = 2
argv = 0x55f074cbb440
handler = 0x55f0735b7230 <handlers+752>
res_list = 0x55f074c95f10
exec = 0x55f074c723e0 "workspace next_on_output"
head = 0x0
cmdlist = 0x0
cmd = 0x55f074c723e0 "workspace next_on_output"
views = 0x0
__PRETTY_FUNCTION__ = "execute_command"
#3 0x000055f073573c23 in seat_execute_command (seat=0x55f074775cf0, binding=0x55f07477fbe0)
at ../sway/sway/commands/bind.c:347
con = 0x0
res_list = 0x0
success = 115
#4 0x000055f07356e15b in handle_keyboard_key (listener=0x55f074bbba90, data=0x7ffe7310d900)
at ../sway/sway/input/keyboard.c:377
keyboard = 0x55f074bbba80
seat = 0x55f074775cf0
wlr_seat = 0x55f074775e30
wlr_device = 0x55f074b9c500
device_identifier = 0x55f074c7f890 "1:1:AT_Translated_Set_2_keyboard"
event = 0x7ffe7310d900
input_inhibited = false
keycode = 114
translated_keysyms = 0x55f074bbb738
translated_modifiers = 68
translated_keysyms_len = 1
raw_keysyms = 0x55f074bbb738
raw_modifiers = 68
raw_keysyms_len = 1
code_modifiers = 68
handled = false
binding_released = 0x0
binding = 0x55f07477fbe0
#5 0x00007fbafd5f4bce in wlr_signal_emit_safe (signal=signal@entry=0x55f074bc07c8, data=data@entry=0x7ffe7310d900)
at ../util/signal.c:29
pos = 0x55f074bbba90
l = 0x55f074bbba90
cursor = {link = {prev = 0x55f074bbba90, next = 0x7ffe7310d880}, notify = 0x7fbafd5f4b40 <handle_noop>}
end = {link = {prev = 0x7ffe7310d860, next = 0x55f074bc07c8}, notify = 0x7fbafd5f4b40 <handle_noop>}
#6 0x00007fbafd5e3436 in wlr_keyboard_notify_key (keyboard=0x55f074bc06d0, event=event@entry=0x7ffe7310d900)
at ../types/wlr_keyboard.c:103
updated = <optimized out>
#7 0x00007fbafd5be957 in handle_keyboard_key (event=<optimized out>, libinput_dev=<optimized out>)
at ../backend/libinput/keyboard.c:82
wlr_dev = 0x55f074b9c500
--Type <RET> for more, q to quit, c to continue without paging--c
kbevent = 0x55f074cbb410
wlr_event = {time_msec = 1047253, keycode = 106, update_state = true, state = WLR_KEY_PRESSED}
state = <optimized out>
#8 0x00007fbafd5bd7bc in handle_libinput_readable (fd=<optimized out>, mask=<optimized out>, _backend=0x55f0745d3060) at ../backend/libinput/backend.c:41
backend = 0x55f0745d3060
event = 0x55f074cbb410
#9 0x00007fbafd637702 in wl_event_loop_dispatch () at /usr/lib/libwayland-server.so.0
#10 0x00007fbafd6362ac in wl_display_run () at /usr/lib/libwayland-server.so.0
#11 0x000055f0735561e0 in server_run (server=0x55f0735b7d60 <server>) at ../sway/sway/server.c:214
#12 0x000055f07355571a in main (argc=1, argv=0x7ffe7310dcc8) at ../sway/sway/main.c:405
verbose = 0
debug = 0
validate = 0
allow_unsupported_gpu = 0
long_options = {{name = 0x55f07359eec0 "help", has_arg = 0, flag = 0x0, val = 104}, {name = 0x55f07359eec5 "config", has_arg = 1, flag = 0x0, val = 99}, {name = 0x55f07359eecc "validate", has_arg = 0, flag = 0x0, val = 67}, {name = 0x55f07359eed5 "debug", has_arg = 0, flag = 0x0, val = 100}, {name = 0x55f07359eedb "version", has_arg = 0, flag = 0x0, val = 118}, {name = 0x55f07359eee3 "verbose", has_arg = 0, flag = 0x0, val = 86}, {name = 0x55f07359eeeb "get-socketpath", has_arg = 0, flag = 0x0, val = 112}, {name = 0x55f07359eefa "unsupported-gpu", has_arg = 0, flag = 0x0, val = 117}, {name = 0x55f07359ef0a "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 = 0x55f07359e988 "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 = -1
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment