Skip to content

Instantly share code, notes, and snippets.

@alejor
Last active March 30, 2020 17:16
Show Gist options
  • Save alejor/aa714ae995b4d76e5c9ed027fb152ecc to your computer and use it in GitHub Desktop.
Save alejor/aa714ae995b4d76e5c9ed027fb152ecc to your computer and use it in GitHub Desktop.
alejor_sway_coredump
neko@ciel ~ % coredumpctl debug
PID: 6842 (sway)
UID: 1000 (neko)
GID: 1000 (neko)
Signal: 11 (SEGV)
Timestamp: Mon 2020-03-30 11:06:13 -05 (1h 3min ago)
Command Line: sway
Executable: /usr/bin/sway
Control Group: /user.slice/user-1000.slice/session-3.scope
Unit: session-3.scope
Slice: user-1000.slice
Session: 3
Owner UID: 1000 (neko)
Boot ID: 4178834967a04e429777b66fc8bf6d7b
Machine ID: 231473bb698f4871b1209c0e9071d139
Hostname: ciel
Storage: /var/lib/systemd/coredump/core.sway.1000.4178834967a04e429777b66fc8bf6d7b.6842.1585584373000000000000.lz4
Message: Process 6842 (sway) of user 1000 dumped core.
Stack trace of thread 6842:
#0 0x00007fd6a7afc550 seat_client_create_keyboard (libwlroots.so.5 + 0x41550)
#1 0x00007fd6a73f669a ffi_call_unix64 (libffi.so.6 + 0x669a)
#2 0x00007fd6a73f5fb6 ffi_call (libffi.so.6 + 0x5fb6)
#3 0x00007fd6a7b74f62 n/a (libwayland-server.so.0 + 0xcf62)
#4 0x00007fd6a7b712dc n/a (libwayland-server.so.0 + 0x92dc)
#5 0x00007fd6a7b72faa wl_event_loop_dispatch (libwayland-server.so.0 + 0xafaa)
#6 0x00007fd6a7b714e7 wl_display_run (libwayland-server.so.0 + 0x94e7)
#7 0x00005608e7bf559d main (sway + 0xe59d)
#8 0x00007fd6a78a1023 __libc_start_main (libc.so.6 + 0x27023)
#9 0x00005608e7bf570e _start (sway + 0xe70e)
Stack trace of thread 6848:
#0 0x00007fd6a7867cf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
#1 0x00007fd6a5db899c n/a (iris_dri.so + 0x8f799c)
#2 0x00007fd6a5db8598 n/a (iris_dri.so + 0x8f7598)
#3 0x00007fd6a786146f start_thread (libpthread.so.0 + 0x946f)
#4 0x00007fd6a79793d3 __clone (libc.so.6 + 0xff3d3)
Stack trace of thread 6850:
#0 0x00007fd6a7867cf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
#1 0x00007fd6a5db899c n/a (iris_dri.so + 0x8f799c)
#2 0x00007fd6a5db8598 n/a (iris_dri.so + 0x8f7598)
#3 0x00007fd6a786146f start_thread (libpthread.so.0 + 0x946f)
#4 0x00007fd6a79793d3 __clone (libc.so.6 + 0xff3d3)
Stack trace of thread 6849:
#0 0x00007fd6a7867cf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
#1 0x00007fd6a5db899c n/a (iris_dri.so + 0x8f799c)
#2 0x00007fd6a5db8598 n/a (iris_dri.so + 0x8f7598)
#3 0x00007fd6a786146f start_thread (libpthread.so.0 + 0x946f)
#4 0x00007fd6a79793d3 __clone (libc.so.6 + 0xff3d3)
Stack trace of thread 6847:
#0 0x00007fd6a7867cf5 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xfcf5)
#1 0x00007fd6a5db899c n/a (iris_dri.so + 0x8f799c)
#2 0x00007fd6a5db8598 n/a (iris_dri.so + 0x8f7598)
#3 0x00007fd6a786146f start_thread (libpthread.so.0 + 0x946f)
#4 0x00007fd6a79793d3 __clone (libc.so.6 + 0xff3d3)
GNU gdb (GDB) 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-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...
[New LWP 6842]
[New LWP 6848]
[New LWP 6850]
[New LWP 6849]
[New LWP 6847]
[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 seat_client_create_keyboard (seat_client=0x5608e9c2b550, version=<optimized out>, id=27)
at ../types/seat/wlr_seat_keyboard.c:425
425 ../types/seat/wlr_seat_keyboard.c: No existe el fichero o el directorio.
[Current thread is 1 (Thread 0x7fd6a6baddc0 (LWP 6842))]
(gdb)
(gdb) bt
#0 seat_client_create_keyboard (seat_client=0x5608e9c2b550, version=<optimized out>, id=27)
at ../types/seat/wlr_seat_keyboard.c:425
#1 0x00007fd6a73f669a in ffi_call_unix64 () at /usr/lib/libffi.so.6
#2 0x00007fd6a73f5fb6 in ffi_call () at /usr/lib/libffi.so.6
#3 0x00007fd6a7b74f62 in () at /usr/lib/libwayland-server.so.0
#4 0x00007fd6a7b712dc in () at /usr/lib/libwayland-server.so.0
#5 0x00007fd6a7b72faa in wl_event_loop_dispatch () at /usr/lib/libwayland-server.so.0
#6 0x00007fd6a7b714e7 in wl_display_run () at /usr/lib/libwayland-server.so.0
#7 0x00005608e7bf559d in main (argc=1, argv=0x7ffc97fd4978) at ../sway/sway/main.c:409
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment