Closed yunus-ceyhan closed 10 months ago
Does the backtrace look the same for all the involved devices?
@misl6 Yes. The backtrace above i got from play console but I also requested actual backtraces from users as well, you can check below.
Poco F4 GT
12-26 17:30:25.755 27178 27178 F DEBUG : Cmdline: com.ceyhan.sets
12-26 17:30:25.755 27178 27178 F DEBUG : pid: 26955, tid: 26995, name: SDLThread >>> com.ceyhan.sets <<<
12-26 17:30:25.756 27178 27178 F DEBUG : #05 pc 000000000000ab98 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/vbo.so
12-26 17:30:25.756 27178 27178 F DEBUG : #06 pc 0000000000014244 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #07 pc 00000000000081e4 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-26 17:30:25.756 27178 27178 F DEBUG : #08 pc 0000000000012050 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #09 pc 0000000000011890 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #10 pc 00000000000148dc /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #11 pc 0000000000015e04 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #12 pc 000000000000c2bc /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/fbo.so
12-26 17:30:25.756 27178 27178 F DEBUG : #13 pc 00000000000081e4 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-26 17:30:25.756 27178 27178 F DEBUG : #14 pc 0000000000012050 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #15 pc 0000000000011890 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #16 pc 00000000000081e4 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-26 17:30:25.756 27178 27178 F DEBUG : #17 pc 0000000000012050 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #18 pc 0000000000011890 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #19 pc 000000000001499c /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #20 pc 00000000000081e4 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-26 17:30:25.756 27178 27178 F DEBUG : #21 pc 0000000000012050 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #22 pc 0000000000011890 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #23 pc 00000000000148dc /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #24 pc 00000000000081e4 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-26 17:30:25.756 27178 27178 F DEBUG : #25 pc 0000000000012050 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #26 pc 0000000000011890 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #27 pc 00000000000148dc /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #28 pc 00000000000081e4 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-26 17:30:25.756 27178 27178 F DEBUG : #29 pc 0000000000012050 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #30 pc 0000000000011890 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #31 pc 00000000000148dc /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #32 pc 00000000000081e4 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-26 17:30:25.756 27178 27178 F DEBUG : #33 pc 0000000000012050 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #34 pc 0000000000011890 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #35 pc 00000000000148dc /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #36 pc 00000000000081e4 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-26 17:30:25.756 27178 27178 F DEBUG : #37 pc 0000000000012050 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #38 pc 0000000000011890 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #39 pc 00000000000148dc /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #40 pc 00000000000081e4 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-26 17:30:25.756 27178 27178 F DEBUG : #41 pc 0000000000012050 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #42 pc 0000000000011890 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #43 pc 00000000000148dc /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #44 pc 00000000000081e4 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-26 17:30:25.756 27178 27178 F DEBUG : #45 pc 0000000000012050 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #46 pc 0000000000011890 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #47 pc 00000000000148dc /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #48 pc 00000000000081e4 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-26 17:30:25.756 27178 27178 F DEBUG : #49 pc 0000000000012050 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #50 pc 0000000000011890 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #51 pc 00000000000148dc /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #52 pc 00000000000081e4 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-26 17:30:25.756 27178 27178 F DEBUG : #53 pc 0000000000012050 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #54 pc 0000000000011890 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #55 pc 00000000000148dc /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #56 pc 00000000000081e4 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-26 17:30:25.756 27178 27178 F DEBUG : #57 pc 0000000000012050 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #58 pc 0000000000011890 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #59 pc 00000000000148dc /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #60 pc 0000000000015e04 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #61 pc 00000000000202bc /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 17:30:25.756 27178 27178 F DEBUG : #62 pc 0000000000167178 /data/app/~~Ee2EzuI_uRKOCLTEMtho9A==/com.ceyhan.sets-9TquUloZaijLEAEnTytQAA==/lib/arm64/libpython3.9.so
12-26 17:30:25.756 27178 27178 F DEBUG : #63 pc 000000000022be80 /data/app/~~Ee2EzuI_uRKOCLTEMtho9A==/com.ceyhan.sets-9TquUloZaijLEAEnTytQAA==/lib/arm64/libpython3.9.so
12-26 17:30:25.756 27178 27178 F DEBUG : #64 pc 0000000000228e68 /data/app/~~Ee2EzuI_uRKOCLTEMtho9A==/com.ceyhan.sets-9TquUloZaijLEAEnTytQAA==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+9972)
12-26 17:30:25.756 27178 27178 F DEBUG : #65 pc 000000000015e79c /data/app/~~Ee2EzuI_uRKOCLTEMtho9A==/com.ceyhan.sets-9TquUloZaijLEAEnTytQAA==/lib/arm64/libpython3.9.so
12-26 17:30:25.756 27178 27178 F DEBUG : #66 pc 0000000000160bb4 /data/app/~~Ee2EzuI_uRKOCLTEMtho9A==/com.ceyhan.sets-9TquUloZaijLEAEnTytQAA==/lib/arm64/libpython3.9.so
12-26 17:30:25.756 27178 27178 F DEBUG : #67 pc 0000000000025064 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/_event.so
12-26 17:30:25.756 27178 27178 F DEBUG : #68 pc 0000000000166d04 /data/app/~~Ee2EzuI_uRKOCLTEMtho9A==/com.ceyhan.sets-9TquUloZaijLEAEnTytQAA==/lib/arm64/libpython3.9.so
12-26 17:30:25.756 27178 27178 F DEBUG : #69 pc 000000000022be80 /data/app/~~Ee2EzuI_uRKOCLTEMtho9A==/com.ceyhan.sets-9TquUloZaijLEAEnTytQAA==/lib/arm64/libpython3.9.so
12-26 17:30:25.756 27178 27178 F DEBUG : #70 pc 0000000000228e68 /data/app/~~Ee2EzuI_uRKOCLTEMtho9A==/com.ceyhan.sets-9TquUloZaijLEAEnTytQAA==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+9972)
12-26 17:30:25.756 27178 27178 F DEBUG : #71 pc 000000000015e79c /data/app/~~Ee2EzuI_uRKOCLTEMtho9A==/com.ceyhan.sets-9TquUloZaijLEAEnTytQAA==/lib/arm64/libpython3.9.so
12-26 17:30:25.756 27178 27178 F DEBUG : #72 pc 000000000022be80 /data/app/~~Ee2EzuI_uRKOCLTEMtho9A==/com.ceyhan.sets-9TquUloZaijLEAEnTytQAA==/lib/arm64/libpython3.9.so
12-26 17:30:25.756 27178 27178 F DEBUG : #73 pc 0000000000228e68 /data/app/~~Ee2EzuI_uRKOCLTEMtho9A==/com.ceyhan.sets-9TquUloZaijLEAEnTytQAA==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+9972)
12-26 17:30:25.756 27178 27178 F DEBUG : #74 pc 000000000015e79c /data/app/~~Ee2EzuI_uRKOCLTEMtho9A==/com.ceyhan.sets-9TquUloZaijLEAEnTytQAA==/lib/arm64/libpython3.9.so
12-26 17:30:25.756 27178 27178 F DEBUG : #75 pc 000000000022be80 /data/app/~~Ee2EzuI_uRKOCLTEMtho9A==/com.ceyhan.sets-9TquUloZaijLEAEnTytQAA==/lib/arm64/libpython3.9.so
12-26 17:30:25.756 27178 27178 F DEBUG : #76 pc 0000000000228e68 /data/app/~~Ee2EzuI_uRKOCLTEMtho9A==/com.ceyhan.sets-9TquUloZaijLEAEnTytQAA==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+9972)
12-26 17:30:25.756 27178 27178 F DEBUG : #77 pc 000000000015e79c /data/app/~~Ee2EzuI_uRKOCLTEMtho9A==/com.ceyhan.sets-9TquUloZaijLEAEnTytQAA==/lib/arm64/libpython3.9.so
12-26 17:30:25.756 27178 27178 F DEBUG : #78 pc 000000000022be80 /data/app/~~Ee2EzuI_uRKOCLTEMtho9A==/com.ceyhan.sets-9TquUloZaijLEAEnTytQAA==/lib/arm64/libpython3.9.so
12-26 17:30:25.756 27178 27178 F DEBUG : #79 pc 0000000000229e44 /data/app/~~Ee2EzuI_uRKOCLTEMtho9A==/com.ceyhan.sets-9TquUloZaijLEAEnTytQAA==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+14032)
12-26 17:30:25.756 27178 27178 F DEBUG : #80 pc 000000000015e79c /data/app/~~Ee2EzuI_uRKOCLTEMtho9A==/com.ceyhan.sets-9TquUloZaijLEAEnTytQAA==/lib/arm64/libpython3.9.so
12-26 17:30:25.756 27178 27178 F DEBUG : #81 pc 000000000022be80 /data/app/~~Ee2EzuI_uRKOCLTEMtho9A==/com.ceyhan.sets-9TquUloZaijLEAEnTytQAA==/lib/arm64/libpython3.9.so
12-26 17:30:25.756 27178 27178 F DEBUG : #82 pc 0000000000228e68 /data/app/~~Ee2EzuI_uRKOCLTEMtho9A==/com.ceyhan.sets-9TquUloZaijLEAEnTytQAA==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+9972)
12-26 17:30:25.756 27178 27178 F DEBUG : #83 pc 000000000022ce5c /data/app/~~Ee2EzuI_uRKOCLTEMtho9A==/com.ceyhan.sets-9TquUloZaijLEAEnTytQAA==/lib/arm64/libpython3.9.so
12-26 17:30:25.756 27178 27178 F DEBUG : #84 pc 00000000002266a0 /data/app/~~Ee2EzuI_uRKOCLTEMtho9A==/com.ceyhan.sets-9TquUloZaijLEAEnTytQAA==/lib/arm64/libpython3.9.so (PyEval_EvalCode+76)
12-26 17:30:25.756 27178 27178 F DEBUG : #85 pc 00000000002670cc /data/app/~~Ee2EzuI_uRKOCLTEMtho9A==/com.ceyhan.sets-9TquUloZaijLEAEnTytQAA==/lib/arm64/libpython3.9.so (PyRun_SimpleFileExFlags+1192)
12-26 17:30:25.756 27178 27178 F DEBUG : #86 pc 00000000000026e0 /data/app/~~Ee2EzuI_uRKOCLTEMtho9A==/com.ceyhan.sets-9TquUloZaijLEAEnTytQAA==/lib/arm64/libmain.so (SDL_main+2664) (BuildId: 19b4a5f4acbab1373405e82c9b39db2b4fddb64e)
12-26 17:30:25.756 27178 27178 F DEBUG : #87 pc 00000000000b03c0 /data/app/~~Ee2EzuI_uRKOCLTEMtho9A==/com.ceyhan.sets-9TquUloZaijLEAEnTytQAA==/lib/arm64/libSDL2.so (Java_org_libsdl_app_SDLActivity_nativeRunMain+772) (BuildId: 3350d4a2d3140dcb37002fb232ccf0568bca95bd)
12-26 17:30:25.756 27178 27178 F DEBUG : #90 pc 000000000094f5ba /data/app/~~Ee2EzuI_uRKOCLTEMtho9A==/com.ceyhan.sets-9TquUloZaijLEAEnTytQAA==/oat/arm64/base.vdex
12-26 17:30:25.792 2585 27186 W ActivityTaskManager: Force finishing activity com.ceyhan.sets/org.kivy.android.PythonActivity
12-26 17:30:25.906 2585 5149 D ConnectivityService: ConnectivityService NetworkRequestInfo binderDied(uid/pid:10340/26955, [NetworkRequest [ REQUEST id=471, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10340 RequestorUid: 10340 RequestorPkg: com.ceyhan.sets UnderlyingNetworks: Null] ]], android.os.BinderProxy@ad1140)
12-26 17:30:25.906 2585 2601 D ConnectivityService: ConnectivityService NetworkRequestInfo binderDied(uid/pid:10340/26955, [NetworkRequest [ REQUEST id=468, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10340 RequestorUid: 10340 RequestorPkg: com.ceyhan.sets UnderlyingNetworks: Null] ]], android.os.BinderProxy@1b8a9be)
12-26 17:30:25.907 2585 7544 D ConnectivityService: ConnectivityService NetworkRequestInfo binderDied(uid/pid:10340/26955, [NetworkRequest [ REQUEST id=466, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10340 RequestorUid: 10340 RequestorPkg: com.ceyhan.sets UnderlyingNetworks: Null] ]], android.os.BinderProxy@4f2016c)
12-26 17:30:25.907 2585 3236 D ConnectivityService: releasing NetworkRequest [ REQUEST id=471, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10340 RequestorUid: 10340 RequestorPkg: com.ceyhan.sets UnderlyingNetworks: Null] ] (release request)
12-26 17:30:25.907 2585 7508 I WindowManager: WIN DEATH: Window{87308ca u0 com.ceyhan.sets/org.kivy.android.PythonActivity}
12-26 17:30:25.907 2585 7544 I ActivityManager: Process com.ceyhan.sets (pid 26955) has died: prcp TOP
12-26 17:30:25.908 2585 3236 D ConnectivityService: releasing NetworkRequest [ REQUEST id=468, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10340 RequestorUid: 10340 RequestorPkg: com.ceyhan.sets UnderlyingNetworks: Null] ] (release request)
12-26 17:30:25.908 2585 5149 D ConnectivityService: ConnectivityService NetworkRequestInfo binderDied(uid/pid:10340/26955, [NetworkRequest [ LISTEN id=469, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&FOREGROUND&NOT_VCN_MANAGED Uid: 10340 RequestorUid: 10340 RequestorPkg: com.ceyhan.sets UnderlyingNetworks: Null] ]], android.os.BinderProxy@64c5a1f)
12-26 17:30:25.908 2585 6746 D ConnectivityService: ConnectivityService NetworkRequestInfo binderDied(uid/pid:10340/26955, [NetworkRequest [ REQUEST id=473, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10340 RequestorUid: 10340 RequestorPkg: com.ceyhan.sets UnderlyingNetworks: Null] ]], android.os.BinderProxy@c720879)
12-26 17:30:25.908 2585 3236 D ConnectivityService: releasing NetworkRequest [ REQUEST id=466, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10340 RequestorUid: 10340 RequestorPkg: com.ceyhan.sets UnderlyingNetworks: Null] ] (release request)
12-26 17:30:25.908 2585 3236 D ConnectivityService: releasing NetworkRequest [ REQUEST id=473, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10340 RequestorUid: 10340 RequestorPkg: com.ceyhan.sets UnderlyingNetworks: Null] ] (release request)
12-26 17:30:25.909 2585 7508 W InputManager-JNI: Input channel object '87308ca com.ceyhan.sets/org.kivy.android.PythonActivity (client)' was disposed without first being removed with the input manager!
12-26 17:30:25.917 2585 7544 W ActivityManager: Exception when unbinding service com.ceyhan.sets/org.chromium.content.app.SandboxedProcessService0:0
12-26 17:30:25.926 4609 26874 D AppObserver: ForegroundInfo{mForegroundPackageName='com.mi.android.globallauncher', mForegroundUid=10078, mForegroundPid=4609, mLastForegroundPackageName='com.ceyhan.sets', mLastForegroundUid=10340, mLastForegroundPid=26955, mMultiWindowForegroundPackageName='com.mi.android.globallauncher', mMultiWindowForegroundUid=10078, mFlags=0}
12-26 17:30:25.926 8968 9107 I ThermalInfoCollector: collectForgroundAppsInfo: com.ceyhan.sets
12-26 17:30:25.927 8984 20275 I GST : forePkg: com.mi.android.globallauncher, preForePkg: com.ceyhan.sets
12-26 17:30:25.927 7899 21245 I ProcessMonitor: onForegroundInfoChanged: ForegroundInfo{mForegroundPackageName='com.mi.android.globallauncher', mForegroundUid=10078, mForegroundPid=4609, mLastForegroundPackageName='com.ceyhan.sets', mLastForegroundUid=10340, mLastForegroundPid=26955, mMultiWindowForegroundPackageName='com.mi.android.globallauncher', mMultiWindowForegroundUid=10078, mFlags=0}
12-26 17:30:25.928 8968 8996 D PerfEngineController: ForegroundInfo{mForegroundPackageName='com.mi.android.globallauncher', mForegroundUid=10078, mForegroundPid=4609, mLastForegroundPackageName='com.ceyhan.sets', mLastForegroundUid=10340, mLastForegroundPid=26955, mMultiWindowForegroundPackageName='com.mi.android.globallauncher', mMultiWindowForegroundUid=10078, mFlags=0}
12-26 17:30:25.928 7899 21245 I GameBoosterService: onForegroundInfoChanged: Cur=com.mi.android.globallauncher last=com.ceyhan.sets
12-26 17:30:25.929 7899 21245 D GameBoosterService: onGameStatusChange foreground:ForegroundInfo{mForegroundPackageName='com.mi.android.globallauncher', mForegroundUid=10078, mForegroundPid=4609, mLastForegroundPackageName='com.ceyhan.sets', mLastForegroundUid=10340, mLastForegroundPid=26955, mMultiWindowForegroundPackageName='com.mi.android.globallauncher', mMultiWindowForegroundUid=10078, mFlags=0}
12-26 17:30:26.294 2585 2733 W ActivityTaskManager: Activity top resumed state loss timeout for ActivityRecord{116b25b u0 com.ceyhan.sets/org.kivy.android.PythonActivity t-1 f}}
Xiaomi 12 Pro
12-26 13:11:54.801 18811 18811 W pool-11-thread-: type=1400 audit(0.0:1553): avc: granted { execute } for path="/data/data/com.ceyhan.sets/app_pccache/5/26AA3B2CD79D49EF34C1F34468F9D88FC1B3CD1A/pcam.jar" dev="dm-12" ino=167430 scontext=u:r:untrusted_app:s0:c75,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c75,c257,c512,c768 tclass=file app=com.ceyhan.sets
12-26 13:11:55.235 19032 19032 F DEBUG : Cmdline: com.ceyhan.sets
12-26 13:11:55.235 19032 19032 F DEBUG : pid: 18811, tid: 18859, name: SDLThread >>> com.ceyhan.sets <<<
12-26 13:11:55.235 19032 19032 F DEBUG : #05 pc 000000000000ab98 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/vbo.so
12-26 13:11:55.235 19032 19032 F DEBUG : #06 pc 000000000001422c /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #07 pc 00000000000081e4 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-26 13:11:55.235 19032 19032 F DEBUG : #08 pc 0000000000012038 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #09 pc 0000000000011878 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #10 pc 00000000000148c4 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #11 pc 0000000000015dec /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #12 pc 000000000000c2bc /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/fbo.so
12-26 13:11:55.235 19032 19032 F DEBUG : #13 pc 00000000000081e4 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-26 13:11:55.235 19032 19032 F DEBUG : #14 pc 0000000000012038 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #15 pc 0000000000011878 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #16 pc 00000000000081e4 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-26 13:11:55.235 19032 19032 F DEBUG : #17 pc 0000000000012038 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #18 pc 0000000000011878 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #19 pc 0000000000014984 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #20 pc 00000000000081e4 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-26 13:11:55.235 19032 19032 F DEBUG : #21 pc 0000000000012038 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #22 pc 0000000000011878 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #23 pc 00000000000148c4 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #24 pc 00000000000081e4 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-26 13:11:55.235 19032 19032 F DEBUG : #25 pc 0000000000012038 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #26 pc 0000000000011878 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #27 pc 00000000000148c4 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #28 pc 00000000000081e4 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-26 13:11:55.235 19032 19032 F DEBUG : #29 pc 0000000000012038 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #30 pc 0000000000011878 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #31 pc 00000000000148c4 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #32 pc 00000000000081e4 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-26 13:11:55.235 19032 19032 F DEBUG : #33 pc 0000000000012038 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #34 pc 0000000000011878 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #35 pc 00000000000148c4 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #36 pc 00000000000081e4 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-26 13:11:55.235 19032 19032 F DEBUG : #37 pc 0000000000012038 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #38 pc 0000000000011878 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #39 pc 00000000000148c4 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #40 pc 00000000000081e4 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-26 13:11:55.235 19032 19032 F DEBUG : #41 pc 0000000000012038 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #42 pc 0000000000011878 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #43 pc 00000000000148c4 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #44 pc 00000000000081e4 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-26 13:11:55.235 19032 19032 F DEBUG : #45 pc 0000000000012038 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #46 pc 0000000000011878 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #47 pc 00000000000148c4 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #48 pc 00000000000081e4 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-26 13:11:55.235 19032 19032 F DEBUG : #49 pc 0000000000012038 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #50 pc 0000000000011878 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #51 pc 00000000000148c4 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #52 pc 00000000000081e4 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-26 13:11:55.235 19032 19032 F DEBUG : #53 pc 0000000000012038 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #54 pc 0000000000011878 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #55 pc 00000000000148c4 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #56 pc 00000000000081e4 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-26 13:11:55.235 19032 19032 F DEBUG : #57 pc 0000000000012038 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #58 pc 0000000000011878 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #59 pc 00000000000148c4 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #60 pc 0000000000015dec /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #61 pc 00000000000202a4 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.235 19032 19032 F DEBUG : #62 pc 0000000000167178 /data/app/~~MNlnFxcp1fRBvTM9CGGhRQ==/com.ceyhan.sets-r1DB0CD_dVyrOqdgJBF80w==/lib/arm64/libpython3.9.so
12-26 13:11:55.235 19032 19032 F DEBUG : #63 pc 000000000022be80 /data/app/~~MNlnFxcp1fRBvTM9CGGhRQ==/com.ceyhan.sets-r1DB0CD_dVyrOqdgJBF80w==/lib/arm64/libpython3.9.so
12-26 13:11:55.235 19032 19032 F DEBUG : #64 pc 0000000000228e68 /data/app/~~MNlnFxcp1fRBvTM9CGGhRQ==/com.ceyhan.sets-r1DB0CD_dVyrOqdgJBF80w==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+9972)
12-26 13:11:55.235 19032 19032 F DEBUG : #65 pc 000000000015e79c /data/app/~~MNlnFxcp1fRBvTM9CGGhRQ==/com.ceyhan.sets-r1DB0CD_dVyrOqdgJBF80w==/lib/arm64/libpython3.9.so
12-26 13:11:55.235 19032 19032 F DEBUG : #66 pc 0000000000160bb4 /data/app/~~MNlnFxcp1fRBvTM9CGGhRQ==/com.ceyhan.sets-r1DB0CD_dVyrOqdgJBF80w==/lib/arm64/libpython3.9.so
12-26 13:11:55.235 19032 19032 F DEBUG : #67 pc 0000000000025064 /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/_event.so
12-26 13:11:55.235 19032 19032 F DEBUG : #68 pc 0000000000166d04 /data/app/~~MNlnFxcp1fRBvTM9CGGhRQ==/com.ceyhan.sets-r1DB0CD_dVyrOqdgJBF80w==/lib/arm64/libpython3.9.so
12-26 13:11:55.235 19032 19032 F DEBUG : #69 pc 000000000022be80 /data/app/~~MNlnFxcp1fRBvTM9CGGhRQ==/com.ceyhan.sets-r1DB0CD_dVyrOqdgJBF80w==/lib/arm64/libpython3.9.so
12-26 13:11:55.235 19032 19032 F DEBUG : #70 pc 0000000000228e68 /data/app/~~MNlnFxcp1fRBvTM9CGGhRQ==/com.ceyhan.sets-r1DB0CD_dVyrOqdgJBF80w==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+9972)
12-26 13:11:55.235 19032 19032 F DEBUG : #71 pc 000000000015e79c /data/app/~~MNlnFxcp1fRBvTM9CGGhRQ==/com.ceyhan.sets-r1DB0CD_dVyrOqdgJBF80w==/lib/arm64/libpython3.9.so
12-26 13:11:55.235 19032 19032 F DEBUG : #72 pc 000000000022be80 /data/app/~~MNlnFxcp1fRBvTM9CGGhRQ==/com.ceyhan.sets-r1DB0CD_dVyrOqdgJBF80w==/lib/arm64/libpython3.9.so
12-26 13:11:55.235 19032 19032 F DEBUG : #73 pc 0000000000228e68 /data/app/~~MNlnFxcp1fRBvTM9CGGhRQ==/com.ceyhan.sets-r1DB0CD_dVyrOqdgJBF80w==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+9972)
12-26 13:11:55.235 19032 19032 F DEBUG : #74 pc 000000000015e79c /data/app/~~MNlnFxcp1fRBvTM9CGGhRQ==/com.ceyhan.sets-r1DB0CD_dVyrOqdgJBF80w==/lib/arm64/libpython3.9.so
12-26 13:11:55.235 19032 19032 F DEBUG : #75 pc 000000000022be80 /data/app/~~MNlnFxcp1fRBvTM9CGGhRQ==/com.ceyhan.sets-r1DB0CD_dVyrOqdgJBF80w==/lib/arm64/libpython3.9.so
12-26 13:11:55.235 19032 19032 F DEBUG : #76 pc 0000000000228e68 /data/app/~~MNlnFxcp1fRBvTM9CGGhRQ==/com.ceyhan.sets-r1DB0CD_dVyrOqdgJBF80w==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+9972)
12-26 13:11:55.235 19032 19032 F DEBUG : #77 pc 000000000015e79c /data/app/~~MNlnFxcp1fRBvTM9CGGhRQ==/com.ceyhan.sets-r1DB0CD_dVyrOqdgJBF80w==/lib/arm64/libpython3.9.so
12-26 13:11:55.235 19032 19032 F DEBUG : #78 pc 000000000022be80 /data/app/~~MNlnFxcp1fRBvTM9CGGhRQ==/com.ceyhan.sets-r1DB0CD_dVyrOqdgJBF80w==/lib/arm64/libpython3.9.so
12-26 13:11:55.235 19032 19032 F DEBUG : #79 pc 0000000000229e44 /data/app/~~MNlnFxcp1fRBvTM9CGGhRQ==/com.ceyhan.sets-r1DB0CD_dVyrOqdgJBF80w==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+14032)
12-26 13:11:55.235 19032 19032 F DEBUG : #80 pc 000000000015e79c /data/app/~~MNlnFxcp1fRBvTM9CGGhRQ==/com.ceyhan.sets-r1DB0CD_dVyrOqdgJBF80w==/lib/arm64/libpython3.9.so
12-26 13:11:55.235 19032 19032 F DEBUG : #81 pc 000000000022be80 /data/app/~~MNlnFxcp1fRBvTM9CGGhRQ==/com.ceyhan.sets-r1DB0CD_dVyrOqdgJBF80w==/lib/arm64/libpython3.9.so
12-26 13:11:55.235 19032 19032 F DEBUG : #82 pc 0000000000228e68 /data/app/~~MNlnFxcp1fRBvTM9CGGhRQ==/com.ceyhan.sets-r1DB0CD_dVyrOqdgJBF80w==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+9972)
12-26 13:11:55.235 19032 19032 F DEBUG : #83 pc 000000000022ce5c /data/app/~~MNlnFxcp1fRBvTM9CGGhRQ==/com.ceyhan.sets-r1DB0CD_dVyrOqdgJBF80w==/lib/arm64/libpython3.9.so
12-26 13:11:55.235 19032 19032 F DEBUG : #84 pc 00000000002266a0 /data/app/~~MNlnFxcp1fRBvTM9CGGhRQ==/com.ceyhan.sets-r1DB0CD_dVyrOqdgJBF80w==/lib/arm64/libpython3.9.so (PyEval_EvalCode+76)
12-26 13:11:55.235 19032 19032 F DEBUG : #85 pc 00000000002670cc /data/app/~~MNlnFxcp1fRBvTM9CGGhRQ==/com.ceyhan.sets-r1DB0CD_dVyrOqdgJBF80w==/lib/arm64/libpython3.9.so (PyRun_SimpleFileExFlags+1192)
12-26 13:11:55.235 19032 19032 F DEBUG : #86 pc 00000000000026e0 /data/app/~~MNlnFxcp1fRBvTM9CGGhRQ==/com.ceyhan.sets-r1DB0CD_dVyrOqdgJBF80w==/lib/arm64/libmain.so (SDL_main+2664) (BuildId: 19b4a5f4acbab1373405e82c9b39db2b4fddb64e)
12-26 13:11:55.235 19032 19032 F DEBUG : #87 pc 00000000000b03c0 /data/app/~~MNlnFxcp1fRBvTM9CGGhRQ==/com.ceyhan.sets-r1DB0CD_dVyrOqdgJBF80w==/lib/arm64/libSDL2.so (Java_org_libsdl_app_SDLActivity_nativeRunMain+772) (BuildId: 3350d4a2d3140dcb37002fb232ccf0568bca95bd)
12-26 13:11:55.235 19032 19032 F DEBUG : #90 pc 0000000000933c22 /data/app/~~MNlnFxcp1fRBvTM9CGGhRQ==/com.ceyhan.sets-r1DB0CD_dVyrOqdgJBF80w==/oat/arm64/base.vdex (org.libsdl.app.SDLMain.run+166)
12-26 13:11:55.283 6024 6248 D DigestGenerator: digest=============com.ceyhan.sets /vendor/lib/egl/libGLESv_adreno.so (!!!!!!+) ()
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/vbo.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/fbo.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: XXlib/arm/libpython..so
12-26 13:11:55.283 6024 6248 D DigestGenerator: XXlib/arm/libpython..so
12-26 13:11:55.283 6024 6248 D DigestGenerator: XXlib/arm/libpython..so (_PyEval_EvalFrameDefault+)
12-26 13:11:55.283 6024 6248 D DigestGenerator: XXlib/arm/libpython..so
12-26 13:11:55.283 6024 6248 D DigestGenerator: XXlib/arm/libpython..so
12-26 13:11:55.283 6024 6248 D DigestGenerator: /data/data/com.ceyhan.sets/files/app/_python_bundle/site-packages/kivy/_event.so
12-26 13:11:55.283 6024 6248 D DigestGenerator: XXlib/arm/libpython..so
12-26 13:11:55.283 6024 6248 D DigestGenerator: XXlib/arm/libpython..so
12-26 13:11:55.283 6024 6248 D DigestGenerator: XXlib/arm/libpython..so (_PyEval_EvalFrameDefault+)
12-26 13:11:55.283 6024 6248 D DigestGenerator: XXlib/arm/libpython..so
12-26 13:11:55.283 6024 6248 D DigestGenerator: XXlib/arm/libpython..so
12-26 13:11:55.283 6024 6248 D DigestGenerator: XXlib/arm/libpython..so (_PyEval_EvalFrameDefault+)
12-26 13:11:55.283 6024 6248 D DigestGenerator: XXlib/arm/libpython..so
12-26 13:11:55.283 6024 6248 D DigestGenerator: XXlib/arm/libpython..so
12-26 13:11:55.283 6024 6248 D DigestGenerator: XXlib/arm/libpython..so (_PyEval_EvalFrameDefault+)
12-26 13:11:55.283 6024 6248 D DigestGenerator: XXlib/arm/libpython..so
12-26 13:11:55.283 6024 6248 D DigestGenerator: XXlib/arm/libpython..so
12-26 13:11:55.283 6024 6248 D DigestGenerator: XXlib/arm/libpython..so (_PyEval_EvalFrameDefault+)
12-26 13:11:55.283 6024 6248 D DigestGenerator: XXlib/arm/libpython..so
12-26 13:11:55.283 6024 6248 D DigestGenerator: XXlib/arm/libpython..so
12-26 13:11:55.283 6024 6248 D DigestGenerator: XXlib/arm/libpython..so (_PyEval_EvalFrameDefault+)
12-26 13:11:55.283 6024 6248 D DigestGenerator: XXlib/arm/libpython..so
12-26 13:11:55.283 6024 6248 D DigestGenerator: XXlib/arm/libpython..so (PyEval_EvalCode+)
12-26 13:11:55.283 6024 6248 D DigestGenerator: XXlib/arm/libpython..so (PyRun_SimpleFileExFlags+)
12-26 13:11:55.298 2335 4990 D ConnectivityService: ConnectivityService NetworkRequestInfo binderDied(uid/pid:10331/18811, [NetworkRequest [ REQUEST id=281, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10331 RequestorUid: 10331 RequestorPkg: com.ceyhan.sets UnderlyingNetworks: Null] ]], android.os.BinderProxy@362f9a5)
12-26 13:11:55.298 2335 4093 D ConnectivityService: ConnectivityService NetworkRequestInfo binderDied(uid/pid:10331/18811, [NetworkRequest [ REQUEST id=283, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10331 RequestorUid: 10331 RequestorPkg: com.ceyhan.sets UnderlyingNetworks: Null] ]], android.os.BinderProxy@3d2c17a)
12-26 13:11:55.299 2335 3578 D ConnectivityService: releasing NetworkRequest [ REQUEST id=281, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10331 RequestorUid: 10331 RequestorPkg: com.ceyhan.sets UnderlyingNetworks: Null] ] (release request)
12-26 13:11:55.299 2335 4895 D ConnectivityService: ConnectivityService NetworkRequestInfo binderDied(uid/pid:10331/18811, [NetworkRequest [ REQUEST id=288, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10331 RequestorUid: 10331 RequestorPkg: com.ceyhan.sets UnderlyingNetworks: Null] ]], android.os.BinderProxy@60bbd2b)
12-26 13:11:55.301 2335 2375 D ConnectivityService: ConnectivityService NetworkRequestInfo binderDied(uid/pid:10331/18811, [NetworkRequest [ LISTEN id=284, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&FOREGROUND&NOT_VCN_MANAGED Uid: 10331 RequestorUid: 10331 RequestorPkg: com.ceyhan.sets UnderlyingNetworks: Null] ]], android.os.BinderProxy@e4d588)
12-26 13:11:55.301 2335 4124 W InputManager-JNI: Input channel object '10d40cc com.ceyhan.sets/org.kivy.android.PythonActivity (client)' was disposed without first being removed with the input manager!
12-26 13:11:55.304 2335 3594 D ConnectivityService: ConnectivityService NetworkRequestInfo binderDied(uid/pid:10331/18811, [NetworkRequest [ REQUEST id=286, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10331 RequestorUid: 10331 RequestorPkg: com.ceyhan.sets UnderlyingNetworks: Null] ]], android.os.BinderProxy@9ae8b21)
12-26 13:11:55.304 2335 3578 D ConnectivityService: releasing NetworkRequest [ REQUEST id=288, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10331 RequestorUid: 10331 RequestorPkg: com.ceyhan.sets UnderlyingNetworks: Null] ] (release request)
12-26 13:11:55.305 2335 3578 D ConnectivityService: releasing NetworkRequest [ REQUEST id=283, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10331 RequestorUid: 10331 RequestorPkg: com.ceyhan.sets UnderlyingNetworks: Null] ] (release request)
12-26 13:11:55.305 2335 3578 D ConnectivityService: releasing NetworkRequest [ REQUEST id=286, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VCN_MANAGED Uid: 10331 RequestorUid: 10331 RequestorPkg: com.ceyhan.sets UnderlyingNetworks: Null] ] (release request)
12-26 13:11:55.322 8049 8613 D PerfEngineController: ForegroundInfo{mForegroundPackageName='com.miui.home', mForegroundUid=10084, mForegroundPid=4365, mLastForegroundPackageName='com.ceyhan.sets', mLastForegroundUid=10331, mLastForegroundPid=18811, mMultiWindowForegroundPackageName='com.miui.home', mMultiWindowForegroundUid=10084, mFlags=0}
12-26 13:11:55.322 4365 6557 D AppObserver: ForegroundInfo{mForegroundPackageName='com.miui.home', mForegroundUid=10084, mForegroundPid=4365, mLastForegroundPackageName='com.ceyhan.sets', mLastForegroundUid=10331, mLastForegroundPid=18811, mMultiWindowForegroundPackageName='com.miui.home', mMultiWindowForegroundUid=10084, mFlags=0}
12-26 13:11:55.323 6561 6625 I ProcessMonitor: onForegroundInfoChanged: ForegroundInfo{mForegroundPackageName='com.miui.home', mForegroundUid=10084, mForegroundPid=4365, mLastForegroundPackageName='com.ceyhan.sets', mLastForegroundUid=10331, mLastForegroundPid=18811, mMultiWindowForegroundPackageName='com.miui.home', mMultiWindowForegroundUid=10084, mFlags=0}
12-26 13:11:55.323 8049 8208 I ThermalInfoCollector: collectForgroundAppsInfo: com.ceyhan.sets
12-26 13:11:55.329 6561 6625 I GameBoosterService: onForegroundInfoChanged: Cur=com.miui.home last=com.ceyhan.sets
12-26 13:11:55.329 6561 6625 D GameBoosterService: onGameStatusChange foreground:ForegroundInfo{mForegroundPackageName='com.miui.home', mForegroundUid=10084, mForegroundPid=4365, mLastForegroundPackageName='com.ceyhan.sets', mLastForegroundUid=10331, mLastForegroundPid=18811, mMultiWindowForegroundPackageName='com.miui.home', mMultiWindowForegroundUid=10084, mFlags=0}
12-26 13:11:55.330 8088 8110 I GST : forePkg: com.miui.home, preForePkg: com.ceyhan.sets
What caught my attention is that all affected devices use Adreno GPU. Mostly Adreno 730. Only one of them uses Adreno 618.
Well ...
I did a test release a few minutes ago, and everything looks good on the devices that have been selected for the automated test. (the matrix is random, and we may have this issue since a while, not just recently, [if this is an issue on our side])
Unfortunately, there's no way to reproduce it even with firebase test lab, as there's no device with Adreno 730.
The traceback from logcat is just not enough to diagnose the issue,
I will close this issue, but I've added "Adreno 730" into the title, so if someone else (that owns the device) encounters this issue there's at least an hope of diagnosing it.
Thank you for your time and detailed report!
Hi @misl6
I think I figure it out. The crash is about BoxShadow effect.
I build a clean hello word app and the app opened on target devices without any issues but when I used the BoxShadow effect app crashed at launch as same I described above.
This opens on target devices:
import os
os.environ["KIVY_LOG_MODE"] = "MIXED"
from kivy.app import App
from kivy.uix.boxlayout import BoxLayout
from kivy.lang import Builder
Builder.load_string("""
<Main>:
orientation: 'vertical'
Label:
text: "hello word"
size_hint_y: None
height: dp(370)
""")
class Main(BoxLayout):
pass
class MyApp(App):
def build(self):
return Main()
if __name__ == '__main__':
MyApp().run()
This crashes on target devices:
import os
os.environ["KIVY_LOG_MODE"] = "MIXED"
from kivy.app import App
from kivy.uix.boxlayout import BoxLayout
from kivy.lang import Builder
Builder.load_string("""
<Main>:
orientation: 'vertical'
Label:
text: "hello word"
size_hint_y: None
height: dp(370)
Shadow:
<Shadow>:
canvas.before:
Color:
rgba: 1,1,1,1
BoxShadow:
pos: self.pos
size: self.size
offset: 1, -1
spread_radius: - 5
border_radius: [10,10,10,10]
blur_radius: 10
""")
class Shadow(BoxLayout):
pass
class Main(BoxLayout):
pass
class MyApp(App):
def build(self):
return Main()
if __name__ == '__main__':
MyApp().run()
Here is the full backtrace without any filter:
12-31 18:00:28.389 26328 26367 V SDL : Running main function SDL_main from library /data/app/~~ygqLQIflrOH6sblv721mYg==/org.test.test1-I4QiChD4E3XCb2qm6C2Mww==/lib/arm64/libmain.so
12-31 18:00:28.389 26328 26367 V PythonActivity: appConfirmedActive() -> preparing loading screen removal
12-31 18:00:28.389 26328 26367 V SDL : nativeRunMain()
12-31 18:00:28.389 26328 26367 I python : Initializing Python for Android
12-31 18:00:28.389 26328 26367 I python : Setting additional env vars from p4a_env_vars.txt
12-31 18:00:28.389 26328 26367 I python : Changing directory to the one provided by ANDROID_ARGUMENT
12-31 18:00:28.389 26328 26367 I python : /data/user/0/org.test.test1/files/app
12-31 18:00:28.390 26328 26367 I python : Preparing to initialize python
12-31 18:00:28.390 26328 26367 I python : _python_bundle dir exists
12-31 18:00:28.390 26328 26367 I python : calculated paths to be...
12-31 18:00:28.390 26328 26367 I python : /data/user/0/org.test.test1/files/app/_python_bundle/stdlib.zip:/data/user/0/org.test.test1/files/app/_python_bundle/modules
12-31 18:00:28.390 26328 26367 I python : set wchar paths...
12-31 18:00:28.390 5485 5485 I GoogleInputMethodService: GoogleInputMethodService.onFinishInput():3227
12-31 18:00:28.391 1420 1928 E SDM : DigitalDimmingImp::ProcessOps():123 Unsupported process op 0 input 0x748baadf60K output 0x748baadf00K
12-31 18:00:28.391 5485 5485 I GoogleInputMethodService: GoogleInputMethodService.updateDeviceLockedStatus():2087 repeatCheckTimes = 0, unlocked = true
12-31 18:00:28.391 5485 5485 I GoogleInputMethodService: GoogleInputMethodService.onStartInput():1877 onStartInput(EditorInfo{inputType=0x0(NULL) imeOptions=0x0 privateImeOptions=null actionName=UNSPECIFIED actionLabel=null actionId=0 initialSelStart=-1 initialSelEnd=-1 initialCapsMode=0x0 hintText=null label=null packageName=org.test.test1 fieldId=-1 fieldName=null extras=null}, false)
12-31 18:00:28.391 5485 5485 I GoogleInputMethodService: GoogleInputMethodService.shouldHideHeaderOnInitialState():4008 ShouldHideHeaderOnInitialState = false
12-31 18:00:28.391 5485 5485 I GoogleInputMethodService: GoogleInputMethodService.updateDeviceLockedStatus():2087 repeatCheckTimes = 2, unlocked = true
12-31 18:00:28.395 26328 26328 D DecorView[]: getWindowModeFromSystem windowmode is 1
12-31 18:00:28.395 26328 26328 D DecorView[]: updateDecorCaptionStatus displayWindowDecor is false
12-31 18:00:28.396 2585 5153 W MiuiFreeFormGesturePointerEventListener: setMiuiFreeFormTouchExcludeRegion mTouchExcludeRegion = SkRegion((0,0,1080,84)(0,2270,1080,2400))
12-31 18:00:28.397 26328 26328 D SurfaceView: UPDATE Surface(name=SurfaceView[org.test.test1/org.kivy.android.PythonActivity])/@0x46b582d, mIsProjectionMode = false
12-31 18:00:28.397 26328 26328 D SurfaceControl: nativeSetScreenProjection ===> setScreenProjection
12-31 18:00:28.397 26328 26328 D SurfaceControl: nativeSetScreenProjection ===> setScreenProjection
12-31 18:00:28.397 26328 26328 D SurfaceControl: nativeSetScreenProjection ===> setScreenProjection
12-31 18:00:28.394 26328 26328 W SDLThread: type=1400 audit(0.0:202802): avc: granted { execute } for path="/data/data/org.test.test1/files/app/_python_bundle/modules/zlib.cpython-39.so" dev="dm-17" ino=98091 scontext=u:r:untrusted_app:s0:c93,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c93,c257,c512,c768 tclass=file app=org.test.test1
12-31 18:00:28.401 2585 5153 W MiuiFreeFormGesturePointerEventListener: setMiuiFreeFormTouchExcludeRegion mTouchExcludeRegion = SkRegion((0,0,1080,84)(0,2270,1080,2400))
12-31 18:00:28.402 2585 4375 W InputManager-JNI: Input channel object '1c2aa7d Splash Screen org.test.test1 (client)' was disposed without first being removed with the input manager!
12-31 18:00:28.403 2585 4375 W MiuiFreeFormGesturePointerEventListener: setMiuiFreeFormTouchExcludeRegion mTouchExcludeRegion = SkRegion((0,0,1080,84)(0,2270,1080,2400))
12-31 18:00:28.403 2585 2734 W MiuiFreeFormGesturePointerEventListener: setMiuiFreeFormTouchExcludeRegion mTouchExcludeRegion = SkRegion((0,0,1080,84)(0,2270,1080,2400))
12-31 18:00:28.407 26328 26367 I python : Initialized python
12-31 18:00:28.407 26328 26367 I python : AND: Init threads
12-31 18:00:28.407 26328 26367 I python : testing python print redirection
12-31 18:00:28.407 26328 26367 I python : Android path ['.', '/data/user/0/org.test.test1/files/app/_python_bundle/stdlib.zip', '/data/user/0/org.test.test1/files/app/_python_bundle/modules', '/data/user/0/org.test.test1/files/app/_python_bundle/site-packages']
12-31 18:00:28.407 26328 26367 I python : os.environ is environ({'PATH': '/product/bin:/apex/com.android.runtime/bin:/apex/com.android.art/bin:/system_ext/bin:/system/bin:/system/xbin:/odm/bin:/vendor/bin:/vendor/xbin', 'ANDROID_BOOTLOGO': '1', 'ANDROID_ROOT': '/system', 'ANDROID_ASSETS': '/system/app', 'ANDROID_DATA': '/data', 'ANDROID_STORAGE': '/storage', 'ANDROID_ART_ROOT': '/apex/com.android.art', 'ANDROID_I18N_ROOT': '/apex/com.android.i18n', 'ANDROID_TZDATA_ROOT': '/apex/com.android.tzdata', 'EXTERNAL_STORAGE': '/sdcard', 'ASEC_MOUNTPOINT': '/mnt/asec', 'MEMTAG_OPTIONS': 'off', 'DOWNLOAD_CACHE': '/data/cache', 'BOOTCLASSPATH': '/apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar:/system/framework/framework.jar:/system/framework/framework-graphics.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/apex/com.android.i18n/javalib/core-icu4j.jar:/system/framework/tcmiface.jar:/system/framework/telephony-ext.jar:/system/framework/QPerformance.jar:/system/framework/UxPerformance.jar:/system/framework/WfdCommon.jar:/system/framework/miui-framework.jar:/system/framework/miui-telephony-common.jar:/apex/com.android.appsearch/javalib/framework-appsearch.jar:/apex/com.android.conscrypt/javalib/conscrypt.jar:/apex/com.android.ipsec/javalib/android.net.ipsec.ike.jar:/apex/com.android.media/javalib/updatable-media.jar:/apex/com.android.mediaprovider/javalib/framework-mediaprovider.jar:/apex/com.android.os.statsd/javalib/framework-statsd.jar:/apex/com.android.permission/javalib/framework-permission.jar:/apex/com.android.permission/javalib/framework-permission-s.jar:/apex/com.android.scheduling/javalib/framework-scheduling.jar:/apex/com.android.sdkext/javalib/framework-sdkextensions.jar:/apex/com.android.tethering/javalib/framework-connectivity.jar:/apex/com.android.tethering/javalib/framework-tethering.jar:/apex/com.android.wifi/javalib/framework-wifi.jar', 'DEX2OATBOOTCLASSPATH': '/apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar:/system/framework/framework.jar:/system/framework/framework-graphics.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/apex/com.android.i18n/javalib/core-icu4j.jar:/system/framework/tcmiface.jar:/system/framework/telephony-ext.jar:/system/framework/QPerformance.jar:/system/framework/UxPerformance.jar:/system/framework/WfdCommon.jar:/system/framework/miui-framework.jar:/system/framework/miui-telephony-common.jar', 'SYSTEMSERVERCLASSPATH': '/system/framework/com.android.location.provider.jar:/system/framework/services.jar:/system/framework/ethernet-service.jar:/system/framework/miui.services.jar:/system/framework/miui-services.jar:/apex/com.android.appsearch/javalib/service-appsearch.jar:/apex/com.android.art/javalib/service-art.jar:/apex/com.android.media/javalib/service-media-s.jar:/apex/com.android.permission/javalib/service-permission.jar', 'STANDALONE_SYSTEMSERVER_JARS': '/apex/com.android.os.statsd/javalib/service-statsd.jar:/apex/com.android.scheduling/javalib/service-scheduling.jar:/apex/com.android.tethering/javalib/service-connectivity.jar', 'ANDROID_SOCKET_zygote': '17', 'ANDROID_SOCKET_usap_pool_primary': '18', 'ANDROID_ENTRYPOINT': 'main.pyc', 'ANDROID_ARGUMENT': '/data/user/0/org.test.test1/files/app', 'ANDROID_APP_PATH': '/data/user/0/org.test.test1/files/app', 'ANDROID_PRIVATE': '/data/user/0/org.test.test1/files', 'ANDROID_UNPACK': '/data/user/0/org.test.test1/files/app', 'PYTHONHOME': '/data/user/0/org.test.test1/files/app', 'PYTHONPATH': '/data/user/0/org.test.test1/files/app:/data/user/0/org.test.test1/files/app/lib', 'PYTHONOPTIMIZE': '2', 'P4A_BOOTSTRAP': 'SDL2', 'PYTHON_NAME': 'python'
12-31 18:00:28.407 26328 26367 I python : Android kivy bootstrap done. __name__ is __main__
12-31 18:00:28.407 26328 26367 I python : AND: Ran string
12-31 18:00:28.407 26328 26367 I python : Run user program, change dir and execute entrypoint
12-31 18:00:28.410 26328 26328 W SDLThread: type=1400 audit(0.0:202803): avc: granted { execute } for path="/data/data/org.test.test1/files/app/_python_bundle/modules/_heapq.cpython-39.so" dev="dm-17" ino=314810 scontext=u:r:untrusted_app:s0:c93,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c93,c257,c512,c768 tclass=file app=org.test.test1
12-31 18:00:28.430 26328 26328 W SDLThread: type=1400 audit(0.0:202804): avc: granted { execute } for path="/data/data/org.test.test1/files/app/_python_bundle/modules/math.cpython-39.so" dev="dm-17" ino=205794 scontext=u:r:untrusted_app:s0:c93,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c93,c257,c512,c768 tclass=file app=org.test.test1
12-31 18:00:28.430 26328 26328 W SDLThread: type=1400 audit(0.0:202805): avc: granted { execute } for path="/data/data/org.test.test1/files/app/_python_bundle/modules/_queue.cpython-39.so" dev="dm-17" ino=76868 scontext=u:r:untrusted_app:s0:c93,c257,c512,c768 tcontext=u:object_r:app_data_file:s0:c93,c257,c512,c768 tclass=file app=org.test.test1
12-31 18:00:28.446 26328 26367 I python : [WARNING] [Config ] Older configuration version detected (0 instead of 25)
12-31 18:00:28.446 26328 26367 I python : [WARNING] [Config ] Upgrading configuration in progress.
12-31 18:00:28.447 26328 26367 I python : [INFO ] [Logger ] Record log in /data/user/0/org.test.test1/files/app/.kivy/logs/kivy_22-12-31_0.txt
12-31 18:00:28.447 26328 26367 I python : [INFO ] [Kivy ] v2.2.0.dev0
12-31 18:00:28.447 26328 26367 I python : [INFO ] [Kivy ] Installed at "/data/user/0/org.test.test1/files/app/_python_bundle/site-packages/kivy/__init__.pyc"
12-31 18:00:28.447 26328 26367 I python : [INFO ] [Python ] v3.9.9 (main, Dec 31 2022, 19:35:13)
12-31 18:00:28.447 26328 26367 I python : [Clang 14.0.6 (https://android.googlesource.com/toolchain/llvm-project 4c603efb
12-31 18:00:28.447 26328 26367 I python : [INFO ] [Python ] Interpreter at ""
12-31 18:00:28.448 26328 26367 I python : [INFO ] [Logger ] Purge log fired. Processing...
12-31 18:00:28.448 26328 26367 I python : [INFO ] [Logger ] Purge finished!
12-31 18:00:28.564 2585 2734 W MiuiFreeFormGesturePointerEventListener: setMiuiFreeFormTouchExcludeRegion mTouchExcludeRegion = SkRegion((0,0,1080,84)(0,2270,1080,2400))
12-31 18:00:28.571 2585 2734 W MiuiFreeFormGesturePointerEventListener: setMiuiFreeFormTouchExcludeRegion mTouchExcludeRegion = SkRegion((0,0,1080,84)(0,2270,1080,2400))
12-31 18:00:28.654 2585 2731 D Aurogon : uid = 10116 switch to BG
12-31 18:00:28.662 2585 2734 W MiuiFreeFormGesturePointerEventListener: setMiuiFreeFormTouchExcludeRegion mTouchExcludeRegion = SkRegion((0,0,1080,84)(0,2270,1080,2400))
12-31 18:00:28.664 2585 5153 W MiuiFreeFormGesturePointerEventListener: setMiuiFreeFormTouchExcludeRegion mTouchExcludeRegion = SkRegion((0,0,1080,84)(0,2270,1080,2400))
12-31 18:00:28.665 26328 26367 I python : [INFO ] [Factory ] 190 symbols loaded
12-31 18:00:28.666 26142 26142 D BroadcastExecutor: BroadcastExecutor : 2
12-31 18:00:28.672 26142 26142 I ackageinstalle: System.exit called, status: 0
12-31 18:00:28.672 26142 26142 I AndroidRuntime: VM exiting with result code 0, cleanup skipped.
12-31 18:00:28.711 2585 7508 I ActivityManager: Process com.miui.global.packageinstaller (pid 26142) has died: cch+5 CEM
12-31 18:00:28.711 2585 4380 I WindowManager: WIN DEATH: Window{8fda754 u0 com.miui.global.packageinstaller/com.miui.global.packageinstaller.GlobalPackageInstallerActivity}
12-31 18:00:28.711 2585 4380 W InputManager-JNI: Input channel object '8fda754 com.miui.global.packageinstaller/com.miui.global.packageinstaller.GlobalPackageInstallerActivity (client)' was disposed without first being removed with the input manager!
12-31 18:00:28.711 2585 2750 I libprocessgroup: Successfully killed process cgroup uid 10116 pid 26142 in 0ms
12-31 18:00:28.712 2585 7508 D ActivityManagerServiceImpl: Service controller is not enabled.
12-31 18:00:28.713 1306 1306 I Zygote : Process 26142 exited cleanly (0)
12-31 18:00:28.713 2585 4380 W MiuiFreeFormGesturePointerEventListener: setMiuiFreeFormTouchExcludeRegion mTouchExcludeRegion = SkRegion((0,0,1080,84)(0,2270,1080,2400))
12-31 18:00:28.713 2585 7508 D ProcessRecordInjector: Finishing reporting clean up app record.
12-31 18:00:28.714 15941 15941 D BoundBrokerSvc: onUnbind: Intent { act=com.google.android.gms.measurement.START pkg=com.google.android.gms }
12-31 18:00:28.716 2585 3206 I MiuiNetworkPolicy: removeUidState uid = 10116
12-31 18:00:28.718 2585 2734 W ActivityTaskManager: Can't find TaskDisplayArea to determine support for multi window. Task id=15173 attached=false
12-31 18:00:28.718 2585 2734 W ActivityTaskManager: Can't find TaskDisplayArea to determine support for multi window. Task id=15173 attached=false
12-31 18:00:28.718 2585 2734 W MiuiFreeFormGesturePointerEventListener: setMiuiFreeFormTouchExcludeRegion mTouchExcludeRegion = SkRegion((0,0,1080,84)(0,2270,1080,2400))
12-31 18:00:28.718 2585 2733 W ActivityManager: setHasOverlayUi called on unknown pid: 26142
12-31 18:00:28.719 1588 1588 E BpTransactionCompletedListener: Failed to transact (-32)
12-31 18:00:28.748 26328 26367 I python : [INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2 (img_pil, img_ffpyplayer ignored)
12-31 18:00:28.763 26328 26367 I python : [INFO ] [Window ] Provider: sdl2
12-31 18:00:28.768 26328 26367 V hidapi : initialize(true, false)
12-31 18:00:28.770 26328 26367 V SDL : setOrientation() requestedOrientation=10 width=800 height=600 resizable=true hint=
12-31 18:00:28.771 2585 7508 D MiuiMultiWindowAdapter: MiuiMultiWindowAdapter::getFreeformIgnoreRequestOrientationList= [com.miui.player, com.sqw.setdl.mi, air.tv.douyu.android, com.youku.phone, com.tencent.gamehelper.smoba, com.taobao.litetao, com.live.shuoqiudi, com.baidu.homework, com.tencent.qqmusic, cn.xiaochuankeji.zuiyouLite, com.facebook.orca, com.android.browser]
12-31 18:00:28.771 2585 7508 D ActivityTaskManager: setRequestedOrientationFreeForm: requestedOrientation= 10 task=Task{37e18e6 #15174 type=standard A=10349:org.test.test1 U=0 visible=true mode=fullscreen translucent=false sz=1} MiuiFreeformServicesUtils.getFreeformIgnoreRequestOrientationList()= [com.miui.player, com.sqw.setdl.mi, air.tv.douyu.android, com.youku.phone, com.tencent.gamehelper.smoba, com.taobao.litetao, com.live.shuoqiudi, com.baidu.homework, com.tencent.qqmusic, cn.xiaochuankeji.zuiyouLite, com.facebook.orca, com.android.browser]packageName= org.test.test1
12-31 18:00:28.771 26328 26367 I SDL/APP : pixel format wanted SDL_PIXELFORMAT_RGBA8888 (1), got SDL_PIXELFORMAT_RGBA8888 (1)
12-31 18:00:28.772 26328 26367 I python : [INFO ] [GL ] Using the "OpenGL ES 2" graphics system
12-31 18:00:28.774 2585 4380 W MiuiFreeFormGesturePointerEventListener: setMiuiFreeFormTouchExcludeRegion mTouchExcludeRegion = SkRegion((0,0,1080,84)(0,2270,1080,2400))
12-31 18:00:28.775 26328 26367 I python : [INFO ] [GL ] Backend used <sdl2>
12-31 18:00:28.775 26328 26367 I python : [INFO ] [GL ] OpenGL version <b'OpenGL ES 3.2 V@0615.0 (GIT@3923ca971f, If79cb9deae, 1647849031) (Date:03/21/22)'>
12-31 18:00:28.775 26328 26367 I python : [INFO ] [GL ] OpenGL vendor <b'Qualcomm'>
12-31 18:00:28.775 26328 26367 I python : [INFO ] [GL ] OpenGL renderer <b'Adreno (TM) 730'>
12-31 18:00:28.776 26328 26367 I python : [INFO ] [GL ] OpenGL parsed version: 3, 2
12-31 18:00:28.776 26328 26367 I python : [INFO ] [GL ] Texture max size <16384>
12-31 18:00:28.776 26328 26367 I python : [INFO ] [GL ] Texture max units <16>
12-31 18:00:28.782 2585 4380 W MiuiFreeFormGesturePointerEventListener: setMiuiFreeFormTouchExcludeRegion mTouchExcludeRegion = SkRegion((0,0,1080,84)(0,2270,1080,2400))
12-31 18:00:28.792 26328 26367 I python : [INFO ] [Window ] auto add sdl2 input provider
12-31 18:00:28.792 26328 26367 I python : [INFO ] [Window ] virtual keyboard not allowed, single mode, not docked
12-31 18:00:28.795 26328 26367 I python : [INFO ] [Text ] Provider: sdl2
12-31 18:00:28.811 2585 2734 W MiuiFreeFormGesturePointerEventListener: setMiuiFreeFormTouchExcludeRegion mTouchExcludeRegion = SkRegion((0,0,1080,84)(0,2270,1080,2400))
12-31 18:00:28.811 2585 2734 W MiuiFreeFormGesturePointerEventListener: setMiuiFreeFormTouchExcludeRegion mTouchExcludeRegion = SkRegion((0,0,1080,84)(0,2270,1080,2400))
12-31 18:00:28.814 26328 26367 I python : [INFO ] [GL ] NPOT texture support is available
12-31 18:00:28.818 2585 2734 W MiuiFreeFormGesturePointerEventListener: setMiuiFreeFormTouchExcludeRegion mTouchExcludeRegion = SkRegion((0,0,1080,84)(0,2270,1080,2400))
12-31 18:00:28.823 26328 26367 I python : [WARNING] [Base ] Unknown <android> provider
12-31 18:00:28.823 26328 26367 I python : [INFO ] [Base ] Start application main loop
12-31 18:00:28.824 2325 2338 I mstatdaemon: Entering time loop
12-31 18:00:28.824 2325 2338 I mstatdaemon: t = 1672509628
12-31 18:00:28.824 2325 2338 I mstatdaemon: translated_t = 1356519628
12-31 18:00:28.824 2325 2338 I mstat_log: mstatcommitLog log_alloc() failed
12-31 18:00:28.825 2585 4380 W MiuiFreeFormGesturePointerEventListener: setMiuiFreeFormTouchExcludeRegion mTouchExcludeRegion = SkRegion((0,0,1080,84)(0,2270,1080,2400))
12-31 18:00:28.830 26328 26367 F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x40 in tid 26367 (SDLThread), pid 26328 (SDLActivity)
12-31 18:00:28.869 26378 26378 I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstoneProto
12-31 18:00:28.869 1028 1028 I tombstoned: received crash request for pid 26367
12-31 18:00:28.870 26378 26378 I crash_dump64: performing dump of process 26328 (target tid = 26367)
12-31 18:00:28.874 26378 26378 E DEBUG : failed to read /proc/uptime: Permission denied
12-31 18:00:28.888 1420 1497 I MiStcImpl: Dispatching command: 14 SET_IGC_DITHER
12-31 18:00:28.888 1420 1497 E MiStcImpl: Seting Display 0 dither en 0 strength 5
12-31 18:00:28.892 1420 1928 E SDM : DigitalDimmingImp::ProcessOps():123 Unsupported process op 0 input 0x748baadf60K output 0x748baadf00K
12-31 18:00:28.938 26378 26378 W unwind : Failed to initialize DEX file support: dlopen failed: library "libdexfile.so" not found
12-31 18:00:29.012 26378 26378 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
12-31 18:00:29.012 26378 26378 F DEBUG : Build fingerprint: 'POCO/ingres_eea/ingres:12/SKQ1.211006.001/V13.0.12.0.SLJEUXM:user/release-keys'
12-31 18:00:29.012 26378 26378 F DEBUG : Revision: '0'
12-31 18:00:29.012 26378 26378 F DEBUG : ABI: 'arm64'
12-31 18:00:29.012 26378 26378 F DEBUG : Timestamp: 2022-12-31 18:00:28.874564536+0000
12-31 18:00:29.012 26378 26378 F DEBUG : Process uptime: 0s
12-31 18:00:29.012 26378 26378 F DEBUG : Cmdline: org.test.test1
12-31 18:00:29.012 26378 26378 F DEBUG : pid: 26328, tid: 26367, name: SDLThread >>> org.test.test1 <<<
12-31 18:00:29.012 26378 26378 F DEBUG : uid: 10349
12-31 18:00:29.012 26378 26378 F DEBUG : tagged_addr_ctrl: 0000000000000001
12-31 18:00:29.012 26378 26378 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x40
12-31 18:00:29.012 26378 26378 F DEBUG : Cause: null pointer dereference
12-31 18:00:29.012 26378 26378 F DEBUG : x0 b40000707baa5100 x1 b40000706081b300 x2 00000070df5ef220 x3 00000070df5ef220
12-31 18:00:29.012 26378 26378 F DEBUG : x4 00000070df5ef428 x5 0000000000000004 x6 0000000000000000 x7 0000000000000000
12-31 18:00:29.012 26378 26378 F DEBUG : x8 00000070df5ef104 x9 0000000000000000 x10 0000000000000003 x11 b40000706081b3bc
12-31 18:00:29.012 26378 26378 F DEBUG : x12 b40000707baa75b4 x13 0000000000000000 x14 0000000000000000 x15 0000000000000000
12-31 18:00:29.012 26378 26378 F DEBUG : x16 0000000000000000 x17 000000718d2cb8e0 x18 0000000000000000 x19 00000070df5ef220
12-31 18:00:29.012 26378 26378 F DEBUG : x20 b40000706081b300 x21 b40000707baa5100 x22 0000000000000000 x23 b40000707bab0cc4
12-31 18:00:29.012 26378 26378 F DEBUG : x24 0000000000004474 x25 0000000000000001 x26 0000000000000000 x27 0000000000000068
12-31 18:00:29.012 26378 26378 F DEBUG : x28 0000000000000001 x29 00000070df5ef110
12-31 18:00:29.012 26378 26378 F DEBUG : lr 00000070cc872cc8 sp 00000070df5ef0e0 pc 00000070cc865ae8 pst 0000000060001000
12-31 18:00:29.012 26378 26378 F DEBUG : backtrace:
12-31 18:00:29.012 26378 26378 F DEBUG : NOTE: Function names and BuildId information is missing for some frames due
12-31 18:00:29.012 26378 26378 F DEBUG : NOTE: to unreadable libraries. For unwinds of apps, only shared libraries
12-31 18:00:29.012 26378 26378 F DEBUG : NOTE: found under the lib/ directory are readable.
12-31 18:00:29.012 26378 26378 F DEBUG : NOTE: On this device, run setenforce 0 to make the libraries readable.
12-31 18:00:29.012 26378 26378 F DEBUG : #00 pc 00000000001ebae8 /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!37dd345396092d519add56c82077b6!3923ca971f!+296) (BuildId: d013a02a04006f339ad88935a9b8e803)
12-31 18:00:29.012 26378 26378 F DEBUG : #01 pc 00000000001f8cc4 /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!9d2340256df89912f04e05d7f782e6!3923ca971f!+1388) (BuildId: d013a02a04006f339ad88935a9b8e803)
12-31 18:00:29.012 26378 26378 F DEBUG : #02 pc 00000000001f8734 /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!e114df8606e4f838536d985ffc10f8!3923ca971f!+20) (BuildId: d013a02a04006f339ad88935a9b8e803)
12-31 18:00:29.012 26378 26378 F DEBUG : #03 pc 000000000019182c /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!6b200851123c7898055fe62ff9f71f!3923ca971f!+2452) (BuildId: d013a02a04006f339ad88935a9b8e803)
12-31 18:00:29.012 26378 26378 F DEBUG : #04 pc 000000000018fdc4 /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!77df12deb6a622478efa8fb9929034!3923ca971f!+564) (BuildId: d013a02a04006f339ad88935a9b8e803)
12-31 18:00:29.012 26378 26378 F DEBUG : #05 pc 000000000000ae20 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/vbo.so
12-31 18:00:29.012 26378 26378 F DEBUG : #06 pc 0000000000014424 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-31 18:00:29.012 26378 26378 F DEBUG : #07 pc 0000000000008418 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-31 18:00:29.012 26378 26378 F DEBUG : #08 pc 0000000000012230 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-31 18:00:29.012 26378 26378 F DEBUG : #09 pc 0000000000011a70 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-31 18:00:29.012 26378 26378 F DEBUG : #10 pc 0000000000014abc /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-31 18:00:29.012 26378 26378 F DEBUG : #11 pc 0000000000015fe4 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-31 18:00:29.012 26378 26378 F DEBUG : #12 pc 000000000000c568 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/fbo.so
12-31 18:00:29.012 26378 26378 F DEBUG : #13 pc 0000000000008418 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-31 18:00:29.012 26378 26378 F DEBUG : #14 pc 0000000000012230 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-31 18:00:29.012 26378 26378 F DEBUG : #15 pc 0000000000011a70 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-31 18:00:29.012 26378 26378 F DEBUG : #16 pc 0000000000008418 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-31 18:00:29.012 26378 26378 F DEBUG : #17 pc 0000000000012230 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-31 18:00:29.012 26378 26378 F DEBUG : #18 pc 0000000000011a70 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-31 18:00:29.012 26378 26378 F DEBUG : #19 pc 0000000000014abc /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-31 18:00:29.012 26378 26378 F DEBUG : #20 pc 0000000000008418 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-31 18:00:29.012 26378 26378 F DEBUG : #21 pc 0000000000012230 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-31 18:00:29.012 26378 26378 F DEBUG : #22 pc 0000000000011a70 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-31 18:00:29.012 26378 26378 F DEBUG : #23 pc 0000000000014abc /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-31 18:00:29.012 26378 26378 F DEBUG : #24 pc 0000000000008418 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-31 18:00:29.012 26378 26378 F DEBUG : #25 pc 0000000000012230 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-31 18:00:29.012 26378 26378 F DEBUG : #26 pc 0000000000011a70 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-31 18:00:29.012 26378 26378 F DEBUG : #27 pc 0000000000014abc /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-31 18:00:29.012 26378 26378 F DEBUG : #28 pc 0000000000008418 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
12-31 18:00:29.012 26378 26378 F DEBUG : #29 pc 0000000000012230 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-31 18:00:29.012 26378 26378 F DEBUG : #30 pc 0000000000011a70 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-31 18:00:29.012 26378 26378 F DEBUG : #31 pc 0000000000014abc /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-31 18:00:29.012 26378 26378 F DEBUG : #32 pc 0000000000015fe4 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-31 18:00:29.012 26378 26378 F DEBUG : #33 pc 00000000000205d8 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
12-31 18:00:29.012 26378 26378 F DEBUG : #34 pc 0000000000166fe8 /data/app/~~ygqLQIflrOH6sblv721mYg==/org.test.test1-I4QiChD4E3XCb2qm6C2Mww==/lib/arm64/libpython3.9.so
12-31 18:00:29.012 26378 26378 F DEBUG : #35 pc 000000000022bcf0 /data/app/~~ygqLQIflrOH6sblv721mYg==/org.test.test1-I4QiChD4E3XCb2qm6C2Mww==/lib/arm64/libpython3.9.so
12-31 18:00:29.012 26378 26378 F DEBUG : #36 pc 0000000000228cd8 /data/app/~~ygqLQIflrOH6sblv721mYg==/org.test.test1-I4QiChD4E3XCb2qm6C2Mww==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+9972)
12-31 18:00:29.012 26378 26378 F DEBUG : #37 pc 000000000015e60c /data/app/~~ygqLQIflrOH6sblv721mYg==/org.test.test1-I4QiChD4E3XCb2qm6C2Mww==/lib/arm64/libpython3.9.so
12-31 18:00:29.012 26378 26378 F DEBUG : #38 pc 0000000000160a24 /data/app/~~ygqLQIflrOH6sblv721mYg==/org.test.test1-I4QiChD4E3XCb2qm6C2Mww==/lib/arm64/libpython3.9.so
12-31 18:00:29.012 26378 26378 F DEBUG : #39 pc 00000000000259d8 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/_event.so
12-31 18:00:29.012 26378 26378 F DEBUG : #40 pc 0000000000166b74 /data/app/~~ygqLQIflrOH6sblv721mYg==/org.test.test1-I4QiChD4E3XCb2qm6C2Mww==/lib/arm64/libpython3.9.so
12-31 18:00:29.012 26378 26378 F DEBUG : #41 pc 000000000022bcf0 /data/app/~~ygqLQIflrOH6sblv721mYg==/org.test.test1-I4QiChD4E3XCb2qm6C2Mww==/lib/arm64/libpython3.9.so
12-31 18:00:29.012 26378 26378 F DEBUG : #42 pc 0000000000228cd8 /data/app/~~ygqLQIflrOH6sblv721mYg==/org.test.test1-I4QiChD4E3XCb2qm6C2Mww==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+9972)
12-31 18:00:29.012 26378 26378 F DEBUG : #43 pc 000000000015e60c /data/app/~~ygqLQIflrOH6sblv721mYg==/org.test.test1-I4QiChD4E3XCb2qm6C2Mww==/lib/arm64/libpython3.9.so
12-31 18:00:29.012 26378 26378 F DEBUG : #44 pc 000000000022bcf0 /data/app/~~ygqLQIflrOH6sblv721mYg==/org.test.test1-I4QiChD4E3XCb2qm6C2Mww==/lib/arm64/libpython3.9.so
12-31 18:00:29.012 26378 26378 F DEBUG : #45 pc 0000000000228cd8 /data/app/~~ygqLQIflrOH6sblv721mYg==/org.test.test1-I4QiChD4E3XCb2qm6C2Mww==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+9972)
12-31 18:00:29.012 26378 26378 F DEBUG : #46 pc 000000000015e60c /data/app/~~ygqLQIflrOH6sblv721mYg==/org.test.test1-I4QiChD4E3XCb2qm6C2Mww==/lib/arm64/libpython3.9.so
12-31 18:00:29.012 26378 26378 F DEBUG : #47 pc 000000000022bcf0 /data/app/~~ygqLQIflrOH6sblv721mYg==/org.test.test1-I4QiChD4E3XCb2qm6C2Mww==/lib/arm64/libpython3.9.so
12-31 18:00:29.012 26378 26378 F DEBUG : #48 pc 0000000000228cd8 /data/app/~~ygqLQIflrOH6sblv721mYg==/org.test.test1-I4QiChD4E3XCb2qm6C2Mww==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+9972)
12-31 18:00:29.012 26378 26378 F DEBUG : #49 pc 000000000015e60c /data/app/~~ygqLQIflrOH6sblv721mYg==/org.test.test1-I4QiChD4E3XCb2qm6C2Mww==/lib/arm64/libpython3.9.so
12-31 18:00:29.012 26378 26378 F DEBUG : #50 pc 000000000022bcf0 /data/app/~~ygqLQIflrOH6sblv721mYg==/org.test.test1-I4QiChD4E3XCb2qm6C2Mww==/lib/arm64/libpython3.9.so
12-31 18:00:29.012 26378 26378 F DEBUG : #51 pc 0000000000229cb4 /data/app/~~ygqLQIflrOH6sblv721mYg==/org.test.test1-I4QiChD4E3XCb2qm6C2Mww==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+14032)
12-31 18:00:29.012 26378 26378 F DEBUG : #52 pc 000000000015e60c /data/app/~~ygqLQIflrOH6sblv721mYg==/org.test.test1-I4QiChD4E3XCb2qm6C2Mww==/lib/arm64/libpython3.9.so
12-31 18:00:29.012 26378 26378 F DEBUG : #53 pc 000000000022bcf0 /data/app/~~ygqLQIflrOH6sblv721mYg==/org.test.test1-I4QiChD4E3XCb2qm6C2Mww==/lib/arm64/libpython3.9.so
12-31 18:00:29.012 26378 26378 F DEBUG : #54 pc 0000000000228cd8 /data/app/~~ygqLQIflrOH6sblv721mYg==/org.test.test1-I4QiChD4E3XCb2qm6C2Mww==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+9972)
12-31 18:00:29.012 26378 26378 F DEBUG : #55 pc 000000000022cccc /data/app/~~ygqLQIflrOH6sblv721mYg==/org.test.test1-I4QiChD4E3XCb2qm6C2Mww==/lib/arm64/libpython3.9.so
12-31 18:00:29.012 26378 26378 F DEBUG : #56 pc 0000000000226510 /data/app/~~ygqLQIflrOH6sblv721mYg==/org.test.test1-I4QiChD4E3XCb2qm6C2Mww==/lib/arm64/libpython3.9.so (PyEval_EvalCode+76)
12-31 18:00:29.012 26378 26378 F DEBUG : #57 pc 0000000000266f3c /data/app/~~ygqLQIflrOH6sblv721mYg==/org.test.test1-I4QiChD4E3XCb2qm6C2Mww==/lib/arm64/libpython3.9.so (PyRun_SimpleFileExFlags+1192)
12-31 18:00:29.012 26378 26378 F DEBUG : #58 pc 00000000000026e0 /data/app/~~ygqLQIflrOH6sblv721mYg==/org.test.test1-I4QiChD4E3XCb2qm6C2Mww==/lib/arm64/libmain.so (SDL_main+2664) (BuildId: 8f53bc1713f1c232f0bbe2adb620139a720e4598)
12-31 18:00:29.012 26378 26378 F DEBUG : #59 pc 00000000000b01e0 /data/app/~~ygqLQIflrOH6sblv721mYg==/org.test.test1-I4QiChD4E3XCb2qm6C2Mww==/lib/arm64/libSDL2.so (Java_org_libsdl_app_SDLActivity_nativeRunMain+772) (BuildId: 518f073d32235881c496f4d0dbc86c2003b4ce3c)
12-31 18:00:29.012 26378 26378 F DEBUG : #60 pc 000000000043dd54 /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+148) (BuildId: a49c773ef6221a996ecea990e9753caa)
12-31 18:00:29.012 26378 26378 F DEBUG : #61 pc 0000000000209398 /apex/com.android.art/lib64/libart.so (nterp_helper+152) (BuildId: a49c773ef6221a996ecea990e9753caa)
12-31 18:00:29.012 26378 26378 F DEBUG : #62 pc 000000000000c47a [anon:dalvik-classes3.dex extracted in memory from /data/app/~~ygqLQIflrOH6sblv721mYg==/org.test.test1-I4QiChD4E3XCb2qm6C2Mww==/base.apk!classes3.dex]
12-31 18:00:29.012 26378 26378 F DEBUG : #63 pc 000000000020b074 /apex/com.android.art/lib64/libart.so (nterp_helper+7540) (BuildId: a49c773ef6221a996ecea990e9753caa)
12-31 18:00:29.012 26378 26378 F DEBUG : #64 pc 00000000000f6740 /apex/com.android.art/javalib/core-oj.jar
12-31 18:00:29.012 26378 26378 F DEBUG : #65 pc 000000000043436c /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+556) (BuildId: a49c773ef6221a996ecea990e9753caa)
12-31 18:00:29.012 26378 26378 F DEBUG : #66 pc 0000000000466138 /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+156) (BuildId: a49c773ef6221a996ecea990e9753caa)
12-31 18:00:29.012 26378 26378 F DEBUG : #67 pc 0000000000465e20 /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, jvalue const*)+388) (BuildId: a49c773ef6221a996ecea990e9753caa)
12-31 18:00:29.012 26378 26378 F DEBUG : #68 pc 0000000000613e74 /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void*)+1668) (BuildId: a49c773ef6221a996ecea990e9753caa)
12-31 18:00:29.012 26378 26378 F DEBUG : #69 pc 00000000000f0d34 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264) (BuildId: aec8135f170446601ecfbb3a8984afdb)
12-31 18:00:29.012 26378 26378 F DEBUG : #70 pc 000000000008d57c /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68) (BuildId: aec8135f170446601ecfbb3a8984afdb)
12-31 18:00:29.026 26378 26378 E crash_dump64: cannot open system/lib64/libmiuindbg.so: Permission denied
12-31 18:00:29.027 982 985 W TombstoneMonitor: Detected deletd file: tombstone_25
12-31 18:00:29.027 2585 26384 I DropBoxManagerService: add tag=data_app_native_crash isTagEnabled=true flags=0x2
12-31 18:00:29.028 982 985 W TombstoneMonitor: Detected creat or modify file: tombstone_25
12-31 18:00:29.028 1028 1028 E tombstoned: Tombstone written to: tombstone_25
12-31 18:00:29.028 982 985 W TombstoneMonitor: Detected deletd file: tombstone_25.pb
12-31 18:00:29.028 982 985 W TombstoneMonitor: Detected creat or modify file: tombstone_25.pb
12-31 18:00:29.029 2585 26383 W ActivityTaskManager: Force finishing activity org.test.test1/org.kivy.android.PythonActivity
Ouch, let's re-open the issue then.
Is still happening only on Adreno 730 devices?
Ouch, let's re-open the issue then.
Is still happening only on Adreno 730 devices?
Yes
At least so far. But I'll check affected devices list again.
@DexerBR maybe you have a clue about the root cause without even starting an investigation?
@yunus-ceyhan @misl6 This issue seems to be related to some bug in Adreno GPU drivers.
I've seen this issue before on the Adreno 505 GPU. As a workaround I needed to use a blending technique between texture2D and color to prevent the fragment shader from breaking on the target GPU. Because returning a color causes the code to break, but returning the texture does not.
For example:
Code that breaks:
vec4 color = vec4(1.0, 0.0, 1.0, 1.0);
gl_FragColor = color;
Code that compiles successfully:
vec4 texture = texture2D(texture0, tex_coord0);
gl_FragColor = texture;
Workaround:
vec4 texture = texture2D(texture0, tex_coord0);
vec4 color = vec4(1.0, 0.0, 1.0, 1.0);
gl_FragColor = mix(texture, color, 1.0);
As I'm almost convinced that the problem is in Adreno GPU drivers, I don't think there's much that can be done about it (since there are similar reported issues, in other frameworks/apps that use OpenGL on these Adreno GPUs, in other words, this is not a specific problem with Kivy).
What would be the possible solutions to this issue:
1 - I'm not sure if this issue is present in OpenGL ES 2.0 and 3.0 drivers on Adreno GPUs. Sticking to OpenGL ES >= 3.0 on these devices could be the solution?
2 - Considering that it was possible to use a workaround (the same way it was done for Adreno 505 GPU), would it be possible to adjust the shader and do the same for the Adreno 730 (and others)?
3 - Is there anything that could be done in the implementation of Shader/Fbo/RenderContext in Kivy to prevent issues like these from occurring?
These are just a some hypotheses, but there may be others.
Below is code that can be used to test the Fbo + Fragment Shader combination on the devices where the issue occurs. Note: The code below is cross-platform and does not need to be compiled.
main.py
from kivy.app import App
from kivy.uix.floatlayout import FloatLayout
from kivy.graphics import Fbo, Rectangle
# Red rectangle
shader_fs = '''
#ifdef GL_ES
precision highp float;
#endif
/* Outputs from the vertex shader */
varying vec4 frag_color;
varying vec2 tex_coord0;
/* uniform texture samplers */
uniform sampler2D texture0;
void main(void)
{
// return color
//vec4 color = vec4(1.0, 0.0, 0.0, 1.0);
//gl_FragColor = color;
// return texture2D
//vec4 texture = texture2D(texture0, tex_coord0);
//gl_FragColor = texture;
// return texture2D + color
vec4 texture = texture2D(texture0, tex_coord0);
vec4 color = vec4(1.0, 0.0, 0.0, 1.0);
gl_FragColor = mix(texture, color, 1.0);
}
'''
class ShaderWidget(FloatLayout):
def on_size(self, instance, value):
with self.canvas:
self._rect = Rectangle(size=value)
self._fbo = Fbo(size=value)
self._fbo.add(self._rect)
self._rect.texture = self._fbo.texture
shader = self._fbo.shader
old_value = shader.fs
shader.fs = shader_fs
if not shader.success:
shader.fs = old_value
raise Exception('failed')
self._fbo.ask_update()
class TestShader(App):
def build(self):
return ShaderWidget()
if __name__ == '__main__':
TestShader().run()
Edit: The code above is a minimal code intended for investigation/implementation/testing.
@DexerBR This one crashes too. Also, all affected devices have OpenGL ES 3.2
from kivy.app import App
from kivy.uix.floatlayout import FloatLayout
from kivy.graphics import Fbo, Rectangle
# Red rectangle
shader_fs = '''
#ifdef GL_ES
precision highp float;
#endif
/* Outputs from the vertex shader */
varying vec4 frag_color;
varying vec2 tex_coord0;
/* uniform texture samplers */
uniform sampler2D texture0;
void main(void)
{
// return color
//vec4 color = vec4(1.0, 0.0, 0.0, 1.0);
//gl_FragColor = color;
// return texture2D
//vec4 texture = texture2D(texture0, tex_coord0);
//gl_FragColor = texture;
// return texture2D + color
vec4 texture = texture2D(texture0, tex_coord0);
vec4 color = vec4(1.0, 0.0, 0.0, 1.0);
gl_FragColor = mix(texture, color, 1.0);
}
'''
class ShaderWidget(FloatLayout):
def on_size(self, instance, value):
with self.canvas:
self._rect = Rectangle(size=value)
self._fbo = Fbo(size=value)
self._fbo.add(self._rect)
self._rect.texture = self._fbo.texture
shader = self._fbo.shader
old_value = shader.fs
shader.fs = shader_fs
if not shader.success:
shader.fs = old_value
raise Exception('failed')
self._fbo.ask_update()
class TestShader(App):
def build(self):
return ShaderWidget()
if __name__ == '__main__':
TestShader().run()
@DexerBR This one crashes too. Also, all affected devices have OpenGL ES 3.2
from kivy.app import App from kivy.uix.floatlayout import FloatLayout from kivy.graphics import Fbo, Rectangle # Red rectangle shader_fs = ''' #ifdef GL_ES precision highp float; #endif /* Outputs from the vertex shader */ varying vec4 frag_color; varying vec2 tex_coord0; /* uniform texture samplers */ uniform sampler2D texture0; void main(void) { // return color //vec4 color = vec4(1.0, 0.0, 0.0, 1.0); //gl_FragColor = color; // return texture2D //vec4 texture = texture2D(texture0, tex_coord0); //gl_FragColor = texture; // return texture2D + color vec4 texture = texture2D(texture0, tex_coord0); vec4 color = vec4(1.0, 0.0, 0.0, 1.0); gl_FragColor = mix(texture, color, 1.0); } ''' class ShaderWidget(FloatLayout): def on_size(self, instance, value): with self.canvas: self._rect = Rectangle(size=value) self._fbo = Fbo(size=value) self._fbo.add(self._rect) self._rect.texture = self._fbo.texture shader = self._fbo.shader old_value = shader.fs shader.fs = shader_fs if not shader.success: shader.fs = old_value raise Exception('failed') self._fbo.ask_update() class TestShader(App): def build(self): return ShaderWidget() if __name__ == '__main__': TestShader().run()
This code I provided was just minimal executable code for iteration between investigation/implementation/testing.
I recommend taking a look at what I wrote about workarounds, the solution might be there.
For example, replace the shader fragment's main function with the code below and see how it behaves, and so on...
void main(void)
{
// return color
//vec4 color = vec4(1.0, 0.0, 0.0, 1.0);
//gl_FragColor = color;
// return texture2D
vec4 texture = texture2D(texture0, tex_coord0);
gl_FragColor = texture;
// return texture2D + color
//vec4 texture = texture2D(texture0, tex_coord0);
//vec4 color = vec4(1.0, 0.0, 0.0, 1.0);
//gl_FragColor = mix(texture, color, 1.0);
}
@DexerBR Actually I don't have any device with Adreno 730. I'm just asking people who have that issue to make a test for me. I have already made them test more than 10 version so far and I don't know how much credit I have that they continue to do it so.
This one opens..
void main(void)
{
// return color
//vec4 color = vec4(1.0, 0.0, 0.0, 1.0);
//gl_FragColor = color;
// return texture2D
vec4 texture = texture2D(texture0, tex_coord0);
gl_FragColor = texture;
// return texture2D + color
//vec4 texture = texture2D(texture0, tex_coord0);
//vec4 color = vec4(1.0, 0.0, 0.0, 1.0);
//gl_FragColor = mix(texture, color, 1.0);
}
This one crashes.
void main(void)
{
// return color
vec4 color = vec4(1.0, 0.0, 0.0, 1.0);
gl_FragColor = color;
// return texture2D
//vec4 texture = texture2D(texture0, tex_coord0);
//gl_FragColor = texture;
// return texture2D + color
//vec4 texture = texture2D(texture0, tex_coord0);
//vec4 color = vec4(1.0, 0.0, 0.0, 1.0);
//gl_FragColor = mix(texture, color, 1.0);
}
@yunus-ceyhan Could you test with the code below?
void main(void)
{
vec4 texture = texture2D(texture0, tex_coord0);
vec4 color = vec4(1.0, 0.0, 0.0, 1.0);
gl_FragColor = texture + color;
}
@yunus-ceyhan Could you test with the code below?
void main(void) { vec4 texture = texture2D(texture0, tex_coord0); vec4 color = vec4(1.0, 0.0, 0.0, 1.0); gl_FragColor = texture + color; }
This one is opening with a red screen.
This issue was also on kivymd when it was using shader for shadow. Issue also persists on Redmi Note 4(Uses SD625). See https://github.com/kivymd/KivyMD/issues/1352 Also same shader compile on this app https://github.com/markusfisch/ShaderEditor
So the issue seems to occur with GPUs:
@yunus-ceyhan Can you confirm that this issue does not occur on Adreno 618?
If the same fragment shader compiles successfully in that app, there is a high probability that there is a bug in the Shader/Fbo/RenderContext implementation of Kivy. Or perhaps there is a missing implementation of a workaround to avoid this issue.
@yunus-ceyhan @T-Dynamos As a final test, can you confirm that the app opens and displays a semi-transparent red rectangle with the code below?
from kivy.app import App
from kivy.uix.floatlayout import FloatLayout
from kivy.graphics import Fbo, Rectangle
shader_fs = '''
#ifdef GL_ES
precision highp float;
#endif
/* Outputs from the vertex shader */
varying vec4 frag_color;
varying vec2 tex_coord0;
/* uniform texture samplers */
uniform sampler2D texture0;
void main(void)
{
vec4 texture = texture2D(texture0, tex_coord0) * vec4(0.0);
vec4 color = vec4(1.0, 0.0, 0.0, 0.5);
gl_FragColor = texture + color;
}
'''
class ShaderWidget(FloatLayout):
def on_size(self, instance, value):
with self.canvas:
self._rect = Rectangle(size=value)
self._fbo = Fbo(size=value)
self._fbo.add(self._rect)
self._rect.texture = self._fbo.texture
shader = self._fbo.shader
old_value = shader.fs
shader.fs = shader_fs
if not shader.success:
shader.fs = old_value
raise Exception('failed')
class TestShader(App):
def build(self):
return ShaderWidget()
if __name__ == '__main__':
TestShader().run()
So the issue seems to occur with GPUs:
- Adreno 505 (in part, since the workaround already present in the feature was enough)
- Adreno 506
- Adreno 730
- and so on...
@yunus-ceyhan Can you confirm that this issue does not occur on Adreno 618?
If the same fragment shader compiles successfully in that app, there is a high probability that there is a bug in the Shader/Fbo/RenderContext implementation of Kivy. Or perhaps there is a missing implementation of a workaround to avoid this issue.
Hi,
First of all, I'm not using KivyMD in my application. I have 430 crash reports on Play Console with the last update I used kivy==master
so far and 427 report comes from Adreno 730. Only 3 reports from other GPUs. All feedback I got from Play Store comments has come from Adreno 730 users. I would probably get informed if it crashes on others since my app has 1k average downloads per day. My device (Poco F2 Pro) has Adreno 650, and all test app we generated here with your examples works on my device without any issues.
@yunus-ceyhan @T-Dynamos As a final test, can you confirm that the app opens and displays a semi-transparent red rectangle with the code below?
from kivy.app import App from kivy.uix.floatlayout import FloatLayout from kivy.graphics import Fbo, Rectangle shader_fs = ''' #ifdef GL_ES precision highp float; #endif /* Outputs from the vertex shader */ varying vec4 frag_color; varying vec2 tex_coord0; /* uniform texture samplers */ uniform sampler2D texture0; void main(void) { vec4 texture = texture2D(texture0, tex_coord0) * vec4(0.0); vec4 color = vec4(1.0, 0.0, 0.0, 0.5); gl_FragColor = texture + color; } ''' class ShaderWidget(FloatLayout): def on_size(self, instance, value): with self.canvas: self._rect = Rectangle(size=value) self._fbo = Fbo(size=value) self._fbo.add(self._rect) self._rect.texture = self._fbo.texture shader = self._fbo.shader old_value = shader.fs shader.fs = shader_fs if not shader.success: shader.fs = old_value raise Exception('failed') class TestShader(App): def build(self): return ShaderWidget() if __name__ == '__main__': TestShader().run()
This one crashes on Adreno 730.
@yunus-ceyhan Is the error log the same?
@DexerBR
I guess.
01-03 14:57:12.747 16692 16724 I python : [INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2 (img_pil, img_ffpyplayer ignored)
01-03 14:57:12.748 3872 3911 D HomeWallpaperRenderer: OFFSET x: 1.0 y: 0.0
01-03 14:57:12.756 3872 3911 D HomeWallpaperRenderer: OFFSET x: 1.0 y: 0.0
01-03 14:57:12.761 16692 16724 I python : [INFO ] [Window ] Provider: sdl2
01-03 14:57:12.765 3872 3911 D HomeWallpaperRenderer: OFFSET x: 1.0 y: 0.0
01-03 14:57:12.767 16692 16724 V hidapi : initialize(true, false)
01-03 14:57:12.769 16692 16724 V SDL : setOrientation() requestedOrientation=10 width=800 height=600 resizable=true hint=
01-03 14:57:12.769 2447 3945 D MiuiMultiWindowAdapter: MiuiMultiWindowAdapter::getFreeformIgnoreRequestOrientationList= [com.miui.player, com.sqw.setdl.mi, air.tv.douyu.android, com.youku.phone, com.tencent.gamehelper.smoba, com.taobao.litetao, com.live.shuoqiudi, com.baidu.homework, com.tencent.qqmusic, cn.xiaochuankeji.zuiyouLite, com.facebook.orca, com.android.browser]
01-03 14:57:12.769 2447 3945 D ActivityTaskManager: setRequestedOrientationFreeForm: requestedOrientation= 10 task=Task{9b6ec70 #15457 type=standard A=10344:org.test.test1 U=0 visible=true mode=fullscreen translucent=false sz=1} MiuiFreeformServicesUtils.getFreeformIgnoreRequestOrientationList()= [com.miui.player, com.sqw.setdl.mi, air.tv.douyu.android, com.youku.phone, com.tencent.gamehelper.smoba, com.taobao.litetao, com.live.shuoqiudi, com.baidu.homework, com.tencent.qqmusic, cn.xiaochuankeji.zuiyouLite, com.facebook.orca, com.android.browser]packageName= org.test.test1
01-03 14:57:12.770 16692 16724 I SDL/APP : pixel format wanted SDL_PIXELFORMAT_RGBA8888 (1), got SDL_PIXELFORMAT_RGBA8888 (1)
01-03 14:57:12.770 16692 16724 I python : [INFO ] [GL ] Using the "OpenGL ES 2" graphics system
01-03 14:57:12.772 16692 16724 I python : [INFO ] [GL ] Backend used <sdl2>
01-03 14:57:12.772 16692 16724 I python : [INFO ] [GL ] OpenGL version <b'OpenGL ES 3.2 V@0615.0 (GIT@3923ca971f, If79cb9deae, 1647849031) (Date:03/21/22)'>
01-03 14:57:12.773 3872 3911 D HomeWallpaperRenderer: OFFSET x: 1.0 y: 0.0
01-03 14:57:12.773 16692 16724 I python : [INFO ] [GL ] OpenGL vendor <b'Qualcomm'>
01-03 14:57:12.773 16692 16724 I python : [INFO ] [GL ] OpenGL renderer <b'Adreno (TM) 730'>
01-03 14:57:12.773 16692 16724 I python : [INFO ] [GL ] OpenGL parsed version: 3, 2
01-03 14:57:12.773 16692 16724 I python : [INFO ] [GL ] Texture max size <16384>
01-03 14:57:12.773 2447 3945 W MiuiFreeFormGesturePointerEventListener: setMiuiFreeFormTouchExcludeRegion mTouchExcludeRegion = SkRegion((0,0,1080,84)(0,2270,1080,2400))
01-03 14:57:12.773 16692 16724 I python : [INFO ] [GL ] Texture max units <16>
01-03 14:57:12.781 3872 3911 D HomeWallpaperRenderer: OFFSET x: 1.0 y: 0.0
01-03 14:57:12.782 2447 5822 W MiuiFreeFormGesturePointerEventListener: setMiuiFreeFormTouchExcludeRegion mTouchExcludeRegion = SkRegion((0,0,1080,84)(0,2270,1080,2400))
01-03 14:57:12.787 16692 16724 I python : [INFO ] [Window ] auto add sdl2 input provider
01-03 14:57:12.788 16692 16724 I python : [INFO ] [Window ] virtual keyboard not allowed, single mode, not docked
01-03 14:57:12.788 16692 16724 I python : [INFO ] [GL ] NPOT texture support is available
01-03 14:57:12.789 3872 3911 D HomeWallpaperRenderer: OFFSET x: 1.0 y: 0.0
01-03 14:57:12.797 3872 3911 D HomeWallpaperRenderer: OFFSET x: 1.0 y: 0.0
01-03 14:57:12.798 16692 16724 I python : [WARNING] [Base ] Unknown <android> provider
01-03 14:57:12.798 16692 16724 I python : [INFO ] [Base ] Start application main loop
01-03 14:57:12.804 16692 16724 F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x40 in tid 16724 (SDLThread), pid 16692 (SDLActivity)
01-03 14:57:12.806 3872 3911 D HomeWallpaperRenderer: OFFSET x: 1.0 y: 0.0
01-03 14:57:12.814 2447 5822 W MiuiFreeFormGesturePointerEventListener: setMiuiFreeFormTouchExcludeRegion mTouchExcludeRegion = SkRegion((0,0,1080,84)(0,2270,1080,2400))
01-03 14:57:12.815 3872 3911 D HomeWallpaperRenderer: OFFSET x: 1.0 y: 0.0
01-03 14:57:12.822 4170 4170 W DimLayer: removeDimLayer
01-03 14:57:12.824 4170 4170 E LauncherAnimationRunner: finish: mFinishRunnable.run
01-03 14:57:12.825 3872 3911 D HomeWallpaperRenderer: OFFSET x: 1.0 y: 0.0
01-03 14:57:12.825 2447 2681 W MiuiFreeFormGesturePointerEventListener: setMiuiFreeFormTouchExcludeRegion mTouchExcludeRegion = SkRegion((0,0,1080,84)(0,2270,1080,2400))
01-03 14:57:12.826 2447 2681 W MiuiFreeFormGesturePointerEventListener: setMiuiFreeFormTouchExcludeRegion mTouchExcludeRegion = SkRegion((0,0,1080,84)(0,2270,1080,2400))
01-03 14:57:12.827 7734 8059 I DisplayFrameSetting: homeToAppEnd pkg=org.test.test1
01-03 14:57:12.828 2447 3152 I MiuiNetworkPolicy: updateUidState uid = 10078, uidState = 5
01-03 14:57:12.830 2447 3152 I MiuiNetworkPolicy: updateUidState uid = 10169, uidState = 5
01-03 14:57:12.830 2447 3152 I MiuiNetworkPolicy: updateUidState uid = 10163, uidState = 5
01-03 14:57:12.831 15056 21578 I libperfctl: Can't open /proc/perfmgr/perf_ioctl: Permission denied
01-03 14:57:12.830 3855 4264 I BtGatt.ScanManager: msg.what = 6
01-03 14:57:12.834 2447 5822 W MiuiFreeFormGesturePointerEventListener: setMiuiFreeFormTouchExcludeRegion mTouchExcludeRegion = SkRegion((0,0,1080,84)(0,2270,1080,2400))
01-03 14:57:12.836 2447 3969 W MiuiFreeFormGesturePointerEventListener: setMiuiFreeFormTouchExcludeRegion mTouchExcludeRegion = SkRegion((0,0,1080,84)(0,2270,1080,2400))
01-03 14:57:12.838 1423 1423 E vendor.qti.hardware.perf-hal-service: Unknown params
01-03 14:57:12.838 4170 4170 D Launcher.Lifecycle: onStop:UserHandle{0},d08f937,false
01-03 14:57:12.838 4170 4170 D Launcher_UnlockAnimationStateMachine: onStop = IDLE
01-03 14:57:12.844 2447 2681 W MiuiFreeFormGesturePointerEventListener: setMiuiFreeFormTouchExcludeRegion mTouchExcludeRegion = SkRegion((0,0,1080,84)(0,2270,1080,2400))
01-03 14:57:12.848 2447 2678 D Aurogon : uid = 10078 switch to BG
01-03 14:57:12.851 16740 16740 I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstoneProto
01-03 14:57:12.851 961 961 I tombstoned: received crash request for pid 16724
01-03 14:57:12.852 16740 16740 I crash_dump64: performing dump of process 16692 (target tid = 16724)
01-03 14:57:12.853 1524 1524 D MI-SF : Launcher Changed hasLauncher=0
01-03 14:57:12.856 2447 2681 W MiuiFreeFormGesturePointerEventListener: setMiuiFreeFormTouchExcludeRegion mTouchExcludeRegion = SkRegion((0,0,1080,84)(0,2270,1080,2400))
01-03 14:57:12.856 16740 16740 E DEBUG : failed to read /proc/uptime: Permission denied
01-03 14:57:12.860 2447 2681 W MiuiFreeFormGesturePointerEventListener: setMiuiFreeFormTouchExcludeRegion mTouchExcludeRegion = SkRegion((0,0,1080,84)(0,2270,1080,2400))
01-03 14:57:12.917 16740 16740 W unwind : Failed to initialize DEX file support: dlopen failed: library "libdexfile.so" not found
01-03 14:57:12.995 16740 16740 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-03 14:57:12.995 16740 16740 F DEBUG : Build fingerprint: 'POCO/ingres_eea/ingres:12/SKQ1.211006.001/V13.0.12.0.SLJEUXM:user/release-keys'
01-03 14:57:12.995 16740 16740 F DEBUG : Revision: '0'
01-03 14:57:12.995 16740 16740 F DEBUG : ABI: 'arm64'
01-03 14:57:12.995 16740 16740 F DEBUG : Timestamp: 2023-01-03 14:57:12.856610039+0000
01-03 14:57:12.995 16740 16740 F DEBUG : Process uptime: 0s
01-03 14:57:12.995 16740 16740 F DEBUG : Cmdline: org.test.test1
01-03 14:57:12.995 16740 16740 F DEBUG : pid: 16692, tid: 16724, name: SDLThread >>> org.test.test1 <<<
01-03 14:57:12.995 16740 16740 F DEBUG : uid: 10344
01-03 14:57:12.995 16740 16740 F DEBUG : tagged_addr_ctrl: 0000000000000001
01-03 14:57:12.995 16740 16740 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x40
01-03 14:57:12.995 16740 16740 F DEBUG : Cause: null pointer dereference
01-03 14:57:12.995 16740 16740 F DEBUG : x0 b400007db22c5940 x1 b400007daeaa3700 x2 0000007e27d5b4a0 x3 0000007e27d5b4a0
01-03 14:57:12.995 16740 16740 F DEBUG : x4 0000007e27d5b6a8 x5 0000000000000001 x6 0000000000000000 x7 0000000000000000
01-03 14:57:12.995 16740 16740 F DEBUG : x8 0000007e27d5b384 x9 0000000000000000 x10 0000000000000003 x11 b400007daeaa37bc
01-03 14:57:12.995 16740 16740 F DEBUG : x12 b400007db22c7df4 x13 0000000000000000 x14 0000000000000000 x15 0000000000000000
01-03 14:57:12.995 16740 16740 F DEBUG : x16 0000007ed2dddd50 x17 0000007ed2d638e0 x18 0000000000000000 x19 0000007e27d5b4a0
01-03 14:57:12.995 16740 16740 F DEBUG : x20 b400007daeaa3700 x21 b400007db22c5940 x22 0000000000000000 x23 b400007db22d1504
01-03 14:57:12.995 16740 16740 F DEBUG : x24 0000000000004474 x25 0000000000000001 x26 0000000000000000 x27 0000000000000068
01-03 14:57:12.995 16740 16740 F DEBUG : x28 0000000000000001 x29 0000007e27d5b390
01-03 14:57:12.996 16740 16740 F DEBUG : lr 0000007e1744bcc8 sp 0000007e27d5b360 pc 0000007e1743eae8 pst 0000000060001000
01-03 14:57:12.996 16740 16740 F DEBUG : backtrace:
01-03 14:57:12.996 16740 16740 F DEBUG : NOTE: Function names and BuildId information is missing for some frames due
01-03 14:57:12.996 16740 16740 F DEBUG : NOTE: to unreadable libraries. For unwinds of apps, only shared libraries
01-03 14:57:12.996 16740 16740 F DEBUG : NOTE: found under the lib/ directory are readable.
01-03 14:57:12.996 16740 16740 F DEBUG : NOTE: On this device, run setenforce 0 to make the libraries readable.
01-03 14:57:12.996 16740 16740 F DEBUG : #00 pc 00000000001ebae8 /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!37dd345396092d519add56c82077b6!3923ca971f!+296) (BuildId: d013a02a04006f339ad88935a9b8e803)
01-03 14:57:12.996 16740 16740 F DEBUG : #01 pc 00000000001f8cc4 /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!9d2340256df89912f04e05d7f782e6!3923ca971f!+1388) (BuildId: d013a02a04006f339ad88935a9b8e803)
01-03 14:57:12.996 16740 16740 F DEBUG : #02 pc 00000000001f8734 /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!e114df8606e4f838536d985ffc10f8!3923ca971f!+20) (BuildId: d013a02a04006f339ad88935a9b8e803)
01-03 14:57:12.996 16740 16740 F DEBUG : #03 pc 000000000019182c /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!6b200851123c7898055fe62ff9f71f!3923ca971f!+2452) (BuildId: d013a02a04006f339ad88935a9b8e803)
01-03 14:57:12.996 16740 16740 F DEBUG : #04 pc 000000000018fdc4 /vendor/lib64/egl/libGLESv2_adreno.so (!!!0000!77df12deb6a622478efa8fb9929034!3923ca971f!+564) (BuildId: d013a02a04006f339ad88935a9b8e803)
01-03 14:57:12.996 16740 16740 F DEBUG : #05 pc 000000000000ae20 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/vbo.so
01-03 14:57:12.996 16740 16740 F DEBUG : #06 pc 0000000000014424 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
01-03 14:57:12.996 16740 16740 F DEBUG : #07 pc 0000000000008418 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
01-03 14:57:12.996 16740 16740 F DEBUG : #08 pc 0000000000012230 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
01-03 14:57:12.996 16740 16740 F DEBUG : #09 pc 0000000000011a70 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
01-03 14:57:12.996 16740 16740 F DEBUG : #10 pc 0000000000014abc /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
01-03 14:57:12.996 16740 16740 F DEBUG : #11 pc 0000000000015fe4 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
01-03 14:57:12.996 16740 16740 F DEBUG : #12 pc 000000000000c568 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/fbo.so
01-03 14:57:12.996 16740 16740 F DEBUG : #13 pc 0000000000008418 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
01-03 14:57:12.996 16740 16740 F DEBUG : #14 pc 0000000000012230 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
01-03 14:57:12.996 16740 16740 F DEBUG : #15 pc 0000000000011a70 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
01-03 14:57:12.996 16740 16740 F DEBUG : #16 pc 0000000000014abc /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
01-03 14:57:12.996 16740 16740 F DEBUG : #17 pc 0000000000008418 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
01-03 14:57:12.996 16740 16740 F DEBUG : #18 pc 0000000000012230 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
01-03 14:57:12.996 16740 16740 F DEBUG : #19 pc 0000000000011a70 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
01-03 14:57:12.996 16740 16740 F DEBUG : #20 pc 0000000000014abc /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
01-03 14:57:12.996 16740 16740 F DEBUG : #21 pc 0000000000008418 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/compiler.so
01-03 14:57:12.996 16740 16740 F DEBUG : #22 pc 0000000000012230 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
01-03 14:57:12.996 16740 16740 F DEBUG : #23 pc 0000000000011a70 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
01-03 14:57:12.996 16740 16740 F DEBUG : #24 pc 0000000000014abc /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
01-03 14:57:12.996 16740 16740 F DEBUG : #25 pc 0000000000015fe4 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
01-03 14:57:12.996 16740 16740 F DEBUG : #26 pc 00000000000205d8 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/graphics/instructions.so
01-03 14:57:12.996 16740 16740 F DEBUG : #27 pc 0000000000166fe8 /data/app/~~XKvgFD9KtglMZE0lGsSEwQ==/org.test.test1-FNoZi7Ogc71XKqF3_pOMJw==/lib/arm64/libpython3.9.so
01-03 14:57:12.996 16740 16740 F DEBUG : #28 pc 000000000022bcf0 /data/app/~~XKvgFD9KtglMZE0lGsSEwQ==/org.test.test1-FNoZi7Ogc71XKqF3_pOMJw==/lib/arm64/libpython3.9.so
01-03 14:57:12.996 16740 16740 F DEBUG : #29 pc 0000000000228cd8 /data/app/~~XKvgFD9KtglMZE0lGsSEwQ==/org.test.test1-FNoZi7Ogc71XKqF3_pOMJw==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+9972)
01-03 14:57:12.996 16740 16740 F DEBUG : #30 pc 000000000015e60c /data/app/~~XKvgFD9KtglMZE0lGsSEwQ==/org.test.test1-FNoZi7Ogc71XKqF3_pOMJw==/lib/arm64/libpython3.9.so
01-03 14:57:12.996 16740 16740 F DEBUG : #31 pc 0000000000160a24 /data/app/~~XKvgFD9KtglMZE0lGsSEwQ==/org.test.test1-FNoZi7Ogc71XKqF3_pOMJw==/lib/arm64/libpython3.9.so
01-03 14:57:12.996 16740 16740 F DEBUG : #32 pc 00000000000259d8 /data/data/org.test.test1/files/app/_python_bundle/site-packages/kivy/_event.so
01-03 14:57:12.996 16740 16740 F DEBUG : #33 pc 0000000000166b74 /data/app/~~XKvgFD9KtglMZE0lGsSEwQ==/org.test.test1-FNoZi7Ogc71XKqF3_pOMJw==/lib/arm64/libpython3.9.so
01-03 14:57:12.996 16740 16740 F DEBUG : #34 pc 000000000022bcf0 /data/app/~~XKvgFD9KtglMZE0lGsSEwQ==/org.test.test1-FNoZi7Ogc71XKqF3_pOMJw==/lib/arm64/libpython3.9.so
01-03 14:57:12.996 16740 16740 F DEBUG : #35 pc 0000000000228cd8 /data/app/~~XKvgFD9KtglMZE0lGsSEwQ==/org.test.test1-FNoZi7Ogc71XKqF3_pOMJw==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+9972)
01-03 14:57:12.996 16740 16740 F DEBUG : #36 pc 000000000015e60c /data/app/~~XKvgFD9KtglMZE0lGsSEwQ==/org.test.test1-FNoZi7Ogc71XKqF3_pOMJw==/lib/arm64/libpython3.9.so
01-03 14:57:12.996 16740 16740 F DEBUG : #37 pc 000000000022bcf0 /data/app/~~XKvgFD9KtglMZE0lGsSEwQ==/org.test.test1-FNoZi7Ogc71XKqF3_pOMJw==/lib/arm64/libpython3.9.so
01-03 14:57:12.996 16740 16740 F DEBUG : #38 pc 0000000000228cd8 /data/app/~~XKvgFD9KtglMZE0lGsSEwQ==/org.test.test1-FNoZi7Ogc71XKqF3_pOMJw==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+9972)
01-03 14:57:12.996 16740 16740 F DEBUG : #39 pc 000000000015e60c /data/app/~~XKvgFD9KtglMZE0lGsSEwQ==/org.test.test1-FNoZi7Ogc71XKqF3_pOMJw==/lib/arm64/libpython3.9.so
01-03 14:57:12.996 16740 16740 F DEBUG : #40 pc 000000000022bcf0 /data/app/~~XKvgFD9KtglMZE0lGsSEwQ==/org.test.test1-FNoZi7Ogc71XKqF3_pOMJw==/lib/arm64/libpython3.9.so
01-03 14:57:12.996 16740 16740 F DEBUG : #41 pc 0000000000228cd8 /data/app/~~XKvgFD9KtglMZE0lGsSEwQ==/org.test.test1-FNoZi7Ogc71XKqF3_pOMJw==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+9972)
01-03 14:57:12.996 16740 16740 F DEBUG : #42 pc 000000000015e60c /data/app/~~XKvgFD9KtglMZE0lGsSEwQ==/org.test.test1-FNoZi7Ogc71XKqF3_pOMJw==/lib/arm64/libpython3.9.so
01-03 14:57:12.996 16740 16740 F DEBUG : #43 pc 000000000022bcf0 /data/app/~~XKvgFD9KtglMZE0lGsSEwQ==/org.test.test1-FNoZi7Ogc71XKqF3_pOMJw==/lib/arm64/libpython3.9.so
01-03 14:57:12.996 16740 16740 F DEBUG : #44 pc 0000000000229cb4 /data/app/~~XKvgFD9KtglMZE0lGsSEwQ==/org.test.test1-FNoZi7Ogc71XKqF3_pOMJw==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+14032)
01-03 14:57:12.996 16740 16740 F DEBUG : #45 pc 000000000015e60c /data/app/~~XKvgFD9KtglMZE0lGsSEwQ==/org.test.test1-FNoZi7Ogc71XKqF3_pOMJw==/lib/arm64/libpython3.9.so
01-03 14:57:12.996 16740 16740 F DEBUG : #46 pc 000000000022bcf0 /data/app/~~XKvgFD9KtglMZE0lGsSEwQ==/org.test.test1-FNoZi7Ogc71XKqF3_pOMJw==/lib/arm64/libpython3.9.so
01-03 14:57:12.996 16740 16740 F DEBUG : #47 pc 0000000000228cd8 /data/app/~~XKvgFD9KtglMZE0lGsSEwQ==/org.test.test1-FNoZi7Ogc71XKqF3_pOMJw==/lib/arm64/libpython3.9.so (_PyEval_EvalFrameDefault+9972)
01-03 14:57:12.996 16740 16740 F DEBUG : #48 pc 000000000022cccc /data/app/~~XKvgFD9KtglMZE0lGsSEwQ==/org.test.test1-FNoZi7Ogc71XKqF3_pOMJw==/lib/arm64/libpython3.9.so
01-03 14:57:12.996 16740 16740 F DEBUG : #49 pc 0000000000226510 /data/app/~~XKvgFD9KtglMZE0lGsSEwQ==/org.test.test1-FNoZi7Ogc71XKqF3_pOMJw==/lib/arm64/libpython3.9.so (PyEval_EvalCode+76)
01-03 14:57:12.996 16740 16740 F DEBUG : #50 pc 0000000000266f3c /data/app/~~XKvgFD9KtglMZE0lGsSEwQ==/org.test.test1-FNoZi7Ogc71XKqF3_pOMJw==/lib/arm64/libpython3.9.so (PyRun_SimpleFileExFlags+1192)
01-03 14:57:12.996 16740 16740 F DEBUG : #51 pc 00000000000026e0 /data/app/~~XKvgFD9KtglMZE0lGsSEwQ==/org.test.test1-FNoZi7Ogc71XKqF3_pOMJw==/lib/arm64/libmain.so (SDL_main+2664) (BuildId: 8f53bc1713f1c232f0bbe2adb620139a720e4598)
01-03 14:57:12.996 16740 16740 F DEBUG : #52 pc 00000000000b01e0 /data/app/~~XKvgFD9KtglMZE0lGsSEwQ==/org.test.test1-FNoZi7Ogc71XKqF3_pOMJw==/lib/arm64/libSDL2.so (Java_org_libsdl_app_SDLActivity_nativeRunMain+772) (BuildId: 518f073d32235881c496f4d0dbc86c2003b4ce3c)
01-03 14:57:12.996 16740 16740 F DEBUG : #53 pc 000000000043dd54 /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+148) (BuildId: a49c773ef6221a996ecea990e9753caa)
01-03 14:57:12.996 16740 16740 F DEBUG : #54 pc 0000000000209398 /apex/com.android.art/lib64/libart.so (nterp_helper+152) (BuildId: a49c773ef6221a996ecea990e9753caa)
01-03 14:57:12.996 16740 16740 F DEBUG : #55 pc 0000000000010346 /data/app/~~XKvgFD9KtglMZE0lGsSEwQ==/org.test.test1-FNoZi7Ogc71XKqF3_pOMJw==/oat/arm64/base.vdex
01-03 14:57:12.996 16740 16740 F DEBUG : #56 pc 000000000020b074 /apex/com.android.art/lib64/libart.so (nterp_helper+7540) (BuildId: a49c773ef6221a996ecea990e9753caa)
01-03 14:57:12.996 16740 16740 F DEBUG : #57 pc 00000000000f6740 /apex/com.android.art/javalib/core-oj.jar
01-03 14:57:12.996 16740 16740 F DEBUG : #58 pc 000000000043436c /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+556) (BuildId: a49c773ef6221a996ecea990e9753caa)
01-03 14:57:12.996 16740 16740 F DEBUG : #59 pc 0000000000466138 /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+156) (BuildId: a49c773ef6221a996ecea990e9753caa)
01-03 14:57:12.996 16740 16740 F DEBUG : #60 pc 0000000000465e20 /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, jvalue const*)+388) (BuildId: a49c773ef6221a996ecea990e9753caa)
01-03 14:57:12.996 16740 16740 F DEBUG : #61 pc 0000000000613e74 /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void*)+1668) (BuildId: a49c773ef6221a996ecea990e9753caa)
01-03 14:57:12.996 16740 16740 F DEBUG : #62 pc 00000000000f0d34 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264) (BuildId: aec8135f170446601ecfbb3a8984afdb)
01-03 14:57:12.996 16740 16740 F DEBUG : #63 pc 000000000008d57c /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68) (BuildId: aec8135f170446601ecfbb3a8984afdb)
01-03 14:57:13.010 16740 16740 E crash_dump64: cannot open system/lib64/libmiuindbg.so: Permission denied
01-03 14:57:13.012 961 961 E tombstoned: Tombstone written to: tombstone_01
01-03 14:57:13.012 2447 16744 W ActivityTaskManager: Force finishing activity org.test.test1/org.kivy.android.PythonActivity
@DexerBR Works on SD625
@T-Dynamos so your device has Adreno 506 right? I don't know about the KivyMD issue but it seems the BoxShadow effect only causes problems on Adreno 730.
@T-Dynamos so your device has Adreno 506 right?
Yes BoxShadow still not work on it
@T-Dynamos so your device has Adreno 506 right?
Yes BoxShadow still not work on it
So did you test BoxShadow without KivyMD with pure Kivy?
@T-Dynamos can you test my app if it crashes on your device please?
https://play.google.com/store/apps/details?id=com.ceyhan.sets
@yunus-ceyhan Does this one crashes too?
void main(void)
{
vec4 texture = texture2D(texture0, tex_coord0);
vec4 color = vec4(1.0, 0.0, 0.0, 0.5);
gl_FragColor = texture * vec4(0.0) + color;
}
@DexerBR I sent it to one of the volunteer testers. Hope to respond soon.
@yunus-ceyhan Does this one crashes too?
void main(void) { vec4 texture = texture2D(texture0, tex_coord0); vec4 color = vec4(1.0, 0.0, 0.0, 0.5); gl_FragColor = texture * vec4(0.0) + color; }
Unfortunately yes.
tldr;
Can you double check parameter definitions and passed parameters please?
https://github.com/kivy/kivy/issues/5403#issuecomment-1184331154
@rnixx so we should try this ?:
from kivy.app import App
from kivy.uix.floatlayout import FloatLayout
from kivy.graphics import Fbo, Rectangle
# Red rectangle
shader_fs = '''
$HEADER$
void main(void)
{
// return color
//vec4 color = vec4(1.0, 0.0, 0.0, 1.0);
//gl_FragColor = color;
// return texture2D
//vec4 texture = texture2D(texture0, tex_coord0);
//gl_FragColor = texture;
// return texture2D + color
vec4 texture = texture2D(texture0, tex_coord0);
vec4 color = vec4(1.0, 0.0, 0.0, 1.0);
gl_FragColor = mix(texture, color, 1.0);
}
'''
class ShaderWidget(FloatLayout):
def on_size(self, instance, value):
with self.canvas:
self._rect = Rectangle(size=value)
self._fbo = Fbo(size=value)
self._fbo.add(self._rect)
self._rect.texture = self._fbo.texture
shader = self._fbo.shader
old_value = shader.fs
shader.fs = shader_fs
if not shader.success:
shader.fs = old_value
raise Exception('failed')
self._fbo.ask_update()
class TestShader(App):
def build(self):
return ShaderWidget()
if __name__ == '__main__':
TestShader().run()
Hi @DexerBR I know this is going to be so stupid but I want to take my chance because I'm desperate. Since I don't have any knowledge about glsl I tried to ask it ChatGPT and the example it gave me worked on Adreno 730 but I don't know if that means anything to fix this issue.
So this is working on Adreno 730
void main(void)
{
vec4 texture = texture2D(texture0, tex_coord0);
vec4 color = vec4(1.0, 0.0, 0.0, 0.5);
if (texture == vec4(0.0)) {
gl_FragColor = color;
} else {
gl_FragColor = texture * color;
}
}
FYI, I went further and asked ChatGPT to edit the boxshadow.pyx
glsl
part to prevent possible errors may occur, so it seems the example it provided is working for now. The testers confirmed that the app is not crashing anymore on Adreno 730.
But further tests may be required. I'll make a test on the Firebase console with more devices.
#ifdef GL_ES
precision highp float;
#endif
varying vec4 frag_color;
varying vec2 tex_coord0;
uniform sampler2D texture0;
uniform float blur_radius;
uniform vec4 border_radius;
uniform vec2 size;
float roundedBoxSDF(vec2 pos, vec2 size, vec4 radius){
vec2 s = step(pos, vec2(0.0));
radius = clamp(radius, 0.0, min(size.x, size.y));
float r = mix(mix(radius.y, radius.z, s.y), mix(radius.x, radius.w, s.y), s.x);
return length(max(abs(pos) + vec2(r) - size, 0.0)) - r;
}
float sigmoid(float x) {
return 1.0 / (1.0 + exp(-x));
}
void main (void) {
vec4 texture = texture2D(texture0, tex_coord0);
float distShadow = 0.0;
if (blur_radius > 0.0) {
distShadow = sigmoid(
roundedBoxSDF(
tex_coord0 * size - size/2.0, size/2.0 - blur_radius * 1.5 - vec2(2.0),
border_radius) / (blur_radius/4.0)
);
}
vec4 shadow = vec4(frag_color.rgb, 1.0 - distShadow) * (frag_color.a * 2.0);
if (frag_color.a > 0.0) {
gl_FragColor = mix(texture, shadow, 1.0);
} else {
gl_FragColor = texture;
}
}
Hi @yunus-ceyhan
What code is in the app you sent to testers?
@yunus-ceyhan Could you test the code below, if it works, I think we have arrived at a solution. I tested it on an Adreno GPU and it's working fine!
Note: The app should open with a black screen with no errors
import os
os.environ["KIVY_LOG_MODE"] = "MIXED"
from kivy.app import App
from kivy.uix.floatlayout import FloatLayout
from kivy.graphics import Fbo, Rectangle, ClearBuffers, ClearColor, Color
shader_fs = '''
#ifdef GL_ES
precision highp float;
#endif
/* Outputs from the vertex shader */
varying vec4 frag_color;
varying vec2 tex_coord0;
/* uniform texture samplers */
uniform sampler2D texture0;
void main(void)
{
if (frag_color.a > 0.0) {
gl_FragColor = vec4(0.0);
} else {
gl_FragColor = texture2D(texture0, tex_coord0);
}
}
'''
class ShaderWidget(FloatLayout):
def __init__(self, **kwargs):
super().__init__(**kwargs)
self.opacity = 0
def on_size(self, instance, value):
with self.canvas:
Color(1, 1, 1, 1)
self._rect = Rectangle(size=value)
self._fbo = Fbo(size=value)
with self._fbo:
ClearColor(1, 1, 1, 0)
ClearBuffers()
self._fbo.add(self._rect)
self._rect.texture = self._fbo.texture
shader = self._fbo.shader
old_value = shader.fs
shader.fs = shader_fs
if not shader.success:
shader.fs = old_value
raise Exception('failed')
class TestShader(App):
def build(self):
return ShaderWidget()
if __name__ == '__main__':
TestShader().run()
Hi @yunus-ceyhan
What code is in the app you sent to testers?
First I copied glsl
part from boxshadow.pyx and build this one. It crahed as expected.
import os
os.environ["KIVY_LOG_MODE"] = "MIXED"
from kivy.app import App
from kivy.uix.floatlayout import FloatLayout
from kivy.graphics import Fbo, Rectangle
# Red rectangle
shader_fs = '''
#ifdef GL_ES
precision highp float;
#endif
/* Outputs from the vertex shader */
varying vec4 frag_color;
varying vec2 tex_coord0;
/* uniform texture samplers */
uniform sampler2D texture0;
uniform float blur_radius;
uniform vec4 border_radius;
uniform vec2 size;
// References:
// https://www.shadertoy.com/view/3tj3Dm
// https://www.shadertoy.com/view/NtVSW1
// https://iquilezles.org/articles/distfunctions2d/
float roundedBoxSDF(vec2 pos, vec2 size, vec4 radius){
vec2 s = step(pos, vec2(0.0));
radius = clamp(radius, 0.0, min(size.x, size.y));
float r = mix(mix(radius.y, radius.z, s.y), mix(radius.x, radius.w, s.y), s.x);
return length(max(abs(pos) + vec2(r) - size, 0.0)) - r;
}
float sigmoid(float x) {
return 1.0 / (1.0 + exp(-x));
}
void main (void){
float distShadow = sigmoid(
roundedBoxSDF(
tex_coord0 * size - size/2.0, size/2.0 - blur_radius * 1.5 - vec2(2.0),
border_radius) / (max(1.0, blur_radius)/4.0
)
);
// Some devices require the resulting color to be blended with the texture.
// Otherwise there will be a compilation issue.
vec4 texture = texture2D(texture0, tex_coord0);
vec4 shadow = vec4(frag_color.rgb, 1.0 - distShadow) * (frag_color.a * 2.0);
gl_FragColor = mix(texture, shadow, 1.0);
}
'''
class ShaderWidget(FloatLayout):
def on_size(self, instance, value):
with self.canvas:
self._rect = Rectangle(size=value)
self._fbo = Fbo(size=value)
self._fbo.add(self._rect)
self._rect.texture = self._fbo.texture
shader = self._fbo.shader
old_value = shader.fs
shader.fs = shader_fs
if not shader.success:
shader.fs = old_value
raise Exception('failed')
self._fbo.ask_update()
class TestShader(App):
def build(self):
return ShaderWidget()
if __name__ == '__main__':
TestShader().run()
Then I asked ChatGPT to regenerate the glsl
part to prevent possible errors. This time I built the app with the ChatGTP suggestions. This one didn't crash and opened with a white screen.
import os
os.environ["KIVY_LOG_MODE"] = "MIXED"
from kivy.app import App
from kivy.uix.floatlayout import FloatLayout
from kivy.graphics import Fbo, Rectangle
# Red rectangle
shader_fs = '''
#ifdef GL_ES
precision highp float;
#endif
varying vec4 frag_color;
varying vec2 tex_coord0;
uniform sampler2D texture0;
uniform float blur_radius;
uniform vec4 border_radius;
uniform vec2 size;
float roundedBoxSDF(vec2 pos, vec2 size, vec4 radius){
vec2 s = step(pos, vec2(0.0));
radius = clamp(radius, 0.0, min(size.x, size.y));
float r = mix(mix(radius.y, radius.z, s.y), mix(radius.x, radius.w, s.y), s.x);
return length(max(abs(pos) + vec2(r) - size, 0.0)) - r;
}
float sigmoid(float x) {
return 1.0 / (1.0 + exp(-x));
}
void main (void) {
vec4 texture = texture2D(texture0, tex_coord0);
float distShadow = 0.0;
if (blur_radius > 0.0) {
distShadow = sigmoid(
roundedBoxSDF(
tex_coord0 * size - size/2.0, size/2.0 - blur_radius * 1.5 - vec2(2.0),
border_radius) / (blur_radius/4.0)
);
}
vec4 shadow = vec4(frag_color.rgb, 1.0 - distShadow) * (frag_color.a * 2.0);
if (frag_color.a > 0.0) {
gl_FragColor = mix(texture, shadow, 1.0);
} else {
gl_FragColor = texture;
}
}
'''
class ShaderWidget(FloatLayout):
def on_size(self, instance, value):
with self.canvas:
self._rect = Rectangle(size=value)
self._fbo = Fbo(size=value)
self._fbo.add(self._rect)
self._rect.texture = self._fbo.texture
shader = self._fbo.shader
old_value = shader.fs
shader.fs = shader_fs
if not shader.success:
shader.fs = old_value
raise Exception('failed')
self._fbo.ask_update()
class TestShader(App):
def build(self):
return ShaderWidget()
if __name__ == '__main__':
TestShader().run()
Then I created a custom branch with kivy==master
and changed glsl
part in boxshadow.pyx with the new one that ChatGPT generated.
#ifdef GL_ES
precision highp float;
#endif
varying vec4 frag_color;
varying vec2 tex_coord0;
uniform sampler2D texture0;
uniform float blur_radius;
uniform vec4 border_radius;
uniform vec2 size;
float roundedBoxSDF(vec2 pos, vec2 size, vec4 radius){
vec2 s = step(pos, vec2(0.0));
radius = clamp(radius, 0.0, min(size.x, size.y));
float r = mix(mix(radius.y, radius.z, s.y), mix(radius.x, radius.w, s.y), s.x);
return length(max(abs(pos) + vec2(r) - size, 0.0)) - r;
}
float sigmoid(float x) {
return 1.0 / (1.0 + exp(-x));
}
void main (void) {
vec4 texture = texture2D(texture0, tex_coord0);
float distShadow = 0.0;
if (blur_radius > 0.0) {
distShadow = sigmoid(
roundedBoxSDF(
tex_coord0 * size - size/2.0, size/2.0 - blur_radius * 1.5 - vec2(2.0),
border_radius) / (blur_radius/4.0)
);
}
vec4 shadow = vec4(frag_color.rgb, 1.0 - distShadow) * (frag_color.a * 2.0);
if (frag_color.a > 0.0) {
gl_FragColor = mix(texture, shadow, 1.0);
} else {
gl_FragColor = texture;
}
}
Then I built my main application with the custom branch and my app didn't crash anymore on Adreno 730 devices.
To make sure if the Shadow effect works correctly after my changes I also removed kivy from my linux and i installed the custom branch instead. The video above is a test result of it. As it is seen, there is nothing wrong with the edited one.
@yunus-ceyhan Could you test the code below, if it works, I think we have arrived at a solution. I tested it on an Adreno GPU and it's working fine!
Note: The app should open with a black screen with no errors
import os os.environ["KIVY_LOG_MODE"] = "MIXED" from kivy.app import App from kivy.uix.floatlayout import FloatLayout from kivy.graphics import Fbo, Rectangle, ClearBuffers, ClearColor, Color shader_fs = ''' #ifdef GL_ES precision highp float; #endif /* Outputs from the vertex shader */ varying vec4 frag_color; varying vec2 tex_coord0; /* uniform texture samplers */ uniform sampler2D texture0; void main(void) { if (frag_color.a > 0.0) { gl_FragColor = vec4(0.0); } else { gl_FragColor = texture2D(texture0, tex_coord0); } } ''' class ShaderWidget(FloatLayout): def __init__(self, **kwargs): super().__init__(**kwargs) self.opacity = 0 def on_size(self, instance, value): with self.canvas: Color(1, 1, 1, 1) self._rect = Rectangle(size=value) self._fbo = Fbo(size=value) with self._fbo: ClearColor(1, 1, 1, 0) ClearBuffers() self._fbo.add(self._rect) self._rect.texture = self._fbo.texture shader = self._fbo.shader old_value = shader.fs shader.fs = shader_fs if not shader.success: shader.fs = old_value raise Exception('failed') class TestShader(App): def build(self): return ShaderWidget() if __name__ == '__main__': TestShader().run()
@yunus-ceyhan Understood. However this code is for development purpose only, it will help to understand the cause of the problem.
@DexerBR I have already sent it to the testers, waiting for them to respond to it.
@DexerBR it works.
While this is a bug in kivy's Shader implementation, this specific issue has been resolved via: https://github.com/kivy/kivy/pull/8098
Checklist
p4a.branch = develop
)Versions
Description
After upgrading my application from
kivy==stable
tokivy==master
I'm getting some feedback that the application crashes at start-up on specific devices. I don't know if the issue is related kivy itself or the building process for kivy master so I preferred to open the issue here. If it's not I can open a new one in kivy.All devices have Android 12 (SDK 31) +
buildozer.spec
Command:
Spec file:
Logs