swaywm / sway

i3-compatible Wayland compositor
https://swaywm.org
MIT License
14.47k stars 1.1k forks source link

Crash if no background is set from tty #8348

Open Aadniz opened 1 week ago

Aadniz commented 1 week ago

Please fill out the following:

Kali Linux gave no output, below is the output from NixOS. Do let me know if I did this correctly or not.

(gdb) bt full
#0  0x0000000000439100 in queue_output_config ()
No symbol table info available.
#1  0x0000000000439c1d in apply_output_config ()
No symbol table info available.
#2  0x0000000000422ca8 in handle_new_output ()
No symbol table info available.
#3  0x00007f390def8a0c in wl_signal_emit_mutable () from /nix/store/m9rnwifkvpbxj48x7q6iwg6yjf9d6slw-wayland-1.22.0/lib/libwayland-server.so.0
No symbol table info available.
#4  0x00007f390def8a0c in wl_signal_emit_mutable () from /nix/store/m9rnwifkvpbxj48x7q6iwg6yjf9d6slw-wayland-1.22.0/lib/libwayland-server.so.0
No symbol table info available.
#5  0x00007f390de25dc3 in scan_drm_connectors () from /nix/store/bakgf35lb0bvqfy6221nyy2jd9q056zy-wlroots-0.17.3/lib/libwlroots.so.12
No symbol table info available.
#6  0x00007f390de222c3 in backend_start () from /nix/store/bakgf35lb0bvqfy6221nyy2jd9q056zy-wlroots-0.17.3/lib/libwlroots.so.12
No symbol table info available.
#7  0x00007f390de30be5 in multi_backend_start () from /nix/store/bakgf35lb0bvqfy6221nyy2jd9q056zy-wlroots-0.17.3/lib/libwlroots.so.12
No symbol table info available.
#8  0x000000000041e488 in server_start ()
No symbol table info available.
#9  0x0000000000411fea in main ()
No symbol table info available.

Issue also appear on NixOS

Nefsen402 commented 1 week ago

The output commit logic has since been rewritten on master. Please see if master fixes the issue. 1.9 is unlikely to get a bugfix release.