diff --git a/CHANGELOG.md b/CHANGELOG.md index 91f783a..391f020 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # jnitrace Change Log +## 2.2.2 +- Bug fix to handle when a DebugSymbol look up has failed for an address. + ## 2.2.1 - Sorted the alignment of the backtraces so they are right justified - Fixed a bug when tracing ReleaseElements where all types were assumed to be the size of a pointer diff --git a/jnitrace/jnitrace.py b/jnitrace/jnitrace.py index 8e2fb10..87af9b9 100644 --- a/jnitrace/jnitrace.py +++ b/jnitrace/jnitrace.py @@ -239,6 +239,8 @@ def _print_args(self, method, args, java_params, data): @classmethod def _create_backtrace_symbol(cls, module_name, symbol_name): + if not symbol_name: + return "unknown" if "+" not in symbol_name: return module_name + "!" + symbol_name return symbol_name diff --git a/package.json b/package.json index 1b4d56a..5a0df61 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jnitrace", - "version": "2.2.1", + "version": "2.2.2", "description": "A tool for tracing use of the JNI in Android apps", "private": true, "main": "jnitrace/src/main.js", diff --git a/setup.py b/setup.py index 7050fd2..0fb983f 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ setup( name='jnitrace', - version='2.2.1', + version='2.2.2', description='A tool for tracing use of the JNI in Android apps', long_description=long_description, long_description_content_type='text/markdown',