Open tigerjack opened 2 years ago
Please provide a stack trace. You can do so by compiling from source, reproducing the crash and then running coredumpctl gdb
and then bt full
.
Here are some instructions to compile from source: https://github.com/swaywm/sway/wiki/Development-Setup#compiling-as-a-subproject
Maybe related: https://github.com/swaywm/sway/issues/6570
Please provide a stack trace. You can do so by compiling from source, reproducing the crash and then running
coredumpctl gdb
and thenbt full
.Here are some instructions to compile from source: https://github.com/swaywm/sway/wiki/Development-Setup#compiling-as-a-subproject
As said, I don't have a stack trace and neither a consistent way to reproduce the issue. Even if I launch it again with stack trace, I don't know if and when the problem will happen again.
I am using the development version since a few days (sway version 1.8-dev-d6f8820a (Jan 13 2022, branch 'master')
) and the problem seems to not appear anymore. I'll keep this open for a while just to be sure.
I'm not sure whether its the same issue, but I was able to get more extensive debug symbols here
(gdb) bt
#0 0x00007771d5a480a0 in wl_event_loop_dispatch (loop=0x5c73424370e0, timeout=<optimized out>, timeout@entry=-1) at ../wayland-1.23.0/src/event-loop.c:1105
#1 0x00007771d5a4a10f in wl_display_run (display=0x5c7342436ff0) at ../wayland-1.23.0/src/wayland-server.c:1530
#2 0x00005c731234dcd5 in server_run (server=<optimized out>) at ../sway-1.9/sway/server.c:398
#3 main (argc=<optimized out>, argv=0x7ffe5b5372e8) at ../sway-1.9/sway/main.c:415
Not sure if its helpful without logs. If not, I'll try to get those too and report back.
Edit: to clarify, this usually happens if another program (client) dies and/or dumps core. My guess is there may be a race condition where the fd source has already been freed because the client went away, but the event ptr is still around.
Sway Version:
swaymsg version 1.6.1
Debug Log:
Configuration File:
Stack Trace:
bt full
sway > sway.log 2>&1
. My log file contains these lines related to the time of the crash.