-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Crashing on Linux #6
Comments
The problem is either a missing or an empty XResources database. I can't find where the actual file is on ubuntu, but I can say that inserting ANYTHING into the database fixes these crashes. I just did this I'll poke around the code and see if I can't add a default database write before the read as a permanent workaround. This seems more like a bug on X11 library on WSL (maybe all of Ubuntu? idk) |
In X11Window.swift you just need this string to not be nil and everything runs fine. I dont actually understand what's supposed to be happening here so I'll leave it to you to patch properly. Thanks for your work!
|
I'm in WSL, but have no trouble running other graphics examples, like raylib stuff and xclock. I even made a test X11 app that calls
__strlen_avx2
(which is crashing in your example), and that works. Any ideas? Lots of dumps attachedThe text was updated successfully, but these errors were encountered: