Skip to content

sway 1.10 crashes in multiple output setup #8650

Closed
@kiesel

Description

@kiesel

Please fill out the following:

  • Sway Version:

    • sway version 1.10.1
  • Stack Trace:

(gdb) bt
#0  wl_resource_get_client (resource=0x5dd6810f2e38) at ../wayland-1.23.1/src/wayland-server.c:824
#1  0x00007f6fe877c244 in surface_handle_output_bind (listener=0x5dd35c22a060, data=0x7ffddb94ac60) at ../wlroots-0.18.2/types/wlr_compositor.c:1048
#2  0x00007f6fe882947e in wl_signal_emit_mutable (signal=signal@entry=0x5dd35c011358, data=data@entry=0x7ffddb94ac60) at ../wayland-1.23.1/src/wayland-server.c:2314
#3  0x00007f6fe8764b1c in output_bind (wl_client=<optimized out>, data=0x5dd35c011250, version=<optimized out>, id=<optimized out>) at ../wlroots-0.18.2/types/output/output.c:126
#4  0x00007f6fe7e1d976 in ffi_call_unix64 () at ../src/x86/unix64.S:104
#5  0x00007f6fe7e1a12c in ffi_call_int (cif=cif@entry=0x7ffddb94ae60, fn=<optimized out>, rvalue=<optimized out>, avalue=<optimized out>, closure=closure@entry=0x0) at ../src/x86/ffi64.c:676
#6  0x00007f6fe7e1cf0e in ffi_call (cif=cif@entry=0x7ffddb94ae60, fn=<optimized out>, rvalue=rvalue@entry=0x0, avalue=avalue@entry=0x7ffddb94af30) at ../src/x86/ffi64.c:713
#7  0x00007f6fe8827e85 in wl_closure_invoke (closure=closure@entry=0x5dd35c2838c0, target=<optimized out>, target@entry=0x5dd35c21efe0, opcode=opcode@entry=0, data=<optimized out>, data@entry=0x5dd35c2484f0, flags=2)
    at ../wayland-1.23.1/src/connection.c:1228
#8  0x00007f6fe882cd22 in wl_client_connection_data (fd=<optimized out>, mask=<optimized out>, data=0x5dd35c2484f0) at ../wayland-1.23.1/src/wayland-server.c:444
#9  0x00007f6fe882b112 in wl_event_loop_dispatch (loop=0x5dd35b108b00, timeout=<optimized out>, timeout@entry=-1) at ../wayland-1.23.1/src/event-loop.c:1105
#10 0x00007f6fe882d1f7 in wl_display_run (display=0x5dd35b10e320) at ../wayland-1.23.1/src/wayland-server.c:1530
#11 0x00005dd326c7edd2 in server_run (server=<optimized out>) at ../sway/sway/server.c:501
#12 main (argc=<optimized out>, argv=<optimized out>) at ../sway/sway/main.c:374
  • Description:
    Sway crashes randomly with 2 monitors attached. Same machine worked flawlessly in the past. Crashes seem to occur when a new window is created, eg. when pressing the binding for wofi. New tabs in existing windows do not have this problem.

Thank you for your work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugNot working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions