Closed Jack6Wolf closed 4 years ago
That's just too old. Upgrade to v1.0.24 or v1.1.0.
你确定你们v1.0.19这个版本确实存在可能造成ANR的问题?并且在v1.0.24 、 v1.1.0修复了?
NO. Just don't have time for such an old version.
我们升级到1.0.24或者1.1.0之后,热启动应用必然崩溃或者anr!在同样的状况手机运行你们的MMKVDemo同样如此!
Well, crash stack please? Also the logs.
这是你们MMKVDemo的carsh: 2020-04-03 11:03:55.206 4245-4245/com.tencent.mmkvdemo A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x8 in tid 4245 (encent.mmkvdemo), pid 4245 (encent.mmkvdemo) 2020-04-03 11:03:55.267 4415-4415/? A/DEBUG: 2020-04-03 11:03:55.267 4415-4415/? A/DEBUG: Build fingerprint: 'TECNO/H633/TECNO-CA7:8.1.0/O11019/BCDK-190323V246:user/release-keys' 2020-04-03 11:03:55.267 4415-4415/? A/DEBUG: Revision: '0' 2020-04-03 11:03:55.267 4415-4415/? A/DEBUG: ABI: 'arm64' 2020-04-03 11:03:55.267 4415-4415/? A/DEBUG: pid: 4245, tid: 4245, name: encent.mmkvdemo >>> com.tencent.mmkvdemo <<< 2020-04-03 11:03:55.267 4415-4415/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x8 2020-04-03 11:03:55.267 4415-4415/? A/DEBUG: Cause: null pointer dereference 2020-04-03 11:03:55.268 4415-4415/? A/DEBUG: x0 6d317de01397f760 x1 000000720b2d6480 x2 0000000000000020 x3 0000000000000006 2020-04-03 11:03:55.268 4415-4415/? A/DEBUG: x4 00000000000000d9 x5 000000720b2d64a0 x6 3330636366373231 x7 6235343838613065 2020-04-03 11:03:55.268 4415-4415/? A/DEBUG: x8 9ddfea08eb382d69 x9 65caa4de4b417060 x10 751a7ada543f1e20 x11 211a3b720bcafbf9 2020-04-03 11:03:55.268 4415-4415/? A/DEBUG: x12 f5532ab7ce3ff68f x13 2a815e95b3d8dd95 x14 2f2befe48468edc8 x15 be41013c00000000 2020-04-03 11:03:55.268 4415-4415/? A/DEBUG: x16 6536653436363564 x17 000000728f17e7f8 x18 000000002dd6b629 x19 6d317de01397f760 2020-04-03 11:03:55.268 4415-4415/? A/DEBUG: x20 0000000000000000 x21 0000007fe099ebe0 x22 0000000000000001 x23 00000072907f8a40 2020-04-03 11:03:55.268 4415-4415/? A/DEBUG: x24 0000000000001000 x25 00000072907f8a40 x26 00000072907f8a40 x27 00000071f2a77578 2020-04-03 11:03:55.268 4415-4415/? A/DEBUG: x28 0000000000000005 x29 0000007fe099ebd0 x30 00000071f2a0775c 2020-04-03 11:03:55.268 4415-4415/? A/DEBUG: sp 0000007fe099eb70 pc 00000071f2a07760 pstate 0000000020000000 2020-04-03 11:03:55.270 4415-4415/? A/DEBUG: backtrace: 2020-04-03 11:03:55.270 4415-4415/? A/DEBUG: #00 pc 0000000000019760 /data/app/com.tencent.mmkvdemo-APntHFaiqSWGI1ZSKjaO4g==/lib/arm64/libmmkv.so 2020-04-03 11:03:55.270 4415-4415/? A/DEBUG: #01 pc 000000000001b14c /data/app/com.tencent.mmkvdemo-APntHFaiqSWGI1ZSKjaO4g==/lib/arm64/libmmkv.so 2020-04-03 11:03:55.270 4415-4415/? A/DEBUG: #02 pc 0000000000010264 /data/app/com.tencent.mmkvdemo-APntHFaiqSWGI1ZSKjaO4g==/lib/arm64/libmmkv.so 2020-04-03 11:03:55.270 4415-4415/? A/DEBUG: #03 pc 0000000000010b4c /data/app/com.tencent.mmkvdemo-APntHFaiqSWGI1ZSKjaO4g==/oat/arm64/base.odex (offset 0xf000) 2020-04-03 11:03:55.976 533-533/? E//system/bin/tombstoned: Tombstone written to: /data/tombstones/tombstone_06 2020-04-03 11:03:55.986 390-390/? E/lowmemorykiller: Error writing /proc/4245/oom_score_adj; errno=22 2020-04-03 11:03:56.037 926-8045/? E/libPowerStretch: system_server in hard-coded bl 2020-04-03 11:03:56.067 1822-2114/? E/libPowerStretch: TimeStamps from Cache: lucid = 20081231170000, customer = 20081231170000 2020-04-03 11:03:56.067 1822-2114/? E/libPowerStretch: Cache valid RC: lucid = 2, customer = 2 2020-04-03 11:03:56.067 1822-2114/? E/libPowerStretch: com.transsion.hilauncher is in priority_bl 2020-04-03 11:03:56.067 1822-2114/? E/libPowerStretch: Priority black list: 1 2020-04-03 11:03:56.067 1822-2114/? E/libPowerStretch: com.transsion.hilauncher in bl 2020-04-03 11:03:56.075 926-946/? E/libPowerStretch: LucidSystemServerLogic::onSetLucidFgApp send resetFromSystemServer appName = com.transsion.hilauncher 2020-04-03 11:03:56.085 926-946/? E/libPowerStretch: get iris_factor xml value failed 2020-04-03 11:03:56.086 926-946/? E/libPowerStretch: get normal_save/outdoor_low_iris_param xml value failed 2020-04-03 11:03:56.087 926-946/? E/libPowerStretch: get high_save/outdoor_low_iris_param xml value failed 2020-04-03 11:03:56.087 926-946/? E/libPowerStretch: get ultra_save/outdoor_low_iris_param xml value failed 2020-04-03 11:03:56.088 926-946/? E/libPowerStretch: get normal_save/outdoor_high_iris_param xml value failed 2020-04-03 11:03:56.088 926-946/? E/libPowerStretch: get high_save/outdoor_high_iris_param xml value failed 2020-04-03 11:03:56.089 926-946/? E/libPowerStretch: get ultra_save/outdoor_high_iris_param xml value failed 2020-04-03 11:03:56.090 926-946/? E/libPowerStretch: com.transsion.hilauncher is in priority_bl 2020-04-03 11:03:56.091 926-946/? E/libPowerStretch: LucidConfig::getIrisOverride m_irisOverride = 0
Logs please? Also which device are you running on?
是的!在关闭网络的环境下! 设备信息: TECNO/H633/TECNO-CA7 Android:8.1.0 `2020-04-03 12:05:07.689 3953-6648/? I/ADB_SERVICES: post waitpid (pid=6647) status=0000 2020-04-03 12:05:07.744 3953-6650/? I/ADB_SERVICES: post waitpid (pid=6649) status=0000 2020-04-03 12:05:08.326 2672-6558/? V/FA: Inactivity, disconnecting from the service 2020-04-03 12:05:08.730 6561-6660/? I/DynamiteModule: Considering local module com.google.android.gms.measurement.dynamite:12 and remote module com.google.android.gms.measurement.dynamite:0 2020-04-03 12:05:08.730 6561-6660/? I/DynamiteModule: Selected local version of com.google.android.gms.measurement.dynamite 2020-04-03 12:05:08.739 6561-6660/? W/zygote64: Unsupported class loader 2020-04-03 12:05:08.741 6561-6660/? W/zygote64: Skipping duplicate class check due to unsupported classloader 2020-04-03 12:05:08.896 6561-6665/? V/FA: App measurement collection enabled 2020-04-03 12:05:08.899 6561-6665/? V/FA: App measurement enabled for app package, google app id: com.google.android.googlequicksearchbox, 1:1086610230652:android:131e4c3db28fca84 2020-04-03 12:05:08.902 6561-6665/? I/FA: App measurement initialized, version: 25005 2020-04-03 12:05:08.902 6561-6665/? I/FA: To enable debug logging run: adb shell setprop log.tag.FA VERBOSE 2020-04-03 12:05:08.902 6561-6665/? I/FA: To enable faster debug mode event logging run: adb shell setprop debug.firebase.analytics.app com.google.android.googlequicksearchbox 2020-04-03 12:05:08.902 6561-6665/? D/FA: Debug-level message logging enabled 2020-04-03 12:05:08.952 6561-6665/? V/FA: Connecting to remote service 2020-04-03 12:05:08.972 6561-6665/? V/FA: Connection attempt already in progress 2020-04-03 12:05:08.975 6561-6665/? D/FA: Connected to remote service 2020-04-03 12:05:08.976 6561-6665/? V/FA: Processing queued up service tasks: 2 2020-04-03 12:05:09.699 1822-6540/? V/FA: Inactivity, disconnecting from the service 2020-04-03 12:05:10.101 518-518/? I/thermal_repeater: [recvMdThermalInfo] ret=37, strLen=127, 2, 32767, -127, 20821, 32767, -20554 2020-04-03 12:05:12.904 387-412/? I/libPerfService: 13: legacy set freq: -1 -1 -1 -1 2020-04-03 12:05:12.906 3953-3953/? I/ADB_SERVICES: g_pending_list length=1 2020-04-03 12:05:12.906 3953-3953/? I/ADB_SERVICES: +read_data=101333 local_socket_list_len=2 2020-04-03 12:05:13.695 6561-6561/? I/MemoryTrimmer: Trimming objects from memory, since app is in the background. 2020-04-03 12:05:13.994 6561-6665/? V/FA: Inactivity, disconnecting from the service 2020-04-03 12:05:14.771 926-1178/? D/AES: AEEIOCTL_GET/SET_SF_STATE IOCTL,cmd= 1074294797, lParam=0. 2020-04-03 12:05:14.771 926-1178/? D/AES: AEEIOCTL_RT_MON_Kick IOCTL,cmd= 2147774474, lParam=300. 2020-04-03 12:05:20.129 518-518/? I/thermal_repeater: [recvMdThermalInfo] ret=37, strLen=127, 2, 32767, -127, 20821, 32767, -20554 2020-04-03 12:05:23.712 6561-6593/? I/WorkerManager: dispose()
--------- beginning of system
2020-04-03 12:05:28.049 926-5608/? I/ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.tencent.mmkvdemo/.MainActivity bnds=[536,550][712,747] (has extras)} from uid 10069
2020-04-03 12:05:28.052 387-413/? I/vendor.mediatek.hardware.power@1.1-impl: PowerHint hint:8, data:1
2020-04-03 12:05:28.053 387-412/? I/libPerfService: 8: legacy set freq: 1508000 -1 2002000 -1
2020-04-03 12:05:28.056 926-5608/? D/PowerManagerService: wqGMS:SkipGmsWakeLockByPkg return pkg= android tag= launch mIsGmsConnected= true
2020-04-03 12:05:28.056 926-5608/? D/PowerManagerService: wqGMS:Gms Connected
2020-04-03 12:05:28.061 926-946/? W/BroadcastQueue: Permission Denial: receiving Intent { act=com.android.launcher3.action.LAUNCH flg=0x10 (has extras) } to ProcessRecord{a74bbb5 1550:com.google.android.gms.persistent/u0a13} (pid=1550, uid=10013) requires com.transsion.hilauncher.permission.RECEIVE_LAUNCH_BROADCASTS due to sender com.transsion.hilauncher (uid 10069)
2020-04-03 12:05:28.061 926-946/? W/BroadcastQueue: Permission Denial: receiving Intent { act=com.android.launcher3.action.LAUNCH flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$GmsExternalReceiver requires com.transsion.hilauncher.permission.RECEIVE_LAUNCH_BROADCASTS due to sender com.transsion.hilauncher (uid 10069)
2020-04-03 12:05:28.062 1822-6540/? V/FA: Recording user engagement, ms: 25010
2020-04-03 12:05:28.062 1822-6540/? V/FA: Connecting to remote service
2020-04-03 12:05:28.063 926-1027/? D/WindowClient: Add to mViews: DecorView@1cc6e8b[mmkvdemo], this = android.view.WindowManagerGlobal@dc2fa51
2020-04-03 12:05:28.063 926-1027/? D/ViewRootImpl[mmkvdemo]: hardware acceleration = false , fakeHwAccelerated = true, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false
2020-04-03 12:05:28.070 1822-6540/? V/FA: Activity paused, time: 178251964
2020-04-03 12:05:28.073 1822-6540/? D/FA: Logging event (FE): user_engagement(_e), Bundle[{firebase_event_origin(_o)=auto, engagement_time_msec(_et)=25010, firebase_screen_class(_sc)=Launcher, firebase_screen_id(_si)=-1891772369087027393, firebase_screen(_sn)=MZsScreenExit}]
2020-04-03 12:05:28.076 391-391/? I/BufferQueue: unnamed-391-965 BufferQueue core=(391:/system/bin/surfaceflinger)
2020-04-03 12:05:28.077 391-391/? W/GuiExt: Cannot find GuiExtService
2020-04-03 12:05:28.077 391-391/? I/BufferQueueConsumer: unnamed-391-965 connect(C): consumer=(391:/system/bin/surfaceflinger) controlledByApp=false
2020-04-03 12:05:28.077 391-391/? I/BufferQueueConsumer: unnamed-391-965 setConsumerName: unnamed-391-965
2020-04-03 12:05:28.077 391-391/? I/BufferQueueConsumer: Splash Screen com.tencent.mmkvdemo#0 setConsumerName: Splash Screen com.tencent.mmkvdemo#0
2020-04-03 12:05:28.077 391-391/? I/BufferQueueConsumer: Splash Screen com.tencent.mmkvdemo#0 setDefaultBufferSize: width=720 height=1440
2020-04-03 12:05:28.085 926-7367/? I/ActivityManager: Start proc 6684:com.tencent.mmkvdemo/u0a120 for activity com.tencent.mmkvdemo/.MainActivity
2020-04-03 12:05:28.086 399-1981/? D/pnpmgr: Got fd=24, /sys/power/pnpmgr/ams/process updated:-1,-1
2020-04-03 12:05:28.086 399-1981/? D/pnpmgr: uid:10120, pid:6684
2020-04-03 12:05:28.090 926-1027/? D/Surface: lockCanvas
2020-04-03 12:05:28.090 926-1027/? D/Surface: Surface::connect(this=0x71ede1d000,api=2)
2020-04-03 12:05:28.091 391-417/? I/BufferQueueProducer: Splash Screen com.tencent.mmkvdemo#0 connect(P): api=2 producer=(926:system_server) producerControlledByApp=false
2020-04-03 12:05:28.091 391-391/? I/DisplayDevice: [Built-in Screen (type:0)] fps:1.169833,dur:23080.21,max:22434.21,min:16.29
2020-04-03 12:05:28.092 6684-6684/? I/zygote64: Late-enabling -Xcheck:jni
2020-04-03 12:05:28.098 1822-6540/? V/FA: Connection attempt already in progress
2020-04-03 12:05:28.098 1822-6540/? D/FA: Connected to remote service
2020-04-03 12:05:28.098 1822-6540/? V/FA: Processing queued up service tasks: 2
2020-04-03 12:05:28.114 1648-6542/? V/FA-SVC: Logging event: origin=auto,name=user_engagement(_e),params=Bundle[{ga_event_origin(_o)=auto, engagement_time_msec(_et)=25010, ga_screen_class(_sc)=Launcher, ga_screen_id(_si)=-1891772369087027393, ga_screen(_sn)=MZsScreenExit}]
2020-04-03 12:05:28.141 1648-6542/? V/FA-SVC: No network
2020-04-03 12:05:28.141 1648-6542/? V/FA-SVC: Unscheduling upload
2020-04-03 12:05:28.144 1648-6542/? V/FA-SVC: Background event processing time, ms: 32
2020-04-03 12:05:28.150 926-1821/? D/SingleHandMode: performTraversalInTransactionFromWindowManagerInternal false
2020-04-03 12:05:28.150 926-1821/? D/SingleHandMode: displayDeviceInfo.type:1
2020-04-03 12:05:28.150 926-1821/? D/SingleHandMode: the rect is normal
2020-04-03 12:05:28.150 926-1821/? D/SingleHandMode: the rect is changed null,displayDeviceInfo.type:1
2020-04-03 12:05:28.154 926-1821/? D/AppLockDelegator: appLockCheck:
2020-04-03 12:05:28.154 926-1821/? D/ActivityManager: realStartActivityLocked: app lock service check
2020-04-03 12:05:28.154 399-1981/? D/pnpmgr: Got fd=19, /sys/power/pnpmgr/ams/activity updated:com.tencent.mmkvdemo
2020-04-03 12:05:28.155 926-1821/? V/WindowManager: Set focused app to: AppWindowToken{8e30614 token=Token{8136f02 ActivityRecord{77b484d u0 com.tencent.mmkvdemo/.MainActivity t256}}} old focus=AppWindowToken{2985dd8 token=Token{ff91ba9 ActivityRecord{144b330 u0 com.transsion.hilauncher/com.android.launcher3.Launcher t87}}} moveFocusNow=true
2020-04-03 12:05:28.155 926-1821/? V/WindowManager: Changing focus from Window{b581c54 u0 com.transsion.hilauncher/com.android.launcher3.Launcher} to null Callers=com.android.server.wm.WindowManagerService.setFocusedApp:2761 com.android.server.am.ActivityManagerService.setResumedActivityUncheckLocked:3458 com.android.server.am.ActivityStack.setResumedActivityLocked:2348 com.android.server.am.ActivityStack.minimalResumeActivityLocked:1105
2020-04-03 12:05:28.156 926-1821/? D/WindowManager: Input focus has changed to null
2020-04-03 12:05:28.156 3953-3953/? I/ADB_SERVICES: service_to_fd shell:stat -c %u /proc/6684 | xargs -n 1 pm list packages --uid
2020-04-03 12:05:28.163 926-1699/? D/PowerManagerService: wqGMS:SkipGmsWakeLockByPkg return pkg= com.google.android.gms tag= gms_scheduler:internal mIsGmsConnected= true
2020-04-03 12:05:28.164 926-1699/? D/PowerManagerService: wqGMS:Gms Connected
2020-04-03 12:05:28.164 926-1821/? D/ProcessManager: After resumed : com.tencent.mmkvdemo
2020-04-03 12:05:28.164 387-413/? I/vendor.mediatek.hardware.power@1.1-impl: notifyAppState pack:com.tencent.mmkvdemo, act:com.tencent.mmkvdemo.MainActivity, pid:6684, state:1
2020-04-03 12:05:28.167 387-412/? I/libPerfService: [perfNotifyAppState] foreground:com.tencent.mmkvdemo, pid:6684
2020-04-03 12:05:28.169 926-957/? I/WindowManager: Focus moving from Window{b581c54 u0 com.transsion.hilauncher/com.android.launcher3.Launcher} to null
2020-04-03 12:05:28.169 926-1044/? I/InputReader: Reconfiguring input devices. changes=0x00000004
2020-04-03 12:05:28.176 1822-2114/? D/Surface: Surface::disconnect(this=0x720b318000,api=1)
2020-04-03 12:05:28.177 391-417/? I/BufferQueueProducer: com.transsion.hilauncher/com.android.launcher3.Launcher#0 disconnect(P): api 1
2020-04-03 12:05:28.177 391-417/? I/BufferQueueConsumer: com.transsion.hilauncher/com.android.launcher3.Launcher#0 getReleasedBuffers: returning mask 0xffffffffffffffff
2020-04-03 12:05:28.183 926-5608/? D/PowerManagerService: releaseWakeLockInternal: lock=164175452 [gms_scheduler:internal], flags=0x0, totaltime=20ms
2020-04-03 12:05:28.188 1102-22449/? D/SystemServicesProxy: getRecentTasks:TASK = id=256 stackId=1 user=0 lastActiveTime=1585886728157 componentComponentInfo{com.tencent.mmkvdemo/com.tencent.mmkvdemo.MainActivity}/isExcluded = false/includeFrontMostExcludedTask = false/isFirstValidTask = true/t.id = 256
2020-04-03 12:05:28.189 1102-22449/? D/SystemServicesProxy: getRecentTasks:TASK = id=253 stackId=-1 user=0 lastActiveTime=1585886593663 componentComponentInfo{com.star.mobile.video.debug.v52400/com.star.mobile.video.activity.WelcomeActivity}/isExcluded = false/includeFrontMostExcludedTask = false/isFirstValidTask = false/t.id = -1
2020-04-03 12:05:28.189 1102-22449/? D/SystemServicesProxy: getRecentTasks:TASK = id=165 stackId=-1 user=0 lastActiveTime=1585715379935 componentComponentInfo{com.android.settings/com.android.settings.applications.InstalledAppDetailsTop}/isExcluded = false/includeFrontMostExcludedTask = false/isFirstValidTask = false/t.id = -1
2020-04-03 12:05:28.189 1102-22449/? D/SystemServicesProxy: getRecentTasks:TASK = id=86 stackId=-1 user=0 lastActiveTime=1585642761470 componentComponentInfo{com.android.settings/com.android.settings.applications.InstalledAppDetailsTop}/isExcluded = false/includeFrontMostExcludedTask = false/isFirstValidTask = false/t.id = -1
2020-04-03 12:05:28.189 1102-22449/? D/SystemServicesProxy: getRecentTasks:TASK = id=44 stackId=-1 user=0 lastActiveTime=1585298596464 componentComponentInfo{com.android.settings/com.android.settings.applications.InstalledAppDetailsTop}/isExcluded = false/includeFrontMostExcludedTask = false/isFirstValidTask = false/t.id = -1
2020-04-03 12:05:28.189 1102-22449/? D/SystemServicesProxy: getRecentTasks:TASK = id=43 stackId=-1 user=0 lastActiveTime=1585298583363 componentComponentInfo{com.tencent.android.qqdownloader/com.tencent.nucleus.manager.setting.SettingActivity}/isExcluded = false/includeFrontMostExcludedTask = false/isFirstValidTask = false/t.id = -1
2020-04-03 12:05:28.189 1102-22449/? D/SystemServicesProxy: getRecentTasks:TASK = id=23 stackId=-1 user=0 lastActiveTime=1585292488077 componentComponentInfo{com.android.settings/com.android.settings.applications.InstalledAppDetailsTop}/isExcluded = false/includeFrontMostExcludedTask = false/isFirstValidTask = false/t.id = -1
2020-04-03 12:05:28.192 1102-22449/? D/AppLockLoader: isAppLocked: packageName=com.tencent.mmkvdemo, isLocked=false
2020-04-03 12:05:28.193 1102-22449/? D/AppLockLoader: isAppLocked: packageName=com.star.mobile.video.debug.v52400, isLocked=false
2020-04-03 12:05:28.206 391-391/? W/Layer: [Splash Screen com.tencent.mmkvdemo#0] opaque layer with plane alpha:0.08 cannot be handled by hwcomposer
2020-04-03 12:05:28.210 6684-6684/com.tencent.mmkvdemo I/LoadedApk: No resource references to update in package com.transsion.theme.icon
2020-04-03 12:05:28.211 391-391/? I/BufferQueueProducer: FrameBufferSurface_0 queueBuffer: fps=0.04 dur=107014.38 max=106964.96 min=16.25
2020-04-03 12:05:28.222 391-391/? W/Layer: [Splash Screen com.tencent.mmkvdemo#0] opaque layer with plane alpha:0.30 cannot be handled by hwcomposer
2020-04-03 12:05:28.238 391-391/? W/Layer: [Splash Screen com.tencent.mmkvdemo#0] opaque layer with plane alpha:0.62 cannot be handled by hwcomposer
2020-04-03 12:05:28.245 926-5608/? V/SettingsProvider: packageValueForCallResult, name = null, value : Bundle[{_track_generation=android.util.MemoryIntArray@6c, value=null, _generation_index=0, _generation=27}]
2020-04-03 12:05:28.255 391-391/? W/Layer: [Splash Screen com.tencent.mmkvdemo#0] opaque layer with plane alpha:0.77 cannot be handled by hwcomposer
2020-04-03 12:05:28.271 391-391/? W/Layer: [Splash Screen com.tencent.mmkvdemo#0] opaque layer with plane alpha:0.86 cannot be handled by hwcomposer
2020-04-03 12:05:28.288 391-391/? W/Layer: [Splash Screen com.tencent.mmkvdemo#0] opaque layer with plane alpha:0.92 cannot be handled by hwcomposer
2020-04-03 12:05:28.305 391-391/? W/Layer: [Splash Screen com.tencent.mmkvdemo#0] opaque layer with plane alpha:0.95 cannot be handled by hwcomposer
2020-04-03 12:05:28.313 6684-6684/com.tencent.mmkvdemo I/zygote64: Rejecting re-init on previously-failed class java.lang.Class<androidx.core.view.ViewCompat$2>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/view/View$OnUnhandledKeyEventListener;
2020-04-03 12:05:28.313 6684-6684/com.tencent.mmkvdemo I/zygote64: at void androidx.core.view.ViewCompat.setBackground(android.view.View, android.graphics.drawable.Drawable) (ViewCompat.java:2559)
2020-04-03 12:05:28.313 6684-6684/com.tencent.mmkvdemo I/zygote64: at void androidx.appcompat.widget.ActionBarContainer.
--------- beginning of crash
2020-04-03 12:05:50.771 6684-6684/com.tencent.mmkvdemo A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x8 in tid 6684 (encent.mmkvdemo), pid 6684 (encent.mmkvdemo) 2020-04-03 12:05:50.772 391-391/? W/Layer: [Splash Screen com.tencent.mmkvdemo#0] opaque layer with plane alpha:0.95 cannot be handled by hwcomposer 2020-04-03 12:05:50.789 391-391/? W/Layer: [Splash Screen com.tencent.mmkvdemo#0] opaque layer with plane alpha:0.98 cannot be handled by hwcomposer 2020-04-03 12:05:50.796 494-539/? D/AAL: 04-03 05:05:50.747 BL= 69,ESS= 256, 2020-04-03 12:05:50.805 391-391/? W/Layer: [Splash Screen com.tencent.mmkvdemo#0] opaque layer with plane alpha:0.99 cannot be handled by hwcomposer 2020-04-03 12:05:50.822 391-391/? W/Layer: [Splash Screen com.tencent.mmkvdemo#0] opaque layer with plane alpha:1.00 cannot be handled by hwcomposer 2020-04-03 12:05:50.828 6836-6836/? I/crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstone 2020-04-03 12:05:50.829 533-533/? I//system/bin/tombstoned: received crash request for pid 6684 2020-04-03 12:05:50.831 6836-6836/? I/crash_dump64: performing dump of process 6684 (target tid = 6684) 2020-04-03 12:05:50.832 6684-6684/com.tencent.mmkvdemo I/libc: orig_dumpable: 1 2020-04-03 12:05:50.832 6836-6836/? A/DEBUG: 2020-04-03 12:05:50.832 6836-6836/? A/DEBUG: Build fingerprint: 'TECNO/H633/TECNO-CA7:8.1.0/O11019/BCDK-190323V246:user/release-keys' 2020-04-03 12:05:50.832 6836-6836/? A/DEBUG: Revision: '0' 2020-04-03 12:05:50.832 6836-6836/? A/DEBUG: ABI: 'arm64' 2020-04-03 12:05:50.832 6836-6836/? A/DEBUG: pid: 6684, tid: 6684, name: encent.mmkvdemo >>> com.tencent.mmkvdemo <<< 2020-04-03 12:05:50.832 6836-6836/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x8 2020-04-03 12:05:50.832 6836-6836/? A/DEBUG: Cause: null pointer dereference 2020-04-03 12:05:50.832 6836-6836/? A/DEBUG: x0 6d317de01397f760 x1 00000071fe4af740 x2 0000000000000020 x3 0000000000000006 2020-04-03 12:05:50.832 6836-6836/? A/DEBUG: x4 00000000000000d4 x5 00000071fe4af760 x6 3330636366373231 x7 6235343838613065 2020-04-03 12:05:50.832 6836-6836/? A/DEBUG: x8 9ddfea08eb382d69 x9 65caa4de4b417060 x10 751a7ada543f1e20 x11 211a3b720bcafbf9 2020-04-03 12:05:50.832 6836-6836/? A/DEBUG: x12 f5532ab7ce3ff68f x13 2a815e95b3d8dd95 x14 2f2befe48468edc8 x15 be41013c00000000 2020-04-03 12:05:50.832 6836-6836/? A/DEBUG: x16 6536653436363564 x17 000000728f17e7f8 x18 000000002dd6b629 x19 6d317de01397f760 2020-04-03 12:05:50.832 6836-6836/? A/DEBUG: x20 0000000000000000 x21 0000007fe099ebe0 x22 0000000000000001 x23 00000072907f8a40 2020-04-03 12:05:50.832 6836-6836/? A/DEBUG: x24 0000000000001000 x25 00000072907f8a40 x26 00000072907f8a40 x27 00000071f2b4d578 2020-04-03 12:05:50.832 6836-6836/? A/DEBUG: x28 0000000000000005 x29 0000007fe099ebd0 x30 00000071f2add75c 2020-04-03 12:05:50.832 6836-6836/? A/DEBUG: sp 0000007fe099eb70 pc 00000071f2add760 pstate 0000000020000000 2020-04-03 12:05:50.834 6836-6836/? A/DEBUG: backtrace: 2020-04-03 12:05:50.834 6836-6836/? A/DEBUG: #00 pc 0000000000019760 /data/app/com.tencent.mmkvdemo-APntHFaiqSWGI1ZSKjaO4g==/lib/arm64/libmmkv.so 2020-04-03 12:05:50.834 6836-6836/? A/DEBUG: #01 pc 000000000001b14c /data/app/com.tencent.mmkvdemo-APntHFaiqSWGI1ZSKjaO4g==/lib/arm64/libmmkv.so 2020-04-03 12:05:50.834 6836-6836/? A/DEBUG: #02 pc 0000000000010264 /data/app/com.tencent.mmkvdemo-APntHFaiqSWGI1ZSKjaO4g==/lib/arm64/libmmkv.so 2020-04-03 12:05:50.834 6836-6836/? A/DEBUG: #03 pc 0000000000010b4c /data/app/com.tencent.mmkvdemo-APntHFaiqSWGI1ZSKjaO4g==/oat/arm64/base.odex (offset 0xf000) 2020-04-03 12:05:50.839 1102-1102/? D/RecentsImpl: mWaitingForTransitionStart = false waitingForTransitionStartfalse 2020-04-03 12:05:50.839 1102-1102/? D/RecentsImpl: mWaitingForTransitionStart = false waitingForTransitionStartfalse 2020-04-03 12:05:50.842 1102-1102/? D/ImageWallpaper: onVisibilityChanged: mVisible, visible=true, false 2020-04-03 12:05:50.842 1102-1102/? D/ImageWallpaper: Visibility changed to visible=false 2020-04-03 12:05:51.503 814-814/? D/AEE_AED: $===AEE===AEE===AEE===$ 2020-04-03 12:05:51.504 814-814/? D/AEE_AED: p 2 poll events 1 revents 1 2020-04-03 12:05:51.504 814-814/? D/AEE_AED: PPM cpu cores:8, online:8 2020-04-03 12:05:51.505 814-814/? D/AEE_AED: aed_main_fork_worker: generator 0x78c4c30480, worker 0x7ffe898188, recv_fd 10 2020-04-03 12:05:51.507 6837-6837/? V/AEE_AED: dashboard_record_update() : rec->module = com.tencent.mmkvdemo 2020-04-03 12:05:51.507 6837-6837/? D/AEE_AED: Duplicated exception, cnt = 7 2020-04-03 12:05:51.507 6837-6837/? D/AEE_AED: Last exception time: 1585886621 2020-04-03 12:05:51.507 6837-6837/? D/AEE_AED: cur time: 1585886751 2020-04-03 12:05:51.507 6837-6837/? D/AEE_AED: Skip for Exp level'0' 2020-04-03 12:05:51.507 6837-6837/? I/AEE_AED: aed_crash_dump_session: aed_report_filter asked to skip 2020-04-03 12:05:51.507 6836-6836/? I/crash_dump: crash_dump_notify exit 2020-04-03 12:05:51.508 814-814/? D/AEE_AED: clear ppm settings 2020-04-03 12:05:51.508 814-814/? D/AEE_AED: $===AEE===AEE===AEE===$ 2020-04-03 12:05:51.509 533-533/? E//system/bin/tombstoned: Tombstone written to: /data/tombstones/tombstone_09 2020-04-03 12:05:51.510 926-6838/? D/ActivityManager: crashInfo.exceptionClassName = Native crash , crashInfo.exceptionMessage = Segmentation fault, crashInfo.throwFileName = unknown,crashInfo.throwLineNumber = 0 2020-04-03 12:05:51.511 926-6838/? W/ActivityManager: Force finishing activity com.tencent.mmkvdemo/.MainActivity 2020-04-03 12:05:51.513 926-954/? I/BootReceiver: Copying /data/tombstones/tombstone_09 to DropBox (SYSTEM_TOMBSTONE) 2020-04-03 12:05:51.514 926-6838/? D/PowerManagerService: wqGMS:SkipGmsWakeLockByPkg return pkg= android tag= launch mIsGmsConnected= true 2020-04-03 12:05:51.514 926-6838/? D/PowerManagerService: wqGMS:Gms Connected 2020-04-03 12:05:51.519 926-947/? I/ActivityManager: Showing crash dialog for package com.tencent.mmkvdemo u0 2020-04-03 12:05:51.520 926-6839/? W/AES: Exception Log handling... 2020-04-03 12:05:51.522 926-946/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver 2020-04-03 12:05:51.522 926-946/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver 2020-04-03 12:05:51.523 390-390/? E/lowmemorykiller: Error writing /proc/6684/oom_score_adj; errno=22 2020-04-03 12:05:51.524 926-6839/? D/AES: ExceptionLog: notify aed (process:com.tencent.mmkvdemo pid:6684 cause:data_app_native_crash ) 2020-04-03 12:05:51.524 926-6839/? W/AES: native_crash should be processed by aee already 2020-04-03 12:05:51.547 926-7367/? D/PowerManagerService: wqGMS:SkipGmsWakeLockByPkg return pkg= com.google.android.gms tag= IntentOp:.common.broadcast.BackgroundBroadcastReceiverSupport$GmsReceiverIntentOperation mIsGmsConnected= true 2020-04-03 12:05:51.547 926-7367/? D/PowerManagerService: wqGMS:Gms Connected 2020-04-03 12:05:51.549 926-946/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver 2020-04-03 12:05:51.549 926-946/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver 2020-04-03 12:05:51.552 926-947/? D/WindowClient: Add to mViews: DecorView@3e27522[mmkvdemo], this = android.view.WindowManagerGlobal@dc2fa51 2020-04-03 12:05:51.557 926-947/? D/ViewRootImpl[mmkvdemo]: hardware acceleration = true , fakeHwAccelerated = false, sRendererDisabled = false, forceHwAccelerated = false, sSystemRendererDisabled = false 2020-04-03 12:05:51.559 926-7367/? D/PowerManagerService: wqGMS:SkipGmsWakeLockByPkg return pkg= com.google.android.gms tag= IntentOp:.common.broadcast.BackgroundBroadcastReceiverSupport$PersistentReceiverIntentOperation mIsGmsConnected= true 2020-04-03 12:05:51.559 926-7367/? D/PowerManagerService: wqGMS:Gms Connected 2020-04-03 12:05:51.559 926-947/? V/WindowManager: Changing focus from null to Window{9b89570 u0 Application Error: com.tencent.mmkvdemo} Callers=com.android.server.wm.WindowManagerService.addWindow:1591 com.android.server.wm.Session.addToDisplay:203 android.view.ViewRootImpl.setView:747 android.view.WindowManagerGlobal.addView:374 2020-04-03 12:05:51.561 926-947/? D/WindowManager: Input focus has changed to Window{9b89570 u0 Application Error: com.tencent.mmkvdemo} 2020-04-03 12:05:51.562 926-957/? I/WindowManager: Focus moving from null to Window{9b89570 u0 Application Error: com.tencent.mmkvdemo} 2020-04-03 12:05:51.565 391-417/? I/SurfaceFlinger: EventThread Client Pid (6684) disconnected by (391) 2020-04-03 12:05:51.566 391-417/? I/chatty: uid=1000(system) Binder:391_2 identical 1 line 2020-04-03 12:05:51.566 391-417/? I/SurfaceFlinger: EventThread Client Pid (6684) disconnected by (391) 2020-04-03 12:05:51.566 391-417/? I/SurfaceFlinger: [SF client] DEL(0x724fdd3680) for (926:system_server) 2020-04-03 12:05:51.567 926-4784/? I/ActivityManager: Process com.tencent.mmkvdemo (pid 6684) has died: vis +99TOP 2020-04-03 12:05:51.567 926-5603/? D/PowerManagerService: wqGMS:SkipGmsWakeLockByPkg return pkg= com.google.android.gms tag= IntentOp:.common.broadcast.BackgroundBroadcastReceiverSupport$GmsReceiverIntentOperation mIsGmsConnected= true 2020-04-03 12:05:51.567 926-5603/? D/PowerManagerService: wqGMS:Gms Connected 2020-04-03 12:05:51.568 926-5601/? D/PowerManagerService: wqGMS:SkipGmsWakeLockByPkg return pkg= com.google.android.gms tag= IntentOp:.common.broadcast.BackgroundBroadcastReceiverSupport$PersistentReceiverIntentOperation mIsGmsConnected= true 2020-04-03 12:05:51.568 926-5601/? D/PowerManagerService: wqGMS:Gms Connected 2020-04-03 12:05:51.567 926-951/? W/zygote64: kill(-6684, 9) failed: No such process 2020-04-03 12:05:51.568 926-951/? I/zygote64: Successfully killed process cgroup uid 10120 pid 6684 in 1ms 2020-04-03 12:05:51.569 926-5601/? D/PowerManagerService: releaseWakeLockInternal: lock=190234990 [IntentOp:.common.broadcast.BackgroundBroadcastReceiverSupport$GmsReceiverIntentOperation], flags=0x0, totaltime=22ms 2020-04-03 12:05:51.570 926-4784/? V/WindowManager: Removing focused app token:AppWindowToken{87287d3 token=Token{dcfc80c ActivityRecord{4c0973f u0 com.tencent.mmkvdemo/.MainActivity t257}}} mIsExiting= 2020-04-03 12:05:51.571 926-1027/? D/View: [Warning] assignParent to null: this = DecorView@a850ca4[mmkvdemo] 2020-04-03 12:05:51.572 926-1027/? D/Surface: Surface::disconnect(this=0x71ed5a3000,api=2) 2020-04-03 12:05:51.572 391-737/? I/BufferQueueProducer: Splash Screen com.tencent.mmkvdemo#0 disconnect(P): api 2 2020-04-03 12:05:51.572 391-737/? I/BufferQueueConsumer: Splash Screen com.tencent.mmkvdemo#0 getReleasedBuffers: returning mask 0xffffffffffffffff 2020-04-03 12:05:51.575 926-1027/? D/WindowClient: Remove from mViews: DecorView@a850ca4[mmkvdemo], this = android.view.WindowManagerGlobal@dc2fa51 2020-04-03 12:05:51.576 391-391/? I/BufferQueue: unnamed-391-969 BufferQueue core=(391:/system/bin/surfaceflinger) 2020-04-03 12:05:51.577 391-391/? W/GuiExt: Cannot find GuiExtService 2020-04-03 12:05:51.577 391-391/? I/BufferQueueConsumer: unnamed-391-969 connect(C): consumer=(391:/system/bin/surfaceflinger) controlledByApp=false 2020-04-03 12:05:51.577 391-391/? I/BufferQueueConsumer: unnamed-391-969 setConsumerName: unnamed-391-969 2020-04-03 12:05:51.577 391-391/? I/BufferQueueConsumer: Application Error: com.tencent.mmkvdemo#0 setConsumerName: Application Error: com.tencent.mmkvdemo#0 2020-04-03 12:05:51.577 391-391/? I/BufferQueueConsumer: Application Error: com.tencent.mmkvdemo#0 setDefaultBufferSize: width=25 height=25 2020-04-03 12:05:51.583 391-391/? I/BufferQueueConsumer: Application Error: com.tencent.mmkvdemo#0 setDefaultBufferSize: width=744 height=299 2020-04-03 12:05:51.583 391-391/? I/BufferQueueConsumer: Splash Screen com.tencent.mmkvdemo#0 disconnect(C) 2020-04-03 12:05:51.583 391-391/? I/BufferQueue: Splash Screen com.tencent.mmkvdemo#0 ~BufferQueueCore 2020-04-03 12:05:51.587 926-947/? D/Surface: Surface::allocateBuffers(this=0x71da721000) 2020-04-03 12:05:51.587 926-8045/? E/libPowerStretch: system_server in hard-coded bl 2020-04-03 12:05:51.587 926-8045/? D/Surface: Surface::connect(this=0x71da721000,api=1) 2020-04-03 12:05:51.587 926-4784/? V/WindowManager: Set focused app to: AppWindowToken{2985dd8 token=Token{ff91ba9 ActivityRecord{144b330 u0 com.transsion.hilauncher/com.android.launcher3.Launcher t87}}} old focus=null moveFocusNow=true 2020-04-03 12:05:51.587 391-1595/? I/BufferQueueProducer: Application Error: com.tencent.mmkvdemo#0 connect(P): api=1 producer=(926:system_server) producerControlledByApp=false 2020-04-03 12:05:51.588 387-413/? I/vendor.mediatek.hardware.power@1.1-impl: notifyAppState pack:com.transsion.hilauncher, act:com.android.launcher3.Launcher, pid:1822, state:1 2020-04-03 12:05:51.589 399-1981/? D/pnpmgr: Got fd=19, /sys/power/pnpmgr/ams/activity updated:com.transsion.hilauncher 2020-04-03 12:05:51.589 387-412/? I/libPerfService: [perfNotifyAppState] foreground:com.transsion.hilauncher, pid:1822 2020-04-03 12:05:51.589 926-4784/? D/ProcessManager: After resumed : com.transsion.hilauncher 2020-04-03 12:05:51.590 926-8045/? D/mali_winsys: EGLint new_window_surface(egl_winsys_display , void , EGLSurface, EGLConfig, egl_winsys_surface *, egl_color_buffer_format , EGLBoolean) returns 0x3000 2020-04-03 12:05:51.591 926-4784/? D/AppLockDelegator: appLockCheck: 2020-04-03 12:05:51.591 926-4784/? D/ActivityManager: resumeTopActivityInnerLocked: app lock service check, hot launch! 2020-04-03 12:05:51.596 1102-1102/? D/ImageWallpaper: onOffsetsChanged: xOffset=0.0, yOffset=0.0, xOffsetStep=0.0, yOffsetStep=0.0, xPixels=0, yPixels=0 2020-04-03 12:05:51.597 1102-1102/? D/ImageWallpaper: Suppressed drawFrame since redraw is not needed and offsets have not changed. 2020-04-03 12:05:51.597 1102-1102/? D/ImageWallpaper: onVisibilityChanged: mVisible, visible=false, true 2020-04-03 12:05:51.597 1102-1102/? D/ImageWallpaper: Visibility changed to visible=true 2020-04-03 12:05:51.598 1102-1102/? D/ImageWallpaper: Suppressed drawFrame since redraw is not needed and offsets have not changed. 2020-04-03 12:05:51.600 926-8045/? D/HWUIExtension: MTKProgramCache.generateProgram: 240518168576 2020-04-03 12:05:51.601 926-8045/? D/HWUIExtension: createProgram 0x0000003800000000, binary 0x71fdb293fc, length 4812, format 36705 within 1014ns 2020-04-03 12:05:51.603 926-8045/? D/HWUIExtension: MTKProgramCache.generateProgram: 8864812498944 2020-04-03 12:05:51.603 926-957/? W/ActivityManager: setHasOverlayUi called on unknown pid: 6684 2020-04-03 12:05:51.603 926-8045/? D/HWUIExtension: createProgram 0x0000081000000000, binary 0x71fdb3bdb8, length 12020, format 36705 within 583ns 2020-04-03 12:05:51.604 926-8045/? D/HWUIExtension: MTKProgramCache.generateProgram: 571780406181891 2020-04-03 12:05:51.605 926-8045/? D/HWUIExtension: createProgram 0x0002080800000003, binary 0x71fdb48138, length 12588, format 36705 within 705ns 2020-04-03 12:05:51.606 926-1695/? I/WindowManager: Relayout Window{b581c54 u0 com.transsion.hilauncher/com.android.launcher3.Launcher}: oldVis=8 newVis=0 focusMayChange = true 2020-04-03 12:05:51.607 926-5603/? D/PowerManagerService: releaseWakeLockInternal: lock=69055141 [IntentOp:.common.broadcast.BackgroundBroadcastReceiverSupport$PersistentReceiverIntentOperation], flags=0x0, totaltime=47ms 2020-04-03 12:05:51.610 926-8045/? D/HWUIExtension: MTKProgramCache.generateProgram: 571746055880769 2020-04-03 12:05:51.611 926-8045/? D/HWUIExtension: createProgram 0x0002080000900041, binary 0x71fdb44f08, length 12848, format 36705 within 645ns 2020-04-03 12:05:51.611 926-4851/? D/PowerManagerService: releaseWakeLockInternal: lock=229738106 [IntentOp:.common.broadcast.BackgroundBroadcastReceiverSupport$GmsReceiverIntentOperation], flags=0x0, totaltime=44ms 2020-04-03 12:05:51.614 1822-1822/? D/Surface: Surface::allocateBuffers(this=0x720b318000) 2020-04-03 12:05:51.614 1822-2114/? E/libPowerStretch: TimeStamps from Cache: lucid = 20081231170000, customer = 20081231170000 2020-04-03 12:05:51.615 1822-2114/? E/libPowerStretch: Cache valid RC: lucid = 2, customer = 2 2020-04-03 12:05:51.615 1822-2114/? E/libPowerStretch: com.transsion.hilauncher is in priority_bl 2020-04-03 12:05:51.615 1822-2114/? E/libPowerStretch: Priority black list: 1 2020-04-03 12:05:51.615 1822-2114/? E/libPowerStretch: com.transsion.hilauncher in bl 2020-04-03 12:05:51.615 1822-2114/? D/Surface: Surface::connect(this=0x720b318000,api=1) 2020-04-03 12:05:51.616 391-416/? I/BufferQueueProducer: com.transsion.hilauncher/com.android.launcher3.Launcher#0 connect(P): api=1 producer=(1822:com.transsion.hilauncher) producerControlledByApp=true 2020-04-03 12:05:51.619 1822-2114/? D/mali_winsys: EGLint new_window_surface(egl_winsys_display , void , EGLSurface, EGLConfig, egl_winsys_surface *, egl_color_buffer_format , EGLBoolean) returns 0x3000 2020-04-03 12:05:51.621 926-1776/? D/PowerManagerService: releaseWakeLockInternal: lock=63017030 [IntentOp:.common.broadcast.BackgroundBroadcastReceiverSupport$PersistentReceiverIntentOperation], flags=0x0, totaltime=52ms 2020-04-03 12:05:51.622 1822-6540/? V/FA: Activity resumed, time: 178275522 2020-04-03 12:05:51.623 1822-1822/? V/PhoneWindow: DecorView setVisiblity: visibility = 0, Parent = ViewRoot{3e6e9c5 com.transsion.hilauncher/com.android.launcher3.Launcher,ident = 0}, this = DecorView@c196a2f[Launcher] 2020-04-03 12:05:51.624 926-946/? E/libPowerStretch: LucidSystemServerLogic::onSetLucidFgApp send resetFromSystemServer appName = com.transsion.hilauncher 2020-04-03 12:05:51.624 926-946/? D/libPowerStretch: filename is null 2020-04-03 12:05:51.624 1102-21927/? D/SystemServicesProxy: getRecentTasks:TASK = id=253 stackId=-1 user=0 lastActiveTime=1585886593663 componentComponentInfo{com.star.mobile.video.debug.v52400/com.star.mobile.video.activity.WelcomeActivity}/isExcluded = false/includeFrontMostExcludedTask = false/isFirstValidTask = true/t.id = -1 2020-04-03 12:05:51.624 1102-21927/? D/SystemServicesProxy: getRecentTasks:TASK = id=165 stackId=-1 user=0 lastActiveTime=1585715379935 componentComponentInfo{com.android.settings/com.android.settings.applications.InstalledAppDetailsTop}/isExcluded = false/includeFrontMostExcludedTask = false/isFirstValidTask = false/t.id = -1 2020-04-03 12:05:51.624 1102-21927/? D/SystemServicesProxy: getRecentTasks:TASK = id=86 stackId=-1 user=0 lastActiveTime=1585642761470 componentComponentInfo{com.android.settings/com.android.settings.applications.InstalledAppDetailsTop}/isExcluded = false/includeFrontMostExcludedTask = false/isFirstValidTask = false/t.id = -1 2020-04-03 12:05:51.624 1102-21927/? D/SystemServicesProxy: getRecentTasks:TASK = id=44 stackId=-1 user=0 lastActiveTime=1585298596464 componentComponentInfo{com.android.settings/com.android.settings.applications.InstalledAppDetailsTop}/isExcluded = false/includeFrontMostExcludedTask = false/isFirstValidTask = false/t.id = -1 2020-04-03 12:05:51.624 1102-21927/? D/SystemServicesProxy: getRecentTasks:TASK = id=43 stackId=-1 user=0 lastActiveTime=1585298583363 componentComponentInfo{com.tencent.android.qqdownloader/com.tencent.nucleus.manager.setting.SettingActivity}/isExcluded = false/includeFrontMostExcludedTask = false/isFirstValidTask = false/t.id = -1 2020-04-03 12:05:51.624 1102-21927/? D/SystemServicesProxy: getRecentTasks:TASK = id=23 stackId=-1 user=0 lastActiveTime=1585292488077 componentComponentInfo{com.android.settings/com.android.settings.applications.InstalledAppDetailsTop}/isExcluded = false/includeFrontMostExcludedTask = false/isFirstValidTask = false/t.id = -1 2020-04-03 12:05:51.631 387-413/? I/vendor.mediatek.hardware.power@1.1-impl: PowerHint hint:8, data:0 2020-04-03 12:05:51.633 926-4405/? D/PowerManagerService: releaseWakeLockInternal: lock=198006017 [launch], flags=0x0, totaltime=1033ms 2020-04-03 12:05:51.637 1822-6540/? D/FA: Logging event (FE): onCreate_event, Bundle[{action=ADPoolCheck, firebase_event_origin(_o)=app, firebase_screen_class(_sc)=Launcher, firebase_screen_id(_si)=-1891772369087027393, firebase_screen(_sn)=MZsScreenExit}] 2020-04-03 12:05:51.638 926-4405/? D/IdleScreen: activityIdleScreen: android.app.ContextImpl@a110a0e mNotifyNeeded: false idleIntent: Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10800100 cmp=com.transsion.hilauncher/com.android.launcher3.Launcher } 2020-04-03 12:05:51.639 391-391/? I/DisplayDevice: [Built-in Screen (type:0)] fps:21.678106,dur:1014.85,max:663.39,min:14.40 2020-04-03 12:05:51.640 1102-21927/? D/AppLockLoader: isAppLocked: packageName=com.star.mobile.video.debug.v52400, isLocked=false 2020-04-03 12:05:51.643 926-946/? E/libPowerStretch: get iris_factor xml value failed 2020-04-03 12:05:51.644 926-946/? E/libPowerStretch: get normal_save/outdoor_low_iris_param xml value failed 2020-04-03 12:05:51.644 391-1595/? I/BufferQueueProducer: com.transsion.hilauncher/com.android.launcher3.Launcher#0 queueBuffer: fps=0.23 dur=4333.56 max=4333.56 min=4333.56 2020-04-03 12:05:51.645 926-946/? E/libPowerStretch: get high_save/outdoor_low_iris_param xml value failed 2020-04-03 12:05:51.645 926-946/? E/libPowerStretch: get ultra_save/outdoor_low_iris_param xml value failed 2020-04-03 12:05:51.646 926-946/? E/libPowerStretch: get normal_save/outdoor_high_iris_param xml value failed 2020-04-03 12:05:51.646 926-946/? E/libPowerStretch: get high_save/outdoor_high_iris_param xml value failed 2020-04-03 12:05:51.647 926-946/? E/libPowerStretch: get ultra_save/outdoor_high_iris_param xml value failed 2020-04-03 12:05:51.647 926-946/? E/libPowerStretch: com.transsion.hilauncher is in priority_bl 2020-04-03 12:05:51.643 926-926/? W/ActivityManager: type=1400 audit(0.0:2928): avc: denied { search } for name="user" dev="dm-2" ino=30 scontext=u:r:system_server:s0 tcontext=u:object_r:misc_user_data_file:s0 tclass=dir permissive=0 2020-04-03 12:05:51.647 926-946/? E/libPowerStretch: LucidConfig::getIrisOverride m_irisOverride = 0 2020-04-03 12:05:51.667 1822-6540/? D/FA: Logging event (FE): onCreate_event, Bundle[{action=ADPoolSwitch_true, firebase_event_origin(_o)=app, firebase_screen_class(_sc)=Launcher, firebase_screen_id(_si)=-1891772369087027393, firebase_screen(_sn)=MZsScreenExit}] 2020-04-03 12:05:51.673 1648-6542/? V/FA-SVC: Logging event: origin=app,name=onCreate_event,params=Bundle[{action=ADPoolCheck, ga_event_origin(_o)=app, ga_screen_class(_sc)=Launcher, ga_screen_id(_si)=-1891772369087027393, ga_screen(_sn)=MZsScreenExit}] 2020-04-03 12:05:51.684 1648-6542/? V/FA-SVC: No network 2020-04-03 12:05:51.684 1648-6542/? V/FA-SVC: Unscheduling upload 2020-04-03 12:05:51.687 391-391/? I/BufferQueueProducer: FrameBufferSurface_0 queueBuffer: fps=12.88 dur=1009.66 max=813.71 min=15.50 2020-04-03 12:05:51.689 1648-6542/? V/FA-SVC: Background event processing time, ms: 16 2020-04-03 12:05:51.693 1648-6542/? V/FA-SVC: Logging event: origin=app,name=onCreate_event,params=Bundle[{action=ADPoolSwitch_true, ga_event_origin(_o)=app, ga_screen_class(_sc)=Launcher, ga_screen_id(_si)=-1891772369087027393, ga_screen(_sn)=MZsScreenExit}] 2020-04-03 12:05:51.694 926-1695/? D/PowerManagerService: wqGMS:SkipGmsWakeLockByPkg return pkg= com.google.android.gms tag= gms_scheduler:internal mIsGmsConnected= true 2020-04-03 12:05:51.694 926-1695/? D/PowerManagerService: wqGMS:Gms Connected 2020-04-03 12:05:51.705 926-4405/? D/PowerManagerService: releaseWakeLockInternal: lock=164175452 [gms_scheduler:internal], flags=0x0, totaltime=11ms 2020-04-03 12:05:51.706 1648-6542/? V/FA-SVC: No network 2020-04-03 12:05:51.706 1648-6542/? V/FA-SVC: Unscheduling upload 2020-04-03 12:05:51.709 1648-6542/? V/FA-SVC: Background event processing time, ms: 16 2020-04-03 12:05:51.713 926-1695/? D/PowerManagerService: wqGMS:SkipGmsWakeLockByPkg return pkg= com.google.android.gms tag= gms_scheduler:internal mIsGmsConnected= true 2020-04-03 12:05:51.713 926-1695/? D/PowerManagerService: wqGMS:Gms Connected 2020-04-03 12:05:51.724 494-539/? D/AAL: 04-03 05:05:50.979 BL= 70,ESS= 256, 04-03 05:05:51.178 BL= 71,ESS= 256, 04-03 05:05:51.359 BL= 72,ESS= 256, 04-03 05:05:51.558 BL= 73,ESS= 256, 04-03 05:05:51.724 BL= 72,ESS= 256, 2020-04-03 12:05:51.726 926-1695/? D/PowerManagerService: releaseWakeLockInternal: lock=164175452 [gms_scheduler:internal], flags=0x0, totaltime=12ms 2020-04-03 12:05:51.744 926-935/? I/zygote64: Background concurrent copying GC freed 41084(2MB) AllocSpace objects, 40(2MB) LOS objects, 42% free, 18MB/32MB, paused 686us total 196.921ms 2020-04-03 12:05:51.767 1102-1102/? D/RecentsImpl: mWaitingForTransitionStart = false waitingForTransitionStartfalse `
还有一个问题:为什么你们MMKVDemo。启动进程到MainActivity需要这么久?这是发生阻塞了吗?
2020-04-03 13:30:35.254 926-957/? I/ActivityManager: Displayed com.tencent.mmkvdemo/.MainActivity: +3s721ms (total +9s350ms)
There's a bug in mmkvdemo's MMKV init & destroy logic. Shouldn't do that in the MainActivity
cause it will be destroyed on a hot reload. Should do that in the Application
class.
It's fixed in the dev
branch with commit https://github.com/Tencent/MMKV/commit/8f0dfe1a790fe1bb74d4a178eb4b4a6ea0ae685a.
还有一个问题:为什么你们MMKVDemo。启动进程到MainActivity需要这么久?这是发生阻塞了吗?
2020-04-03 13:30:35.254 926-957/? I/ActivityManager: Displayed com.tencent.mmkvdemo/.MainActivity: +3s721ms (total +9s350ms)
No, I don't thinks so.
我们升级到1.0.24或者1.1.0之后,热启动应用必然崩溃或者anr!在同样的状况手机运行你们的MMKVDemo同样如此!
You should move the init & destroy logic into your main Application
class as well.
The Wiki will update soon.
Close this issue for now. If you still face ANR after upgrade to v1.1.0, please open a new issue.
嗨,您好!如果把MMKV.onExit()逻辑放置在onTerminate()中,在真机环境下,您并不能保证它能被调用啊!那样意味着MMKV.onExit()无效了!
嗨,您好!如果把MMKV.onExit()逻辑放置在onTerminate()中,在真机环境下,您并不能保证它能被调用啊!那样意味着MMKV.onExit()无效了!
You don't really need to call it. It's totally OK, let the Android OS do the cleanup job.
The language of MMKV
The version of MMKV
The platform of MMKV
The installation of MMKV
What's the issue?