Re: Google Play New problem : 64bits
Posted: Mon Oct 28, 2024 1:04 pm
Even with that line (+ uses Math) Android Studio doesn't appreciate the division per zero in OnUpdate. The real device doesn't seem to be affected. But it was crashing often before with the division per zero on the bitmap width. It behaves exactly the same without the addition of that line.
The weird thing is that it crashes only if we are dividing per zero in OnUpdate.
My take would be to prevent division per zero instead on relying on mask exZeroDivide
That what they say on Lazarus forum:
Code: Select all
<?xml version="1.0" encoding="iso-8859-1" ?>
<ZApplication Name="App" Caption="Zero" ClearColor="0.502 0.502 1 1" AmbientLightColor="1 1 1 1" FullScreen="255" FrameRateStyle="1" ScreenMode="0" CameraPosition="0 0 14" MouseVisible="255" FileVersion="2" PreviewClearColor="0 0 0 1" AndroidPackageName="com.txori.omeganaut" AndroidPortrait="2">
<OnLoaded>
<ZExpression>
<Expression>
<![CDATA[trace("OnLoaded");
trace("before divide per zero");
float x=1, y=0, z=x/y;
trace("after divide per zero");]]>
</Expression>
</ZExpression>
</OnLoaded>
<OnUpdate>
<ZExpression>
<Expression>
<![CDATA[trace("OnUpdate");
trace("before divide per zero");
float x=1, y=0, z=x/y;
trace("after divide per zero");]]>
</Expression>
</ZExpression>
</OnUpdate>
</ZApplication>
Code: Select all
2024-10-28 14:02:46.152 987-1032 WindowManagerShell com.android.systemui V Transition requested: android.os.BinderProxy@2940d93 TransitionRequestInfo { type = OPEN, triggerTask = TaskInfo{userId=0 taskId=210 displayId=0 isRunning=true baseIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.txori.omeganaut/org.zgameeditor.ZgeActivity } baseActivity=ComponentInfo{com.txori.omeganaut/org.zgameeditor.ZgeActivity} topActivity=ComponentInfo{com.txori.omeganaut/org.zgameeditor.ZgeActivity} origActivity=null realActivity=ComponentInfo{com.txori.omeganaut/org.zgameeditor.ZgeActivity} numActivities=1 lastActiveTime=28670954 supportsMultiWindow=true resizeMode=1 isResizeable=true minWidth=-1 minHeight=-1 defaultMinSize=220 token=WCT{android.window.IWindowContainerToken$Stub$Proxy@7dec1d0} topActivityType=1 pictureInPictureParams=null shouldDockBigOverlays=false launchIntoPipHostTaskId=-1 lastParentTaskIdBeforePip=-1 displayCutoutSafeInsets=Rect(0, 144 - 0, 0) topActivityInfo=ActivityInfo{fc615c9 org.zgameeditor.ZgeActivity} launchCookies=[android.os.BinderProxy@470b4ce] positionInParent=Point(0, 0) parentTaskId=-1 isFocused=false isVisible=false isVisibleRequested=false isSleeping=false topActivityInSizeCompat=false topActivityEligibleForLetterboxEducation= false topActivityLetterboxed= false isFromDoubleTap= false topActivityLetterboxVerticalPosition= -1 topActivityLetterboxHorizontalPosition= -1 topActivityLetterboxWidth=-1 topActivityLetterboxHeight=-1 locusId=null displayAreaFeatureId=1 cameraCompatControlState=hidden}, remoteTransition = RemoteTransition { remoteTransition = android.window.IRemoteTransition$Stub$Proxy@67efef, appThread = android.app.IApplicationThread$Stub$Proxy@9362afc, debugName = QuickstepLaunch }, displayChange = null }
2024-10-28 14:02:46.153 566-2121 ActivityTaskManager system_server I START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.txori.omeganaut/org.zgameeditor.ZgeActivity bnds=[101,2416][332,2676]} with LAUNCH_SINGLE_TASK from uid 10168 (BAL_ALLOW_ALLOWLISTED_COMPONENT) result code=0
2024-10-28 14:02:46.165 566-601 ActivityManager system_server I Start proc 30822:com.txori.omeganaut/u0a201 for next-top-activity {com.txori.omeganaut/org.zgameeditor.ZgeActivity}
2024-10-28 14:02:46.225 566-588 WindowManager system_server V Sent Transition #897 createdAt=10-28 14:02:46.144 via request=TransitionRequestInfo { type = OPEN, triggerTask = TaskInfo{userId=0 taskId=210 displayId=0 isRunning=true baseIntent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.txori.omeganaut/org.zgameeditor.ZgeActivity } baseActivity=ComponentInfo{com.txori.omeganaut/org.zgameeditor.ZgeActivity} topActivity=ComponentInfo{com.txori.omeganaut/org.zgameeditor.ZgeActivity} origActivity=null realActivity=ComponentInfo{com.txori.omeganaut/org.zgameeditor.ZgeActivity} numActivities=1 lastActiveTime=28670954 supportsMultiWindow=true resizeMode=1 isResizeable=true minWidth=-1 minHeight=-1 defaultMinSize=220 token=WCT{RemoteToken{7b1fb36 Task{da15161 #210 type=standard A=10201:com.txori.omeganaut}}} topActivityType=1 pictureInPictureParams=null shouldDockBigOverlays=false launchIntoPipHostTaskId=-1 lastParentTaskIdBeforePip=-1 displayCutoutSafeInsets=Rect(0, 144 - 0, 0) topActivityInfo=ActivityInfo{3169a37 org.zgameeditor.ZgeActivity} launchCookies=[android.os.BinderProxy@1269ba4] positionInParent=Point(0, 0) parentTaskId=-1 isFocused=false isVisible=false isVisibleRequested=false isSleeping=false topActivityInSizeCompat=false topActivityEligibleForLetterboxEducation= false topActivityLetterboxed= false isFromDoubleTap= false topActivityLetterboxVerticalPosition= -1 topActivityLetterboxHorizontalPosition= -1 topActivityLetterboxWidth=-1 topActivityLetterboxHeight=-1 locusId=null displayAreaFeatureId=1 cameraCompatControlState=hidden}, remoteTransition = RemoteTransition { remoteTransition = android.window.IRemoteTransition$Stub$Proxy@5b46d0d, appThread = android.app.IApplicationThread$Stub$Proxy@c1a94c2, debugName = QuickstepLaunch }, displayChange = null }
2024-10-28 14:02:46.399 30822-30822 ZgeAndroid com.txori.omeganaut E /storage/emulated/0
2024-10-28 14:02:46.400 30822-30822 ZgeAndroid com.txori.omeganaut E /data/user/0/com.txori.omeganaut/files/
2024-10-28 14:02:46.400 30822-30822 ZgeAndroid com.txori.omeganaut E /data/app/~~6ZToEHurRTIJS9uBe-Yp5Q==/com.txori.omeganaut-3TY6l-z_CJsax0TLxlUr1w==/lib/arm64/
2024-10-28 14:02:46.403 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_LoadModule: Attempting to load module libGLESv1_CM.so
2024-10-28 14:02:46.403 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_LoadModule: Using provided path libGLESv1_CM.so
2024-10-28 14:02:46.411 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_LoadModule: Successfully loaded module libGLESv1_CM.so
2024-10-28 14:02:46.411 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc trying to get InitFunc with 1355583589642155581
2024-10-28 14:02:46.411 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: JNI_OnLoad !!!!
2024-10-28 14:02:46.411 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc did not find JNI_OnLoad
2024-10-28 14:02:46.412 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glDepthRange !!!!
2024-10-28 14:02:46.413 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glGenLists !!!!
2024-10-28 14:02:46.414 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glMateriali !!!!
2024-10-28 14:02:46.415 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glIndexMask !!!!
2024-10-28 14:02:46.415 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glListBase !!!!
2024-10-28 14:02:46.416 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glBegin !!!!
2024-10-28 14:02:46.417 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glCallList !!!!
2024-10-28 14:02:46.417 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glColor3f !!!!
2024-10-28 14:02:46.417 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glColor3fv !!!!
2024-10-28 14:02:46.418 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glColor4fv !!!!
2024-10-28 14:02:46.418 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glEnd !!!!
2024-10-28 14:02:46.418 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glColorMaterial !!!!
2024-10-28 14:02:46.419 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glDeleteLists !!!!
2024-10-28 14:02:46.420 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glDrawBuffer !!!!
2024-10-28 14:02:46.420 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glGetTexImage !!!!
2024-10-28 14:02:46.420 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glPolygonMode !!!!
2024-10-28 14:02:46.420 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glPopAttrib !!!!
2024-10-28 14:02:46.421 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glPushAttrib !!!!
2024-10-28 14:02:46.421 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glRasterPos2f !!!!
2024-10-28 14:02:46.422 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glTexCoord2f !!!!
2024-10-28 14:02:46.423 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glVertex2f !!!!
2024-10-28 14:02:46.423 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glVertex3f !!!!
2024-10-28 14:02:46.423 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glTexGeni !!!!
2024-10-28 14:02:46.426 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glAttachShader !!!!
2024-10-28 14:02:46.426 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glBindAttribLocation !!!!
2024-10-28 14:02:46.426 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glCompileShader !!!!
2024-10-28 14:02:46.427 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glCreateShader !!!!
2024-10-28 14:02:46.427 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glCreateProgram !!!!
2024-10-28 14:02:46.427 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glDeleteShader !!!!
2024-10-28 14:02:46.428 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glDeleteProgram !!!!
2024-10-28 14:02:46.428 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glDetachShader !!!!
2024-10-28 14:02:46.429 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glGetProgramiv !!!!
2024-10-28 14:02:46.429 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glGetShaderiv !!!!
2024-10-28 14:02:46.429 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glGetShaderInfoLog !!!!
2024-10-28 14:02:46.429 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glGetProgramInfoLog !!!!
2024-10-28 14:02:46.430 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glValidateProgram !!!!
2024-10-28 14:02:46.430 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glGetUniformLocation !!!!
2024-10-28 14:02:46.431 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glLinkProgram !!!!
2024-10-28 14:02:46.431 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glShaderSource !!!!
2024-10-28 14:02:46.431 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glUniform3fv !!!!
2024-10-28 14:02:46.431 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glUniform1f !!!!
2024-10-28 14:02:46.431 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glUniform4fv !!!!
2024-10-28 14:02:46.432 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glUniform2fv !!!!
2024-10-28 14:02:46.433 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glUniform1i !!!!
2024-10-28 14:02:46.433 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glUniform1fv !!!!
2024-10-28 14:02:46.433 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glUniformMatrix3fv !!!!
2024-10-28 14:02:46.433 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glUniformMatrix4fv !!!!
2024-10-28 14:02:46.435 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glUseProgram !!!!
2024-10-28 14:02:46.435 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glIsRenderbuffer !!!!
2024-10-28 14:02:46.436 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glBindRenderbuffer !!!!
2024-10-28 14:02:46.436 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glDeleteRenderbuffers !!!!
2024-10-28 14:02:46.437 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glGenRenderbuffers !!!!
2024-10-28 14:02:46.437 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glRenderbufferStorage !!!!
2024-10-28 14:02:46.437 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glBindFramebuffer !!!!
2024-10-28 14:02:46.437 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glDeleteFramebuffers !!!!
2024-10-28 14:02:46.438 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glGenFramebuffers !!!!
2024-10-28 14:02:46.439 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glCheckFramebufferStatus !!!!
2024-10-28 14:02:46.439 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glFramebufferTexture2D !!!!
2024-10-28 14:02:46.439 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glFramebufferRenderbuffer !!!!
2024-10-28 14:02:46.440 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glGenerateMipmap !!!!
2024-10-28 14:02:46.440 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glRenderbufferStorageMultisample !!!!
2024-10-28 14:02:46.440 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glTexImage2DMultisample !!!!
2024-10-28 14:02:46.441 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glBlitFramebuffer !!!!
2024-10-28 14:02:46.441 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glDisableVertexAttribArray !!!!
2024-10-28 14:02:46.442 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glEnableVertexAttribArray !!!!
2024-10-28 14:02:46.443 30822-30822 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glVertexAttribPointer !!!!
2024-10-28 14:02:46.446 30822-30822 ZgeAndroid com.txori.omeganaut E OnLoaded
2024-10-28 14:02:46.447 30822-30822 ZgeAndroid com.txori.omeganaut E before divide per zero
2024-10-28 14:02:46.447 30822-30822 ZgeAndroid com.txori.omeganaut E after divide per zero
2024-10-28 14:02:46.447 30822-30822 ZgeAndroid com.txori.omeganaut E GLBase: 1.1
2024-10-28 14:02:46.466 566-2639 CoreBackPreview system_server D Window{427b37d u0 com.txori.omeganaut/org.zgameeditor.ZgeActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@2eedb40, mPriority=0, mIsAnimationCallback=false}
2024-10-28 14:02:46.541 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_LoadModule: Attempting to load module libGLESv1_CM.so
2024-10-28 14:02:46.543 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_LoadModule: Using provided path libGLESv1_CM.so
2024-10-28 14:02:46.543 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_LoadModule: Successfully loaded module libGLESv1_CM.so
2024-10-28 14:02:46.544 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc trying to get InitFunc with 1355583589642155581
2024-10-28 14:02:46.546 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: JNI_OnLoad !!!!
2024-10-28 14:02:46.547 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc did not find JNI_OnLoad
2024-10-28 14:02:46.548 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glDepthRange !!!!
2024-10-28 14:02:46.548 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glGenLists !!!!
2024-10-28 14:02:46.548 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glMateriali !!!!
2024-10-28 14:02:46.549 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glIndexMask !!!!
2024-10-28 14:02:46.549 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glListBase !!!!
2024-10-28 14:02:46.551 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glBegin !!!!
2024-10-28 14:02:46.551 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glCallList !!!!
2024-10-28 14:02:46.552 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glColor3f !!!!
2024-10-28 14:02:46.553 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glColor3fv !!!!
2024-10-28 14:02:46.554 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glColor4fv !!!!
2024-10-28 14:02:46.554 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glEnd !!!!
2024-10-28 14:02:46.554 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glColorMaterial !!!!
2024-10-28 14:02:46.554 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glDeleteLists !!!!
2024-10-28 14:02:46.554 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glDrawBuffer !!!!
2024-10-28 14:02:46.554 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glGetTexImage !!!!
2024-10-28 14:02:46.555 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glPolygonMode !!!!
2024-10-28 14:02:46.555 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glPopAttrib !!!!
2024-10-28 14:02:46.556 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glPushAttrib !!!!
2024-10-28 14:02:46.556 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glRasterPos2f !!!!
2024-10-28 14:02:46.557 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glTexCoord2f !!!!
2024-10-28 14:02:46.557 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glVertex2f !!!!
2024-10-28 14:02:46.557 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glVertex3f !!!!
2024-10-28 14:02:46.558 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glTexGeni !!!!
2024-10-28 14:02:46.558 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glAttachShader !!!!
2024-10-28 14:02:46.559 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glBindAttribLocation !!!!
2024-10-28 14:02:46.559 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glCompileShader !!!!
2024-10-28 14:02:46.559 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glCreateShader !!!!
2024-10-28 14:02:46.560 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glCreateProgram !!!!
2024-10-28 14:02:46.561 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glDeleteShader !!!!
2024-10-28 14:02:46.561 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glDeleteProgram !!!!
2024-10-28 14:02:46.561 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glDetachShader !!!!
2024-10-28 14:02:46.561 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glGetProgramiv !!!!
2024-10-28 14:02:46.562 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glGetShaderiv !!!!
2024-10-28 14:02:46.562 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glGetShaderInfoLog !!!!
2024-10-28 14:02:46.562 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glGetProgramInfoLog !!!!
2024-10-28 14:02:46.562 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glValidateProgram !!!!
2024-10-28 14:02:46.562 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glGetUniformLocation !!!!
2024-10-28 14:02:46.562 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glLinkProgram !!!!
2024-10-28 14:02:46.563 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glShaderSource !!!!
2024-10-28 14:02:46.563 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glUniform3fv !!!!
2024-10-28 14:02:46.565 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glUniform1f !!!!
2024-10-28 14:02:46.565 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glUniform4fv !!!!
2024-10-28 14:02:46.565 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glUniform2fv !!!!
2024-10-28 14:02:46.566 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glUniform1i !!!!
2024-10-28 14:02:46.566 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glUniform1fv !!!!
2024-10-28 14:02:46.566 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glUniformMatrix3fv !!!!
2024-10-28 14:02:46.566 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glUniformMatrix4fv !!!!
2024-10-28 14:02:46.567 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glUseProgram !!!!
2024-10-28 14:02:46.567 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glIsRenderbuffer !!!!
2024-10-28 14:02:46.567 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glBindRenderbuffer !!!!
2024-10-28 14:02:46.567 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glDeleteRenderbuffers !!!!
2024-10-28 14:02:46.567 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glGenRenderbuffers !!!!
2024-10-28 14:02:46.568 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glRenderbufferStorage !!!!
2024-10-28 14:02:46.568 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glBindFramebuffer !!!!
2024-10-28 14:02:46.568 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glDeleteFramebuffers !!!!
2024-10-28 14:02:46.568 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glGenFramebuffers !!!!
2024-10-28 14:02:46.568 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glCheckFramebufferStatus !!!!
2024-10-28 14:02:46.569 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glFramebufferTexture2D !!!!
2024-10-28 14:02:46.569 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glFramebufferRenderbuffer !!!!
2024-10-28 14:02:46.569 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glGenerateMipmap !!!!
2024-10-28 14:02:46.569 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glRenderbufferStorageMultisample !!!!
2024-10-28 14:02:46.569 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glTexImage2DMultisample !!!!
2024-10-28 14:02:46.569 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glBlitFramebuffer !!!!
2024-10-28 14:02:46.569 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glDisableVertexAttribArray !!!!
2024-10-28 14:02:46.569 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glEnableVertexAttribArray !!!!
2024-10-28 14:02:46.570 30822-30845 ZgeAndroid com.txori.omeganaut E Platform_GetModuleProc: Function not found: glVertexAttribPointer !!!!
2024-10-28 14:02:46.570 30822-30845 ZgeAndroid com.txori.omeganaut E OnUpdate
2024-10-28 14:02:46.570 30822-30845 ZgeAndroid com.txori.omeganaut E before divide per zero
2024-10-28 14:02:46.639 566-588 ActivityTaskManager system_server I Displayed com.txori.omeganaut/org.zgameeditor.ZgeActivity for user 0: +493ms
2024-10-28 14:02:46.747 566-30858 ActivityTaskManager system_server W Force finishing activity com.txori.omeganaut/org.zgameeditor.ZgeActivity
2024-10-28 14:02:46.782 566-2215 WindowManager system_server I WIN DEATH: Window{427b37d u0 com.txori.omeganaut/org.zgameeditor.ZgeActivity}
2024-10-28 14:02:46.782 566-2215 InputManager-JNI system_server W Input channel object '427b37d com.txori.omeganaut/org.zgameeditor.ZgeActivity (client)' was disposed without first being removed with the input manager!
2024-10-28 14:02:46.785 566-1067 InputManager-JNI system_server W Input channel object 'Letterbox_fullWindow_ActivityRecord{fe9ccc8 u0 com.txori.omeganaut/org.zgameeditor.ZgeActivity t210} (client)' was disposed without first being removed with the input manager!
2024-10-28 14:02:46.957 566-592 WindowManager system_server W Failed to deliver inset control state change to w=Window{427b37d u0 com.txori.omeganaut/org.zgameeditor.ZgeActivity EXITING}
android.os.DeadObjectException
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(BinderProxy.java:584)
at android.view.IWindow$Stub$Proxy.insetsControlChanged(IWindow.java:479)
at com.android.server.wm.WindowState.notifyInsetsControlChanged(WindowState.java:3802)
at com.android.server.wm.InsetsStateController.lambda$notifyPendingInsetsControlChanged$3(InsetsStateController.java:343)
at com.android.server.wm.InsetsStateController.$r8$lambda$8yykPRG1GyNq_J17QvL9d5xANMc(InsetsStateController.java:0)
at com.android.server.wm.InsetsStateController$$ExternalSyntheticLambda2.run(R8$$SyntheticClass:0)
at com.android.server.wm.WindowAnimator.executeAfterPrepareSurfacesRunnables(WindowAnimator.java:294)
at com.android.server.wm.RootWindowContainer.performSurfacePlacementNoTrace(RootWindowContainer.java:811)
at com.android.server.wm.RootWindowContainer.performSurfacePlacement(RootWindowContainer.java:756)
at com.android.server.wm.WindowSurfacePlacer.performSurfacePlacementLoop(WindowSurfacePlacer.java:177)
at com.android.server.wm.WindowSurfacePlacer.performSurfacePlacement(WindowSurfacePlacer.java:126)
at com.android.server.wm.WindowSurfacePlacer.performSurfacePlacement(WindowSurfacePlacer.java:115)
at com.android.server.wm.WindowSurfacePlacer$Traverser.run(WindowSurfacePlacer.java:57)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:205)
at android.os.Looper.loop(Looper.java:294)
at android.os.HandlerThread.run(HandlerThread.java:67)
at com.android.server.ServiceThread.run(ServiceThread.java:46)
2024-10-28 14:02:47.250 566-591 ActivityTaskManager system_server W Activity top resumed state loss timeout for ActivityRecord{fe9ccc8 u0 com.txori.omeganaut/org.zgameeditor.ZgeActivity t210 f} isExiting}
2024-10-28 14:02:47.566 566-2215 WindowManager system_server W Exception thrown during dispatchAppVisibility Window{427b37d u0 com.txori.omeganaut/org.zgameeditor.ZgeActivity EXITING}
android.os.DeadObjectException
at android.os.BinderProxy.transactNative(Native Method)
at android.os.BinderProxy.transact(BinderProxy.java:584)
at android.view.IWindow$Stub$Proxy.dispatchAppVisibility(IWindow.java:546)
at com.android.server.wm.WindowState.sendAppVisibilityToClients(WindowState.java:3271)
at com.android.server.wm.WindowContainer.sendAppVisibilityToClients(WindowContainer.java:1221)
at com.android.server.wm.WindowToken.setClientVisible(WindowToken.java:409)
at com.android.server.wm.ActivityRecord.setClientVisible(ActivityRecord.java:6946)
at com.android.server.wm.ActivityRecord.postApplyAnimation(ActivityRecord.java:5637)
at com.android.server.wm.ActivityRecord.commitVisibility(ActivityRecord.java:5580)
at com.android.server.wm.Transition.finishTransition(Transition.java:1151)
at com.android.server.wm.TransitionController.finishTransition(TransitionController.java:868)
at com.android.server.wm.WindowOrganizerController.finishTransition(WindowOrganizerController.java:396)
at android.window.IWindowOrganizerController$Stub.onTransact(IWindowOrganizerController.java:286)
at com.android.server.wm.WindowOrganizerController.onTransact(WindowOrganizerController.java:181)
at android.os.Binder.execTransactInternal(Binder.java:1344)
at android.os.Binder.execTransact(Binder.java:1275)
My take would be to prevent division per zero instead on relying on mask exZeroDivide

That what they say on Lazarus forum:
Or, better, don’t let it happen in the first place. Ensure your divisor is non-zero. Exceptions are meant to signal something extraordinary, not a predictable condition.