Improve "Lost network stack" error message
The "Lost network stack" message often gets reported as suspected root cause of a crash, but it is actually just a side-effect of a crash of the network_stack process, which often was just killed together with the rest of the system. Clarify the error message, so that it is clear that the root cause should be visible earlier in logs. Bug: 198681439 Change-Id: Ieb79ace34170f8bd9ea847175199590998278d57 Test: m
This commit is contained in:
@@ -278,7 +278,10 @@ public class ConnectivityModuleConnector {
|
||||
// This code path is only run by the system server: only the system server binds
|
||||
// to the NetworkStack as a service. Other processes get the NetworkStack from
|
||||
// the ServiceManager.
|
||||
maybeCrashWithTerribleFailure("Lost network stack", mPackageName);
|
||||
maybeCrashWithTerribleFailure(
|
||||
"Lost network stack. This is not the root cause of any issue, it is a side "
|
||||
+ "effect of a crash that happened earlier. Earlier logs should point to the "
|
||||
+ "actual issue.", mPackageName);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user