Skip to content

Segfault when loading OpenGL on Ubuntu Touch #13255

@Semphriss

Description

@Semphriss

I've observed a segfault when calling SDL_GL_LoadLibrary(NULL) on Ubuntu Touch (arm64). It also happens when attempting to create a window with SDL_WINDOW_OPENGL.

The crash happens at src/video/SDL_egl.c:450:

LOAD_FUNC_EGLEXT(PFNEGLQUERYDEVICESEXTPROC, eglQueryDevicesEXT);

With some debugging, eglGetProcAddress appears to be a valid pointer to a function, but when running that function, the stack becomes corrupted.

I can run other software that use EGL (Neverball), so I don't think the EGL library itself is corrupted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions