redexer icon indicating copy to clipboard operation
redexer copied to clipboard

How to trace an error "Killed"

Open chunrong opened this issue 10 years ago • 3 comments

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,

chunrong avatar Feb 09 '15 01:02 chunrong

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.

kmicinski avatar Feb 09 '15 01:02 kmicinski

Hi Kmicinski,

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

Great thanks,

chunrong avatar Feb 09 '15 01:02 chunrong

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 [email protected] 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 https://github.com/plum-umd/redexer/issues/11#issuecomment-73445132.

kmicinski avatar Feb 09 '15 01:02 kmicinski