tombstoned: fault address is also not unique due to ASLR

pull/19841/head
Willem Melching 2021-01-19 14:17:26 +01:00
parent 7948653605
commit 5812e09f23
1 changed files with 1 additions and 0 deletions

View File

@ -156,6 +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 = re.sub(r'\(.*?\)', '', crash_function)
contents = stacktrace + "\n\n" + contents