Skip to content

OpenGL/SDL Segmentation Fault on image load #16

@jckopriv

Description

@jckopriv

See Andrea Ghensi email thread for further detail. There is a problem with loading an mslug5.png, unknown if it is a file permission problem, perhaps a corrupt file problem. Should probably do more checking that creation of textures was successful, and log any errors found.

Execution stack:
Error: couldn't create texture: invalid value
Program received signal SIGSEV, Segmentation fault.
[...] in SDL_DisplayFormatAlpha () from /usr/lib/libSDL-1.2.so.0
Here's the execution stack (only function names):
SDL_DisplayFormatAlpha
resize
ogl_create_texture
sdl_create_texture filename /home/arcade/.advance/titles/mslug5.png
game_load_texture
game_list_resume
resume_all
emulator_run
game_sel_event
event_process
main

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions