renpy / pygame_sdl2

Reimplementation of portions of the pygame API using SDL2.
GNU Lesser General Public License v2.1
325 stars 63 forks source link

Segmentation Fault creating pygame.surface #119

Closed Ancalabro closed 1 month ago

Ancalabro commented 5 years ago

I'm trying to port a game I've made from pygame to pygame_sdl2. I'm currently stuck on a 'segmentation fault'. According to the python faulthandler, the line of code leading to the segmentation fault is:

image = pygame.Surface((24, 48)).convert()

Have also tried it without '.convert'. Doesn't change the result. Thoughts? Suggestions?

uyjulian commented 4 years ago

9f0cd5619d707c6b664e08475d335c2f29395b56 may have fixed this.