You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
The microdump processor parsing has a bug where it does not trim trailing
spaces in the cpu context and exits with the following error.
"Malformed CPU context. Got 369 bytes instead of 368.
After applying the below patch in microdump.cc, it is able to process the dump.
@@ -256,7 +258,12 @@
stack_content.insert(stack_content.end(), chunk.begin(), chunk.end());
} else if ((pos = line.find(kCpuKey)) != string::npos) {
- string cpu_state_str(line, pos + strlen(kCpuKey));
+ string cpu_state_str_raw(line, pos + strlen(kCpuKey));
+std::istringstream cpu_state_tokens(cpu_state_str_raw);
+string cpu_state_str;
+cpu_state_tokens >> cpu_state_str;
Can somebody take this patch to the main code.
Original issue reported on code.google.com by [email protected] on 9 Jun 2015 at 6:56
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 9 Jun 2015 at 6:56The text was updated successfully, but these errors were encountered: