Skip to content

Instantly share code, notes, and snippets.

@Mel34
Created September 1, 2019 17:21
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/f00a22b1b893ed537777dbfce0449f71 to your computer and use it in GitHub Desktop.
Save Mel34/f00a22b1b893ed537777dbfce0449f71 to your computer and use it in GitHub Desktop.
~ ▶ coredumpctl gdb sway
PID: 1982 (sway)
UID: 1000 (anon)
GID: 1000 (anon)
Signal: 11 (SEGV)
Timestamp: Sun 2019-09-01 19:19:51 CEST (24s ago)
Command Line: sway -d
Executable: /usr/local/bin/sway
Control Group: /user.slice/user-1000.slice/session-7.scope
Unit: session-7.scope
Slice: user-1000.slice
Session: 7
Owner UID: 1000 (anon)
Boot ID: 6bc58d895e4449bdb001e9e3e14eb58e
Machine ID: 82fa93ed44924e66a827ceea3e09c7e2
Hostname: loonix
Storage: /var/lib/systemd/coredump/core.sway.1000.6bc58d895e4449bdb001e9e3e14eb58e.1982.1567358391000000.lz4
Message: Process 1982 (sway) of user 1000 dumped core.
Stack trace of thread 1982:
#0 0x00007f4ed2fb91c3 wl_list_insert (libwayland-server.so.0)
#1 0x0000556d4ef60c28 wl_signal_add (sway)
#2 0x0000556d4ef61d83 handle_map (sway)
#3 0x00007f4ed2f7334e wlr_signal_emit_safe (libwlroots.so.3)
#4 0x00007f4ed2f5847a handle_xdg_surface_commit (libwlroots.so.3)
#5 0x00007f4ed2f6ed8a surface_commit_pending (libwlroots.so.3)
#6 0x00007f4ed2f6f088 surface_commit (libwlroots.so.3)
#7 0x00007f4ed225d6d0 ffi_call_unix64 (libffi.so.6)
#8 0x00007f4ed225d0a0 ffi_call (libffi.so.6)
#9 0x00007f4ed2fb882f n/a (libwayland-server.so.0)
#10 0x00007f4ed2fb5193 n/a (libwayland-server.so.0)
#11 0x00007f4ed2fb67f2 wl_event_loop_dispatch (libwayland-server.so.0)
#12 0x00007f4ed2fb539c wl_display_run (libwayland-server.so.0)
#13 0x0000556d4ef55cc7 server_run (sway)
#14 0x0000556d4ef55313 main (sway)
#15 0x00007f4ed2cefee3 __libc_start_main (libc.so.6)
#16 0x0000556d4ef4704e _start (sway)
Stack trace of thread 1984:
#0 0x00007f4ed2cb7415 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
#1 0x00007f4ed0e0f9bc n/a (radeonsi_dri.so)
#2 0x00007f4ed0e0f5b8 n/a (radeonsi_dri.so)
#3 0x00007f4ed2cb157f start_thread (libpthread.so.0)
#4 0x00007f4ed2dc50e3 __clone (libc.so.6)
Stack trace of thread 1986:
#0 0x00007f4ed2cb7415 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
#1 0x00007f4ed0e0f9bc n/a (radeonsi_dri.so)
#2 0x00007f4ed0e0f5b8 n/a (radeonsi_dri.so)
#3 0x00007f4ed2cb157f start_thread (libpthread.so.0)
#4 0x00007f4ed2dc50e3 __clone (libc.so.6)
Stack trace of thread 1990:
#0 0x00007f4ed2cb7415 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
#1 0x00007f4ed0e0f9bc n/a (radeonsi_dri.so)
#2 0x00007f4ed0e0f5b8 n/a (radeonsi_dri.so)
#3 0x00007f4ed2cb157f start_thread (libpthread.so.0)
#4 0x00007f4ed2dc50e3 __clone (libc.so.6)
Stack trace of thread 1987:
#0 0x00007f4ed2cb7415 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
#1 0x00007f4ed0e0f9bc n/a (radeonsi_dri.so)
#2 0x00007f4ed0e0f5b8 n/a (radeonsi_dri.so)
#3 0x00007f4ed2cb157f start_thread (libpthread.so.0)
#4 0x00007f4ed2dc50e3 __clone (libc.so.6)
Stack trace of thread 1988:
#0 0x00007f4ed2cb7415 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
#1 0x00007f4ed0e0f9bc n/a (radeonsi_dri.so)
#2 0x00007f4ed0e0f5b8 n/a (radeonsi_dri.so)
#3 0x00007f4ed2cb157f start_thread (libpthread.so.0)
#4 0x00007f4ed2dc50e3 __clone (libc.so.6)
Stack trace of thread 1991:
#0 0x00007f4ed2cb7415 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
#1 0x00007f4ed0e0f9bc n/a (radeonsi_dri.so)
#2 0x00007f4ed0e0f5b8 n/a (radeonsi_dri.so)
#3 0x00007f4ed2cb157f start_thread (libpthread.so.0)
#4 0x00007f4ed2dc50e3 __clone (libc.so.6)
Stack trace of thread 1985:
#0 0x00007f4ed2cb7415 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
#1 0x00007f4ed0e0f9bc n/a (radeonsi_dri.so)
#2 0x00007f4ed0e0f5b8 n/a (radeonsi_dri.so)
#3 0x00007f4ed2cb157f start_thread (libpthread.so.0)
#4 0x00007f4ed2dc50e3 __clone (libc.so.6)
Stack trace of thread 1989:
#0 0x00007f4ed2cb7415 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
#1 0x00007f4ed0e0f9bc n/a (radeonsi_dri.so)
#2 0x00007f4ed0e0f5b8 n/a (radeonsi_dri.so)
#3 0x00007f4ed2cb157f start_thread (libpthread.so.0)
#4 0x00007f4ed2dc50e3 __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 1982]
[New LWP 1984]
[New LWP 1986]
[New LWP 1990]
[New LWP 1987]
[New LWP 1988]
[New LWP 1991]
[New LWP 1985]
[New LWP 1989]
[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 0x00007f4ed2fb91c3 in wl_list_insert () from /usr/lib/libwayland-server.so.0
[Current thread is 1 (Thread 0x7f4ed17fd0c0 (LWP 1982))]
(gdb) bt full
#0 0x00007f4ed2fb91c3 in wl_list_insert () at /usr/lib/libwayland-server.so.0
#1 0x0000556d4ef60c28 in wl_signal_add (signal=0x556d4f92eef0, listener=0x556d4f92f1c0) at /usr/include/wayland-server-core.h:435
#2 0x0000556d4ef61d83 in handle_map (listener=0x556d4f92f220, data=0x556d4f92eca0) at ../sway/desktop/xdg_shell.c:447
xdg_shell_view = 0x556d4f92f070
view = 0x556d4f92f070
xdg_surface = 0x556d4f92eca0
csd = false
#3 0x00007f4ed2f7334e in wlr_signal_emit_safe (signal=signal@entry=0x556d4f92ed98, data=data@entry=0x556d4f92eca0) at ../util/signal.c:29
pos = 0x556d4f92f220
l = 0x556d4f92f220
cursor = {link = {prev = 0x556d4f92f220, next = 0x7ffcb7f82070}, notify = 0x7f4ed2f732c0 <handle_noop>}
end = {link = {prev = 0x7ffcb7f82050, next = 0x556d4f92ed98}, notify = 0x7f4ed2f732c0 <handle_noop>}
#4 0x00007f4ed2f5847a in handle_xdg_surface_commit (wlr_surface=<optimized out>) at ../types/xdg_shell/wlr_xdg_surface.c:360
surface = 0x556d4f92eca0
__PRETTY_FUNCTION__ = "handle_xdg_surface_commit"
#5 0x00007f4ed2f6ed8a in surface_commit_pending (surface=surface@entry=0x556d4f92e980) at ../types/wlr_surface.c:372
invalid_buffer = true
subsurface = 0x556d4f92eb68
#6 0x00007f4ed2f6f088 in surface_commit (client=<optimized out>, resource=<optimized out>) at ../types/wlr_surface.c:444
surface = 0x556d4f92e980
subsurface = <optimized out>
#7 0x00007f4ed225d6d0 in ffi_call_unix64 () at /usr/lib/libffi.so.6
#8 0x00007f4ed225d0a0 in ffi_call () at /usr/lib/libffi.so.6
#9 0x00007f4ed2fb882f in () at /usr/lib/libwayland-server.so.0
#10 0x00007f4ed2fb5193 in () at /usr/lib/libwayland-server.so.0
#11 0x00007f4ed2fb67f2 in wl_event_loop_dispatch () at /usr/lib/libwayland-server.so.0
#12 0x00007f4ed2fb539c in wl_display_run () at /usr/lib/libwayland-server.so.0
#13 0x0000556d4ef55cc7 in server_run (server=0x556d4efbffc0 <server>) at ../sway/server.c:205
#14 0x0000556d4ef55313 in main (argc=2, argv=0x7ffcb7f82828) at ../sway/main.c:400
verbose = 0
debug = 1
validate = 0
allow_unsupported_gpu = 0
long_options =
{{name = 0x556d4efa5008 "help", has_arg = 0, flag = 0x0, val = 104}, {name = 0x556d4efa500d "config", has_arg = 1, flag = 0x0, val = 99}, {name = 0x556d4efa5014 "validate", has_arg = 0, flag = 0x0, val = 67}, {name = 0x556d4rsion", has_arg = 0, flag = 0x0, val = 118}, {name = 0x556d4efa502b "verbose", has_arg = 0, flag = 0x0, val = 86}, {name = 0x556d4efa5033 "get-socketpath", has_arg = 0, flag = 0x0, val = 112}, {name = 0x556d4efa5042 "unsupported-gpu", hnvidia", has_arg = 0, flag = 0x0, val = 117}, {name = 0x0, has_arg = 0, flag = 0x0, val = 0}}
config_path = 0x0
usage = 0x556d4efa4ad0 "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
c = -1
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment