Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash when running sway binary from within a different compositor #8547

Closed
dy-tea opened this issue Jan 26, 2025 · 1 comment
Closed

crash when running sway binary from within a different compositor #8547

dy-tea opened this issue Jan 26, 2025 · 1 comment
Labels
bug Not working as intended

Comments

@dy-tea
Copy link

dy-tea commented Jan 26, 2025

Info:

0  0x00007148419a4c5b in pthread_kill () from /usr/lib/libc.so.6
No symbol table info available.
#1  0x00007148419457d8 in raise () from /usr/lib/libc.so.6
No symbol table info available.
#2  0x000071484192847b in abort () from /usr/lib/libc.so.6
No symbol table info available.
#3  0x000071484192839f in ?? () from /usr/lib/libc.so.6
No symbol table info available.
#4  0x000071484193bde6 in __assert_fail () from /usr/lib/libc.so.6
No symbol table info available.
#5  0x0000714841bd6c8d in wlr_backend_finish (backend=0x5ddbe8446760) at ../wlroots-git/backend/backend.c:53
        __PRETTY_FUNCTION__ = "wlr_backend_finish"
#6  0x0000714841bf1b1f in multi_backend_destroy (wlr_backend=0x5ddbe8446760)
    at ../wlroots-git/backend/multi/backend.c:52
        backend = 0x5ddbe8446760
        __PRETTY_FUNCTION__ = "multi_backend_destroy"
#7  0x00005ddbba0c7fa8 in server_fini (server=0x5ddbba14ad60 <server>) at ../sway/server.c:465
No locals.
#8  0x00005ddbba0c68cb in main (argc=1, argv=0x7ffd31c7e4a8) at ../sway/main.c:379
        verbose = false
        debug = false
        validate = false
        config_path = 0x0
        c = -1
  • Description:
    From within a different compositor (in this example cosmic) do the following steps:
git clone https://github.com/swaywm/sway
cd sway
meson setup build
ninja -C build
./build/sway/sway

sway will crash, it seems to be due to a recently added assertion in wlroots.

@dy-tea dy-tea added the bug Not working as intended label Jan 26, 2025
@emersion
Copy link
Member

Sway crashes on shutdown due to the new asserts in wlroots, that's a known bug: #8509

The real error is:

00:00:00.059 [ERROR] [sway/config.c:454] Cannot find config file

Closing as a duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Not working as intended
Development

No branches or pull requests

2 participants