Index: tools/isolate/trace_inputs.py |
diff --git a/tools/isolate/trace_inputs.py b/tools/isolate/trace_inputs.py |
index 05c652be0b7e8b8517f1f0893b73cb37405b8493..b54e93624166a4674e7e964dba3e38be77764713 100755 |
--- a/tools/isolate/trace_inputs.py |
+++ b/tools/isolate/trace_inputs.py |
@@ -1032,7 +1032,8 @@ class Strace(ApiBase): |
RE_SIGNAL = re.compile(r'^--- SIG[A-Z]+ .+ ---') |
# A process didn't handle a signal. Ignore any junk appearing before, |
# because the process was forcibly killed so it won't open any new file. |
- RE_KILLED = re.compile(r'^.*\+\+\+ killed by ([A-Z]+) \+\+\+$') |
+ RE_KILLED = re.compile( |
+ r'^.*\+\+\+ killed by ([A-Z]+)( \(core dumped\))? \+\+\+$') |
# A call was canceled. Ignore any prefix. |
RE_UNAVAILABLE = re.compile(r'^.*\)\s*= \? <unavailable>$') |
# Happens when strace fails to even get the function name. |
@@ -1141,7 +1142,7 @@ class Strace(ApiBase): |
try: |
match = self.RE_KILLED.match(line) |
if match: |
- # Converts a '+++ killied by Foo +++' trace into an exit_group(). |
+ # Converts a '+++ killed by Foo +++' trace into an exit_group(). |
self.handle_exit_group(match.group(1), None) |
return |