From 9832a90eb20dcc927c83a32290f3336289ae443a Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Wed, 27 Jan 2021 16:16:17 +0100 Subject: [PATCH] tombstoned: fix address offset in string old-commit-hash: 4cd17555c114514e35f0c27dbd2cec6668f0b2ea --- selfdrive/tombstoned.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/tombstoned.py b/selfdrive/tombstoned.py index c17133224d..06a175c396 100755 --- a/selfdrive/tombstoned.py +++ b/selfdrive/tombstoned.py @@ -156,7 +156,7 @@ def report_tombstone_apport(fn, client): crash_function = stacktrace_s[1] # Remove arguments that can contain pointers to make sentry one-liner unique - crash_function = " ".join(crash_function.split(' ')[2:]) + crash_function = " ".join(crash_function.split(' ')[4:]) crash_function = re.sub(r'\(.*?\)', '', crash_function) contents = stacktrace + "\n\n" + contents