SDL icon indicating copy to clipboard operation
SDL copied to clipboard

SDL3 Android crash SDL_free / SDL_DelTouch

Open AntTheAlchemist opened this issue 1 year ago • 0 comments

A recent update to SDL3 seems to have sparked a new group of crashes being reported in Google Play Console. Has something been done to the touch screen device code that might cause this? I noticed that the reported devices are mostly Motorola, so it could be specific to certain hardware.

Here's the stack log. I don't have anything else to go by because I can't reproduce this end.

libc.so (abort+168)
libc.so (scudo::die()+8)
libc.so (scudo::ScopedErrorReport::~ScopedErrorReport()+32)
libc.so (scudo::reportInvalidChunkState(scudo::AllocatorAction, void*)+76)
libc.so (scudo::Allocator<scudo::AndroidConfig, &(scudo_malloc_postinit)>::deallocate(void*, scudo::Chunk::Origin, unsigned long, unsigned long)+308)
split_config.arm64_v8a.apk!libSDL3.so (SDL_free+28) (BuildId: 7422e3b8152f80c1782f4a32419d3f28b2a53c32)
split_config.arm64_v8a.apk!libSDL3.so (SDL_DelTouch) (BuildId: 7422e3b8152f80c1782f4a32419d3f28b2a53c32)
split_config.arm64_v8a.apk!libSDL3.so (SDL_QuitTouch) (BuildId: 7422e3b8152f80c1782f4a32419d3f28b2a53c32)
split_config.arm64_v8a.apk!libSDL3.so (SDL_VideoQuit) (BuildId: 7422e3b8152f80c1782f4a32419d3f28b2a53c32)
split_config.arm64_v8a.apk!libSDL3.so (SDL_QuitSubSystem+436) (BuildId: 7422e3b8152f80c1782f4a32419d3f28b2a53c32)
split_config.arm64_v8a.apk!libSDL3.so (SDL_Quit+28) (BuildId: 7422e3b8152f80c1782f4a32419d3f28b2a53c32)
split_config.arm64_v8a.apk!libmain.so (SDL_main+108) (BuildId: 5d0c5b4a16e6ccebcd94dec98a8f95d9ba1f5c92)
split_config.arm64_v8a.apk!libSDL3.so (Java_org_libsdl_app_SDLActivity_nativeRunMain) (BuildId: 7422e3b8152f80c1782f4a32419d3f28b2a53c32)

AntTheAlchemist avatar May 16 '24 13:05 AntTheAlchemist