So I tried the same cubes example with a shader and ES2GL3 mode and got yet another bug (in addition to the other two):
Code: Select all
********** Crash dump: **********
Build fingerprint: 'google/cheetah/cheetah:14/AP2A.240905.003/12231197:user/release-keys'
Abort message: 'Scudo ERROR: corrupted chunk header at address 0x2000079725a3b70'
#00 0x000000000005d8e4 /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: 1d36f8ae6e0af6158793abea7d4f4f2b)
#01 0x0000000000048d18 /apex/com.android.runtime/lib64/bionic/libc.so (scudo::die()+8) (BuildId: 1d36f8ae6e0af6158793abea7d4f4f2b)
#02 0x00000000000499ec /apex/com.android.runtime/lib64/bionic/libc.so (scudo::reportRawError(char const*)+28) (BuildId: 1d36f8ae6e0af6158793abea7d4f4f2b)
#03 0x000000000004995c /apex/com.android.runtime/lib64/bionic/libc.so (scudo::ScopedErrorReport::~ScopedErrorReport()+12) (BuildId: 1d36f8ae6e0af6158793abea7d4f4f2b)
#04 0x0000000000049ac0 /apex/com.android.runtime/lib64/bionic/libc.so (scudo::reportHeaderCorruption(void*)+96) (BuildId: 1d36f8ae6e0af6158793abea7d4f4f2b)
#05 0x000000000004bab4 /apex/com.android.runtime/lib64/bionic/libc.so (scudo::Allocator<scudo::AndroidNormalConfig, &(scudo_malloc_postinit)>::deallocate(void*, scudo::Chunk::Origin, unsigned long, unsigned long)+276) (BuildId: 1d36f8ae6e0af6158793abea7d4f4f2b)
#06 0x00000000009564e4 /vendor/lib64/egl/libGLES_mali.so (gles_texturep_replica_delete_internal+100) (BuildId: 305b0cf48058c154)
#07 0x00000000009161a4 /vendor/lib64/egl/libGLES_mali.so (gles_object_original_delete_name_process+260) (BuildId: 305b0cf48058c154)
#08 0x000000000094c3cc /vendor/lib64/egl/libGLES_mali.so (gles_texture_delete_textures+140) (BuildId: 305b0cf48058c154)
#09 0x00000000000451fc /data/app/~~kWf1P5I4nEi5N_8g8M5tDQ==/com.txori.omeganaut-ly7Ki-rOEovbzEswdlt3bg==/lib/arm64/libzgeandroid.so (ZBITMAP$_$TZBITMAP_$__$$_CLEANUP+44) (BuildId: b3c75a45b542839bd3a433c084c9e6b856d45f42)
Crash dump is completed
Code: Select all
procedure TZBitmap.CleanUp;
begin
if IsInitialized then
begin
IsInitialized := False;
{$ifndef minimal}
if not HasExternalHandle then
{$endif}
glDeleteTextures(1, @Handle);
end;
end;