-
Notifications
You must be signed in to change notification settings - Fork 18
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 under sway, but not weston #6
Comments
Just tested st@8c99915 and your latest patch in oasis, same problem. Are you able to reproduce with sway? If you're not interested in fixing this, any pointers?
|
It looks like sway only implements xdg-shell-v6 (which is fairly new), while this st port currently only supports v5. So, we never see a shell global, and wl.shell is left at NULL. I seem to have missed a NULL check after the first roundtrip in wlinit, causing a crash later on when we try to use wl.shell. Probably if you build st without optimizations, the gcc backtrace will make this clear. You can try to port to v6 and send a pull request. I'd probably put it in a separate branch for now until I have time to support v6 in swc. |
I just created a pull request that changes st to use xdg v6. @boogerlad, if you give #8 a try and report back if it works for you, that would be great. |
Looks like the default makefile has the -g parameter, so debug symbols are included. Is this correct? I hope this is more useful.
The text was updated successfully, but these errors were encountered: