Akylas / OSS-DocumentScanner

Android document document scanning app
https://www.akylas.fr
MIT License
599 stars 22 forks source link

[BUG] App crashes on startup on Android 8.1 #200

Closed TranslucentFoxHuman closed 1 month ago

TranslucentFoxHuman commented 1 month ago

Version

1.8.0.72 (Installed from IzzyOnDroid F-Droid repository)

What platform are you using?

Android

OS Version

Android 8.1 (LineageOS 15.1)

What happened?

After updating to 1.8.0.72, the app crashes on startup.
I have tried clearing the data, reinstalling the app, and testing it on another Android 8.1 device, but none of these actions have solved the problem.
I also have an Android 14 device and this problem does not occur on Android 14.

Relevant log output

05-14 18:23:14.715  3057  5157 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.akylas.documentscanner/.MainActivity bnds=[234,1374][438,1652]} from uid 10034
05-14 18:23:14.793  3057  5158 I ActivityManager: Start proc 23886:com.akylas.documentscanner/u0a160 for activity com.akylas.documentscanner/.MainActivity
05-14 18:23:15.011 23886 23886 W documentscanner: type=1400 audit(0.0:4522): avc: denied { search } for name="overlay" dev="mmcblk0p39" ino=7937 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=dir permissive=0
05-14 18:23:15.079 23886 23886 W linker  : "/data/app/com.akylas.documentscanner-7QtoIlxR0y95A7W9e2ASuw==/lib/arm64/libc++_shared.so" unused DT entry: type 0x70000001 arg 0x0
05-14 18:23:16.888 23886 23886 W documentscanner: type=1400 audit(0.0:4523): avc: denied { search } for name="overlay" dev="mmcblk0p39" ino=7937 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=dir permissive=0
05-14 18:23:16.908 23886 23886 W documentscanner: type=1400 audit(0.0:4524): avc: denied { search } for name="overlay" dev="mmcblk0p39" ino=7937 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=dir permissive=0
05-14 18:23:16.918 23886 23886 W documentscanner: type=1400 audit(0.0:4525): avc: denied { search } for name="overlay" dev="mmcblk0p39" ino=7937 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:unlabeled:s0 tclass=dir permissive=0
05-14 18:23:18.617 23886 23886 E AndroidRuntime: Process: com.akylas.documentscanner, PID: 23886
05-14 18:23:18.629  3057  4453 W ActivityManager:   Force finishing activity com.akylas.documentscanner/.MainActivity
05-14 18:23:18.638  3057  3375 I ActivityManager: Showing crash dialog for package com.akylas.documentscanner u0
05-14 18:23:19.133  3057  3374 W ActivityManager: Activity pause timeout for ActivityRecord{471e113 u0 com.akylas.documentscanner/.MainActivity t123 f}
05-14 18:23:19.150   417  2181 E SurfaceFlinger: Failed to find layer (Splash Screen com.akylas.documentscanner#0) in layer parent (no-parent).
05-14 18:23:29.459  3057  3374 W ActivityManager: Activity destroy timeout for ActivityRecord{471e113 u0 com.akylas.documentscanner/.MainActivity t123 f}
05-14 18:23:30.372  3057  4453 I ActivityManager: Killing 23886:com.akylas.documentscanner/u0a160 (adj 904): crash

Code of Conduct

farfromrefug commented 1 month ago

@TranslucentFoxHuman i just published a new version which fixes the issue. Sorry about this

TranslucentFoxHuman commented 1 month ago

I have confirmed that the problem has been fixed. Thank you for your very quick response!