-
Notifications
You must be signed in to change notification settings - Fork 23
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
Getting a segmentation fault #16
Comments
Could you tell me which compositor (and which version) are you using. wayland is telling you that your compositor is only providing version 2 of the wl_output protocol, but the application is requesting version 3, and thus returns a null which then causes the segfault. I will also double-check what functionality we need from version 3 (if any) The version 3 was a copy-paste requirement from swaybar, so it might happen that we can downgrade the version requirement to 2. |
Turns out that the version bump from 2 to 3 happened at 2016, so your compositor is working with a quite old protocol. However, the change between 2 and 3 was not meaningful for dmenu-wl so I downgraded the requirement. It might be that there will be other issues to come, if other protocols are as out of date as wl_output was. |
@nyyManni Thanks! I don't really understand Wayland, but I'm surprised to hear my compositor is quite old, as I'm on a fresh Debian testing install. I will have another check today and let you know if it works OK now... |
@ukch Slightly related, I use the Debian files to build my own Ubuntu packages for everything Sway related (from wl-roots, sway down to the latest utility like waybar and dmenu_wayland). https://salsa.debian.org/swaywm-team/ Might be interesting for you, too :) |
Does it give the exact same error about the version, or something else? |
@nyyManni No, this time it doesn't give any output, just "segmentation fault". |
Okay, so we are hitting the "other issues to come" now. So are you using sway or something else? If yes, what version (and what wlroots version) do you have? |
Here's the result of running the above, with
I'm not a wayland dev, and I don't really know anything about sway or wlroots. But I checked with my package manager and it looks like neither are installed. Shall I try installing sway and see if that fixes things @nyyManni? |
If you don't have sway/wlroots installed, you are using some other de/wm, which most likely is nolt wlroots-based. Are you using gnome or kde, perhaps? |
Yes, sorry if I didn't already mention this, but I'm using Gnome. |
That explains. I don't officially support Gnome as it is not based on wlroots. However, I do have Gnome installed as a secondary desktop, so I can try if there is an easy way around that error. But if I hit a roadblock I am afraid there is not much to do. Closing this. |
Thanks. That explains a few things, and I hope you are able to get something working! |
I've just compiled
dmenu-wl
on my Debian Bullseye system, following the instructions.I can run the binary (e.g. with
--help
) but as soon as it receives input, I get a segfault. An example:Please let me know if I can provide any further debugging info.
The text was updated successfully, but these errors were encountered: