Skip to content

Access violation in SDL_WinRTApp::PumpEvents() on Xbox #5489

@mangledpixel

Description

@mangledpixel

Running as a WinRT application on an Xbox Series S, SDL_WinRTApp::PumpEvents() (in SDL_winrtapp_direct3d.cpp) will sometimes crash at the line
CoreWindow::GetForCurrentThread()->Dispatcher->ProcessEvents(CoreProcessEventsOption::ProcessAllIfPresent); (Line 420)
with an access violation exception thrown from combase.dll, for example:
Exception thrown at 0x00007FFFBEEFCD13 (combase.dll) in ####.exe: 0xC0000005: Access violation reading location 0xFFFFFFFFFFFFFFFF.
This happens in about every 1 in 5 attempts. Other times it just runs perfectly fine.
I am unsure as to how to even debug this, as all the call stack shows is a path through Windows.UI.dll to combase.dll, neither of which I have symbols for.

Metadata

Metadata

Assignees

No one assigned

    Labels

    abandonedBug has been abandoned for various reasons

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions