Ryan C. Gordon
Ryan C. Gordon
> Can somebody take a look at the SDL_DestroyCursor issue? Did we fix this already? Running testautomation.html from this PR's branch on both Firefox and Chrome (linux/amd64), I don't get...
Emscripten_FreeCursor is calling `SDL_free((char *)curdata->system_cursor);` but if this came from Emscripten_CreateCursor(), it allocated that buffer with malloc(), not SDL_malloc(). Likely culprit...?
See if 423d6ec15a9efa613b0e611e4708d7df95214289 fixes it.
Looks like whatever caught the error then tried to call the previous error handler, tossing us back into SDL, deep inside OpenGL. That's messy. :/
No, wait, I lied, it looks like a single error triggered in glX/OpenGL, and it's calling us directly from there.
Actually, are X11 error handlers set per-thread? I'm wondering if this background thread triggered an error, and we caught in an unexpected place because a handler we set on the...
> I think in case of disaster the modern thing to do is let things crash and restart, but don't quote me Yeah, the problem was if SDL changed the...
(For 3.2.0, we're going to remove the code that tries to touch X11 state from inside the error handler, and we're maybe also going to remove the global coverage of...
Do you happen to have a .wav file that triggers this that you can upload here, so I'm definitely fixing the right problem?
Thanks! I'll grab this later today!