Skip to content

Instantly share code, notes, and snippets.

@norcalli
Created December 17, 2020 10:16
Show Gist options
  • Save norcalli/55de0f3cfe85a32bccabe4ab43109c2f to your computer and use it in GitHub Desktop.
Save norcalli/55de0f3cfe85a32bccabe4ab43109c2f to your computer and use it in GitHub Desktop.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `sway --my-next-gpu-wont-be-nvidia'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00005608b012bc24 in transaction_apply (transaction=0x5608b340c140) at ../sway/desktop/transaction.c:296
296 struct sway_node *node = instruction->node;
[Current thread is 1 (Thread 0x7f696d80c940 (LWP 1006723))]
(gdb) #0 0x00005608b012bc24 in transaction_apply (transaction=0x5608b340c140) at ../sway/desktop/transaction.c:296
instruction = 0x0
node = 0x5608b2f942d0
i = 48
#1 0x00005608b012bddb in transaction_progress_queue () at ../sway/desktop/transaction.c:348
transaction = 0x5608b340c140
#2 0x00005608b012bef6 in transaction_progress_queue () at ../sway/desktop/transaction.c:383
transaction = 0x5608b340c140
#3 0x00005608b012bef6 in transaction_progress_queue () at ../sway/desktop/transaction.c:383
transaction = 0x5608b2595ed0
#4 0x00005608b012bef6 in transaction_progress_queue () at ../sway/desktop/transaction.c:383
transaction = 0x5608b2f58c50
#5 0x00005608b012bef6 in transaction_progress_queue () at ../sway/desktop/transaction.c:383
transaction = 0x5608b2e25f30
#6 0x00005608b012bef6 in transaction_progress_queue () at ../sway/desktop/transaction.c:383
transaction = 0x5608b3467d00
#7 0x00005608b012bf57 in handle_timeout (data=0x5608b32f5a90) at ../sway/desktop/transaction.c:391
transaction = 0x5608b32f5a90
#8 0x00007f696e66d1dd in wl_event_loop_dispatch () at /usr/lib/libwayland-server.so.0
#9 0x00007f696e66b4e7 in wl_display_run () at /usr/lib/libwayland-server.so.0
#10 0x00005608b0121a4e in server_run (server=0x5608b0197320 <server>) at ../sway/server.c:244
#11 0x00005608b0120f4a in main (argc=2, argv=0x7ffd775f4138) at ../sway/main.c:412
verbose = 0
debug = 0
validate = 0
allow_unsupported_gpu = 1
long_options =
{{name = 0x5608b017a148 "help", has_arg = 0, flag = 0x0, val = 104}, {name = 0x5608b017a14d "config", has_arg = 1, flag = 0x0, val = 99}, {name = 0x5608b017a154 "validate", has_arg = 0, f
lag = 0x0, val = 67}, {name = 0x5608b017a15d "debug", has_arg = 0, flag = 0x0, val = 100}, {name = 0x5608b017a163 "version", has_arg = 0, flag = 0x0, val = 118}, {name = 0x5608b017a16b "verbose", has
_arg = 0, flag = 0x0, val = 86}, {name = 0x5608b017a173 "get-socketpath", has_arg = 0, flag = 0x0, val = 112}, {name = 0x5608b017a182 "unsupported-gpu", has_arg = 0, flag = 0x0, val = 117}, {name = 0
x5608b017a192 "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 = 0x5608b0179bd8 "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, --valida
te Check the validity of the config file, th"...
c = -1
(gdb) quit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment