kivy / python-for-android

Turn your Python application into an Android APK
https://python-for-android.readthedocs.io
MIT License
8.34k stars 1.85k forks source link

Video crash on Android (AAudioStream_getTimestamp -- aaudio) #2786

Open tito opened 1 year ago

tito commented 1 year ago

Versions

Description

Starting a Video with sound on Android make a segfault.

Tried:

04-27 21:45:07.727 22221 22541 I python  : [WARNING] [ffpyplayer  ] [swscaler @ 0xb2fb0050] No accelerated colorspace conversion found from yuv420p to rgba.
04-27 21:45:08.214 22527 22527 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
04-27 21:45:08.214 22527 22527 F DEBUG   : Build fingerprint: 'samsung/p3sxeea/p3s:13/TP1A.220624.014/G998BXXU7EWCH:user/release-keys'
04-27 21:45:08.214 22527 22527 F DEBUG   : Revision: '22'
04-27 21:45:08.214 22527 22527 F DEBUG   : ABI: 'arm'
04-27 21:45:08.214 22527 22527 F DEBUG   : Processor: '7'
04-27 21:45:08.214 22527 22527 F DEBUG   : Timestamp: 2023-04-27 21:45:07.673465334+0200
04-27 21:45:08.214 22527 22527 F DEBUG   : Process uptime: 14s
04-27 21:45:08.214 22527 22527 F DEBUG   : Cmdline: com.iciavant.oradour
04-27 21:45:08.214 22527 22527 F DEBUG   : pid: 22221, tid: 22440, name: SDLThread  >>> com.iciavant.oradour <<<
04-27 21:45:08.214 22527 22527 F DEBUG   : uid: 10693
04-27 21:45:08.214 22527 22527 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x00000000
04-27 21:45:08.214 22527 22527 F DEBUG   : Cause: null pointer dereference
04-27 21:45:08.214 22527 22527 F DEBUG   :     r0  fffffc7e  r1  fffffc7e  r2  b1c019c0  r3  b1c019b8
04-27 21:45:08.214 22527 22527 F DEBUG   :     r4  b1c01b00  r5  b1c019c0  r6  00000001  r7  00000000
04-27 21:45:08.214 22527 22527 F DEBUG   :     r8  b1c019b8  r9  b13a85c8  r10 b1353388  r11 b1c01b88
04-27 21:45:08.214 22527 22527 F DEBUG   :     ip  d769c4e1  sp  b1c01988  lr  b24d5bb3  pc  d769b43c
04-27 21:45:08.214 22527 22527 F DEBUG   : backtrace:
04-27 21:45:08.214 22527 22527 F DEBUG   :   NOTE: Function names and BuildId information is missing for some frames due
04-27 21:45:08.214 22527 22527 F DEBUG   :   NOTE: to unreadable libraries. For unwinds of apps, only shared libraries
04-27 21:45:08.214 22527 22527 F DEBUG   :   NOTE: found under the lib/ directory are readable.
04-27 21:45:08.214 22527 22527 F DEBUG   :   NOTE: On this device, run setenforce 0 to make the libraries readable.
04-27 21:45:08.214 22527 22527 F DEBUG   :   NOTE: Unreadable libraries:
04-27 21:45:08.214 22527 22527 F DEBUG   :   NOTE:   /data/data/com.iciavant.oradour/files/app/_python_bundle/site-packages/kivy/core/window/_window_sdl2.so
04-27 21:45:08.214 22527 22527 F DEBUG   :       #00 pc 0000443c  /system/lib/libaaudio.so (AAudioStream_getTimestamp.cfi+72) (BuildId: 3ac2edc533347e38d66d6e93cff872d4)
04-27 21:45:08.214 22527 22527 F DEBUG   :       #01 pc 00078bb1  /data/app/~~wExPMjtCgKkY6zxccolKug==/com.iciavant.oradour-2NiquyWoBBtOLla3YXYcrg==/lib/arm/libSDL2.so (aaudio_DetectBrokenPlayState+88) (BuildId: bcb6cc865cd0cca75a2f469f444c7c677fa34e87)
04-27 21:45:08.214 22527 22527 F DEBUG   :       #02 pc 0013466b  /data/app/~~wExPMjtCgKkY6zxccolKug==/com.iciavant.oradour-2NiquyWoBBtOLla3YXYcrg==/lib/arm/libSDL2.so (Android_PumpEvents_Blocking+358) (BuildId: bcb6cc865cd0cca75a2f469f444c7c677fa34e87)
04-27 21:45:08.214 22527 22527 F DEBUG   :       #03 pc 000806b5  /data/app/~~wExPMjtCgKkY6zxccolKug==/com.iciavant.oradour-2NiquyWoBBtOLla3YXYcrg==/lib/arm/libSDL2.so (BuildId: bcb6cc865cd0cca75a2f469f444c7c677fa34e87)
04-27 21:45:08.214 22527 22527 F DEBUG   :       #04 pc 0008077f  /data/app/~~wExPMjtCgKkY6zxccolKug==/com.iciavant.oradour-2NiquyWoBBtOLla3YXYcrg==/lib/arm/libSDL2.so (SDL_WaitEventTimeout+50) (BuildId: bcb6cc865cd0cca75a2f469f444c7c677fa34e87)
04-27 21:45:08.214 22527 22527 F DEBUG   :       #05 pc 00080745  /data/app/~~wExPMjtCgKkY6zxccolKug==/com.iciavant.oradour-2NiquyWoBBtOLla3YXYcrg==/lib/arm/libSDL2.so (SDL_PollEvent+12) (BuildId: bcb6cc865cd0cca75a2f469f444c7c677fa34e87)
04-27 21:45:08.214 22527 22527 F DEBUG   :       #06 pc 0000cecb  /data/data/com.iciavant.oradour/files/app/_python_bundle/site-packages/kivy/core/window/_window_sdl2.so

Can be fixed at the moment with specifying SDL_AUDIODRIVER to android in your main.py before anything else.

import os
from kivy.utils import platform
if platform == "android":
    os.environ["SDL_AUDIODRIVER"] = "android"

buildozer.spec

Spec file:

requirements = python3,hostpython3,kivy,requests,logbook,dotmap,dateutil,openssl,plyer,android,curly,ffpyplayer==v4.5.0,urllib3,chardet,idna
android.permissions = INTERNET
android.api = 31
android.minapi = 21

Logs


04-27 22:01:01.283 26120 26189 I python  : Initializing Python for Android
04-27 22:01:01.283 26120 26189 I python  : Setting additional env vars from p4a_env_vars.txt
04-27 22:01:01.283 26120 26189 I python  : Changing directory to the one provided by ANDROID_ARGUMENT
04-27 22:01:01.283 26120 26189 I python  : /data/user/0/com.iciavant.oradour/files/app
04-27 22:01:01.283 26120 26189 I python  : Preparing to initialize python
04-27 22:01:01.283 26120 26189 I python  : _python_bundle dir exists
04-27 22:01:01.283 26120 26189 I python  : calculated paths to be...
04-27 22:01:01.283 26120 26189 I python  : /data/user/0/com.iciavant.oradour/files/app/_python_bundle/stdlib.zip:/data/user/0/com.iciavant.oradour/files/app/_python_bundle/modules
04-27 22:01:01.283 26120 26189 I python  : set wchar paths...
04-27 22:01:01.303 26120 26189 I python  : Initialized python
04-27 22:01:01.303 26120 26189 I python  : AND: Init threads
04-27 22:01:01.303 26120 26189 I python  : testing python print redirection
04-27 22:01:01.304 26120 26189 I python  : Android path ['.', '/data/user/0/com.iciavant.oradour/files/app/_python_bundle/stdlib.zip', '/data/user/0/com.iciavant.oradour/files/app/_python_bundle/modules', '/data/user/0/com.iciavant.oradour/files/app/_python_bundle/site-packages']
04-27 22:01:01.304 26120 26189 I python  : os.environ is environ({'PATH': '/product/bin:/apex/com.android.runtime/bin:/apex/com.android.art/bin:/system_ext/bin:/system/bin:/system/xbin:/odm/bin:/vendor/bin:/vendor/xbin', 'ANDROID_BOOTLOGO': '1', 'ANDROID_ROOT': '/system', 'ANDROID_ASSETS': '/system/app', 'ANDROID_DATA': '/data', 'ANDROID_STORAGE': '/storage', 'ANDROID_ART_ROOT': '/apex/com.android.art', 'ANDROID_I18N_ROOT': '/apex/com.android.i18n', 'ANDROID_TZDATA_ROOT': '/apex/com.android.tzdata', 'EXTERNAL_STORAGE': '/sdcard', 'ASEC_MOUNTPOINT': '/mnt/asec', 'DOWNLOAD_CACHE': '/data/cache', 'SECONDARY_STORAGE': '/storage/sdcard:/storage/usb1:/storage/usb2', 'BOOTCLASSPATH': '/apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar:/system/framework/framework.jar:/system/framework/framework-graphics.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/system/framework/knoxsdk.jar:/system/framework/SmpsManager.jar:/system/framework/uibc_java.jar:/system/framework/esecomm.jar:/apex/com.android.i18n/javalib/core-icu4j.jar:/apex/com.android.adservices/javalib/framework-adservices.jar:/apex/com.android.adservices/javalib/framework-sdksandbox.jar:/apex/com.android.appsearch/javalib/framework-appsearch.jar:/apex/com.android.btservices/javalib/framework-bluetooth.jar:/apex/com.android.conscrypt/javalib/conscrypt.jar:/apex/com.android.ipsec/javalib/android.net.ipsec.ike.jar:/apex/com.android.media/javalib/updatable-media.jar:/apex/com.android.mediaprovider/javalib/framework-mediaprovider.jar:/apex/com.android.ondevicepersonalization/javalib/framework-ondevicepersonalization.jar:/apex/com.android.os.statsd/javalib/framework-statsd.jar:/apex/com.android.permission/javalib/framework-permission.jar:/apex/com.android.permission/javalib/framework-permission-s.jar:/apex/com.android.scheduling/javalib/framework-scheduling.jar:/apex/com.android.sdkext/javalib/framework-sdkextensions.jar:/apex/com.android.tethering/javalib/framework-connectivity.jar:/apex/com.android.tethering/javalib/framework-connectivity-t.jar:/apex/com.android.tethering/javalib/framework-tethering.jar:/apex/com.android.uwb/javalib/framework-uwb.jar:/apex/com.android.wifi/javalib/framework-wifi.jar:/apex/com.samsung.android.ipm/javalib/framework-samsung-ipm.jar:/apex/com.samsung.android.shell/javalib/framework-samsung-privilege.jar', 'DEX2OATBOOTCLASSPATH': '/apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar:/system/framework/framework.jar:/system/framework/framework-graphics.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/system/framework/knoxsdk.jar:/system/framework/SmpsManager.jar:/system/framework/uibc_java.jar:/system/framework/esecomm.jar:/apex/com.android.i18n/javalib/core-icu4j.jar', 'SYSTEMSERVERCLASSPATH': '/system/framework/com.android.location.provider.jar:/system/framework/samsung.uwb.jar:/system/framework/knoxanalyticssdk.jar:/system/framework/services.jar:/system/framework/ssrm.jar:/system/framework/semwifi-service.jar:/apex/com.android.adservices/javalib/service-adservices.jar:/apex/com.android.adservices/javalib/service-sdksandbox.jar:/apex/com.android.appsearch/javalib/service-appsearch.jar:/apex/com.android.art/javalib/service-art.jar:/apex/com.android.media/javalib/service-media-s.jar:/apex/com.android.permission/javalib/service-permission.jar:/apex/com.samsung.android.ipm/javalib/service-samsung-ipm.jar:/apex/com.samsung.android.shell/javalib/service-samsung-privilege.jar', 'STANDALONE_SYSTEMSERVER_JARS': '/apex/com.android.btservices/javalib/service-bluetooth.jar:/apex/com.android.os.statsd/javalib/service-statsd.jar:/apex/com.android.scheduling/javalib/
04-27 22:01:01.304 26120 26189 I python  : Android kivy bootstrap done. __name__ is __main__
04-27 22:01:01.304 26120 26189 I python  : AND: Ran string
04-27 22:01:01.304 26120 26189 I python  : Run user program, change dir and execute entrypoint
04-27 22:01:01.407 26120 26189 I python  : [WARNING] [Config      ] Older configuration version detected (0 instead of 24)
04-27 22:01:01.407 26120 26189 I python  : [WARNING] [Config      ] Upgrading configuration in progress.
04-27 22:01:01.408 26120 26189 I python  : [INFO   ] [Logger      ] Record log in /data/user/0/com.iciavant.oradour/files/app/.kivy/logs/kivy_23-04-27_0.txt
04-27 22:01:01.408 26120 26189 I python  : [INFO   ] [Kivy        ] v2.1.0
04-27 22:01:01.408 26120 26189 I python  : [INFO   ] [Kivy        ] Installed at "/data/user/0/com.iciavant.oradour/files/app/_python_bundle/site-packages/kivy/__init__.pyc"
04-27 22:01:01.408 26120 26189 I python  : [INFO   ] [Python      ] v3.10.10 (main, Apr 27 2023, 21:55:55) [Clang 14.0.6 (https://android.googlesource.com/toolchain/llvm-project 4c603efb0
04-27 22:01:01.408 26120 26189 I python  : [INFO   ] [Python      ] Interpreter at ""
04-27 22:01:01.409 26120 26189 I python  : [INFO   ] [Logger      ] Purge log fired. Processing...
04-27 22:01:01.409 26120 26189 I python  : [INFO   ] [Logger      ] Purge finished!
04-27 22:01:01.836 26120 26189 I python  : [INFO   ] [Factory     ] 189 symbols loaded
04-27 22:01:01.952 26120 26189 I python  : [INFO   ] [ImageLoaderFFPy] Using ffpyplayer 4.5.0
04-27 22:01:01.952 26120 26189 I python  : [INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_ffpyplayer (img_pil ignored)
04-27 22:01:02.040 26120 26189 I python  : [INFO   ] [SoundFFPy   ] Using ffpyplayer 4.5.0
04-27 22:01:02.041 26120 26189 I python  : [INFO   ] [Audio       ] Providers: audio_ffpyplayer, audio_sdl2 (audio_android ignored)
04-27 22:01:02.113 26120 26189 I python  : [<class 'pebblo.libs.kivy_audio_android.SoundAndroidPlayer'>]
04-27 22:01:02.114 26120 26189 I python  : [INFO   ] [VideoFFPy   ] Using ffpyplayer 4.5.0
04-27 22:01:02.114 26120 26189 I python  : [INFO   ] [Video       ] Provider: ffpyplayer(['video_ffmpeg'] ignored)
04-27 22:01:02.115 26120 26189 I python  : [2023-04-27 20:01:02.115643] DEBUG: pebblo.app: Timer: build() at 0.811s
04-27 22:01:02.116 26120 26189 I python  : [2023-04-27 20:01:02.116262] DEBUG: pebblo.config: Loading embed configuration
04-27 22:01:02.126 26120 26189 I python  : [2023-04-27 20:01:02.126220] INFO: pebblo.utils: Cache directory is: '/storage/emulated/0/Android/data/com.iciavant.oradour/cache'
04-27 22:01:02.126 26120 26189 I python  : [2023-04-27 20:01:02.126439] WARNING: pebblo.app: Unable to read user settings
04-27 22:01:02.126 26120 26189 I python  : [2023-04-27 20:01:02.126541] INFO: pebblo.messages: Loading messages for fr
04-27 22:01:02.138 26120 26189 I python  : [INFO   ] [Window      ] Provider: sdl2
04-27 22:01:02.213 26120 26189 I python  : [INFO   ] [GL          ] Using the "OpenGL ES 2" graphics system
04-27 22:01:02.214 26120 26189 I python  : [INFO   ] [GL          ] Backend used <sdl2>
04-27 22:01:02.214 26120 26189 I python  : [INFO   ] [GL          ] OpenGL version <b'OpenGL ES 3.2 v1.r32p1-01bet2-mbs2v39_0.1eb81b57bda69d2fb810330d42abfc4e'>
04-27 22:01:02.214 26120 26189 I python  : [INFO   ] [GL          ] OpenGL vendor <b'ARM'>
04-27 22:01:02.215 26120 26189 I python  : [INFO   ] [GL          ] OpenGL renderer <b'Mali-G78'>
04-27 22:01:02.215 26120 26189 I python  : [INFO   ] [GL          ] OpenGL parsed version: 3, 2
04-27 22:01:02.215 26120 26189 I python  : [INFO   ] [GL          ] Texture max size <16383>
04-27 22:01:02.215 26120 26189 I python  : [INFO   ] [GL          ] Texture max units <128>
04-27 22:01:02.227 26120 26189 I python  : [DEBUG  ] [Shader      ] Fragment compiled successfully
04-27 22:01:02.228 26120 26189 I python  : [DEBUG  ] [Shader      ] Vertex compiled successfully
04-27 22:01:02.236 26120 26189 I python  : [DEBUG  ] [ImageSDL2   ] Load </data/user/0/com.iciavant.oradour/files/app/_python_bundle/site-packages/kivy/data/glsl/default.png>
04-27 22:01:02.238 26120 26189 I python  : [INFO   ] [Window      ] auto add sdl2 input provider
04-27 22:01:02.239 26120 26189 I python  : [INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
04-27 22:01:02.249 26120 26189 I python  : [2023-04-27 20:01:02.249572] INFO: pebblo.app: Window size=(1080, 2190) dpi=450 density=2.8125
04-27 22:01:02.281 26120 26189 I python  : [INFO   ] [Text        ] Provider: sdl2
04-27 22:01:02.283 26120 26189 I python  : [DEBUG  ] [Resource    ] add </system/fonts> in path list
04-27 22:01:02.283 26120 26189 I python  : [DEBUG  ] [Resource    ] add </data/user/0/com.iciavant.oradour/files/app/_python_bundle/site-packages/kivy/data/fonts> in path list
04-27 22:01:02.285 26120 26189 I python  : [DEBUG  ] [ImageSDL2   ] Load </data/data/com.iciavant.oradour/files/app/data/images/sc_logo.png>
04-27 22:01:02.286 26120 26189 I python  : [INFO   ] [GL          ] NPOT texture support is available
04-27 22:01:02.289 26120 26189 I python  : [DEBUG  ] [ImageSDL2   ] Load </data/data/com.iciavant.oradour/files/app/data/projects/iciavant-oradour/presplash.png>
04-27 22:01:02.314 26120 26189 I python  : [2023-04-27 20:01:02.314265] DEBUG: Generic: Timer: build() ended at 1.01s
04-27 22:01:02.315 26120 26189 I python  : [DEBUG  ] [Base        ] Create provider from android
04-27 22:01:02.315 26120 26189 I python  : [WARNING] [Base        ] Unknown <android> provider
04-27 22:01:02.315 26120 26189 I python  : [INFO   ] [Base        ] Start application main loop
04-27 22:01:02.412 26120 26189 I python  : [DEBUG  ] [Window      ] Resize window to (1080, 2325)
04-27 22:01:07.333 26120 26189 I python  : [ERROR  ] [Image       ] Error loading <data/projects/iciavant-oradour/ETAPE_01_en.m4v>
04-27 22:01:07.486 26120 26276 I python  : [WARNING] [ffpyplayer  ] [swscaler @ 0xb30c0010] No accelerated colorspace conversion found from yuv420p to rgba.
04-27 22:01:07.986 26254 26254 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
04-27 22:01:07.986 26254 26254 F DEBUG   : Build fingerprint: 'samsung/p3sxeea/p3s:13/TP1A.220624.014/G998BXXU7EWCH:user/release-keys'
04-27 22:01:07.986 26254 26254 F DEBUG   : Revision: '22'
04-27 22:01:07.986 26254 26254 F DEBUG   : ABI: 'arm'
04-27 22:01:07.986 26254 26254 F DEBUG   : Processor: '4'
04-27 22:01:07.986 26254 26254 F DEBUG   : Timestamp: 2023-04-27 22:01:07.451660532+0200
04-27 22:01:07.986 26254 26254 F DEBUG   : Process uptime: 9s
04-27 22:01:07.986 26254 26254 F DEBUG   : Cmdline: com.iciavant.oradour
04-27 22:01:07.986 26254 26254 F DEBUG   : pid: 26120, tid: 26189, name: SDLThread  >>> com.iciavant.oradour <<<
04-27 22:01:07.986 26254 26254 F DEBUG   : uid: 10693
04-27 22:01:07.986 26254 26254 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x00000000
04-27 22:01:07.986 26254 26254 F DEBUG   : Cause: null pointer dereference
04-27 22:01:07.986 26254 26254 F DEBUG   :     r0  fffffc7e  r1  fffffc7e  r2  b1aff9b8  r3  b1aff9b0
04-27 22:01:07.986 26254 26254 F DEBUG   :     r4  b1affb00  r5  b1aff9b8  r6  00000001  r7  00000000
04-27 22:01:07.986 26254 26254 F DEBUG   :     r8  b1aff9b0  r9  b3fc90f0  r10 b3e7a388  r11 b1affb88
04-27 22:01:07.987 26254 26254 F DEBUG   :     ip  d769c4e1  sp  b1aff978  lr  b22d3fdf  pc  d769b43c
04-27 22:01:07.987 26254 26254 F DEBUG   : backtrace:
04-27 22:01:07.987 26254 26254 F DEBUG   :   NOTE: Function names and BuildId information is missing for some frames due
04-27 22:01:07.987 26254 26254 F DEBUG   :   NOTE: to unreadable libraries. For unwinds of apps, only shared libraries
04-27 22:01:07.987 26254 26254 F DEBUG   :   NOTE: found under the lib/ directory are readable.
04-27 22:01:07.987 26254 26254 F DEBUG   :   NOTE: On this device, run setenforce 0 to make the libraries readable.
04-27 22:01:07.987 26254 26254 F DEBUG   :   NOTE: Unreadable libraries:
04-27 22:01:07.987 26254 26254 F DEBUG   :   NOTE:   /data/data/com.iciavant.oradour/files/app/_python_bundle/site-packages/kivy/core/window/_window_sdl2.so
04-27 22:01:07.987 26254 26254 F DEBUG   :       #00 pc 0000443c  /system/lib/libaaudio.so (AAudioStream_getTimestamp.cfi+72) (BuildId: 3ac2edc533347e38d66d6e93cff872d4)
04-27 22:01:07.987 26254 26254 F DEBUG   :       #01 pc 00078fdd  /data/app/~~Rvw4O17LNIdVw83Jkfhe1A==/com.iciavant.oradour-4zQeZZxN_hUHlpna5kOIpQ==/lib/arm/libSDL2.so (aaudio_DetectBrokenPlayState+88) (BuildId: ec4b83a23ddc47c027f8b4af516e3e13c3ee011d)
04-27 22:01:07.987 26254 26254 F DEBUG   :       #02 pc 00134c53  /data/app/~~Rvw4O17LNIdVw83Jkfhe1A==/com.iciavant.oradour-4zQeZZxN_hUHlpna5kOIpQ==/lib/arm/libSDL2.so (Android_PumpEvents_Blocking+358) (BuildId: ec4b83a23ddc47c027f8b4af516e3e13c3ee011d)
04-27 22:01:07.987 26254 26254 F DEBUG   :       #03 pc 00080ca1  /data/app/~~Rvw4O17LNIdVw83Jkfhe1A==/com.iciavant.oradour-4zQeZZxN_hUHlpna5kOIpQ==/lib/arm/libSDL2.so (BuildId: ec4b83a23ddc47c027f8b4af516e3e13c3ee011d)
04-27 22:01:07.987 26254 26254 F DEBUG   :       #04 pc 00080d6b  /data/app/~~Rvw4O17LNIdVw83Jkfhe1A==/com.iciavant.oradour-4zQeZZxN_hUHlpna5kOIpQ==/lib/arm/libSDL2.so (SDL_WaitEventTimeout+50) (BuildId: ec4b83a23ddc47c027f8b4af516e3e13c3ee011d)
04-27 22:01:07.987 26254 26254 F DEBUG   :       #05 pc 00080d31  /data/app/~~Rvw4O17LNIdVw83Jkfhe1A==/com.iciavant.oradour-4zQeZZxN_hUHlpna5kOIpQ==/lib/arm/libSDL2.so (SDL_PollEvent+12) (BuildId: ec4b83a23ddc47c027f8b4af516e3e13c3ee011d)
04-27 22:01:07.987 26254 26254 F DEBUG   :       #06 pc 0000cecb  /data/data/com.iciavant.oradour/files/app/_python_bundle/site-packages/kivy/core/window/_window_sdl2.so```
moonpyx commented 1 year ago

I am trying your solution and it is more stable, I would think that here https://github.com/libsdl-org/SDL/commit/1c074e8d9785d55fc720c06801a8010cf8a6cc6a could be a definitive solution.