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

Debugging libdvm.so crashes and Own Apps #7

Open
mkaplanACS opened this issue Sep 24, 2014 · 1 comment
Open

Debugging libdvm.so crashes and Own Apps #7

mkaplanACS opened this issue Sep 24, 2014 · 1 comment

Comments

@mkaplanACS
Copy link

Great tool. I am experiencing crashing issues that don't appear to be directly related to my interception code. After running apps for some time, I eventually get a crash (in libdvm.so), look at the tombstone file, and then may or may not see my interception library. If my library is involved, it is often not the last call in the stack trace, but a few calls back (mapping to some JNI routine I call). I do not see anything obvious in the logs. Final crash is in libdvm.so or libc, any ideas on how to debug?

Also I do not seem able to hijack my own Apps. I am writing apps with ADT 23.0.2.1259578. The app seems to crash immediately when I attempt to inject it. Anyone else experiencing this?

@odexcide
Copy link

odexcide commented Nov 2, 2014

You could be getting an OutOfMemory if you are not releasing resources in the JNI code. Paste the debuggerd crash dump to give us a better idea what is happening. Make sure you logcat -c to clear the log first before running hijack.

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