Skip to content

Instantly share code, notes, and snippets.

@TimoFreiberg
Created May 23, 2020 13:06
Show Gist options
  • Save TimoFreiberg/3fed81866cb7e721aa72b42df2afa0b2 to your computer and use it in GitHub Desktop.
Save TimoFreiberg/3fed81866cb7e721aa72b42df2afa0b2 to your computer and use it in GitHub Desktop.
sway crash when closing Terraria
(gdb) bt full
#0 0x00007fae1c86d355 in raise () at /usr/lib/libc.so.6
#1 0x00007fae1c856853 in abort () at /usr/lib/libc.so.6
#2 0x00007fae1c8b0878 in __libc_message () at /usr/lib/libc.so.6
#3 0x00007fae1c8b7d3a in () at /usr/lib/libc.so.6
#4 0x00007fae1c8bb294 in _int_malloc () at /usr/lib/libc.so.6
#5 0x00007fae1c8bc5a9 in malloc () at /usr/lib/libc.so.6
#6 0x00007fae1c8c023f in strdup () at /usr/lib/libc.so.6
#7 0x00007fae1cfea7b1 in json_object_object_add_ex () at /usr/lib/libjson-c.so.5
#8 0x0000558c84b69504 in ipc_json_describe_output (object=0x558c85681c40, output=0x558c85e5fde0) at ../sway/sway/ipc-json.c:259
mode_object = 0x558c8569df20
ws = <optimized out>
current_mode_object = <optimized out>
parent = <optimized out>
parent_box = {x = 7, y = 0, width = -827370240, height = 1275979040}
wlr_output = 0x558c858b34e0
adaptive_sync_status = <optimized out>
modes_array = 0x558c85680a70
mode = 0x558c85dfeb90
__PRETTY_FUNCTION__ = "ipc_json_describe_output"
seat = <optimized out>
focused = <optimized out>
name = <optimized out>
box = {x = 1920, y = 0, width = 1920, height = 1080}
focus = <optimized out>
data = {node = 0x558c85e5fde0, object = 0x558c8557cfb0}
object = 0x558c85681c40
#9 ipc_json_describe_node (node=node@entry=0x558c85e5fde0) at ../sway/sway/ipc-json.c:651
seat = <optimized out>
focused = <optimized out>
name = <optimized out>
box = {x = 1920, y = 0, width = 1920, height = 1080}
focus = <optimized out>
data = {node = 0x558c85e5fde0, object = 0x558c8557cfb0}
object = 0x558c85681c40
#10 0x0000558c84b68616 in ipc_json_describe_node_recursive (node=0x558c85e5fde0) at ../sway/sway/ipc-json.c:665
object = <optimized out>
i = <optimized out>
children = <optimized out>
#11 0x0000558c84b68909 in ipc_json_describe_node_recursive (node=<optimized out>) at ../sway/sway/ipc-json.c:675
output = <optimized out>
object = 0x558c85dc3900
i = <optimized out>
children = 0x558c85659ac0
#12 0x0000558c84b6c995 in ipc_client_handle_command (client=0x558c85ccc2f0, payload_length=0, payload_type=IPC_GET_TREE) at ../sway/sway/ipc-server.c:798
tree = <optimized out>
json_string = <optimized out>
buf = 0x558c85cd8af0 ""
__PRETTY_FUNCTION__ = "ipc_client_handle_command"
#13 0x0000558c84b6d31c in ipc_client_handle_command (payload_type=IPC_GET_TREE, payload_length=0, client=0x558c85ccc2f0) at ../sway/sway/ipc-server.c:610
__PRETTY_FUNCTION__ = "ipc_client_handle_command"
pending_length = 0
pending_type = IPC_GET_TREE
client = 0x558c85ccc2f0
--Type <RET> for more, q to quit, c to continue without paging--c
read_available = 14
buf = "i3-ipc\000\000\000\000\004\000\000"
buf32 = 0x7fff96bca7a0
received = <optimized out>
#14 ipc_client_handle_readable (client_fd=<optimized out>, mask=<optimized out>, data=0x558c85ccc2f0) at ../sway/sway/ipc-server.c:268
pending_length = 0
pending_type = IPC_GET_TREE
client = 0x558c85ccc2f0
read_available = 14
buf = "i3-ipc\000\000\000\000\004\000\000"
buf32 = 0x7fff96bca7a0
received = <optimized out>
#15 0x00007fae1cb30faa in wl_event_loop_dispatch () at /usr/lib/libwayland-server.so.0
#16 0x00007fae1cb2f4e7 in wl_display_run () at /usr/lib/libwayland-server.so.0
#17 0x0000558c84b625a0 in main (argc=1, argv=0x7fff96bcab68) at ../sway/sway/main.c:409
verbose = 0
debug = 0
validate = 0
allow_unsupported_gpu = 0
long_options = {{name = 0x558c84bb243b "help", has_arg = 0, flag = 0x0, val = 104}, {name = 0x558c84bb5ca9 "config", has_arg = 1, flag = 0x0, val = 99}, {name = 0x558c84bb2440 "validate", has_arg = 0, flag = 0x0, val = 67}, {name = 0x558c84bb2449 "debug", has_arg = 0, flag = 0x0, val = 100}, {name = 0x558c84bb239f "version", has_arg = 0, flag = 0x0, val = 118}, {name = 0x558c84bb151d "verbose", has_arg = 0, flag = 0x0, val = 86}, {name = 0x558c84bb244f "get-socketpath", has_arg = 0, flag = 0x0, val = 112}, {name = 0x558c84bb245e "unsupported-gpu", has_arg = 0, flag = 0x0, val = 117}, {name = 0x558c84bb246e "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 = 0x558c84bb27e0 "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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment