mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-09 22:26:06 +00:00
From looking at some syzkaller logs, the earliest error seems to be [...ERROR memory_map_fuchsia.cc:47] zx_object_get_info ZX_INFO_PROCESS_MAPS: ZX_ERR_BAD_STATE (-20) which might be caused by a failure to suspend. That error causes ProcessReaderFuchsia's memory_map_ Initialize() to fail, but that was mistakenly being ignored. Later calls then fail as well. While we're here, also check a couple other Initialize()s that were sometimes triggering later on. Bug: https://bugs.fuchsia.dev/p/fuchsia/issues/detail?id=34598 Change-Id: I9f9d7315f504e6ec69308add20e2737ce5c5f644 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/1763028 Reviewed-by: Joshua Peraza <jperaza@chromium.org> Commit-Queue: Scott Graham <scottmg@chromium.org>