GNU gdb (Ubuntu 9.1-0ubuntu1) 9.1
Copyright (C) 2020 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-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 /opt/sway/bin/sway...
[New LWP 199231]
[New LWP 199242]
[New LWP 199235]
[New LWP 199240]
[New LWP 199246]
[New LWP 199241]
[New LWP 199245]
[New LWP 199249]
[New LWP 199237]
[New LWP 199248]
[New LWP 199243]
[New LWP 199239]
[New LWP 199244]
[New LWP 199251]
[New LWP 199238]
[New LWP 199247]
[New LWP 199254]
[New LWP 199250]
[New LWP 199252]
[New LWP 199236]
[New LWP 199253]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `sway --debug'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0000563561942696 in ipc_json_describe_workspace (object=0x563563d7aac0, workspace=0x5635644c6f60) at ../sway/ipc-json.c:410
410		if (isdigit(workspace->name[0])) {
[Current thread is 1 (Thread 0x7f9ed5618140 (LWP 199231))]
#0  0x0000563561942696 in ipc_json_describe_workspace (object=0x563563d7aac0, workspace=0x5635644c6f60) at ../sway/ipc-json.c:410
        num = <optimized out>
        floating_array = <optimized out>
        seat = <optimized out>
        focused = <optimized out>
        name = 0x0
        box = {x = 1930, y = 10, width = 1900, height = 1038}
        focus = 0x563563b2bca0
        object = 0x563563d7aac0
#1  ipc_json_describe_node (node=0x5635644c6f60) at ../sway/ipc-json.c:709
        seat = <optimized out>
        focused = <optimized out>
        name = 0x0
        box = {x = 1930, y = 10, width = 1900, height = 1038}
        focus = 0x563563b2bca0
        object = 0x563563d7aac0
#2  0x0000563561941226 in ipc_json_describe_node_recursive (node=0x5635644c6f60) at ../sway/ipc-json.c:717
        object = <optimized out>
        i = <optimized out>
        children = <optimized out>
#3  0x0000563561941654 in ipc_event_workspace (old=0x5635639ff6b0, new=0x5635644c6f60, change=0x56356194ed95 "focus") at ../sway/ipc-server.c:318
        obj = 0x563563d31a70
        json_string = <optimized out>
#4  0x0000563561921e31 in ipc_event_workspace (change=0x56356194ed95 "focus", new=0x5635644c6f60, old=<optimized out>) at ../sway/ipc-server.c:277
        last_focus = 0x5635639ff6b0
        last_workspace = 0x5635639ff6b0
        new_workspace = <optimized out>
        container = <optimized out>
        new_output = <optimized out>
        new_output_last_ws = 0x5635644c6f60
#5  set_workspace (seat=<optimized out>, seat=<optimized out>, new_ws=0x5635644c6f60) at ../sway/input/seat.c:995
        last_focus = 0x5635639ff6b0
        last_workspace = 0x5635639ff6b0
        new_workspace = <optimized out>
        container = <optimized out>
        new_output = <optimized out>
        new_output_last_ws = 0x5635644c6f60
#6  seat_set_focus (seat=0x563563981c00, node=<optimized out>) at ../sway/input/seat.c:1105
        last_focus = 0x5635639ff6b0
        last_workspace = 0x5635639ff6b0
        new_workspace = <optimized out>
        container = <optimized out>
        new_output = <optimized out>
        new_output_last_ws = 0x5635644c6f60
#7  0x000056356191e1c6 in handle_pointer_motion (seat=0x563563981c00, time_msec=5260581, dx=<optimized out>, dy=<optimized out>) at ../sway/input/seatop_default.c:552
        e = 0x563563bf02b0
        cursor = 0x563563982220
        surface = 0x0
        sx = 1931.2218294631646
        sy = 790.29737404801961
        node = 0x5635644c6f60
        drag_icon = <optimized out>
#8  0x000056356192b16e in seatop_pointer_motion (dy=6.4173155690663011, dx=118.72033802772658, time_msec=5260581, seat=<optimized out>) at ../sway/input/seat.c:1469
#9  pointer_motion (dy_unaccel=<optimized out>, dx_unaccel=<optimized out>, dy=6.4173155690663011, dx=118.72033802772658, device=0x563563bde420, time_msec=5260581, cursor=<optimized out>) at ../sway/input/cursor.c:335
#10 handle_pointer_motion_relative (listener=0x563563982350, data=0x7fffec6da160) at ../sway/input/cursor.c:344
#11 0x00007f9ed67baf1c in wlr_signal_emit_safe (data=0x7fffec6da160, signal=0x563563982508) at ../subprojects/wlroots/util/signal.c:29
        pos = 0x563563982350
        l = 0x563563982350
        cursor = {link = {prev = 0x563563982350, next = 0x7fffec6da0a0}, notify = 0x7f9ed679ea90 <handle_noop.lto_priv>}
        end = {link = {prev = 0x7fffec6da080, next = 0x563563982508}, notify = 0x7f9ed679ea90 <handle_noop.lto_priv>}
        event = 0x7fffec6da160
        device = <optimized out>
#12 handle_pointer_motion (listener=<optimized out>, data=0x7fffec6da160) at ../subprojects/wlroots/types/wlr_cursor.c:355
        event = 0x7fffec6da160
        device = <optimized out>
#13 0x00007f9ed67ec7c4 in wlr_signal_emit_safe (data=0x7fffec6da160, signal=<optimized out>) at ../subprojects/wlroots/util/signal.c:29
        pos = 0x563563bca4d0
        l = 0x563563bca4d0
        cursor = {link = {prev = 0x563563bca4d0, next = 0x7fffec6da130}, notify = 0x7f9ed679ea90 <handle_noop.lto_priv>}
        end = {link = {prev = 0x7fffec6da110, next = 0x563563bde4a8}, notify = 0x7f9ed679ea90 <handle_noop.lto_priv>}
        wlr_dev = <optimized out>
        pevent = <optimized out>
        wlr_event = {device = 0x563563bde420, time_msec = 5260581, delta_x = 118.72033802772658, delta_y = 6.4173155690663011, unaccel_dx = 37, unaccel_dy = 2}
        libinput_dev = <optimized out>
        event_type = <optimized out>
        backend = <optimized out>
        event = 0x563563ad1df0
#14 handle_pointer_motion (libinput_dev=<optimized out>, event=0x563563ad1df0) at ../subprojects/wlroots/backend/libinput/pointer.c:41
        wlr_dev = <optimized out>
        pevent = <optimized out>
        wlr_event = {device = 0x563563bde420, time_msec = 5260581, delta_x = 118.72033802772658, delta_y = 6.4173155690663011, unaccel_dx = 37, unaccel_dy = 2}
        libinput_dev = <optimized out>
        event_type = <optimized out>
        backend = <optimized out>
        event = 0x563563ad1df0
#15 handle_libinput_event (event=0x563563ad1df0, backend=<optimized out>) at ../subprojects/wlroots/backend/libinput/events.c:240
        libinput_dev = <optimized out>
        event_type = <optimized out>
        backend = <optimized out>
        event = 0x563563ad1df0
#16 handle_libinput_readable (fd=<optimized out>, mask=<optimized out>, _backend=<optimized out>) at ../subprojects/wlroots/backend/libinput/backend.c:41
        backend = <optimized out>
        event = 0x563563ad1df0
#17 0x00007f9ed616865a in wl_event_loop_dispatch () at /lib/x86_64-linux-gnu/libwayland-server.so.0
#18 0x00007f9ed6166bd5 in wl_display_run () at /lib/x86_64-linux-gnu/libwayland-server.so.0
#19 0x00005635618dfd52 in server_run (server=<optimized out>) at ../sway/server.c:230
        config_path = 0x0
        usage = 0x563561955f40 "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>
        long_options = 
            {{name = 0x563561955750 "help", has_arg = 0, flag = 0x0, val = 104}, {name = 0x563561951da2 "config", has_arg = 1, flag = 0x0, val = 99}, {name = 0x563561955755 "validate", has_arg = 0, flag = 0x0, val = 67}, {name = 0x56356195575e "debug", has_arg = 0, flag = 0x0, val = 100}, {name = 0x563561955647 "version", has_arg = 0, flag = 0x0, val = 118}, {name = 0x5635619550f6 "verbose", has_arg = 0, flag = 0x0, val = 86}, {name = 0x563561955764 "get-socketpath", has_arg = 0, flag = 0x0, val = 112}, {name = 0x563561955773 "unsupported-gpu", has_arg = 0, flag = 0x0, val = 117}, {name = 0x563561955783 "my-next-gpu-wont-be-nvidia", has_arg = 0, flag = 0x0, val = 117}, {name = 0x0, has_arg = 0, flag = 0x0, val = 0}}
        validate = 0
        debug = 1
        allow_unsupported_gpu = 0
        verbose = 0
#20 main (argc=<optimized out>, argv=<optimized out>) at ../sway/main.c:410
        config_path = 0x0
        usage = 0x563561955f40 "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>
        long_options = 
            {{name = 0x563561955750 "help", has_arg = 0, flag = 0x0, val = 104}, {name = 0x563561951da2 "config", has_arg = 1, flag = 0x0, val = 99}, {name = 0x563561955755 "validate", has_arg = 0, flag = 0x0, val = 67}, {name = 0x56356195575e "debug", has_arg = 0, flag = 0x0, val = 100}, {name = 0x563561955647 "version", has_arg = 0, flag = 0x0, val = 118}, {name = 0x5635619550f6 "verbose", has_arg = 0, flag = 0x0, val = 86}, {name = 0x563561955764 "get-socketpath", has_arg = 0, flag = 0x0, val = 112}, {name = 0x563561955773 "unsupported-gpu", has_arg = 0, flag = 0x0, val = 117}, {name = 0x563561955783 "my-next-gpu-wont-be-nvidia", has_arg = 0, flag = 0x0, val = 117}, {name = 0x0, has_arg = 0, flag = 0x0, val = 0}}
        validate = 0
        debug = 1
        allow_unsupported_gpu = 0
        verbose = 0
(gdb) quit
