-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spurious nullpointer crash on app resume #1353
Comments
Ok, a little bit of follow up:
If I get around to gdb debug this, I'll try to poke into the code. However, this might not be the next days and I don't know much about the wrapper, so anyone knowledgeable is invited to debug this! I can send an .apk (or the docker image to build it although that one is rather complicated due to the messy recipe limitations p4a has right now...) which crashes things. It's not a minimal reproduction case but it's at a very defined point (between the SDL background app event, and before the SDL resume app event) and in the wrapper, so it shouldn't matter much. |
Okay, made #1424 now that I finally know what it is. Sorry for the ticket spam. |
Making a new ticket for this. I previously already saw this but got it all mixed up with the orientation crashes caused by the wrong manifest / apilevel issue.
However, I'm definitely still seeing the occasional crash on resume, although not always. As usual, it appears to happen before the executing code enters back into my own app code, and it seems to be a null pointer passed to libSDL2 somewhere by the wrapper:
The text was updated successfully, but these errors were encountered: