mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-02-27 02:39:39 +00:00
Add -s flag to microdump_stackwalk for dumping stack contents.
Note that the current MicrodumpProcessor::Process implementation has a bug due to the fact that it creates a local Microdump instance, and then holds onto a pointer to the object returned by microdump.GetMemory() which is destroyed when microdump goes out of scope. This CL fixes the crash by making Microdump outlive MicrodumpProcessor, which is the same pattern that Minidump/MinidumpProcessor uses. Bug: google-breakpad:748 Change-Id: I554b46d309649cf404523722bd9ee39e17a10139 Reviewed-on: https://chromium-review.googlesource.com/720809 Reviewed-by: Primiano Tucci <primiano@chromium.org> Reviewed-by: Ivan Penkov <ivanpe@chromium.org>
This commit is contained in:
committed by
Tobias Sargeant
parent
623c4a0f42
commit
3d6076efc2
@@ -394,4 +394,3 @@ Microdump::Microdump(const string& contents)
|
||||
}
|
||||
|
||||
} // namespace google_breakpad
|
||||
|
||||
|
||||
Reference in New Issue
Block a user