Browse Source

fix(minidump): Use correct return address for symbolication (#7002)

Jan Michael Auer 7 years ago
parent
commit
7c6ef292c6
2 changed files with 2 additions and 2 deletions
  1. 1 1
      requirements-base.txt
  2. 1 1
      src/sentry/lang/native/utils.py

+ 1 - 1
requirements-base.txt

@@ -50,7 +50,7 @@ statsd>=3.1.0,<3.2.0
 strict-rfc3339>=0.7
 structlog==16.1.0
 sqlparse>=0.1.16,<0.2.0
-symbolic>=2.0.3,<3.0.0
+symbolic>=2.0.4,<3.0.0
 toronado>=0.0.11,<0.1.0
 ua-parser>=0.6.1,<0.8.0
 urllib3>=1.22,<1.23

+ 1 - 1
src/sentry/lang/native/utils.py

@@ -189,7 +189,7 @@ def merge_minidump_event(data, minidump):
         'crashed': False,
         'stacktrace': {
             'frames': [{
-                'instruction_addr': '0x%x' % frame.instruction,
+                'instruction_addr': '0x%x' % frame.return_address,
                 'function': '<unknown>',  # Required by interface
                 'package': frame.module.name if frame.module else None,
             } for frame in reversed(list(thread.frames()))],