Skip to content

Instantly share code, notes, and snippets.

@Mel34
Created September 1, 2019 17:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Mel34/cb15b30aef03760482ca5e379712b169 to your computer and use it in GitHub Desktop.
Save Mel34/cb15b30aef03760482ca5e379712b169 to your computer and use it in GitHub Desktop.
~ ▶ coredumpctl gdb sway
PID: 3675 (sway)
UID: 1000 (anon)
GID: 1000 (anon)
Signal: 11 (SEGV)
Timestamp: Sun 2019-09-01 19:01:35 CEST (23s ago)
Command Line: sway -d
Executable: /usr/local/bin/sway
Control Group: /user.slice/user-1000.slice/session-1.scope
Unit: session-1.scope
Slice: user-1000.slice
Session: 1
Owner UID: 1000 (anon)
Boot ID: e4fe59ac7c9642918f0a29fdb5f0d9a6
Machine ID: 82fa93ed44924e66a827ceea3e09c7e2
Hostname: loonix
Storage: /var/lib/systemd/coredump/core.sway.1000.e4fe59ac7c9642918f0a29fdb5f0d9a6.3675.1567357295000000.lz4
Message: Process 3675 (sway) of user 1000 dumped core.
Stack trace of thread 3675:
#0 0x00007fa933c2d1c3 wl_list_insert (libwayland-server.so.0)
#1 0x00005589f9223c28 wl_signal_add (sway)
#2 0x00005589f9224d83 handle_map (sway)
#3 0x00007fa933be734e wlr_signal_emit_safe (libwlroots.so.3)
#4 0x00007fa933bcc47a handle_xdg_surface_commit (libwlroots.so.3)
#5 0x00007fa933be2d8a surface_commit_pending (libwlroots.so.3)
#6 0x00007fa933be3088 surface_commit (libwlroots.so.3)
#7 0x00007fa932ed16d0 ffi_call_unix64 (libffi.so.6)
#8 0x00007fa932ed10a0 ffi_call (libffi.so.6)
#9 0x00007fa933c2c82f n/a (libwayland-server.so.0)
#10 0x00007fa933c29193 n/a (libwayland-server.so.0)
#11 0x00007fa933c2a7f2 wl_event_loop_dispatch (libwayland-server.so.0)
#12 0x00007fa933c2939c wl_display_run (libwayland-server.so.0)
#13 0x00005589f9218cc7 server_run (sway)
#14 0x00005589f9218313 main (sway)
#15 0x00007fa933963ee3 __libc_start_main (libc.so.6)
#16 0x00005589f920a04e _start (sway)
Stack trace of thread 3681:
#0 0x00007fa93392b415 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
#1 0x00007fa931a839bc n/a (radeonsi_dri.so)
#2 0x00007fa931a835b8 n/a (radeonsi_dri.so)
#3 0x00007fa93392557f start_thread (libpthread.so.0)
#4 0x00007fa933a390e3 __clone (libc.so.6)
Stack trace of thread 3682:
#0 0x00007fa93392b415 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
#1 0x00007fa931a839bc n/a (radeonsi_dri.so)
#2 0x00007fa931a835b8 n/a (radeonsi_dri.so)
#3 0x00007fa93392557f start_thread (libpthread.so.0)
#4 0x00007fa933a390e3 __clone (libc.so.6)
Stack trace of thread 3683:
#0 0x00007fa93392b415 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
#1 0x00007fa931a839bc n/a (radeonsi_dri.so)
#2 0x00007fa931a835b8 n/a (radeonsi_dri.so)
#3 0x00007fa93392557f start_thread (libpthread.so.0)
#4 0x00007fa933a390e3 __clone (libc.so.6)
Stack trace of thread 3677:
#0 0x00007fa93392b415 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
#1 0x00007fa931a839bc n/a (radeonsi_dri.so)
#2 0x00007fa931a835b8 n/a (radeonsi_dri.so)
#3 0x00007fa93392557f start_thread (libpthread.so.0)
#4 0x00007fa933a390e3 __clone (libc.so.6)
Stack trace of thread 3684:
#0 0x00007fa93392b415 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
#1 0x00007fa931a839bc n/a (radeonsi_dri.so)
#2 0x00007fa931a835b8 n/a (radeonsi_dri.so)
#3 0x00007fa93392557f start_thread (libpthread.so.0)
#4 0x00007fa933a390e3 __clone (libc.so.6)
Stack trace of thread 3678:
#0 0x00007fa93392b415 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
#1 0x00007fa931a839bc n/a (radeonsi_dri.so)
#2 0x00007fa931a835b8 n/a (radeonsi_dri.so)
#3 0x00007fa93392557f start_thread (libpthread.so.0)
#4 0x00007fa933a390e3 __clone (libc.so.6)
Stack trace of thread 3679:
#0 0x00007fa93392b415 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
#1 0x00007fa931a839bc n/a (radeonsi_dri.so)
#2 0x00007fa931a835b8 n/a (radeonsi_dri.so)
#3 0x00007fa93392557f start_thread (libpthread.so.0)
#4 0x00007fa933a390e3 __clone (libc.so.6)
Stack trace of thread 3680:
#0 0x00007fa93392b415 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
#1 0x00007fa931a839bc n/a (radeonsi_dri.so)
#2 0x00007fa931a835b8 n/a (radeonsi_dri.so)
#3 0x00007fa93392557f start_thread (libpthread.so.0)
#4 0x00007fa933a390e3 __clone (libc.so.6)
GNU gdb (GDB) 8.3
Copyright (C) 2019 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/local/bin/sway...
[New LWP 3675]
[New LWP 3681]
[New LWP 3682]
[New LWP 3683]
[New LWP 3677]
[New LWP 3684]
[New LWP 3678]
[New LWP 3679]
[New LWP 3680]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `sway -d'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007fa933c2d1c3 in wl_list_insert () from /usr/lib/libwayland-server.so.0
[Current thread is 1 (Thread 0x7fa9324710c0 (LWP 3675))]
(gdb) bt full
#0 0x00007fa933c2d1c3 in wl_list_insert () at /usr/lib/libwayland-server.so.0
#1 0x00005589f9223c28 in wl_signal_add (signal=0x5589fa9dc220, listener=0x5589fa9dc410) at /usr/include/wayland-server-core.h:435
#2 0x00005589f9224d83 in handle_map (listener=0x5589fa9dc470, data=0x5589fa9dbfd0) at ../sway/desktop/xdg_shell.c:447
xdg_shell_view = 0x5589fa9dc2c0
view = 0x5589fa9dc2c0
xdg_surface = 0x5589fa9dbfd0
csd = true
#3 0x00007fa933be734e in wlr_signal_emit_safe (signal=signal@entry=0x5589fa9dc0c8, data=data@entry=0x5589fa9dbfd0) at ../util/signal.c:29
pos = 0x5589fa9dc470
l = 0x5589fa9dc470
cursor = {link = {prev = 0x5589fa9dc470, next = 0x7fff3e1a24b0}, notify = 0x7fa933be72c0 <handle_noop>}
end = {link = {prev = 0x7fff3e1a2490, next = 0x5589fa9dc0c8}, notify = 0x7fa933be72c0 <handle_noop>}
#4 0x00007fa933bcc47a in handle_xdg_surface_commit (wlr_surface=<optimized out>) at ../types/xdg_shell/wlr_xdg_surface.c:360
surface = 0x5589fa9dbfd0
__PRETTY_FUNCTION__ = "handle_xdg_surface_commit"
#5 0x00007fa933be2d8a in surface_commit_pending (surface=surface@entry=0x5589fa9db350) at ../types/wlr_surface.c:372
invalid_buffer = true
subsurface = 0x5589fa9db538
#6 0x00007fa933be3088 in surface_commit (client=<optimized out>, resource=<optimized out>) at ../types/wlr_surface.c:444
surface = 0x5589fa9db350
subsurface = <optimized out>
#7 0x00007fa932ed16d0 in ffi_call_unix64 () at /usr/lib/libffi.so.6
#8 0x00007fa932ed10a0 in ffi_call () at /usr/lib/libffi.so.6
#9 0x00007fa933c2c82f in () at /usr/lib/libwayland-server.so.0
#10 0x00007fa933c29193 in () at /usr/lib/libwayland-server.so.0
#11 0x00007fa933c2a7f2 in wl_event_loop_dispatch () at /usr/lib/libwayland-server.so.0
#12 0x00007fa933c2939c in wl_display_run () at /usr/lib/libwayland-server.so.0
#13 0x00005589f9218cc7 in server_run (server=0x5589f9282fc0 <server>) at ../sway/server.c:205
#14 0x00005589f9218313 in main (argc=2, argv=0x7fff3e1a2c68) at ../sway/main.c:400
verbose = 0
debug = 1
validate = 0
allow_unsupported_gpu = 0
long_options =
{{name = 0x5589f9268008 "help", has_arg = 0, flag = 0x0, val = 104}, {name = 0x5589f926800d "config", has_arg = 1, flag = 0x0, val = 99}, {name = 0x5589f9268014 "validate", has_arg = 0, flag = 0x0, val = 67}, {name = 0x5589f926801d "debug", has_arg = 0, flag = 0x0, val = 100}, {name = 0x5589f9268023 "version", has_arg = 0, flag = 0x0, val = 118}, {name = 0x5589f926802b "verbose", has_arg = 0, flag = 0x0, val = 86}, {name = 0x5589f9268033 "get-socketpath", has_arg = 0, flag = 0x0, val = 112}, {name = 0x5589f9268042 "unsupported-gpu", has_arg = 0, flag = 0x0, val = 117}, {name = 0x5589f9268052 "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 = 0x5589f9267ad0 "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