Reopen

The main problem restart dropbox view, if we find the following files in the dropbox folder, which can determine the system restart occurred.
system_server_crash, show system_server appeared Crash
system_server_watchdog, indicates that occurred watchdog restart, in general, are mostly leading to a deadlock occurs, you want to see the specific stack.
Native crash restart problems need to see tombstone folder, if the system is an important process occurred native crash, such as system_server, SurfaceFlinger, these processes if abnormal, can lead to restarting
the underlying general view system_last_kmsg file restart problem, there are many common questions kernel panic, wcnss crash , modem crash, etc., you can transfer the corresponding module
2. crash problem
crash test questions need to retain the scene, grab a ramdump, parsed dump, preliminary analysis of root cause, there are many common questions kernel panic, wcnss crash, modem crash , the corresponding transfer processing module to
3. monkey stopped
this from happening currently found only one case, namely low memory exceptions, the general view dropbox in system_lowmem file to see if there is the approach which takes up a lot of memory, and remaining memory machine, this generally occurs when abnormal, the remaining memory machine will be very small, only about the remaining less than 100M
4.ANR Crash problem and
need to view specific information on the stack.
5. not turn the problem
needs to grab the boot log (serial port) for analysis.

Case: - The system will then appear Caton phone restart after hot-swappable
1) View bugreport, seeing is caused because the upper restart watchdog.
2) Check the directory record to system_server ANR stack information, see the main thread is blocked state, it was eventually android.ui thread Block.
3) review the stack information android.ui thread is seen stuck in the binder during communication the peer, by searching for the name of the method is to find the end of the process tid com.android.phone threads = 33
. 4) threads tid = 33. 8 is threaded tid = Block
. 5) is threaded. 8 tid = tid =

Guess you like

Origin blog.csdn.net/qq_42894864/article/details/104075106