Closed onegithuber closed 5 years ago
Hi. Thanks for your bug report! I have had a look at the issue and have pushed a fix to PyPi. Please try version 2.2.2 and see if that works for you. I was not able to reproduce the error so if you can send me the application you were testing with I can try to make a better fix. Thanks.
Hi. Thanks for your bug report! I have had a look at the issue and have pushed a fix to PyPi. Please try version 2.2.2 and see if that works for you. I was not able to reproduce the error so if you can send me the application you were testing with I can try to make a better fix. Thanks.
the apk is too large,you can download apk by this url.and the so file name is libhellfire.so https://play.google.com/store/apps/details?id=com.grabtaxi.passenger Thanks for you work!
Thanks. Will download and try with grab taxi. Did the update I pushed yesterday work for you?
yes ,it did. but the symbol is unknowed.
Okay, at least it is running now. I will take a look and see if I can figure out why the symbol was not resolving for that application you were using. It will be a couple of weeks until I have access to an Android ARM device to test with.
Thanks for sending your test app, I have now tried it on an Android phone testing with the hellfire binary. I found out that the hellfire library does not have DebugSymbols for those functions in the jnitrace backtrace. As such, jnitrace cannot output the symbol information. I have, however, improved the output of jnitrace so that it will now show you the relative address for the backtrace function, rather than "unknown", so that you can go and take a look at it in a dissembler. Thanks for your bug report! Closing this as the crash is resolved.
Oh and those improvements to the backtrace output are available in version 2.2.3.
Traceback (most recent call last): File "/Users/anaconda3/env/lib/python3.6/site-packages/frida-12.6.11-py3.6-macosx-10.6-intel.egg/frida/core.py", line 298, in _on_message callback(message, data) File "/Users/anaconda3/envs//lib/python3.6/site-packages/jnitrace/jnitrace.py", line 438, in on_message self._print_backtrace(payload["backtrace"]) File "/Users/anaconda3/envs/lib/python3.6/site-packages/jnitrace/jnitrace.py", line 288, in _print_backtrace max_len, max_name, size = self._calculate_backtrace_lengths(backtrace) File "/Users/anaconda3/envs/lib/python3.6/site-packages/jnitrace/jnitrace.py", line 270, in _calculate_backtrace_lengths b_t["module"]["name"], b_t["symbol"]["name"] File "/Users/anaconda3/envs/lib/python3.6/site-packages/jnitrace/jnitrace.py", line 242, in _create_backtrace_symbol if "+" not in symbol_name: TypeError: argument of type 'NoneType' is not iterable