kivymd / KivyMD

KivyMD is a collection of Material Design compliant widgets for use with Kivy, a framework for cross-platform, touch-enabled graphical applications. https://youtube.com/c/KivyMD https://twitter.com/KivyMD https://habr.com/ru/users/kivymd https://stackoverflow.com/tags/kivymd
https://kivymd.readthedocs.io
MIT License
2.24k stars 674 forks source link

Crash when displaying MDSwitch on certain android phones on kivymd version 1.1.1 #1393

Closed hassewehner closed 1 year ago

hassewehner commented 2 years ago

Description of the Bug

I am get reproduceable crashes when the MDSwtich is displayed on certian android phones. among others the xiaomi redmo note 11 pro.

The code works on kivemd version 1.0.2 but fails when a switch to 1.1.1

Code and Logs

from kivymd.app import MDApp

from kivymd.uix.selectioncontrol import MDSwitch

class MainApp(MDApp):
    def build(self):

        kv_str = """
MDBoxLayout
    orientation: "horizontal"
    text: "bla bla"
    size_hint: 1, None
    padding: (17, 0, 12, 2)
    height: self.minimum_height

    MDLabel:
        size_hint_y: None
        size: self.texture_size
        text: root.text
        pos_hint: {'center_y': .5}

    MDSwitch:
        size_hint: None, None

    """

        boxlayout = Builder.load_string(kv_str)
        return boxlayout

MainApp().run() 

Versions

Requirements i buildozer.spec requirements = python3,kivy,kivymd==1.0.2,requests,kivy_garden.graph,requests,urllib3,chardet,certifi,idna,pillow

T-Dynamos commented 2 years ago

Can you send logcat output?

FrankS1990 commented 2 years ago

I have a similar issue with MDTopAppBar, app works fine without the toolbar, with toolbar the app crashes.

OS: Android 10 & 11 Python: 3.9.9 Kivy: 2.1.0 Kivymd: 1.1.1

requirements = kivy==2.1.0, kivymd==1.1.1, python-dateutil, pyjnius, plyer, android, openssl, requests, urllib3, chardet, idna, Image, PIL

logcat: `2022-10-18 14:07:59.070 29810-29838/com.x.y.y I/python: [INFO ] [Logger ] Record log in /data/user/0/com.x.y.y/files/app/.kivy/logs/kivy_22-10-18_2.txt 2022-10-18 14:07:59.071 29810-29838/com.x.y.y I/python: [INFO ] [Kivy ] v2.1.0 2022-10-18 14:07:59.071 29810-29838/com.x.y.y I/python: [INFO ] [Kivy ] Installed at "/data/user/0/com.x.y.y/files/app/_python_bundle/site-packages/kivy/init.pyc" 2022-10-18 14:07:59.071 29810-29838/com.x.y.y I/python: [INFO ] [Python ] v3.9.9 (main, Oct 18 2022, 13:54:03) 2022-10-18 14:07:59.071 29810-29838/com.x.y.y I/python: [Clang 12.0.8 (https://android.googlesource.com/toolchain/llvm-project c935d99d 2022-10-18 14:07:59.072 29810-29838/com.x.y.y I/python: [INFO ] [Python ] Interpreter at "" 2022-10-18 14:07:59.072 29810-29838/com.x.y.y I/python: [INFO ] [Logger ] Purge log fired. Processing... 2022-10-18 14:07:59.073 29810-29838/com.x.y.y I/python: [INFO ] [Logger ] Purge finished! 2022-10-18 14:07:59.075 29810-29838/com.x.y.y I/python: [INFO ] [KivyMD ] 1.1.1, git-Unknown, 2022-10-17 (installed at "/data/user/0/com.x.y.y/files/app/_python_bundle/site-packages/kivymd/init.pyc") 2022-10-18 14:07:59.078 29810-29838/com.x.y.y I/python: [INFO ] [Factory ] 189 symbols loaded 2022-10-18 14:07:59.840 29810-29810/com.x.y.y W/SDLThread: type=1400 audit(0.0:68578): avc: granted { execute } for path="/data/data/com.x.y.y/files/app/_python_bundle/modules/_contextvars.cpython-39.so" dev="mmcblk0p73" ino=530725 scontext=u:r:untrusted_app:s0:c214,c256,c512,c768 tcontext=u:object_r:app_data_file:s0:c214,c256,c512,c768 tclass=file app=com.x.y.y 2022-10-18 14:07:59.850 29810-29810/com.x.y.y W/SDLThread: type=1400 audit(0.0:68579): avc: granted { execute } for path="/data/data/com.x.y.y/files/app/_python_bundle/modules/_asyncio.cpython-39.so" dev="mmcblk0p73" ino=530577 scontext=u:r:untrusted_app:s0:c214,c256,c512,c768 tcontext=u:object_r:app_data_file:s0:c214,c256,c512,c768 tclass=file app=com.x.y.y 2022-10-18 14:07:59.870 29810-29810/com.x.y.y W/SDLThread: type=1400 audit(0.0:68580): avc: granted { execute } for path="/data/data/com.x.y.y/files/app/_python_bundle/site-packages/kivy/weakproxy.so" dev="mmcblk0p73" ino=531638 scontext=u:r:untrusted_app:s0:c214,c256,c512,c768 tcontext=u:object_r:app_data_file:s0:c214,c256,c512,c768 tclass=file app=com.x.y.y 2022-10-18 14:07:59.880 29810-29810/com.x.y.y W/SDLThread: type=1400 audit(0.0:68581): avc: granted { execute } for path="/data/data/com.x.y.y/files/app/_python_bundle/site-packages/kivy/graphics/buffer.so" dev="mmcblk0p73" ino=531346 scontext=u:r:untrusted_app:s0:c214,c256,c512,c768 tcontext=u:object_r:app_data_file:s0:c214,c256,c512,c768 tclass=file app=com.x.y.y 2022-10-18 14:07:59.885 0-0/? W/audit: audit_lost=30040 audit_rate_limit=5 audit_backlog_limit=64 2022-10-18 14:07:59.885 0-0/? E/audit: rate limit exceeded 2022-10-18 14:07:59.923 29810-29838/com.x.y.y I/python: [INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2, img_pil (img_ffpyplayer ignored) 2022-10-18 14:07:59.953 29810-29838/com.x.y.y I/python: [INFO ] [Text ] Provider: sdl2 2022-10-18 14:08:00.001 1726-1726/? D/KeyguardUpdateMonitor: received broadcast android.intent.action.TIME_TICK 2022-10-18 14:08:00.001 1726-1726/? D/KeyguardUpdateMonitor: handleTimeUpdate 2022-10-18 14:08:00.231 29810-29838/com.x.y.y I/python: [INFO ] [Window ] Provider: sdl2 2022-10-18 14:08:00.248 29810-29838/com.x.y.y E/libEGL: validate_display:87 error 3008 (EGL_BAD_DISPLAY) 2022-10-18 14:08:00.248 29810-29838/com.x.y.y V/SDL: setOrientation() orientation=-1 width=800 height=600 resizable=true hint= 2022-10-18 14:08:00.254 29810-29838/com.x.y.y I/python: [INFO ] [GL ] Using the "OpenGL ES 2" graphics system 2022-10-18 14:08:00.255 29810-29838/com.x.y.y I/python: [INFO ] [GL ] Backend used 2022-10-18 14:08:00.255 29810-29838/com.x.y.y I/python: [INFO ] [GL ] OpenGL version <b'OpenGL ES 3.2 V@0502.0 (GIT@8d85fe3c79, Ibab1b56362, 1634917586) (Date:10/22/21)'> 2022-10-18 14:08:00.256 29810-29838/com.x.y.y I/python: [INFO ] [GL ] OpenGL vendor <b'Qualcomm'> 2022-10-18 14:08:00.256 29810-29838/com.x.y.y I/python: [INFO ] [GL ] OpenGL renderer <b'Adreno (TM) 512'> 2022-10-18 14:08:00.257 29810-29838/com.x.y.y I/python: [INFO ] [GL ] OpenGL parsed version: 3, 2 2022-10-18 14:08:00.258 29810-29838/com.x.y.y I/python: [INFO ] [GL ] Texture max size <16384> 2022-10-18 14:08:00.258 29810-29838/com.x.y.y I/python: [INFO ] [GL ] Texture max units <16> 2022-10-18 14:08:00.267 784-853/? D/qdgralloc: Imported handle: 0xb4000074316b8e00 id: 1250 2022-10-18 14:08:00.267 784-853/? D/qdgralloc: GetTransportSize: num fds: 2 num ints: 22 err:0 2022-10-18 14:08:00.268 29810-29832/com.x.y.y D/qdgralloc: Imported handle: 0xb400006e84cbe850 id: 1250 2022-10-18 14:08:00.268 29810-29832/com.x.y.y D/qdgralloc: GetTransportSize: num fds: 2 num ints: 22 err:0 2022-10-18 14:08:00.275 728-728/? D/qdgralloc: Imported handle: 0xb400006f8953af60 id: 1250 2022-10-18 14:08:00.304 29810-29838/com.x.y.y I/python: [INFO ] [Window ] auto add sdl2 input provider 2022-10-18 14:08:00.306 29810-29838/com.x.y.y I/python: [INFO ] [Window ] virtual keyboard not allowed, single mode, not docked 2022-10-18 14:08:01.041 29810-29838/com.x.y.y I/python: [INFO ] [GL ] NPOT texture support is available 2022-10-18 14:08:01.536 1726-2105/? I/MdmUiControl: isMdmItemEnable 58 value is false 2022-10-18 14:08:01.538 1726-2105/? I/MdmUiControl: isMdmItemEnable 58 value is false 2022-10-18 14:08:01.594 1512-1512/? E/LightsService: Light requested not available on this device. 2 2022-10-18 14:08:01.858 7561-7577/? W/System: A resource failed to call dispose. 2022-10-18 14:08:03.010 1512-1537/? D/CompatibilityInfo: mCompatibilityFlags - 0 2022-10-18 14:08:03.010 1512-1537/? D/CompatibilityInfo: applicationDensity - 320 2022-10-18 14:08:03.010 1512-1537/? D/CompatibilityInfo: applicationScale - 1.0 2022-10-18 14:08:03.039 1512-6933/? D/CompatibilityInfo: mCompatibilityFlags - 0 2022-10-18 14:08:03.039 1512-6933/? D/CompatibilityInfo: applicationDensity - 320 2022-10-18 14:08:03.039 1512-6933/? D/CompatibilityInfo: applicationScale - 1.0 2022-10-18 14:08:03.044 2600-29445/? I/NetworkScheduler.Stats: Task com.google.android.gms/com.google.android.gms.auth.account.be.legacy.AuthCronService started execution. cause:4 exec_start_elapsed_seconds: 77192 [CONTEXT service_id=218 ] 2022-10-18 14:08:03.051 2600-29445/? I/NetworkScheduler.Stats: Task com.google.android.gms/com.google.android.gms.auth.account.be.legacy.AuthCronService finished executing. cause:4 result: 1 elapsed_millis: 20 uptime_millis: 19 exec_start_elapsed_seconds: 77192 [CONTEXT service_id=218 ] 2022-10-18 14:08:03.570 1236-1236/? W//system/vendor/bin/ipacm: type=1400 audit(0.0:68609): avc: denied { write } for comm=6E65746C696E6B20736F636B6574 name="ipacm_log_file" dev="tmpfs" ino=19307 scontext=u:r:ipacm:s0 tcontext=u:object_r:ipacm_socket:s0 tclass=sock_file permissive=0 2022-10-18 14:08:03.570 1236-1236/? I/chatty: uid=1001(radio) /system/vendor/bin/ipacm identical 1 line 2022-10-18 14:08:03.570 1236-1236/? W//system/vendor/bin/ipacm: type=1400 audit(0.0:68611): avc: denied { write } for comm=6E65746C696E6B20736F636B6574 name="ipacm_log_file" dev="tmpfs" ino=19307 scontext=u:r:ipacm:s0 tcontext=u:object_r:ipacm_socket:s0 tclass=sock_file permissive=0 2022-10-18 14:08:03.570 1236-1236/? W/ipacm: type=1400 audit(0.0:68612): avc: denied { write } for name="ipacm_log_file" dev="tmpfs" ino=19307 scontext=u:r:ipacm:s0 tcontext=u:object_r:ipacm_socket:s0 tclass=sock_file permissive=0 2022-10-18 14:08:03.574 0-0/? W/audit: audit_lost=30066 audit_rate_limit=5 audit_backlog_limit=64 2022-10-18 14:08:03.574 0-0/? E/audit: rate limit exceeded 2022-10-18 14:08:03.570 1236-1236/? W/ipacm: type=1400 audit(0.0:68613): avc: denied { write } for name="ipacm_log_file" dev="tmpfs" ino=19307 scontext=u:r:ipacm:s0 tcontext=u:object_r:ipacm_socket:s0 tclass=sock_file permissive=0 2022-10-18 14:08:04.557 1726-2105/? I/MdmUiControl: isMdmItemEnable 58 value is false 2022-10-18 14:08:04.559 1726-2105/? I/MdmUiControl: isMdmItemEnable 58 value is false 2022-10-18 14:08:06.247 29810-29838/com.x.y.y I/python: [WARNING] [Base ] Unknown provider 2022-10-18 14:08:06.248 29810-29838/com.x.y.y I/python: [INFO ] [Base ] Start application main loop 2022-10-18 14:08:06.852 0-0/? E/dubai,commonfg 8-0077: dubai_commonfg_update_work: current-FG:1, total_fg=3, alived=2, hotswap=0 2022-10-18 14:08:06.860 0-0/? E/dubai,commonfg 8-0077: dubai_commonfg_update_work(1074): update=0, priv=100, target=100, diff=0 2022-10-18 14:08:06.860 0-0/? E/dubai,commonfg 8-0077: dubai_commonfg_update_work(1087): First UPD: priv=100 2022-10-18 14:08:07.576 1726-2105/? I/MdmUiControl: isMdmItemEnable 58 value is false 2022-10-18 14:08:07.578 1726-2105/? I/MdmUiControl: isMdmItemEnable 58 value is false 2022-10-18 14:08:08.047 784-1552/? D/qdgralloc: Imported handle: 0xb4000074316b7ae0 id: 1251 2022-10-18 14:08:08.047 784-1552/? D/qdgralloc: GetTransportSize: num fds: 2 num ints: 22 err:0 2022-10-18 14:08:08.047 29810-29838/com.x.y.y D/qdgralloc: Imported handle: 0xb400006e84cd3a60 id: 1251 2022-10-18 14:08:08.048 29810-29838/com.x.y.y D/qdgralloc: GetTransportSize: num fds: 2 num ints: 22 err:0

--------- beginning of crash

2022-10-18 14:08:08.052 29810-29838/com.x.y.y A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x40 in tid 29838 (SDLThread), pid 29810 (y) 2022-10-18 14:08:08.151 29846-29846/? I/crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstone 2022-10-18 14:08:08.151 1129-1129/? I/tombstoned: received crash request for pid 29838 2022-10-18 14:08:08.152 29846-29846/? I/crash_dump64: performing dump of process 29810 (target tid = 29838) 2022-10-18 14:08:08.161 29846-29846/? A/DEBUG: 2022-10-18 14:08:08.161 29846-29846/? A/DEBUG: Build fingerprint: 'Honeywell/CT60/CT60-L0-C:11/92.00.07/0066:user/release-keys' 2022-10-18 14:08:08.161 29846-29846/? A/DEBUG: Revision: 'hon660' 2022-10-18 14:08:08.161 29846-29846/? A/DEBUG: ABI: 'arm64' 2022-10-18 14:08:08.162 29846-29846/? A/DEBUG: Timestamp: 2022-10-18 14:08:08+0200 2022-10-18 14:08:08.162 29846-29846/? A/DEBUG: pid: 29810, tid: 29838, name: SDLThread >>> com.x.y.y <<< 2022-10-18 14:08:08.162 29846-29846/? A/DEBUG: uid: 10214 2022-10-18 14:08:08.162 29846-29846/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x40 2022-10-18 14:08:08.162 29846-29846/? A/DEBUG: Cause: null pointer dereference 2022-10-18 14:08:08.162 29846-29846/? A/DEBUG: x0 0000000000000000 x1 0000000000000002 x2 0000000000000000 x3 0000000000000000 2022-10-18 14:08:08.162 29846-29846/? A/DEBUG: x4 0000000000000004 x5 b400007014c9c558 x6 0000000000009144 x7 b400007014c9c160 2022-10-18 14:08:08.162 29846-29846/? A/DEBUG: x8 b400007014c96c58 x9 0000000000000000 x10 b400006ef4d13d20 x11 b400007014c933b8 2022-10-18 14:08:08.162 29846-29846/? A/DEBUG: x12 0000000000000000 x13 00000005014d0000 x14 0000006df8645440 x15 b400006f04cda5b8 2022-10-18 14:08:08.162 29846-29846/? A/DEBUG: x16 b400007014c96bec x17 0000000000000010 x18 0000000000000000 x19 0000000000000000 2022-10-18 14:08:08.162 29846-29846/? A/DEBUG: x20 b400006f24d6c2e0 x21 b400007014c93020 x22 0000000000000001 x23 0000000000000001 2022-10-18 14:08:08.162 29846-29846/? A/DEBUG: x24 0000000000000000 x25 b400007014c9c558 x26 b400006f04cda5b0 x27 0000000000000000 2022-10-18 14:08:08.162 29846-29846/? A/DEBUG: x28 0000000000000001 x29 0000006da82a3a40 2022-10-18 14:08:08.162 29846-29846/? A/DEBUG: lr 0000006df88ee3cc sp 0000006da82a39a0 pc 0000006df8904eb0 pst 0000000080000000 2022-10-18 14:08:08.295 29846-29846/? A/DEBUG: backtrace: 2022-10-18 14:08:08.295 29846-29846/? A/DEBUG: NOTE: Function names and BuildId information is missing for some frames due 2022-10-18 14:08:08.295 29846-29846/? A/DEBUG: NOTE: to unreadable libraries. For unwinds of apps, only shared libraries 2022-10-18 14:08:08.295 29846-29846/? A/DEBUG: NOTE: found under the lib/ directory are readable. 2022-10-18 14:08:08.295 29846-29846/? A/DEBUG: #00 pc 0000000000311eb0 /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!ea6bb4d8dd1e0542c809f3e90886bd!8d85fe3c79c!+456) (BuildId: a91c3bc4dce0092d17940649778a622f) 2022-10-18 14:08:08.295 29846-29846/? A/DEBUG: #01 pc 00000000002fb3c8 /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!4238a8145d510bbc21fabdd558bbbc!8d85fe3c79c!+1944) (BuildId: a91c3bc4dce0092d17940649778a622f) 2022-10-18 14:08:08.295 29846-29846/? A/DEBUG: #02 pc 00000000003084d0 /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!4c38aea95be9faf0b3861d1af73f50!8d85fe3c79c!+31352) (BuildId: a91c3bc4dce0092d17940649778a622f) 2022-10-18 14:08:08.295 29846-29846/? A/DEBUG: #03 pc 0000000000128318 /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!6b200851123c7898055fe62ff9f71f!8d85fe3c79c!+1840) (BuildId: a91c3bc4dce0092d17940649778a622f) 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #04 pc 00000000001203c4 /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!77df12deb6a622478efa8fb9929034!8d85fe3c79c!+996) (BuildId: a91c3bc4dce0092d17940649778a622f) 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #05 pc 000000000000ad28 /data/data/com.x.y.y/files/app/_python_bundle/site-packages/kivy/graphics/vbo.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #06 pc 0000000000014530 /data/data/com.x.y.y/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #07 pc 000000000000872c /data/data/com.x.y.y/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #08 pc 0000000000012074 /data/data/com.x.y.y/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #09 pc 00000000000118b4 /data/data/com.x.y.y/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #10 pc 0000000000014bbc /data/data/com.x.y.y/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #11 pc 00000000000163fc /data/data/com.x.y.y/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #12 pc 000000000000872c /data/data/com.x.y.y/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #13 pc 0000000000012074 /data/data/com.x.y.y/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #14 pc 00000000000118b4 /data/data/com.x.y.y/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #15 pc 000000000000872c /data/data/com.x.y.y/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #16 pc 0000000000012074 /data/data/com.x.y.y/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #17 pc 00000000000118b4 /data/data/com.x.y.y/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #18 pc 0000000000014bbc /data/data/com.x.y.y/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #19 pc 000000000000872c /data/data/com.x.y.y/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #20 pc 0000000000012074 /data/data/com.x.y.y/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #21 pc 00000000000118b4 /data/data/com.x.y.y/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #22 pc 0000000000014bbc /data/data/com.x.y.y/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #23 pc 000000000000872c /data/data/com.x.y.y/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #24 pc 0000000000012074 /data/data/com.x.y.y/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #25 pc 00000000000118b4 /data/data/com.x.y.y/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #26 pc 0000000000014bbc /data/data/com.x.y.y/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #27 pc 000000000000872c /data/data/com.x.y.y/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #28 pc 0000000000012074 /data/data/com.x.y.y/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #29 pc 00000000000118b4 /data/data/com.x.y.y/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #30 pc 0000000000014bbc /data/data/com.x.y.y/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #31 pc 00000000000163fc /data/data/com.x.y.y/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #32 pc 00000000000200a4 /data/data/com.x.y.y/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #33 pc 0000000000161ab8 /data/app/~~tUo4BsYTzSNKV9t1jz-7aw==/com.x.y.y--e6RnAz3o1Vca6ck3AWyEg==/lib/arm64/libpython3.9.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #34 pc 000000000022abc8 /data/app/~~tUo4BsYTzSNKV9t1jz-7aw==/com.x.y.y--e6RnAz3o1Vca6ck3AWyEg==/lib/arm64/libpython3.9.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #35 pc 0000000000227d34 /data/app/~~tUo4BsYTzSNKV9t1jz-7aw==/com.x.y.y--e6RnAz3o1Vca6ck3AWyEg==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+8728) 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #36 pc 0000000000159414 /data/app/~~tUo4BsYTzSNKV9t1jz-7aw==/com.x.y.y--e6RnAz3o1Vca6ck3AWyEg==/lib/arm64/libpython3.9.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #37 pc 000000000015b64c /data/app/~~tUo4BsYTzSNKV9t1jz-7aw==/com.x.y.y--e6RnAz3o1Vca6ck3AWyEg==/lib/arm64/libpython3.9.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #38 pc 0000000000021940 /data/data/com.x.y.y/files/app/_python_bundle/site-packages/kivy/_event.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #39 pc 00000000001616c8 /data/app/~~tUo4BsYTzSNKV9t1jz-7aw==/com.x.y.y--e6RnAz3o1Vca6ck3AWyEg==/lib/arm64/libpython3.9.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #40 pc 000000000022abc8 /data/app/~~tUo4BsYTzSNKV9t1jz-7aw==/com.x.y.y--e6RnAz3o1Vca6ck3AWyEg==/lib/arm64/libpython3.9.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #41 pc 0000000000227d34 /data/app/~~tUo4BsYTzSNKV9t1jz-7aw==/com.x.y.y--e6RnAz3o1Vca6ck3AWyEg==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+8728) 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #42 pc 0000000000159414 /data/app/~~tUo4BsYTzSNKV9t1jz-7aw==/com.x.y.y--e6RnAz3o1Vca6ck3AWyEg==/lib/arm64/libpython3.9.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #43 pc 000000000022abc8 /data/app/~~tUo4BsYTzSNKV9t1jz-7aw==/com.x.y.y--e6RnAz3o1Vca6ck3AWyEg==/lib/arm64/libpython3.9.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #44 pc 0000000000227d34 /data/app/~~tUo4BsYTzSNKV9t1jz-7aw==/com.x.y.y--e6RnAz3o1Vca6ck3AWyEg==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+8728) 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #45 pc 0000000000159414 /data/app/~~tUo4BsYTzSNKV9t1jz-7aw==/com.x.y.y--e6RnAz3o1Vca6ck3AWyEg==/lib/arm64/libpython3.9.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #46 pc 000000000022abc8 /data/app/~~tUo4BsYTzSNKV9t1jz-7aw==/com.x.y.y--e6RnAz3o1Vca6ck3AWyEg==/lib/arm64/libpython3.9.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #47 pc 0000000000227d34 /data/app/~~tUo4BsYTzSNKV9t1jz-7aw==/com.x.y.y--e6RnAz3o1Vca6ck3AWyEg==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+8728) 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #48 pc 0000000000159414 /data/app/~~tUo4BsYTzSNKV9t1jz-7aw==/com.x.y.y--e6RnAz3o1Vca6ck3AWyEg==/lib/arm64/libpython3.9.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #49 pc 000000000022abc8 /data/app/~~tUo4BsYTzSNKV9t1jz-7aw==/com.x.y.y--e6RnAz3o1Vca6ck3AWyEg==/lib/arm64/libpython3.9.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #50 pc 0000000000228eb0 /data/app/~~tUo4BsYTzSNKV9t1jz-7aw==/com.x.y.y--e6RnAz3o1Vca6ck3AWyEg==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+13204) 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #51 pc 0000000000159414 /data/app/~~tUo4BsYTzSNKV9t1jz-7aw==/com.x.y.y--e6RnAz3o1Vca6ck3AWyEg==/lib/arm64/libpython3.9.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #52 pc 000000000022abc8 /data/app/~~tUo4BsYTzSNKV9t1jz-7aw==/com.x.y.y--e6RnAz3o1Vca6ck3AWyEg==/lib/arm64/libpython3.9.so 2022-10-18 14:08:08.296 29846-29846/? A/DEBUG: #53 pc 0000000000227d34 /data/app/~~tUo4BsYTzSNKV9t1jz-7aw==/com.x.y.y--e6RnAz3o1Vca6ck3AWyEg==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+8728) 2022-10-18 14:08:08.297 29846-29846/? A/DEBUG: #54 pc 000000000022ba84 /data/app/~~tUo4BsYTzSNKV9t1jz-7aw==/com.x.y.y--e6RnAz3o1Vca6ck3AWyEg==/lib/arm64/libpython3.9.so 2022-10-18 14:08:08.297 29846-29846/? A/DEBUG: #55 pc 0000000000225a48 /data/app/~~tUo4BsYTzSNKV9t1jz-7aw==/com.x.y.y--e6RnAz3o1Vca6ck3AWyEg==/lib/arm64/libpython3.9.so (PyEval_EvalCode+80) 2022-10-18 14:08:08.297 29846-29846/? A/DEBUG: #56 pc 0000000000268ee8 /data/app/~~tUo4BsYTzSNKV9t1jz-7aw==/com.x.y.y--e6RnAz3o1Vca6ck3AWyEg==/lib/arm64/libpython3.9.so (PyRun_SimpleFileExFlags+1140) 2022-10-18 14:08:08.297 29846-29846/? A/DEBUG: #57 pc 0000000000003624 /data/app/~~tUo4BsYTzSNKV9t1jz-7aw==/com.x.y.y--e6RnAz3o1Vca6ck3AWyEg==/lib/arm64/libmain.so (SDL_main+2664) (BuildId: 893a872339beaa18a4a46175c35008434d8835f1) 2022-10-18 14:08:08.297 29846-29846/? A/DEBUG: #58 pc 0000000000098320 /data/app/~~tUo4BsYTzSNKV9t1jz-7aw==/com.x.y.y--e6RnAz3o1Vca6ck3AWyEg==/lib/arm64/libSDL2.so (Java_org_libsdl_app_SDLActivity_nativeRunMain+592) (BuildId: 69c4135ba6fdd2596cd248b1d45fe35f0c5eaf8d) 2022-10-18 14:08:08.297 29846-29846/? A/DEBUG: #59 pc 000000000013ced4 /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+148) (BuildId: b6fc38da00d09f1bc1251c4fab27dd4d) 2022-10-18 14:08:08.297 29846-29846/? A/DEBUG: #60 pc 00000000001337e8 /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+568) (BuildId: b6fc38da00d09f1bc1251c4fab27dd4d) 2022-10-18 14:08:08.297 29846-29846/? A/DEBUG: #61 pc 00000000001a8a94 /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread, unsigned int, unsigned int, art::JValue, char const)+228) (BuildId: b6fc38da00d09f1bc1251c4fab27dd4d) 2022-10-18 14:08:08.297 29846-29846/? A/DEBUG: #62 pc 000000000031831c /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread, art::ArtMethod, art::ShadowFrame, unsigned short, art::JValue)+376) (BuildId: b6fc38da00d09f1bc1251c4fab27dd4d) 2022-10-18 14:08:08.297 29846-29846/? A/DEBUG: #63 pc 000000000030e648 /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod, art::Thread, art::ShadowFrame&, art::Instruction const, unsigned short, art::JValue)+996) (BuildId: b6fc38da00d09f1bc1251c4fab27dd4d) 2022-10-18 14:08:08.297 29846-29846/? A/DEBUG: #64 pc 000000000067f49c /apex/com.android.art/lib64/libart.so (MterpInvokeStatic+548) (BuildId: b6fc38da00d09f1bc1251c4fab27dd4d) 2022-10-18 14:08:08.297 29846-29846/? A/DEBUG: #65 pc 000000000012d994 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: b6fc38da00d09f1bc1251c4fab27dd4d) 2022-10-18 14:08:08.297 29846-29846/? A/DEBUG: #66 pc 000000000000c286 /data/app/~~tUo4BsYTzSNKV9t1jz-7aw==/com.x.y.y--e6RnAz3o1Vca6ck3AWyEg==/base.apk (offset 0x4000) (org.libsdl.app.SDLMain.run+114) 2022-10-18 14:08:08.297 29846-29846/? A/DEBUG: #67 pc 000000000067e21c /apex/com.android.art/lib64/libart.so (MterpInvokeInterface+1808) (BuildId: b6fc38da00d09f1bc1251c4fab27dd4d) 2022-10-18 14:08:08.297 29846-29846/? A/DEBUG: #68 pc 000000000012da14 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: b6fc38da00d09f1bc1251c4fab27dd4d) 2022-10-18 14:08:08.297 29846-29846/? A/DEBUG: #69 pc 00000000000eb840 /apex/com.android.art/javalib/core-oj.jar (java.lang.Thread.run+8) 2022-10-18 14:08:08.297 29846-29846/? A/DEBUG: #70 pc 0000000000305c44 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.6432830707213048161)+268) (BuildId: b6fc38da00d09f1bc1251c4fab27dd4d) 2022-10-18 14:08:08.297 29846-29846/? A/DEBUG: #71 pc 000000000066b24c /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+780) (BuildId: b6fc38da00d09f1bc1251c4fab27dd4d) 2022-10-18 14:08:08.297 29846-29846/? A/DEBUG: #72 pc 000000000013cff8 /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: b6fc38da00d09f1bc1251c4fab27dd4d) 2022-10-18 14:08:08.297 29846-29846/? A/DEBUG: #73 pc 0000000000133564 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: b6fc38da00d09f1bc1251c4fab27dd4d) 2022-10-18 14:08:08.297 29846-29846/? A/DEBUG: #74 pc 00000000001a8a78 /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread, unsigned int, unsigned int, art::JValue, char const)+200) (BuildId: b6fc38da00d09f1bc1251c4fab27dd4d) 2022-10-18 14:08:08.297 29846-29846/? A/DEBUG: #75 pc 0000000000554cbc /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<art::ArtMethod>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject, art::ArtMethod, jvalue const)+460) (BuildId: b6fc38da00d09f1bc1251c4fab27dd4d) 2022-10-18 14:08:08.297 29846-29846/? A/DEBUG: #76 pc 00000000005a4058 /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void)+1308) (BuildId: b6fc38da00d09f1bc1251c4fab27dd4d) 2022-10-18 14:08:08.297 29846-29846/? A/DEBUG: #77 pc 00000000000b00fc /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64) (BuildId: 988f7926f9d2c3a9d321918f546b0995) 2022-10-18 14:08:08.297 29846-29846/? A/DEBUG: #78 pc 0000000000050440 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 988f7926f9d2c3a9d321918f546b0995) 2022-10-18 14:08:08.679 1129-1129/? E/tombstoned: Tombstone written to: /data/tombstones/tombstone_00 2022-10-18 14:08:08.680 1512-29849/? W/ActivityTaskManager: Force finishing activity com.x.y.y/org.kivy.android.PythonActivity 2022-10-18 14:08:08.681 1512-1547/? I/BootReceiver: Copying /data/tombstones/tombstone_00 to DropBox (SYSTEM_TOMBSTONE) 2022-10-18 14:08:08.682 1512-1547/? I/DropBoxManagerService: add tag=SYSTEM_TOMBSTONE isTagEnabled=true flags=0x2 2022-10-18 14:08:08.683 784-1552/? D/qdgralloc: Imported handle: 0xb4000074316bcb50 id: 1252 2022-10-18 14:08:08.683 784-1552/? D/qdgralloc: GetTransportSize: num fds: 2 num ints: 22 err:0 2022-10-18 14:08:08.684 1512-29850/? I/DropBoxManagerService: add tag=data_app_native_crash isTagEnabled=true flags=0x2 2022-10-18 14:08:08.695 1512-29849/? D/qdgralloc: Imported handle: 0xb400006e84d042a0 id: 1252 2022-10-18 14:08:08.695 1512-29849/? D/qdgralloc: GetTransportSize: num fds: 2 num ints: 22 err:0 2022-10-18 14:08:08.696 1512-29849/? D/ActivityTrigger: ActivityTrigger activityPauseTrigger 2022-10-18 14:08:08.705 1726-22531/? D/qdgralloc: Imported handle: 0xb400006e84d4cde0 id: 1252 2022-10-18 14:08:08.705 2319-2344/? D/qdgralloc: Imported handle: 0x6e84cc6b60 id: 1252 2022-10-18 14:08:08.705 1726-22531/? D/qdgralloc: GetTransportSize: num fds: 2 num ints: 22 err:0 2022-10-18 14:08:08.705 2319-2344/? D/qdgralloc: GetTransportSize: num fds: 2 num ints: 22 err:0 2022-10-18 14:08:08.705 29810-29810/com.x.y.y V/PythonActivity: onPause() 2022-10-18 14:08:08.705 29810-29810/com.x.y.y V/SDL: onPause() 2022-10-18 14:08:08.706 29810-29810/com.x.y.y V/SDL: nativePause() 2022-10-18 14:08:08.707 1726-2450/? D/qdgralloc: Imported handle: 0xb400006e84d4d020 id: 1252`

HeaTTheatR commented 2 years ago

I don't see any messages that would indicate problems related to the KivyMD library.

hassewehner commented 2 years ago

Me neither but it Works if i run on 1.0.2 and fails on 1.1.1 And btw its not only the mdswitch widget also the mdtopappbar widget that crashes And i saw that both widgets where ”refactored” between 1.0.2 and 1.1.1 I have other android phones where it does not fail Removing the two widgets types and using other widgets types (kivy or kivymd widgets) works

The big problem with 1.0.2 is the leak problem, when adding widgets dynamicalle (pattern ala load recordset from database, remove all children in screens scroll lst, for every record add widgets to scroll list) The leak problem makes the system slower each time i repeat loading the data (ala 0.2 seconds runtime added displaying 20 md widgets)

Sendt fra Mailhttps://go.microsoft.com/fwlink/?LinkId=550986 til Windows 10

Fra: Yuri @.> Sendt: 18. oktober 2022 15:08 Til: @.> Cc: Hasse @.>; @.> Emne: Re: [kivymd/KivyMD] Crash when displaying MDSwitch on certain android phones on kivymd version 1.1.1 (Issue #1393)

I don't see any messages that would indicate problems related to the KivyMD library.

— Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fkivymd%2FKivyMD%2Fissues%2F1393%23issuecomment-1282359840&data=05%7C01%7C%7C40c42c1239cc4abffd4508dab109d990%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638016953101006872%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=jVcNL%2Bvrg8aVVf3IGhpouIPo8a1EKvMtn2dKMvlmZhY%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAM23SS7YBUK3L7T76U5DDTDWD2OMXANCNFSM6AAAAAAREWKVVE&data=05%7C01%7C%7C40c42c1239cc4abffd4508dab109d990%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638016953101006872%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=0q%2FwyqtH37LXHFhd5SJG0bNOp4BtpoBjWN59fpIcQpY%3D&reserved=0. You are receiving this because you authored the thread.Message ID: @.***>

HeaTTheatR commented 2 years ago

I still don't see any messages here that would indicate problems related to the KivyMD library. SIGSEGV - indicates that the problems are in your code, not in the KivyMD library.

FrankS1990 commented 2 years ago

I just rebuild my apk file with the same App just different buildozer requirements and it works fine.

requirements = kivy==2.1.0, kivymd==1.0.2, python-dateutil, pyjnius, plyer, android, openssl, requests, urllib3, chardet, idna, pip, Image, PIL

i will try to create a Simple example app with less content, maybee i can find something.

FrankS1990 commented 2 years ago

Okay i build my example and it has the same behavior. Buildozer: 1.4.0 SimpleExample.zip

andrisas commented 2 years ago

I have the same issue with MDCard

bryant-saunders commented 2 years ago

Description of the bug

Hello everyone. I have also experienced android app crashes when switching to KivyMD 1.1.1 from 1.0.2. I switched to address the aforementioned memory leak. I am not using the MDSwitch or MDToolbar widgets, but I am using quite a few other types. My initial "login" screen works. This screen contains contains only a few basic widgets(MDTextField, MDLabel, MDIconButton MDBoxLayout). Any navigation off of the login page will cause the app to crash on android.

The screens after the login page contains a similar set of widgets, but does have a few types that the login screen does not have(MDDropdownMenu, MDScrollView and MDGridLayout). It is worth mentioned again, that the app functions fine when compiled with buildozer using KivyMD 1.0.2

I can create a separate bug ticket once I narrow down the widget that is causing the problem, but I am bringing it up here because the issue might be wider than just the few widget types mentioned here

Code and logs

I can't post the source for my current project here because it is still in development and very large, but I can post a snippet of the logcat file.

10-22 20:14:26.849 3698 3698 F DEBUG : 10-22 20:14:26.849 3698 3698 F DEBUG : Build fingerprint: 'samsung/r8qsqx/r8q:12/SP1A.210812.016/G781USQU8FVI2:user/release-keys' 10-22 20:14:26.849 3698 3698 F DEBUG : Revision: '8' 10-22 20:14:26.849 3698 3698 F DEBUG : ABI: 'arm64' 10-22 20:14:26.849 3698 3698 F DEBUG : Processor: '7' 10-22 20:14:26.849 3698 3698 F DEBUG : Timestamp: 2022-10-22 20:14:26.363599767-0400 10-22 20:14:26.849 3698 3698 F DEBUG : Process uptime: 17s 10-22 20:14:26.849 3698 3698 F DEBUG : Cmdline: org.test.vault 10-22 20:14:26.849 3698 3698 F DEBUG : pid: 3372, tid: 3590, name: SDLThread >>> org.test.vault <<< 10-22 20:14:26.849 3698 3698 F DEBUG : uid: 10432 10-22 20:14:26.849 3698 3698 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x40 10-22 20:14:26.849 3698 3698 F DEBUG : Cause: null pointer dereference 10-22 20:14:26.849 3698 3698 F DEBUG : x0 0000000000000001 x1 0000000000000000 x2 0000000000000003 x3 00000078d6b35800 10-22 20:14:26.849 3698 3698 F DEBUG : x4 00000078c2aababc x5 0000000000000003 x6 00000078c2aabd6c x7 00000078c2aa3280 10-22 20:14:26.849 3698 3698 F DEBUG : x8 0000000000000003 x9 0000000000000003 x10 00000078cca64834 x11 00000078c2aabac4 10-22 20:14:26.849 3698 3698 F DEBUG : x12 00000078d6b37cac x13 00000078cca6483c x14 0000000000000000 x15 0000000000000000 10-22 20:14:26.849 3698 3698 F DEBUG : x16 0000000000000001 x17 0000000000000000 x18 0000000000000000 x19 00000078cca64990 10-22 20:14:26.849 3698 3698 F DEBUG : x20 00000078c2aaba00 x21 00000078d6b35800 x22 0000000000000000 x23 0000000000000003 10-22 20:14:26.849 3698 3698 F DEBUG : x24 00000078c2aa3280 x25 0000000000000001 x26 0000000000000000 x27 0000000000000001 10-22 20:14:26.849 3698 3698 F DEBUG : x28 0000000000000068 x29 00000078cca64840 10-22 20:14:26.849 3698 3698 F DEBUG : lr 000000792bb9fd18 sp 00000078cca64800 pc 000000792bbb2970 pst 0000000060001000 10-22 20:14:26.849 3698 3698 F DEBUG : backtrace: 10-22 20:14:26.849 3698 3698 F DEBUG : NOTE: Function names and BuildId information is missing for some frames due 10-22 20:14:26.849 3698 3698 F DEBUG : NOTE: to unreadable libraries. For unwinds of apps, only shared libraries 10-22 20:14:26.849 3698 3698 F DEBUG : NOTE: found under the lib/ directory are readable. 10-22 20:14:26.849 3698 3698 F DEBUG : NOTE: On this device, run setenforce 0 to make the libraries readable. 10-22 20:14:26.849 3698 3698 F DEBUG : #00 pc 0000000000394970 /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!7b4d3d680da059de73d7f9795dc456!193b2ee!+368) (BuildId: 0ea54a261e90e97a4c98db7d1f7d7d4a) 10-22 20:14:26.849 3698 3698 F DEBUG : #01 pc 0000000000381d14 /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!f56be09eb88f86833124f1df42e945!193b2ee!+4100) (BuildId: 0ea54a261e90e97a4c98db7d1f7d7d4a) 10-22 20:14:26.849 3698 3698 F DEBUG : #02 pc 0000000000176b68 /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!6b200851123c7898055fe62ff9f71f!193b2ee!+616) (BuildId: 0ea54a261e90e97a4c98db7d1f7d7d4a) 10-22 20:14:26.849 3698 3698 F DEBUG : #03 pc 000000000016e730 /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!77df12deb6a622478efa8fb9929034!193b2ee!+376) (BuildId: 0ea54a261e90e97a4c98db7d1f7d7d4a) 10-22 20:14:26.849 3698 3698 F DEBUG : #04 pc 000000000000b0cc /data/user/0/org.test.vault/files/app/_python_bundle/site-packages/kivy/graphics/vbo.so 10-22 20:14:26.849 3698 3698 F DEBUG : #05 pc 0000000000014904 /data/user/0/org.test.vault/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 10-22 20:14:26.849 3698 3698 F DEBUG : #06 pc 0000000000008a00 /data/user/0/org.test.vault/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so 10-22 20:14:26.849 3698 3698 F DEBUG : #07 pc 0000000000012448 /data/user/0/org.test.vault/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 10-22 20:14:26.849 3698 3698 F DEBUG : #08 pc 0000000000011c88 /data/user/0/org.test.vault/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 10-22 20:14:26.849 3698 3698 F DEBUG : #09 pc 0000000000014f90 /data/user/0/org.test.vault/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 10-22 20:14:26.849 3698 3698 F DEBUG : #10 pc 00000000000167d0 /data/user/0/org.test.vault/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 10-22 20:14:26.849 3698 3698 F DEBUG : #11 pc 0000000000008a00 /data/user/0/org.test.vault/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so 10-22 20:14:26.849 3698 3698 F DEBUG : #12 pc 0000000000012448 /data/user/0/org.test.vault/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 10-22 20:14:26.849 3698 3698 F DEBUG : #13 pc 0000000000011c88 /data/user/0/org.test.vault/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 10-22 20:14:26.849 3698 3698 F DEBUG : #14 pc 0000000000008a00 /data/user/0/org.test.vault/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so 10-22 20:14:26.849 3698 3698 F DEBUG : #15 pc 0000000000012448 /data/user/0/org.test.vault/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 10-22 20:14:26.849 3698 3698 F DEBUG : #16 pc 0000000000011c88 /data/user/0/org.test.vault/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 10-22 20:14:26.849 3698 3698 F DEBUG : #17 pc 0000000000014f90 /data/user/0/org.test.vault/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 10-22 20:14:26.849 3698 3698 F DEBUG : #18 pc 0000000000008a00 /data/user/0/org.test.vault/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so 10-22 20:14:26.849 3698 3698 F DEBUG : #19 pc 0000000000012448 /data/user/0/org.test.vault/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 10-22 20:14:26.849 3698 3698 F DEBUG : #20 pc 0000000000011c88 /data/user/0/org.test.vault/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 10-22 20:14:26.849 3698 3698 F DEBUG : #21 pc 0000000000014f90 /data/user/0/org.test.vault/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 10-22 20:14:26.849 3698 3698 F DEBUG : #22 pc 0000000000008a00 /data/user/0/org.test.vault/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so 10-22 20:14:26.849 3698 3698 F DEBUG : #23 pc 0000000000012448 /data/user/0/org.test.vault/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 10-22 20:14:26.849 3698 3698 F DEBUG : #24 pc 0000000000011c88 /data/user/0/org.test.vault/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 10-22 20:14:26.850 3698 3698 F DEBUG : #25 pc 0000000000014f90 /data/user/0/org.test.vault/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 10-22 20:14:26.850 3698 3698 F DEBUG : #26 pc 0000000000008a00 /data/user/0/org.test.vault/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so 10-22 20:14:26.850 3698 3698 F DEBUG : #27 pc 0000000000012448 /data/user/0/org.test.vault/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 10-22 20:14:26.850 3698 3698 F DEBUG : #28 pc 0000000000011c88 /data/user/0/org.test.vault/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 10-22 20:14:26.850 3698 3698 F DEBUG : #29 pc 0000000000014f90 /data/user/0/org.test.vault/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 10-22 20:14:26.850 3698 3698 F DEBUG : #30 pc 00000000000167d0 /data/user/0/org.test.vault/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 10-22 20:14:26.850 3698 3698 F DEBUG : #31 pc 0000000000020618 /data/user/0/org.test.vault/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 10-22 20:14:26.850 3698 3698 F DEBUG : #32 pc 0000000000162b18 /data/app/~~G3xhuBAV0qeh2lPp7Q9-wg==/org.test.vault-YNTl-z1AUlrQ9eyuxBlwvA==/lib/arm64/libpython3.9.so 10-22 20:14:26.850 3698 3698 F DEBUG : #33 pc 000000000022bc88 /data/app/~~G3xhuBAV0qeh2lPp7Q9-wg==/org.test.vault-YNTl-z1AUlrQ9eyuxBlwvA==/lib/arm64/libpython3.9.so 10-22 20:14:26.850 3698 3698 F DEBUG : #34 pc 0000000000228df8 /data/app/~~G3xhuBAV0qeh2lPp7Q9-wg==/org.test.vault-YNTl-z1AUlrQ9eyuxBlwvA==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+8728) 10-22 20:14:26.850 3698 3698 F DEBUG : #35 pc 000000000015a474 /data/app/~~G3xhuBAV0qeh2lPp7Q9-wg==/org.test.vault-YNTl-z1AUlrQ9eyuxBlwvA==/lib/arm64/libpython3.9.so 10-22 20:14:26.850 3698 3698 F DEBUG : #36 pc 000000000015c6ac /data/app/~~G3xhuBAV0qeh2lPp7Q9-wg==/org.test.vault-YNTl-z1AUlrQ9eyuxBlwvA==/lib/arm64/libpython3.9.so 10-22 20:14:26.850 3698 3698 F DEBUG : #37 pc 00000000000223b4 /data/user/0/org.test.vault/files/app/_python_bundle/site-packages/kivy/_event.so 10-22 20:14:26.850 3698 3698 F DEBUG : #38 pc 0000000000162728 /data/app/~~G3xhuBAV0qeh2lPp7Q9-wg==/org.test.vault-YNTl-z1AUlrQ9eyuxBlwvA==/lib/arm64/libpython3.9.so 10-22 20:14:26.850 3698 3698 F DEBUG : #39 pc 000000000022bc88 /data/app/~~G3xhuBAV0qeh2lPp7Q9-wg==/org.test.vault-YNTl-z1AUlrQ9eyuxBlwvA==/lib/arm64/libpython3.9.so 10-22 20:14:26.850 3698 3698 F DEBUG : #40 pc 0000000000228df8 /data/app/~~G3xhuBAV0qeh2lPp7Q9-wg==/org.test.vault-YNTl-z1AUlrQ9eyuxBlwvA==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+8728) 10-22 20:14:26.850 3698 3698 F DEBUG : #41 pc 000000000015a474 /data/app/~~G3xhuBAV0qeh2lPp7Q9-wg==/org.test.vault-YNTl-z1AUlrQ9eyuxBlwvA==/lib/arm64/libpython3.9.so 10-22 20:14:26.850 3698 3698 F DEBUG : #42 pc 000000000022bc88 /data/app/~~G3xhuBAV0qeh2lPp7Q9-wg==/org.test.vault-YNTl-z1AUlrQ9eyuxBlwvA==/lib/arm64/libpython3.9.so 10-22 20:14:26.850 3698 3698 F DEBUG : #43 pc 0000000000228df8 /data/app/~~G3xhuBAV0qeh2lPp7Q9-wg==/org.test.vault-YNTl-z1AUlrQ9eyuxBlwvA==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+8728) 10-22 20:14:26.850 3698 3698 F DEBUG : #44 pc 000000000015a474 /data/app/~~G3xhuBAV0qeh2lPp7Q9-wg==/org.test.vault-YNTl-z1AUlrQ9eyuxBlwvA==/lib/arm64/libpython3.9.so 10-22 20:14:26.850 3698 3698 F DEBUG : #45 pc 000000000022bc88 /data/app/~~G3xhuBAV0qeh2lPp7Q9-wg==/org.test.vault-YNTl-z1AUlrQ9eyuxBlwvA==/lib/arm64/libpython3.9.so 10-22 20:14:26.850 3698 3698 F DEBUG : #46 pc 0000000000228df8 /data/app/~~G3xhuBAV0qeh2lPp7Q9-wg==/org.test.vault-YNTl-z1AUlrQ9eyuxBlwvA==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+8728) 10-22 20:14:26.850 3698 3698 F DEBUG : #47 pc 000000000015a474 /data/app/~~G3xhuBAV0qeh2lPp7Q9-wg==/org.test.vault-YNTl-z1AUlrQ9eyuxBlwvA==/lib/arm64/libpython3.9.so 10-22 20:14:26.850 3698 3698 F DEBUG : #48 pc 000000000022bc88 /data/app/~~G3xhuBAV0qeh2lPp7Q9-wg==/org.test.vault-YNTl-z1AUlrQ9eyuxBlwvA==/lib/arm64/libpython3.9.so 10-22 20:14:26.850 3698 3698 F DEBUG : #49 pc 0000000000229f74 /data/app/~~G3xhuBAV0qeh2lPp7Q9-wg==/org.test.vault-YNTl-z1AUlrQ9eyuxBlwvA==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+13204) 10-22 20:14:26.850 3698 3698 F DEBUG : #50 pc 000000000015a474 /data/app/~~G3xhuBAV0qeh2lPp7Q9-wg==/org.test.vault-YNTl-z1AUlrQ9eyuxBlwvA==/lib/arm64/libpython3.9.so 10-22 20:14:26.850 3698 3698 F DEBUG : #51 pc 000000000022bc88 /data/app/~~G3xhuBAV0qeh2lPp7Q9-wg==/org.test.vault-YNTl-z1AUlrQ9eyuxBlwvA==/lib/arm64/libpython3.9.so 10-22 20:14:26.850 3698 3698 F DEBUG : #52 pc 0000000000228df8 /data/app/~~G3xhuBAV0qeh2lPp7Q9-wg==/org.test.vault-YNTl-z1AUlrQ9eyuxBlwvA==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+8728) 10-22 20:14:26.850 3698 3698 F DEBUG : #53 pc 000000000022cb44 /data/app/~~G3xhuBAV0qeh2lPp7Q9-wg==/org.test.vault-YNTl-z1AUlrQ9eyuxBlwvA==/lib/arm64/libpython3.9.so 10-22 20:14:26.850 3698 3698 F DEBUG : #54 pc 0000000000226b0c /data/app/~~G3xhuBAV0qeh2lPp7Q9-wg==/org.test.vault-YNTl-z1AUlrQ9eyuxBlwvA==/lib/arm64/libpython3.9.so (PyEval_EvalCode+80) 10-22 20:14:26.850 3698 3698 F DEBUG : #55 pc 0000000000269f58 /data/app/~~G3xhuBAV0qeh2lPp7Q9-wg==/org.test.vault-YNTl-z1AUlrQ9eyuxBlwvA==/lib/arm64/libpython3.9.so (PyRun_SimpleFileExFlags+1180) 10-22 20:14:26.850 3698 3698 F DEBUG : #56 pc 00000000000026dc /data/app/~~G3xhuBAV0qeh2lPp7Q9-wg==/org.test.vault-YNTl-z1AUlrQ9eyuxBlwvA==/lib/arm64/libmain.so (SDL_main+2664) (BuildId: f0f763df550b082e18d006f2cf676a575d17b6fb) 10-22 20:14:26.850 3698 3698 F DEBUG : #57 pc 000000000009b1d8 /data/app/~~G3xhuBAV0qeh2lPp7Q9-wg==/org.test.vault-YNTl-z1AUlrQ9eyuxBlwvA==/lib/arm64/libSDL2.so (Java_org_libsdl_app_SDLActivity_nativeRunMain+592) (BuildId: 0868c6dd65c0523ed861791a7d41f6027aa02ae0) 10-22 20:14:26.850 3698 3698 F DEBUG : #58 pc 00000000002d4044 /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+148) (BuildId: 46df93bc978921840e5b428398c66a57) 10-22 20:14:26.850 3698 3698 F DEBUG : #59 pc 00000000002ca9e8 /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+568) (BuildId: 46df93bc978921840e5b428398c66a57) 10-22 20:14:26.850 3698 3698 F DEBUG : #60 pc 00000000002ee6b8 /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread, art::ArtMethod, art::ShadowFrame, unsigned short, art::JValue)+320) (BuildId: 46df93bc978921840e5b428398c66a57) 10-22 20:14:26.850 3698 3698 F DEBUG : #61 pc 000000000040ade4 /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod, art::Thread, art::ShadowFrame&, art::Instruction const, unsigned short, art::JValue)+820) (BuildId: 46df93bc978921840e5b428398c66a57) 10-22 20:14:26.850 3698 3698 F DEBUG : #62 pc 000000000076d4b8 /apex/com.android.art/lib64/libart.so (MterpInvokeStatic+3812) (BuildId: 46df93bc978921840e5b428398c66a57) 10-22 20:14:26.850 3698 3698 F DEBUG : #63 pc 00000000002c5014 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: 46df93bc978921840e5b428398c66a57) 10-22 20:14:26.850 3698 3698 F DEBUG : #64 pc 000000000000bdd6 [anon:dalvik-classes3.dex extracted in memory from /data/app/~~G3xhuBAV0qeh2lPp7Q9-wg==/org.test.vault-YNTl-z1AUlrQ9eyuxBlwvA==/base.apk!classes3.dex] (org.libsdl.app.SDLMain.run+114) 10-22 20:14:26.850 3698 3698 F DEBUG : #65 pc 000000000027d840 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.3351068054637636664)+644) (BuildId: 46df93bc978921840e5b428398c66a57) 10-22 20:14:26.850 3698 3698 F DEBUG : #66 pc 000000000035a9e4 /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread, art::CodeItemDataAccessor const&, art::ShadowFrame, art::JValue)+148) (BuildId: 46df93bc978921840e5b428398c66a57) 10-22 20:14:26.850 3698 3698 F DEBUG : #67 pc 000000000040b05c /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod, art::Thread, art::ShadowFrame&, art::Instruction const, unsigned short, art::JValue)+1452) (BuildId: 46df93bc978921840e5b428398c66a57) 10-22 20:14:26.850 3698 3698 F DEBUG : #68 pc 00000000003d537c /apex/com.android.art/lib64/libart.so (MterpInvokeInterface+4912) (BuildId: 46df93bc978921840e5b428398c66a57) 10-22 20:14:26.850 3698 3698 F DEBUG : #69 pc 00000000002c5094 /apex/com.android.art/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: 46df93bc978921840e5b428398c66a57) 10-22 20:14:26.850 3698 3698 F DEBUG : #70 pc 00000000000eda70 /apex/com.android.art/javalib/core-oj.jar (java.lang.Thread.run+8) 10-22 20:14:26.850 3698 3698 F DEBUG : #71 pc 000000000027d840 /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.3351068054637636664)+644) (BuildId: 46df93bc978921840e5b428398c66a57) 10-22 20:14:26.850 3698 3698 F DEBUG : #72 pc 000000000027c9e8 /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+1176) (BuildId: 46df93bc978921840e5b428398c66a57) 10-22 20:14:26.850 3698 3698 F DEBUG : #73 pc 00000000002d4178 /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 46df93bc978921840e5b428398c66a57) 10-22 20:14:26.850 3698 3698 F DEBUG : #74 pc 00000000002ca764 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 46df93bc978921840e5b428398c66a57) 10-22 20:14:26.850 3698 3698 F DEBUG : #75 pc 000000000030e980 /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread, unsigned int, unsigned int, art::JValue, char const)+156) (BuildId: 46df93bc978921840e5b428398c66a57) 10-22 20:14:26.850 3698 3698 F DEBUG : #76 pc 00000000003c1db4 /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<art::ArtMethod>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject, art::ArtMethod, jvalue const)+380) (BuildId: 46df93bc978921840e5b428398c66a57) 10-22 20:14:26.850 3698 3698 F DEBUG : #77 pc 00000000004578ec /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void)+992) (BuildId: 46df93bc978921840e5b428398c66a57) 10-22 20:14:26.850 3698 3698 F DEBUG : #78 pc 00000000000f1194 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264) (BuildId: f85c82661f93b28ab3119d33214bb7b9) 10-22 20:14:26.850 3698 3698 F DEBUG : #79 pc 000000000008d7f0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68) (BuildId: f85c82661f93b28ab3119d33214bb7b9)

Versions and info

T-Dynamos commented 2 years ago

@HeaTTheatR That is just a duplicate of #1352

xuniuer commented 2 years ago

I use MDFileManager (Preview mode), Android 10 works, Android 12 doesn't.

The crash report in brief:

11-03 12:43:08.285  1079  4380 I sensors-hal: handle_sns_client_event:245, fusion_sense rate: 5.000000 accSize: 240 gyroSize: 0 magSize: 6
11-03 12:43:08.337  1739  2063 I AppEyeFwkBlock: do monitor
11-03 12:43:08.428 10537 10606 I python  : [WARNING] [GL          ] Unpack subimage support is not available
11-03 12:43:08.472 10537 10606 F libc    : Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x76e305d49a in tid 10606 (SDLThread), pid 10537 (org.xyj.miniled)
11-03 12:43:08.486  1079  4380 I sensors-hal: handle_sns_client_event:245, fusion_sense rate: 5.000000 accSize: 240 gyroSize: 0 magSize: 6
11-03 12:43:08.536  3120  3455 I NetworkQoe: sendQoeModemInfo masterSlotId = 0 Info

KivyMD == 1.0.2, Kivy == 2.1.0

HeaTTheatR commented 2 years ago

@xuniuer https://github.com/kivymd/KivyMD/issues/531

xuniuer commented 2 years ago

@HeaTTheatR Thanks. I will have a try.

xuniuer commented 2 years ago

No luck with Kivy 2.0.0, KivyMD 1.0.2 and P4A 2022.7.20 Here is more details.

11-04 15:15:23.361  9060  9060 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
11-04 15:15:23.361  9060  9060 F DEBUG   : Build fingerprint: 'HONOR...(delete some string for privacy)'
11-04 15:15:23.361  9060  9060 F DEBUG   : Revision: '0'
11-04 15:15:23.361  9060  9060 F DEBUG   : ABI: 'arm64'
11-04 15:15:23.361  9060  9060 F DEBUG   : Timestamp: 2022-11-04 15:15:22.602050183+0800
11-04 15:15:23.361  9060  9060 F DEBUG   : Process uptime: 0s
11-04 15:15:23.361  9060  9060 F DEBUG   : Cmdline: org.xyj.miniled
11-04 15:15:23.361  9060  9060 F DEBUG   : pid: 7655, tid: 7718, name: SDLThread  >>> org.xyj.miniled <<<
11-04 15:15:23.361  9060  9060 F DEBUG   : uid: 10176
11-04 15:15:23.361  9060  9060 F DEBUG   : signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x76e309849a
11-04 15:15:23.361  9060  9060 F DEBUG   :     x0  0000000000000004  x1  0000000000000000  x2  0000000000000000  x3  0000000000000000
11-04 15:15:23.361  9060  9060 F DEBUG   :     x4  0000000000000000  x5  00000076d19a2000  x6  00000000ff0004c9  x7  0000000000000000
11-04 15:15:23.361  9060  9060 F DEBUG   :     x8  00000076d3266000  x9  00000000018c4000  x10 00000076e3098498  x11 00000000ff040dce
11-04 15:15:23.361  9060  9060 F DEBUG   :     x12 000000000000000e  x13 0000000000000000  x14 0000000000000000  x15 0000000000000000
11-04 15:15:23.361  9060  9060 F DEBUG   :     x16 0000000000000000  x17 0000000000000000  x18 0000000000000000  x19 0000000000000c62
11-04 15:15:23.361  9060  9060 F DEBUG   :     x20 0000000000000020  x21 0000000000000c60  x22 00000000000006b2  x23 0000000000000004
11-04 15:15:23.361  9060  9060 F DEBUG   :     x24 0000000000000008  x25 0000000000000002  x26 0000000000000000  x27 0000007863759190
11-04 15:15:23.361  9060  9060 F DEBUG   :     x28 00000076e3097086  x29 000000770c2af920
11-04 15:15:23.361  9060  9060 F DEBUG   :     lr  000000777056c0d8  sp  000000770c2af850  pc  000000777056c088  pst 0000000080001000
11-04 15:15:23.361  9060  9060 F DEBUG   : backtrace:
11-04 15:15:23.361  9060  9060 F DEBUG   :   NOTE: Function names and BuildId information is missing for some frames due
11-04 15:15:23.361  9060  9060 F DEBUG   :   NOTE: to unreadable libraries. For unwinds of apps, only shared libraries
11-04 15:15:23.361  9060  9060 F DEBUG   :   NOTE: found under the lib/ directory are readable.
11-04 15:15:23.361  9060  9060 F DEBUG   :   NOTE: On this device, run setenforce 0 to make the libraries readable.
11-04 15:15:23.361  9060  9060 F DEBUG   :       #00 pc 00000000002e0088  /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!4d0cdaba868e987aa070f5a6b168e2!8699000cd8!+9072) (BuildId: e877ac50f8aa780773379056a8a6fc9e)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #01 pc 00000000002da554  /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!6fd1d11959478379873bee344e3720!8699000cd8!+2772) (BuildId: e877ac50f8aa780773379056a8a6fc9e)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #02 pc 00000000002aa594  /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!e9a0267a4c3f12c4fb16e257d3a26e!8699000cd8!+5260) (BuildId: e877ac50f8aa780773379056a8a6fc9e)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #03 pc 00000000002af764  /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!9c0715a0352375a9ec27cf88ce6933!8699000cd8!+468) (BuildId: e877ac50f8aa780773379056a8a6fc9e)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #04 pc 000000000011f730  /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!27efe93e728a48e12b9279ac49fad7!8699000cd8!+1600) (BuildId: e877ac50f8aa780773379056a8a6fc9e)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #05 pc 000000000027061c  /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!e94336f9c3a8e90238c7c8557996da!8699000cd8!+1356) (BuildId: e877ac50f8aa780773379056a8a6fc9e)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #06 pc 00000000001c48c0  /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!0e6b00ab8c4b112f9f6effa6a8b2b5!8699000cd8!+3080) (BuildId: e877ac50f8aa780773379056a8a6fc9e)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #07 pc 00000000001c1240  /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!4ecf3032464df959aad423cba1a73c!8699000cd8!+848) (BuildId: e877ac50f8aa780773379056a8a6fc9e)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #08 pc 00000000001dfda4  /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!141e50cb152287019aff218176d094!8699000cd8!+220) (BuildId: e877ac50f8aa780773379056a8a6fc9e)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #09 pc 00000000001f7f60  /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!838e96e6042a39f699090106d8c25f!8699000cd8!+208) (BuildId: e877ac50f8aa780773379056a8a6fc9e)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #10 pc 00000000000f6c98  /vendor/lib64/egl/libGLESv2_adreno.so (glTexSubImage2D+144) (BuildId: e877ac50f8aa780773379056a8a6fc9e)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #11 pc 000000000002de50  /data/user/0/org.xyj.miniled/files/app/_python_bundle/site-packages/kivy/graphics/texture.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #12 pc 0000000000029d78  /data/user/0/org.xyj.miniled/files/app/_python_bundle/site-packages/kivy/graphics/texture.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #13 pc 000000000019c044  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #14 pc 0000000000028e78  /data/user/0/org.xyj.miniled/files/app/_python_bundle/site-packages/kivy/graphics/texture.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #15 pc 000000000019c044  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #16 pc 0000000000019578  /data/user/0/org.xyj.miniled/files/app/_python_bundle/site-packages/kivy/graphics/texture.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #17 pc 00000000000456fc  /data/user/0/org.xyj.miniled/files/app/_python_bundle/site-packages/kivy/graphics/texture.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #18 pc 000000000019c044  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #19 pc 0000000000159a18  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so (_PyObject_MakeTpCall+344)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #20 pc 000000000022bad4  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #21 pc 00000000002287d4  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+7780)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #22 pc 000000000015a204  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #23 pc 000000000022ba18  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #24 pc 0000000000228b88  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+8728)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #25 pc 000000000015a204  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #26 pc 000000000016361c  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #27 pc 00000000001a07b8  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so (_PyObject_GenericGetAttrWithDict+184)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #28 pc 00000000002284d0  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+7008)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #29 pc 000000000015a204  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #30 pc 000000000015c4ac  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #31 pc 000000000001577c  /data/user/0/org.xyj.miniled/files/app/_python_bundle/site-packages/kivy/_event.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #32 pc 0000000000016850  /data/user/0/org.xyj.miniled/files/app/_python_bundle/site-packages/kivy/_event.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #33 pc 000000000002258c  /data/user/0/org.xyj.miniled/files/app/_python_bundle/site-packages/kivy/_event.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #34 pc 00000000001624b8  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #35 pc 000000000022ba18  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #36 pc 0000000000228b88  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+8728)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #37 pc 000000000022c8d4  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #38 pc 0000000000226918  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so (PyEval_EvalCodeEx+108)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #39 pc 000000000000cdfc  /data/user/0/org.xyj.miniled/files/app/_python_bundle/site-packages/kivy/_clock.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #40 pc 0000000000025268  /data/user/0/org.xyj.miniled/files/app/_python_bundle/site-packages/kivy/_clock.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #41 pc 0000000000013a60  /data/user/0/org.xyj.miniled/files/app/_python_bundle/site-packages/kivy/_clock.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #42 pc 000000000001acf4  /data/user/0/org.xyj.miniled/files/app/_python_bundle/site-packages/kivy/_clock.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #43 pc 000000000002d2b8  /data/user/0/org.xyj.miniled/files/app/_python_bundle/site-packages/kivy/_clock.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #44 pc 00000000001628a8  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #45 pc 000000000022ba18  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #46 pc 0000000000228b88  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+8728)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #47 pc 000000000015a204  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #48 pc 000000000022ba18  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #49 pc 0000000000228b88  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+8728)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #50 pc 000000000015a204  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #51 pc 000000000015c3c8  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #52 pc 000000000022ba18  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #53 pc 000000000022916c  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+10236)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #54 pc 000000000015a204  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #55 pc 000000000022ba18  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #56 pc 0000000000228b88  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+8728)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #57 pc 000000000015a204  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #58 pc 000000000022ba18  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #59 pc 0000000000228b88  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+8728)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #60 pc 000000000015a204  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #61 pc 000000000022ba18  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #62 pc 0000000000229d04  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+13204)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #63 pc 000000000015a204  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #64 pc 000000000022ba18  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #65 pc 0000000000228b88  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+8728)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #66 pc 000000000022c8d4  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so
11-04 15:15:23.361  9060  9060 F DEBUG   :       #67 pc 000000000022689c  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so (PyEval_EvalCode+80)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #68 pc 0000000000269ce8  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libpython3.9.so (PyRun_SimpleFileExFlags+1180)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #69 pc 00000000000026dc  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libmain.so (SDL_main+2664) (BuildId: 26540734bdc673cb75f16057950635255e1cdca5)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #70 pc 000000000009af70  /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/lib/arm64/libSDL2.so (Java_org_libsdl_app_SDLActivity_nativeRunMain+592) (BuildId: 06c3d712b3cfa52971cdfeae4c08ad1b5e552c2b)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #71 pc 0000000000222244  /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+148) (BuildId: 753afe50cc28f0082281f33b52bb2f29)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #72 pc 0000000000218be8  /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+568) (BuildId: 753afe50cc28f0082281f33b52bb2f29)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #73 pc 00000000002847d4  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+216) (BuildId: 753afe50cc28f0082281f33b52bb2f29)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #74 pc 00000000003e8928  /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+400) (BuildId: 753afe50cc28f0082281f33b52bb2f29)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #75 pc 00000000003e379c  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+804) (BuildId: 753afe50cc28f0082281f33b52bb2f29)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #76 pc 00000000007691bc  /apex/com.android.art/lib64/libart.so (MterpInvokeStatic+980) (BuildId: 753afe50cc28f0082281f33b52bb2f29)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #77 pc 0000000000203994  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: 753afe50cc28f0082281f33b52bb2f29)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #78 pc 000000000000bd62  [anon:dalvik-classes4.dex extracted in memory from /data/app/~~rqgsCQ9ICeyLwcUxsphUKQ==/org.xyj.miniled-XxrA9pknVjmCq6hdQv3Rsg==/base.apk!classes4.dex]
11-04 15:15:23.361  9060  9060 F DEBUG   :       #79 pc 00000000003db580  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool)+304) (BuildId: 753afe50cc28f0082281f33b52bb2f29)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #80 pc 00000000003e2cc0  /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+204) (BuildId: 753afe50cc28f0082281f33b52bb2f29)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #81 pc 00000000003e3778  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+768) (BuildId: 753afe50cc28f0082281f33b52bb2f29)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #82 pc 00000000007643a0  /apex/com.android.art/lib64/libart.so (MterpInvokeInterface+1568) (BuildId: 753afe50cc28f0082281f33b52bb2f29)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #83 pc 0000000000203a14  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: 753afe50cc28f0082281f33b52bb2f29)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #84 pc 00000000000edbb4  /apex/com.android.art/javalib/core-oj.jar
11-04 15:15:23.361  9060  9060 F DEBUG   :       #85 pc 00000000003db580  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool)+304) (BuildId: 753afe50cc28f0082281f33b52bb2f29)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #86 pc 0000000000744c74  /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+776) (BuildId: 753afe50cc28f0082281f33b52bb2f29)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #87 pc 0000000000222378  /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: 753afe50cc28f0082281f33b52bb2f29)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #88 pc 0000000000218964  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: 753afe50cc28f0082281f33b52bb2f29)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #89 pc 00000000002847b8  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+188) (BuildId: 753afe50cc28f0082281f33b52bb2f29)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #90 pc 0000000000629cc8  /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, jvalue const*)+460) (BuildId: 753afe50cc28f0082281f33b52bb2f29)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #91 pc 00000000006789fc  /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void*)+1184) (BuildId: 753afe50cc28f0082281f33b52bb2f29)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #92 pc 00000000000b3ea0  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264) (BuildId: 82e5b2ff86b193c94139353a92c4af29)
11-04 15:15:23.361  9060  9060 F DEBUG   :       #93 pc 0000000000053880  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 82e5b2ff86b193c94139353a92c4af29)
11-04 15:15:23.363  1739  2564 W NetworkStatsFactory: mTunAnd464xlatAdjustedStats size: 299,delta:299
11-04 15:15:23.375   779   779 E tombstoned: Tombstone written to: tombstone_10
xuniuer commented 2 years ago

According the crash report, glTexSubImage2D doesn't work.

11-03 12:43:08.428 10537 10606 I python  : [WARNING] [GL          ] Unpack subimage support is not available
11-03 12:43:08.472 10537 10606 F libc    : Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x76e305d49a in tid 10606 (SDLThread), pid 10537 (org.xyj.miniled)

Kivy has notified a warning as above.

More investigation on it.

xuniuer commented 2 years ago

@HeaTTheatR I have a simple fix to protect App running in Android 12 with adreno from crashing because of missing GL subimage extension -- just set IconButtom's mipmap to False to disable GL texture function calling.

<BodyManagerWithPreview>

    #...

    IconButton:
        # mipmap: True - originally, it's true , but it will crash App running Android 12 with adreno.
        mipmap: False
        source: root.path

    #...

However, the above is not perfect without GL support, it works in my case.

eggy00 commented 1 year ago

Hi,

I have information which I think may be the same error and implicates kivyvm version subsequent to 1.0.2....

Narrowed down to the difference between MDRaisedButton which causes the error on the phone

and MDTextButton which works fine

I will try more widgets to see what happens (each compile to the phone takes half an hour, so long process)

The example program (working and failing) plus selection from the adb report follow:-

Works ok with MDTextButton, fails with MDRaisedButton. Using MDRaisedButton, works ok with kivymd 1.0.2 , fails with latest kivymd version:-


from kivymd.app import MDApp from kivy.uix.screenmanager import Screen from kivy.lang import Builder

import random

KV = ''' MDScreen:

Image: id: dice_state

color: 0.15, .5, 0.2, 1

pos_hint: {"x":0.7, "top":0.6}

size_hint_x: 0.4 size_hint_y: 0.4

text: 'assets/dice_1.png'

source: 'assets/dice_1.png' halign: 'left' valign: 'bottom'

Fails if MDRaisedButton widget used instead of MDTextButton ::::::::::::::::::: MDRaisedButton:

MDTextButton: id: 'roll_button' text: "ROLL" pos_hint:{'center_x':0.5, 'center_y':0.5} on_release: app.play() '''

class MainApp(MDApp): def init(self): super().init() self.kvs = Builder.load_string(KV)

def build(self): screen = Screen() screen.add_widget(self.kvs) return screen

def play(self): dice_face = random.choice(["dice_1.png", "dice_2.png", "dice_3.png", "dice_4.png", "dice_5.png", "dice_6.png"]) file_name = "./assets/" + dice_face

self.kvs.ids.dice_state.text = file_name

self.kvs.ids.dice_state.source = file_name return

na = MainApp() na.run()


adb report selection:-

11-15 12:34:41.731 6382 6616 F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x40 in tid 6616 (SDLThread), pid 6382 (.dicerollerbadq) . . . 11-15 12:34:42.656 6674 6674 F DEBUG : 11-15 12:34:42.656 6674 6674 F DEBUG : Build fingerprint: 'samsung/a23nnxx/a23:12/SP1A.210812.016/A235FXXU1AVG2:user/release-keys' 11-15 12:34:42.656 6674 6674 F DEBUG : Revision: '7' 11-15 12:34:42.656 6674 6674 F DEBUG : ABI: 'arm64' 11-15 12:34:42.656 6674 6674 F DEBUG : Processor: '5' 11-15 12:34:42.656 6674 6674 F DEBUG : Timestamp: 2022-11-15 12:34:41.848853678+1000 11-15 12:34:42.656 6674 6674 F DEBUG : Process uptime: 6s 11-15 12:34:42.656 6674 6674 F DEBUG : Cmdline: org.test.com.example.dicerollerbadq 11-15 12:34:42.656 6674 6674 F DEBUG : pid: 6382, tid: 6616, name: SDLThread >>> org.test.com.example.dicerollerbadq <<< 11-15 12:34:42.656 6674 6674 F DEBUG : uid: 10414 11-15 12:34:42.656 6674 6674 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x40 11-15 12:34:42.656 6674 6674 F DEBUG : Cause: null pointer dereference 11-15 12:34:42.656 6674 6674 F DEBUG : x0 0000000000000001 x1 0000000000000000 x2 0000000000000003 x3 0000007e583830d0 11-15 12:34:42.656 6674 6674 F DEBUG : x4 0000007df3bbc6bc x5 0000000000000003 x6 0000007df3bbc96c x7 0000007e7061dc40 11-15 12:34:42.656 6674 6674 F DEBUG : x8 0000000000000003 x9 0000000000000003 x10 0000007df706e014 x11 0000007df3bbc6c4 11-15 12:34:42.656 6674 6674 F DEBUG : x12 0000007df3cc9eac x13 0000007df706e01c x14 0000000000000000 x15 0000000000000000 11-15 12:34:42.656 6674 6674 F DEBUG : x16 0000000000000001 x17 0000000000000000 x18 0000000000000000 x19 0000007df706e150 11-15 12:34:42.656 6674 6674 F DEBUG : x20 0000007df3bbc600 x21 0000007df3cc7a00 x22 0000000000000000 x23 0000000000000003 11-15 12:34:42.656 6674 6674 F DEBUG : x24 0000000000000000 x25 0000000000000001 x26 0000000000000000 x27 0000000000000001 11-15 12:34:42.656 6674 6674 F DEBUG : x28 0000000000000068 x29 0000007df706e020 11-15 12:34:42.656 6674 6674 F DEBUG : lr 0000007e5838efa8 sp 0000007df706dfe0 pc 0000007e583a1468 pst 0000000060000000 11-15 12:34:42.656 6674 6674 F DEBUG : backtrace: 11-15 12:34:42.657 6674 6674 F DEBUG : NOTE: Function names and BuildId information is missing for some frames due 11-15 12:34:42.657 6674 6674 F DEBUG : NOTE: to unreadable libraries. For unwinds of apps, only shared libraries 11-15 12:34:42.657 6674 6674 F DEBUG : NOTE: found under the lib/ directory are readable. 11-15 12:34:42.657 6674 6674 F DEBUG : NOTE: On this device, run setenforce 0 to make the libraries readable. 11-15 12:34:42.657 6674 6674 F DEBUG : #00 pc 0000000000393468 /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!7b4d3d680da059de73d7f9795dc456!1a315fd02c!+368) (BuildId: da720b0102d20080cbd2232b9ebc2fbd) 11-15 12:34:42.657 6674 6674 F DEBUG : #01 pc 0000000000380fa4 /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!f56be09eb88f86833124f1df42e945!1a315fd02c!+1508) (BuildId: da720b0102d20080cbd2232b9ebc2fbd) 11-15 12:34:42.657 6674 6674 F DEBUG : #02 pc 0000000000176afc /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!6b200851123c7898055fe62ff9f71f!1a315fd02c!+620) (BuildId: da720b0102d20080cbd2232b9ebc2fbd) 11-15 12:34:42.657 6674 6674 F DEBUG : #03 pc 000000000016e730 /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!77df12deb6a622478efa8fb9929034!1a315fd02c!+376) (BuildId: da720b0102d20080cbd2232b9ebc2fbd) 11-15 12:34:42.657 6674 6674 F DEBUG : #04 pc 000000000000b360 /data/user/0/org.test.com.example.dicerollerbadq/files/app/_python_bundle/site-packages/kivy/graphics/vbo.so 11-15 12:34:42.657 6674 6674 F DEBUG : #05 pc 0000000000014b18 /data/user/0/org.test.com.example.dicerollerbadq/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 11-15 12:34:42.657 6674 6674 F DEBUG : #06 pc 0000000000008c88 /data/user/0/org.test.com.example.dicerollerbadq/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so 11-15 12:34:42.657 6674 6674 F DEBUG : #07 pc 000000000001265c /data/user/0/org.test.com.example.dicerollerbadq/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 11-15 12:34:42.657 6674 6674 F DEBUG : #08 pc 0000000000011e9c /data/user/0/org.test.com.example.dicerollerbadq/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 11-15 12:34:42.657 6674 6674 F DEBUG : #09 pc 00000000000151a4 /data/user/0/org.test.com.example.dicerollerbadq/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 11-15 12:34:42.657 6674 6674 F DEBUG : #10 pc 00000000000169e4 /data/user/0/org.test.com.example.dicerollerbadq/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 11-15 12:34:42.657 6674 6674 F DEBUG : #11 pc 0000000000008c88 /data/user/0/org.test.com.example.dicerollerbadq/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so 11-15 12:34:42.657 6674 6674 F DEBUG : #12 pc 000000000001265c /data/user/0/org.test.com.example.dicerollerbadq/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 11-15 12:34:42.657 6674 6674 F DEBUG : #13 pc 0000000000011e9c /data/user/0/org.test.com.example.dicerollerbadq/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 11-15 12:34:42.657 6674 6674 F DEBUG : #14 pc 0000000000008c88 /data/user/0/org.test.com.example.dicerollerbadq/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so 11-15 12:34:42.657 6674 6674 F DEBUG : #15 pc 000000000001265c /data/user/0/org.test.com.example.dicerollerbadq/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 11-15 12:34:42.657 6674 6674 F DEBUG : #16 pc 0000000000011e9c /data/user/0/org.test.com.example.dicerollerbadq/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 11-15 12:34:42.657 6674 6674 F DEBUG : #17 pc 00000000000151a4 /data/user/0/org.test.com.example.dicerollerbadq/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 11-15 12:34:42.657 6674 6674 F DEBUG : #18 pc 0000000000008c88 /data/user/0/org.test.com.example.dicerollerbadq/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so 11-15 12:34:42.657 6674 6674 F DEBUG : #19 pc 000000000001265c /data/user/0/org.test.com.example.dicerollerbadq/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 11-15 12:34:42.657 6674 6674 F DEBUG : #20 pc 0000000000011e9c /data/user/0/org.test.com.example.dicerollerbadq/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 11-15 12:34:42.657 6674 6674 F DEBUG : #21 pc 00000000000151a4 /data/user/0/org.test.com.example.dicerollerbadq/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 11-15 12:34:42.657 6674 6674 F DEBUG : #22 pc 0000000000008c88 /data/user/0/org.test.com.example.dicerollerbadq/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so 11-15 12:34:42.657 6674 6674 F DEBUG : #23 pc 000000000001265c /data/user/0/org.test.com.example.dicerollerbadq/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 11-15 12:34:42.657 6674 6674 F DEBUG : #24 pc 0000000000011e9c /data/user/0/org.test.com.example.dicerollerbadq/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 11-15 12:34:42.657 6674 6674 F DEBUG : #25 pc 00000000000151a4 /data/user/0/org.test.com.example.dicerollerbadq/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 11-15 12:34:42.657 6674 6674 F DEBUG : #26 pc 0000000000008c88 /data/user/0/org.test.com.example.dicerollerbadq/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so 11-15 12:34:42.657 6674 6674 F DEBUG : #27 pc 000000000001265c /data/user/0/org.test.com.example.dicerollerbadq/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 11-15 12:34:42.657 6674 6674 F DEBUG : #28 pc 0000000000011e9c /data/user/0/org.test.com.example.dicerollerbadq/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 11-15 12:34:42.657 6674 6674 F DEBUG : #29 pc 00000000000151a4 /data/user/0/org.test.com.example.dicerollerbadq/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 11-15 12:34:42.657 6674 6674 F DEBUG : #30 pc 0000000000008c88 /data/user/0/org.test.com.example.dicerollerbadq/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so 11-15 12:34:42.657 6674 6674 F DEBUG : #31 pc 000000000001265c /data/user/0/org.test.com.example.dicerollerbadq/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 11-15 12:34:42.657 6674 6674 F DEBUG : #32 pc 0000000000011e9c /data/user/0/org.test.com.example.dicerollerbadq/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 11-15 12:34:42.657 6674 6674 F DEBUG : #33 pc 00000000000151a4 /data/user/0/org.test.com.example.dicerollerbadq/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 11-15 12:34:42.657 6674 6674 F DEBUG : #34 pc 00000000000169e4 /data/user/0/org.test.com.example.dicerollerbadq/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 11-15 12:34:42.657 6674 6674 F DEBUG : #35 pc 000000000002082c /data/user/0/org.test.com.example.dicerollerbadq/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so 11-15 12:34:42.657 6674 6674 F DEBUG : #36 pc 0000000000162868 /data/app/~~HafS3U6YP044XWhbv2Gxsg==/org.test.com.example.dicerollerbadq-WiUbHWAw_pOEc-6K06vf3Q==/lib/arm64/libpython3.9.so 11-15 12:34:42.657 6674 6674 F DEBUG : #37 pc 000000000022b9d8 /data/app/~~HafS3U6YP044XWhbv2Gxsg==/org.test.com.example.dicerollerbadq-WiUbHWAw_pOEc-6K06vf3Q==/lib/arm64/libpython3.9.so 11-15 12:34:42.657 6674 6674 F DEBUG : #38 pc 0000000000228b48 /data/app/~~HafS3U6YP044XWhbv2Gxsg==/org.test.com.example.dicerollerbadq-WiUbHWAw_pOEc-6K06vf3Q==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+8728) 11-15 12:34:42.657 6674 6674 F DEBUG : #39 pc 000000000015a1c4 /data/app/~~HafS3U6YP044XWhbv2Gxsg==/org.test.com.example.dicerollerbadq-WiUbHWAw_pOEc-6K06vf3Q==/lib/arm64/libpython3.9.so 11-15 12:34:42.657 6674 6674 F DEBUG : #40 pc 000000000015c3fc /data/app/~~HafS3U6YP044XWhbv2Gxsg==/org.test.com.example.dicerollerbadq-WiUbHWAw_pOEc-6K06vf3Q==/lib/arm64/libpython3.9.so 11-15 12:34:42.658 6674 6674 F DEBUG : #41 pc 0000000000022614 /data/user/0/org.test.com.example.dicerollerbadq/files/app/_python_bundle/site-packages/kivy/_event.so 11-15 12:34:42.658 6674 6674 F DEBUG : #42 pc 0000000000162478 /data/app/~~HafS3U6YP044XWhbv2Gxsg==/org.test.com.example.dicerollerbadq-WiUbHWAw_pOEc-6K06vf3Q==/lib/arm64/libpython3.9.so 11-15 12:34:42.658 6674 6674 F DEBUG : #43 pc 000000000022b9d8 /data/app/~~HafS3U6YP044XWhbv2Gxsg==/org.test.com.example.dicerollerbadq-WiUbHWAw_pOEc-6K06vf3Q==/lib/arm64/libpython3.9.so 11-15 12:34:42.658 6674 6674 F DEBUG : #44 pc 0000000000228b48 /data/app/~~HafS3U6YP044XWhbv2Gxsg==/org.test.com.example.dicerollerbadq-WiUbHWAw_pOEc-6K06vf3Q==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+8728) 11-15 12:34:42.658 6674 6674 F DEBUG : #45 pc 000000000015a1c4 /data/app/~~HafS3U6YP044XWhbv2Gxsg==/org.test.com.example.dicerollerbadq-WiUbHWAw_pOEc-6K06vf3Q==/lib/arm64/libpython3.9.so 11-15 12:34:42.658 6674 6674 F DEBUG : #46 pc 000000000022b9d8 /data/app/~~HafS3U6YP044XWhbv2Gxsg==/org.test.com.example.dicerollerbadq-WiUbHWAw_pOEc-6K06vf3Q==/lib/arm64/libpython3.9.so 11-15 12:34:42.658 6674 6674 F DEBUG : #47 pc 0000000000228b48 /data/app/~~HafS3U6YP044XWhbv2Gxsg==/org.test.com.example.dicerollerbadq-WiUbHWAw_pOEc-6K06vf3Q==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+8728) 11-15 12:34:42.658 6674 6674 F DEBUG : #48 pc 000000000015a1c4 /data/app/~~HafS3U6YP044XWhbv2Gxsg==/org.test.com.example.dicerollerbadq-WiUbHWAw_pOEc-6K06vf3Q==/lib/arm64/libpython3.9.so 11-15 12:34:42.658 6674 6674 F DEBUG : #49 pc 000000000022b9d8 /data/app/~~HafS3U6YP044XWhbv2Gxsg==/org.test.com.example.dicerollerbadq-WiUbHWAw_pOEc-6K06vf3Q==/lib/arm64/libpython3.9.so 11-15 12:34:42.658 6674 6674 F DEBUG : #50 pc 0000000000228b48 /data/app/~~HafS3U6YP044XWhbv2Gxsg==/org.test.com.example.dicerollerbadq-WiUbHWAw_pOEc-6K06vf3Q==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+8728) 11-15 12:34:42.658 6674 6674 F DEBUG : #51 pc 000000000015a1c4 /data/app/~~HafS3U6YP044XWhbv2Gxsg==/org.test.com.example.dicerollerbadq-WiUbHWAw_pOEc-6K06vf3Q==/lib/arm64/libpython3.9.so 11-15 12:34:42.658 6674 6674 F DEBUG : #52 pc 000000000022b9d8 /data/app/~~HafS3U6YP044XWhbv2Gxsg==/org.test.com.example.dicerollerbadq-WiUbHWAw_pOEc-6K06vf3Q==/lib/arm64/libpython3.9.so 11-15 12:34:42.658 6674 6674 F DEBUG : #53 pc 0000000000229cc4 /data/app/~~HafS3U6YP044XWhbv2Gxsg==/org.test.com.example.dicerollerbadq-WiUbHWAw_pOEc-6K06vf3Q==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+13204) 11-15 12:34:42.658 6674 6674 F DEBUG : #54 pc 000000000015a1c4 /data/app/~~HafS3U6YP044XWhbv2Gxsg==/org.test.com.example.dicerollerbadq-WiUbHWAw_pOEc-6K06vf3Q==/lib/arm64/libpython3.9.so 11-15 12:34:42.658 6674 6674 F DEBUG : #55 pc 000000000022b9d8 /data/app/~~HafS3U6YP044XWhbv2Gxsg==/org.test.com.example.dicerollerbadq-WiUbHWAw_pOEc-6K06vf3Q==/lib/arm64/libpython3.9.so 11-15 12:34:42.658 6674 6674 F DEBUG : #56 pc 0000000000228b48 /data/app/~~HafS3U6YP044XWhbv2Gxsg==/org.test.com.example.dicerollerbadq-WiUbHWAw_pOEc-6K06vf3Q==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+8728) 11-15 12:34:42.658 6674 6674 F DEBUG : #57 pc 000000000022c894 /data/app/~~HafS3U6YP044XWhbv2Gxsg==/org.test.com.example.dicerollerbadq-WiUbHWAw_pOEc-6K06vf3Q==/lib/arm64/libpython3.9.so 11-15 12:34:42.658 6674 6674 F DEBUG : #58 pc 000000000022685c /data/app/~~HafS3U6YP044XWhbv2Gxsg==/org.test.com.example.dicerollerbadq-WiUbHWAw_pOEc-6K06vf3Q==/lib/arm64/libpython3.9.so (PyEval_EvalCode+80) 11-15 12:34:42.658 6674 6674 F DEBUG : #59 pc 0000000000269ca8 /data/app/~~HafS3U6YP044XWhbv2Gxsg==/org.test.com.example.dicerollerbadq-WiUbHWAw_pOEc-6K06vf3Q==/lib/arm64/libpython3.9.so (PyRun_SimpleFileExFlags+1180) 11-15 12:34:42.658 6674 6674 F DEBUG : #60 pc 00000000000026dc /data/app/~~HafS3U6YP044XWhbv2Gxsg==/org.test.com.example.dicerollerbadq-WiUbHWAw_pOEc-6K06vf3Q==/lib/arm64/libmain.so (SDL_main+2664) (BuildId: 6b5528de228df820ee6d0967d1dbc80afc75bc09) 11-15 12:34:42.658 6674 6674 F DEBUG : #61 pc 000000000009af38 /data/app/~~HafS3U6YP044XWhbv2Gxsg==/org.test.com.example.dicerollerbadq-WiUbHWAw_pOEc-6K06vf3Q==/lib/arm64/libSDL2.so (Java_org_libsdl_app_SDLActivity_nativeRunMain+592) (BuildId: 5201b846994fb83e5eb63849d551b3740fccc4f1) 11-15 12:34:42.658 6674 6674 F DEBUG : #62 pc 0000000000440554 /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+148) (BuildId: d307dc6adc4105b5e392ad710770385d) 11-15 12:34:42.658 6674 6674 F DEBUG : #63 pc 0000000000209398 /apex/com.android.art/lib64/libart.so (nterp_helper+152) (BuildId: d307dc6adc4105b5e392ad710770385d) 11-15 12:34:42.658 6674 6674 F DEBUG : #64 pc 000000000000bd62 [anon:dalvik-classes3.dex extracted in memory from /data/app/~~HafS3U6YP044XWhbv2Gxsg==/org.test.com.example.dicerollerbadq-WiUbHWAw_pOEc-6K06vf3Q==/base.apk!classes3.dex] (org.libsdl.app.SDLMain.run+114) 11-15 12:34:42.658 6674 6674 F DEBUG : #65 pc 000000000020b074 /apex/com.android.art/lib64/libart.so (nterp_helper+7540) (BuildId: d307dc6adc4105b5e392ad710770385d) 11-15 12:34:42.658 6674 6674 F DEBUG : #66 pc 00000000000f6740 /apex/com.android.art/javalib/core-oj.jar (java.lang.Thread.run+8) 11-15 12:34:42.658 6674 6674 F DEBUG : #67 pc 0000000000436b6c /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+556) (BuildId: d307dc6adc4105b5e392ad710770385d) 11-15 12:34:42.658 6674 6674 F DEBUG : #68 pc 0000000000468938 /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread, unsigned int, unsigned int, art::JValue, char const)+156) (BuildId: d307dc6adc4105b5e392ad710770385d) 11-15 12:34:42.658 6674 6674 F DEBUG : #69 pc 0000000000468620 /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<art::ArtMethod>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject, art::ArtMethod, jvalue const)+388) (BuildId: d307dc6adc4105b5e392ad710770385d) 11-15 12:34:42.658 6674 6674 F DEBUG : #70 pc 0000000000618214 /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void)+1668) (BuildId: d307dc6adc4105b5e392ad710770385d) 11-15 12:34:42.658 6674 6674 F DEBUG : #71 pc 00000000000f1194 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void)+264) (BuildId: f85c82661f93b28ab3119d33214bb7b9) 11-15 12:34:42.658 6674 6674 F DEBUG : #72 pc 000000000008d7f0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68) (BuildId: f85c82661f93b28ab3119d33214bb7b9) 11-15 12:34:42.675 584 584 D io_stats: !@ 8,0 r 34845548 1004076780 w 4129540 60821932 d 1251067 148419052 f 0 0 iot 9533356 0 th 0 0 0 pt 0 inp 0 0 143339.667 11-15 12:34:42.689 1512 6684 I DropBoxManagerService: add tag=data_app_native_crash isTagEnabled=true flags=0x2 11-15 12:34:42.693 1512 6683 W ActivityManager: crash : org.test.com.example.dicerollerbadq,10414 11-15 12:34:42.704 1512 6683 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1242 com.android.server.am.AppErrors.crashApplicationInner:723 com.android.server.am.AppErrors.crashApplication:584 com.android.server.am.ActivityManagerService.handleApplicationCrashInner:9735 com.android.server.am.NativeCrashListener$NativeCrashReporter.run:119 11-15 12:34:42.707 1512 6683 W ActivityTaskManager: Force finishing activity org.test.com.example.dicerollerbadq/org.kivy.android.PythonActivity 11-15 12:34:42.708 1512 1967 I BootReceiver: Copying /data/tombstones/tombstone_27 to DropBox (SYSTEM_TOMBSTONE) 11-15 12:34:42.708 1512 1967 I DropBoxManagerService: add tag=SYSTEM_TOMBSTONE isTagEnabled=true flags=0x6 11-15 12:34:42.710 1512 6683 W WindowManager: Prepare app transition: mNextAppTransitionRequests=[TRANSIT_CLOSE], mNextAppTransitionFlags=TRANSIT_FLAG_APP_CRASHED, displayId: 0

(Phenomenon of crashing on Samsung A23 consistent when compiling on ubuntu (Windows WSL) or Google Colab. Working with kivymd v 1.0.2 similarly consistent)

Note that the problem only occurs on the phone itself (Samsung A23). No problems in emulators or running Python in Windows.

RobertFlatt commented 1 year ago

I've seen a few users with Android crashes that are fixed by going back to KivyMD 1.0.2

I wonder about this change before KivyMD 1.1.0 https://github.com/kivymd/KivyMD/issues/1327

T-Dynamos commented 1 year ago

The answer is simple, In 1.0.2 elevation shader is not used, the shadows are with pillow. In 1.1.0 the elevation shader fails to compile on opengles version 2.0 whitout any error messages (there's a segfault).

See : https://github.com/kivymd/KivyMD/issues/1352#issuecomment-1279358871 https://github.com/kivymd/KivyMD/issues/1352#issuecomment-1264746258

Debug messages are different but 1 thing is common : SEGFAULT in this file

/data/data/com.x.y.y/files/app/_python_bundle/site-packages/kivy/graphics/vbo.so
RobertFlatt commented 1 year ago

Just to fill out the story......

Android and OpenGL ES: https://developer.android.com/develop/ui/views/graphics/opengl/about-opengl

P4a and OpenGL ES: https://github.com/kivy/python-for-android/blob/develop/pythonforandroid/bootstraps/sdl2/build/templates/AndroidManifest.tmpl.xml#L24-L25

Kivy and OpenGL ES: Minimum available level is OpenGL 2.0

T-Dynamos commented 1 year ago
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'xiaomi/whyred/whyred:9/PKQ1.180904.001/V11.0.5.0.PEIMIXM:user/release-keys'
Revision: '0'
ABI: 'arm64'
pid: 7347, tid: 7382, name: SDLThread  >>> aiolivia.com.aiolivia.emma <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x38
Cause: null pointer dereference
    x0  000000768a6b4200  x1  0000000000000003  x2  0000000000000000  x3  0000000000000000
    x4  0000000000008cd5  x5  00000076897c2a80  x6  0000000000008cd5  x7  000000769d7ac4c0
    x8  0000000000000040  x9  0000000000000001  x10 0000000000000001  x11 0000000000000000
    x12 0000000000000001  x13 00000076897c2b10  x14 00000000000000ff  x15 0000000000000000
    x16 0000000000000000  x17 0000000000000001  x18 0000000000000002  x19 000000769d7ac4c0
    x20 0000000000000000  x21 0000000000008be7  x22 0000000000000001  x23 0000000000000000
    x24 00000076897c2b10  x25 000000000000003c  x26 000000769d7ac850  x27 0000000000000058
    x28 0000000000000000  x29 000000768cffc340
    sp  000000768cffc2e0  lr  000000769c061620  pc  000000769c061bc8

backtrace:
    #00 pc 000000000037bbc8  /vendor/lib64/egl/libGLESv2_adreno.so (EsxContext::DrawParamValidate(unsigned int, int, int, int, int)+1704)
    #01 pc 000000000013ce04  /vendor/lib64/egl/libGLESv2_adreno.so (EsxGlApiParamValidate::GlDrawElements(EsxDispatch*, unsigned int, int, unsigned int, void const*)+156)
    #02 pc 0000000000004b90  /data/data/aiolivia.com.aiolivia.emma/files/app/_python_bundle/site-packages/kivy/graphics/vbo.so (offset 0x5000)

Also on Redmi note 5

HeaTTheatR commented 1 year ago

https://github.com/kivymd/KivyMD/issues/1352

idbeny commented 9 months ago

The same issue with MDSwitch on kivy 1.1.1