summaryrefslogtreecommitdiff
path: root/buildscripts/mongosymb.py
diff options
context:
space:
mode:
authorAndy Schwerin <schwerin@mongodb.com>2016-01-05 18:32:46 -0500
committerAndy Schwerin <schwerin@mongodb.com>2016-01-05 19:49:19 -0500
commit92d9e63976c7a4cfdd8431eef813fc9737df81a8 (patch)
tree8c507289adfd0c8f8862a48dc57d0775099908f9 /buildscripts/mongosymb.py
parent8ae053a4d9c5bd2672140964e7f09bd6b734dbdc (diff)
downloadmongo-92d9e63976c7a4cfdd8431eef813fc9737df81a8.tar.gz
SERVER-22035 Make mongosymb.py robust to somap entries that are missing a "b" field.
Diffstat (limited to 'buildscripts/mongosymb.py')
-rwxr-xr-xbuildscripts/mongosymb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildscripts/mongosymb.py b/buildscripts/mongosymb.py
index e5267b6cfaa..d2c707c4c4f 100755
--- a/buildscripts/mongosymb.py
+++ b/buildscripts/mongosymb.py
@@ -36,7 +36,7 @@ def symbolize_frames(trace_doc, dbg_path_resolver, symbolizer_path=None, dsym_hi
"""Makes a map from binary load address to description of library from the somap, which is
a list of dictionaries describing individual loaded libraries.
"""
- return { so_entry["b"] : so_entry for so_entry in somap_list }
+ return { so_entry["b"] : so_entry for so_entry in somap_list if so_entry.has_key("b") }
base_addr_map = make_base_addr_map(trace_doc["processInfo"]["somap"])