adb logcat | grep -i -E "start u0"
亮灭屏和背光log分析关键字段:
DisplayPowerController: Animating brightness|DisplayPowerController: Brightness|PowerManagerService: Waking up|PowerManagerService: Going to sleep|DisplayManagerService: setTemporaryBrightness|AutomaticBrightnessController|START u0|DisplayManagerService: Display device changed state:|DisplayPowerController: updatePowerState: policy=|DreamManagerService|SurfaceFlinger: Setting power mode|SurfaceFlinger: Finished setting power|WindowManager: Started waking up|DisplayPowerController: Unblocked screen|WindowManager: Finished waking up|WindowManager: Finished going to sleep|WindowManager: Finished|PowerManagerService: Screen|DisplayPowerController: Animating brightness|ActivityManager: Start proc|FingerprintManager: handleMessage|InputDispatcher:
kernel亮灭屏关键字段:
syna double tap wakeup|dsi_panel_enable|dsi_panel_disable|BLANK|pwrkey|dsi_display_set_backlight|dsi_
WindowManager: SURFACE SHOW
ActivityManager: ANR
mtk anr:
AnrManager: ANR in com.tencent.mm (com.tencent.mm/.ui.chatting.gallery.ImageGalleryUI), time=324293212
*** FATAL EXCEPTION IN SYSTEM PROCESS
Watchdog: *** WATCHDOG KILLING SYSTEM PROCESS:
native crash log: "DEBUG : pid"
05-17 12:23:06.035 23193 23316 I ActivityManager: CPU usage from 118ms to 21ms ago (2022-05-17 12:23:05.917 to 2022-05-17 12:23:06.014):
05-17 12:23:06.035 23193 23316 I ActivityManager: 78% TOTAL: 28% user + 47% kernel + 2.7% irq
05-17 12:23:06.035 23193 23316 I ActivityManager: 147% 22957/android.hardware.audio.service: 0% user + 147% kernel / faults: 6 minor
05-17 12:23:06.035 23193 23316 I ActivityManager: 200% 23193/system_server: 100% user + 100% kernel / faults: 474 minor
bugreport log:
DUMP OF SERVICE
native crash log: "DEBUG : pid"
11-16 21:02:08.721 15023 15023 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
11-16 21:02:08.721 15023 15023 F DEBUG : Build fingerprint: 'Lenovo/m11_prc_wifi/J606F:11/RKQ1.210303.002/13.0.311_211112:user/release-keys'
11-16 21:02:08.721 15023 15023 F DEBUG : Revision: '0'
11-16 21:02:08.721 15023 15023 F DEBUG : ABI: 'arm64'
11-16 21:02:08.722 15023 15023 F DEBUG : Timestamp: 2021-11-16 21:02:08+0800
11-16 21:02:08.722 15023 15023 F DEBUG : pid: 1367, tid: 1548, name: android.display >>> system_server <<<
11-16 21:02:08.722 15023 15023 F DEBUG : uid: 1000
11-16 21:02:08.722 15023 15023 F DEBUG : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
11-16 21:02:08.722 15023 15023 F DEBUG : Abort message: 'sp<> assignment detected data race'
11-16 21:02:08.722 15023 15023 F DEBUG : x0 0000000000000000 x1 000000000000060c x2 0000000000000006 x3 0000007b505ef050
11-16 21:02:08.722 15023 15023 F DEBUG : x4 60692d606470ff1f x5 60692d606470ff1f x6 60692d606470ff1f x7 7f7f7f7f7f7f7f7f
11-16 21:02:08.722 15023 15023 F DEBUG : x8 00000000000000f0 x9 ab945656c778db00 x10 0000000000000000 x11 ffffffc0fffffbdf
11-16 21:02:08.722 15023 15023 F DEBUG : x12 0000000000000001 x13 000000000000017a x14 0000000000000002 x15 ffffffffffffffff
11-16 21:02:08.722 15023 15023 F DEBUG : x16 0000007eacbc9c80 x17 0000007eacbabbb0 x18 0000007b50334000 x19 0000000000000557
11-16 21:02:08.722 15023 15023 F DEBUG : x20 000000000000060c x21 00000000ffffffff x22 0000007bb943f887 x23 000000000000000b
11-16 21:02:08.722 15023 15023 F DEBUG : x24 0000007bb941f447 x25 0000000000000001 x26 0000007bb943654b x27 0000007bb9a3e000
11-16 21:02:08.722 15023 15023 F DEBUG : x28 b400007bd9bb6630 x29 0000007b505ef0d0
11-16 21:02:08.722 15023 15023 F DEBUG : lr 0000007eacb5f3e0 sp 0000007b505ef030 pc 0000007eacb5f40c pst 0000000000000000
11-16 21:02:08.355 1367 1548 F system_server: runtime.cc:655] Runtime aborting...
11-16 21:02:08.355 1367 1548 F system_server: runtime.cc:655] Dumping all threads without mutator lock held
11-16 21:02:08.355 1367 1548 F system_server: runtime.cc:655] All threads:
11-16 21:02:08.355 1367 1548 F system_server: runtime.cc:655] DALVIK THREADS (160):
11-16 21:02:08.355 1367 1548 F system_server: runtime.cc:655] "Binder:1367_4" prio=6 tid=39 Runnable
11-16 21:02:08.355 1367 1548 F system_server: runtime.cc:655] | group="" sCount=0 dsCount=0 flags=0 obj=0x14941998 self=0xb400007d29bf92e0
11-16 21:02:08.355 1367 1548 F system_server: runtime.cc:655] | sysTid=2039 nice=-2 cgrp=default sched=0/0 handle=0x7b35b10cc0
11-16 21:02:08.355 1367 1548 F system_server: runtime.cc:655] | state=R schedstat=( 40114536967 22375096380 79628 ) utm=2849 stm=1162 core=7 HZ=100
11-16 21:02:08.355 1367 1548 F system_server: runtime.cc:655] | stack=0x7b35a19000-0x7b35a1b000 stackSize=995KB
11-16 21:02:08.355 1367 1548 F system_server: runtime.cc:655] | held mutexes= "mutator lock"(shared held)
11-16 21:02:08.355 1367 1548 F system_server: runtime.cc:655] native: #00 pc 00000000004a21f0 /apex/com.android.art/lib64/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, BacktraceMap*, char const*, art::ArtMethod*, void*, bool)+140)
11-16 21:02:08.355 1367 1548 F system_server: runtime.cc:655] native: #01 pc 00000000005af348 /apex/com.android.art/lib64/libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, bool, BacktraceMap*, bool) const+376)
11-16 21:02:08.355 1367 1548 F system_server: runtime.cc:655] native: #02 pc 00000000005cc480 /apex/com.android.art/lib64/libart.so (art::DumpCheckpoint::Run(art::Thread*)+924)
Android Framework开发常用log
最新推荐文章于 2024-10-11 15:08:27 发布