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

Segfault when executing basic example application in SDL 2.5.1 #208

Open
AsdfPoiuyt opened this issue Mar 30, 2020 · 0 comments
Open

Segfault when executing basic example application in SDL 2.5.1 #208

AsdfPoiuyt opened this issue Mar 30, 2020 · 0 comments

Comments

@AsdfPoiuyt
Copy link

I'm trying to run the example program from the stackage repo's main page, but after copy-pasting the code into my main.hs and building, the program causes a segmentation fault when being run.
From the looks of it, the problem seems to lie within the clear function--comment that line out and the program no longer segfaults (though you do get an "empty" window).
Am I alone in having this issue, or have others encountered this as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants