Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to trace an error "Killed" #11

Open
chunrong opened this issue Feb 9, 2015 · 3 comments
Open

How to trace an error "Killed" #11

chunrong opened this issue Feb 9, 2015 · 3 comments

Comments

@chunrong
Copy link

chunrong commented Feb 9, 2015

Is there any way to know what happened when a "killed" is reported?

When I dealt with an apk (air.WatchESPN.apk) from google play, the output is as following:
"/home/test/Tools/redexer/scripts/../redexer -out tmp_dir_u3aadsiw/classes.dex tmp_dir_u3aadsiw/classes.dex -logging 2>&1
Killed
./scripts/cmd.rb:258:in `

': rewriting dex failed (RuntimeError)"

Thanks,

@kmicinski
Copy link
Member

Hi Chunrong,

This is troubling indeed. One thing that you can do to diagnose the problem is to compile redexer with debugging symbols, and then set export OCAMLRUNPARAM=b to get the OCaml runtime to generate a stack trace. That would be helpful in isolating the problem.

To really diagnose the error, you will probably have to send it to someone on the redexer team and ask them to see what's going on.

@chunrong
Copy link
Author

chunrong commented Feb 9, 2015

Hi Kmicinski,

Thanks for you quick reply! Can I send the apk to you? Or someone else on the great team?

Great thanks,

@kmicinski
Copy link
Member

You can send it to me, but I probably won't get around to it for a few days
because I have other work right now. I might have a chance to look at it
later this week, and until then I would be able to give feedback with a
backtrace from redexer

kris

On Sun, Feb 8, 2015 at 8:20 PM, chunrong notifications@github.com wrote:

Hi Kmicinski,

Thanks for you quick reply! Can I send the apk to you? Or someone else on
the great team?

Great thanks,


Reply to this email directly or view it on GitHub
#11 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants