Skip to content

Segfault when executing basic example application in SDL 2.5.1 #208

@AsdfPoiuyt

Description

@AsdfPoiuyt

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions