Resolved 3 Bugs on Lavender after 21.1.27 Update [All Thanks to Orjon]


aadil.gillani

Members
Nov 26, 2020
116
40
I HOPE I AM DOING THIS IN THE CORRECT WAY.


1. Video Effects in Gallery are not working and it is a giving a crash and this is the crash log:

Code:
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'xiaomi/lavender/lavender:10/QKQ1.190910.002/V12.0.2.0.QFGINXM:user/release-keys'
Revision: '0'
ABI: 'arm64'
Timestamp: 2021-01-30 21:37:17+0500
pid: 12554, tid: 12720, name: MagicThreadHand >>> com.miui.gallery uid: 10096
signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
x0 0000000000000000 x1 00000000000031b0 x2 0000000000000006 x3 00000075deb902d0
x4 5d2b125c5b503900 x5 5d2b125c5b503900 x6 5d2b125c5b503900 x7 8039505b5c122b5d
x8 00000000000000f0 x9 ec42ec33c22e5189 x10 0000000000000001 x11 0000000000000000
x12 fffffff0fffffbdf x13 0000000000000003 x14 0000000000000008 x15 00010f7638d39892
x16 000000766e9048c0 x17 000000766e8e0a50 x18 0000000000000000 x19 000000000000310a
x20 00000000000031b0 x21 00000000ffffffff x22 000000752401aaf0 x23 00000075e04cb600
x24 0000000000000030 x25 000000754afa0360 x26 0000000000000020 x27 00000075790c7c20
x28 00000075790c7c68 x29 00000075deb90370
sp 00000075deb902b0 lr 000000766e8920c4 pc 000000766e8920f0

backtrace:
NOTE: Function names and BuildId information is missing for some frames due
NOTE: to unreadable libraries. For unwinds of apps, only shared libraries
NOTE: found under the lib/ directory are readable.
#00 pc 00000000000830f0 /apex/com.android.runtime/lib64/bionic/libc.so (abort+160) (BuildId: 0e96e3a1aa67c8b75cb5c3be730eb0c4)
#01 pc 0000000000020c1c /data/data/com.miui.gallery/app_libs/libbuddy_rgmp_project.so
#02 pc 0000000000016db4 /data/data/com.miui.gallery/app_libs/libbuddy_rgmp_project.so
#03 pc 00000000001aecec /data/data/com.miui.gallery/app_libs/libbuddy_rgmp_project.so
#04 pc 00000000001bbb20 /data/data/com.miui.gallery/app_libs/libbuddy_rgmp_project.so
#05 pc 0000000000016b94 /data/data/com.miui.gallery/app_libs/libbuddy_rgmp_project.so
#06 pc 000000000002d4d0 /data/data/com.miui.gallery/app_libs/libbuddy_rgmp_project.so
#07 pc 00000000009a1728 /data/data/com.miui.gallery/app_libs/libplayer_effect.so
#08 pc 000000000084daa0 /data/data/com.miui.gallery/app_libs/libplayer_effect.so
#09 pc 00000000006e650c /data/data/com.miui.gallery/app_libs/libplayer_effect.so
#10 pc 0000000000140350 /apex/com.android.runtime/lib64/libart.so (art_quick_generic_jni_trampoline+144) (BuildId: ae7d83b19362814cf0046e45374c79f4)
#11 pc 00000000001375b8 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_static_stub+568) (BuildId: ae7d83b19362814cf0046e45374c79f4)
#12 pc 000000000014600c /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+276) (BuildId: ae7d83b19362814cf0046e45374c79f4)
#13 pc 00000000002e3800 /apex/com.android.runtime/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+384) (BuildId: ae7d83b19362814cf0046e45374c79f4)
#14 pc 00000000002dea60 /apex/com.android.runtime/lib64/libart.so (bool art::interpreter::DoCall(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+892) (BuildId: ae7d83b19362814cf0046e45374c79f4)
#15 pc 00000000005a3ab4 /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+372) (BuildId: ae7d83b19362814cf0046e45374c79f4)
#16 pc 0000000000131994 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: ae7d83b19362814cf0046e45374c79f4)
#17 pc 0000000000be653c /data/dalvik-cache/arm64/system@priv-app@MiuiGallery@MiuiGallery.apk@classes.vdex (com.xiaomi.mediaprocess.MediaEffect.CreateEffect+74)
#18 pc 00000000002b4b14 /apex/com.android.runtime/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.17460956533834400288+240) (BuildId: ae7d83b19362814cf0046e45374c79f4)
#19 pc 0000000000592548 /apex/com.android.runtime/lib64/libart.so (artQuickToInterpreterBridge+1032) (BuildId: ae7d83b19362814cf0046e45374c79f4)
#20 pc 0000000000140468 /apex/com.android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: ae7d83b19362814cf0046e45374c79f4)
#21 pc 00000000001375b8 /apex/com.android.runtime/lib64/libart.so (art_quick_invoke_static_stub+568) (BuildId: ae7d83b19362814cf0046e45374c79f4)
#22 pc 000000000014600c /apex/com.android.runtime/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+276) (BuildId: ae7d83b19362814cf0046e45374c79f4)
#23 pc 00000000002e3800 /apex/com.android.runtime/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+384) (BuildId: ae7d83b19362814cf0046e45374c79f4)
#24 pc 00000000002dea60 /apex/com.android.runtime/lib64/libart.so (bool art::interpreter::DoCall(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+892) (BuildId: ae7d83b19362814cf0046e45374c79f4)
#25 pc 00000000005a3ab4 /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+372) (BuildId: ae7d83b19362814cf0046e45374c79f4)
#26 pc 0000000000131994 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: ae7d83b19362814cf0046e45374c79f4)
#27 pc 00000000006a51e0 /data/dalvik-cache/arm64/system@priv-app@MiuiGallery@MiuiGallery.apk@classes.vdex (com.miui.gallery.magic.special.effects.video.effects.preview.VideoPreviewPresenter.constructGraph+254)
#28 pc 00000000005a35ac /apex/com.android.runtime/lib64/libart.so (MterpInvokeDirect+1100) (BuildId: ae7d83b19362814cf0046e45374c79f4)
#29 pc 0000000000131914 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_direct+20) (BuildId: ae7d83b19362814cf0046e45374c79f4)
#30 pc 00000000006a4c7a /data/dalvik-cache/arm64/system@priv-app@MiuiGallery@MiuiGallery.apk@classes.vdex (com.miui.gallery.magic.special.effects.video.effects.preview.VideoPreviewPresenter.access$900)
#31 pc 00000000005a3d50 /apex/com.android.runtime/lib64/libart.so (MterpInvokeStatic+1040) (BuildId: ae7d83b19362814cf0046e45374c79f4)
#32 pc 0000000000131994 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: ae7d83b19362814cf0046e45374c79f4)
#33 pc 00000000006a3496 /data/dalvik-cache/arm64/system@priv-app@MiuiGallery@MiuiGallery.apk@classes.vdex (com.miui.gallery.magic.special.effects.video.effects.preview.VideoPreviewPresenter$1$1.run+8)
#34 pc 00000000005a2ac0 /apex/com.android.runtime/lib64/libart.so (MterpInvokeInterface+1788) (BuildId: ae7d83b19362814cf0046e45374c79f4)
#35 pc 0000000000131a14 /apex/com.android.runtime/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: ae7d83b19362814cf0046e45374c79f4)
#36 pc 00000000006aaf88 /data/dalvik-cache/arm64/system@priv-app@MiuiGallery@MiuiGallery.apk@classes.vdex (com.miui.gallery.magic.util.MagicThreadHandler$WrapperRunnable.run+72)
#37 pc 00000000002b4b14 /apex/com.android.runtime/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.17460956533834400288+240) (BuildId: ae7d83b19362814cf0046e45374c79f4)
#38 pc 0000000000592548 /apex/com.android.runtime/lib64/libart.so (artQuickToInterpreterBridge+1032) (BuildId: ae7d83b19362814cf0046e45374c79f4)
#39 pc 0000000000140468 /apex/com.android.runtime/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: ae7d83b19362814cf0046e45374c79f4)
#40 pc 00000000014dfa8c /data/dalvik-cache/arm64/system@framework@boot-framework.oat


2. Changing font size to xxs on Lavender crashes the system and causes it to soft reboot.

Log:

Code:
*** FATAL EXCEPTION IN SYSTEM PROCESS: android.display
java.lang.IllegalArgumentException: Invalid value: 0.81 for setting: font_scale
at com.android.providers.settings.SettingsProvider.validateSystemSettingValue(Unknown Source:44)
at com.android.providers.settings.SettingsProvider.mutateSystemSetting(Unknown Source:166)
at com.android.providers.settings.SettingsProvider.insertSystemSetting(Unknown Source:1)
at com.android.providers.settings.SettingsProvider.call(Unknown Source:426)
at android.content.ContentProvider.call(Unknown Source:0)
at android.content.ContentProvider$Transport.call(Unknown Source:25)
at android.provider.Settings$NameValueCache.putStringForUser(Unknown Source:55)
at android.provider.Settings$System.putStringForUser(Unknown Source:69)
at android.provider.Settings$System.putFloatForUser(Unknown Source:4)
at android.provider.Settings$System.putConfigurationForUser(Unknown Source:5)
at com.android.server.wm.ActivityTaskManagerService.sendPutConfigurationForUserMsg(Unknown Source:6)
at com.android.server.wm.ActivityTaskManagerService.lambda$yP9TbBmrgQ4lrgcxb-8oL1pBAs4(Unknown Source:0)
at com.android.server.wm.-$$Lambda$ActivityTaskManagerService$yP9TbBmrgQ4lrgcxb-8oL1pBAs4.accept(Unknown Source:10)
at com.android.internal.util.function.pooled.PooledLambdaImpl.doInvoke(Unknown Source:815)
at com.android.internal.util.function.pooled.PooledLambdaImpl.invoke(Unknown Source:125)
at com.android.internal.util.function.pooled.OmniFunction.run(Unknown Source:10)
at android.os.Handler.handleCallback(Unknown Source:2)
at android.os.Handler.dispatchMessage(Unknown Source:4)
at android.os.Looper.loop(Unknown Source:242)
at android.os.HandlerThread.run(Unknown Source:28)
at com.android.server.ServiceThread.run(Unknown Source:12)


3. The Gallery Crashes when viewing photos in between swiping.

To be more precise it crashes after the 3rd Swipe

Log:

Code:
java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/system/priv-app/MiuiGallery/MiuiGallery.apk", zip file "/system/priv-app/RtMiCloudSDK/RtMiCloudSDK.apk"],nativeLibraryDirectories=[/system/priv-app/MiuiGallery/lib/arm64, /system/priv-app/MiuiGallery/MiuiGallery.apk!/lib/arm64-v8a, /system/lib64, /system/product/lib64, /system/priv-app/RtMiCloudSDK/RtMiCloudSDK.apk!/lib/arm64-v8a, /system/lib64, /system/product/lib64]]] couldn't find "libscreen_scene_tag.so"
at java.lang.Runtime.loadLibrary0(Runtime.java:1067)
at java.lang.Runtime.loadLibrary0(Runtime.java:1007)
at java.lang.System.loadLibrary(System.java:1667)
at com.xiaomi.sdk.screenClassify.(Unknown Source:3)
at com.miui.gallery.util.photoview.ScreenSceneAlgorithmManager.initScreenClassify(Unknown Source:11)
at com.miui.gallery.util.photoview.ScreenSceneAlgorithmManager.initAlgorithm(Unknown Source:69)
at com.miui.gallery.util.photoview.ScreenSceneAlgorithmManager.initAlgorithm(Unknown Source:91)
at com.miui.gallery.util.photoview.ScreenSceneAlgorithmManager$4.handleMessage(Unknown Source:78)
at android.os.Handler.dispatchMessage(Unknown Source:12)
at android.os.Looper.loop(Unknown Source:242)
at android.os.HandlerThread.run(Unknown Source:28)



All Credits of detecting the Bugs goes to Orjon also we tested and these are being faced on other lavenders


These all may also be Direct China Beta Issues but telling just so they be add in reported bug section.


All Credits does to @Orjon &
@MMETMA

Sent from my Redmi Note 7 using Tapatalk
 
Last edited by a moderator:

Orjon

Mi 10T Lite tester, Polish translator
Staff member
Mar 18, 2017
397
87
1. Video effects will be disabled for Redmi Note 7 with next update
2. Trying to fix it
3. Fixed for next release
 

Orjon

Mi 10T Lite tester, Polish translator
Staff member
Mar 18, 2017
397
87
Font size issue fixed for next release.