Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

Stack overflow #279

Open
ba2sik opened this issue Oct 22, 2019 · 0 comments
Open

Stack overflow #279

ba2sik opened this issue Oct 22, 2019 · 0 comments

Comments

@ba2sik
Copy link

ba2sik commented Oct 22, 2019

Hi,
I'm trying to edit "Droidmon" xposed module, and inject my api calls (for example calling simple base64 encode method) but I get these errors in the logcat that involves XposedBridge, and it goes on and on for 90,000 lines...

I/Xposed ( 1347): java.lang.StackOverflowError
I/Xposed ( 1347): at java.lang.Throwable.printStackTrace(Throwable.java:320)
I/Xposed ( 1347): at java.lang.Throwable.printStackTrace(Throwable.java:305)
I/Xposed ( 1347): at android.util.Log.getStackTraceString(Log.java:319)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.log(XposedBridge.java:491)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:647)
I/Xposed ( 1347): at android.util.Base64.encode(Native Method)
I/Xposed ( 1347): at android.util.Base64.encode(Base64.java:494)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
I/Xposed ( 1347): at android.util.Base64.encode(Native Method)
I/Xposed ( 1347): at com.cuckoodroid.droidmon.MethodHookImpl.afterHookedMethod(MethodHookImpl.java:53)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
I/Xposed ( 1347): at java.io.FileOutputStream.write(Native Method)
I/Xposed ( 1347): at java.io.OutputStreamWriter.flushBytes(OutputStreamWriter.java:167)
I/Xposed ( 1347): at java.io.OutputStreamWriter.convert(OutputStreamWriter.java:181)
I/Xposed ( 1347): at java.io.OutputStreamWriter.write(OutputStreamWriter.java:266)
I/Xposed ( 1347): at java.io.PrintWriter.doWrite(PrintWriter.java:623)
I/Xposed ( 1347): at java.io.PrintWriter.write(PrintWriter.java:601)
I/Xposed ( 1347): at java.io.PrintWriter.write(PrintWriter.java:579)
I/Xposed ( 1347): at java.io.PrintWriter.write(PrintWriter.java:660)
I/Xposed ( 1347): at java.io.PrintWriter.append(PrintWriter.java:722)
I/Xposed ( 1347): at java.io.PrintWriter.append(PrintWriter.java:691)
I/Xposed ( 1347): at java.io.PrintWriter.append(PrintWriter.java:31)
I/Xposed ( 1347): at java.lang.Throwable.printStackTrace(Throwable.java:328)
I/Xposed ( 1347): at java.lang.Throwable.printStackTrace(Throwable.java:305)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.log(XposedBridge.java:493)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:647)
I/Xposed ( 1347): at java.io.FileOutputStream.write(Native Method)
I/Xposed ( 1347): at java.io.OutputStreamWriter.flushBytes(OutputStreamWriter.java:167)
I/Xposed ( 1347): at java.io.OutputStreamWriter.convert(OutputStreamWriter.java:181)
I/Xposed ( 1347): at java.io.OutputStreamWriter.write(OutputStreamWriter.java:266)
I/Xposed ( 1347): at java.io.PrintWriter.doWrite(PrintWriter.java:623)
I/Xposed ( 1347): at java.io.PrintWriter.write(PrintWriter.java:601)
I/Xposed ( 1347): at java.io.PrintWriter.write(PrintWriter.java:579)
I/Xposed ( 1347): at java.io.PrintWriter.write(PrintWriter.java:660)
I/Xposed ( 1347): at java.io.PrintWriter.append(PrintWriter.java:722)
I/Xposed ( 1347): at java.io.PrintWriter.append(PrintWriter.java:691)
I/Xposed ( 1347): at java.io.PrintWriter.append(PrintWriter.java:31)
I/Xposed ( 1347): at java.lang.Throwable.printStackTrace(Throwable.java:328)
I/Xposed ( 1347): at java.lang.Throwable.printStackTrace(Throwable.java:305)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.log(XposedBridge.java:493)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:647)
I/Xposed ( 1347): at android.util.Base64.encode(Native Method)
I/Xposed ( 1347): at android.util.Base64.encode(Base64.java:494)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
I/Xposed ( 1347): at android.util.Base64.encode(Native Method)
I/Xposed ( 1347): at com.cuckoodroid.droidmon.MethodHookImpl.afterHookedMethod(MethodHookImpl.java:53)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
I/Xposed ( 1347): at android.util.Base64.encode(Native Method)
I/Xposed ( 1347): at android.util.Base64.encode(Base64.java:494)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
I/Xposed ( 1347): at android.util.Base64.encode(Native Method)
I/Xposed ( 1347): at com.cuckoodroid.droidmon.MethodHookImpl.afterHookedMethod(MethodHookImpl.java:53)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
I/Xposed ( 1347): at java.io.FileOutputStream.write(Native Method)
I/Xposed ( 1347): at java.io.OutputStreamWriter.flushBytes(OutputStreamWriter.java:167)
I/Xposed ( 1347): at java.io.OutputStreamWriter.convert(OutputStreamWriter.java:181)
I/Xposed ( 1347): at java.io.OutputStreamWriter.write(OutputStreamWriter.java:266)
I/Xposed ( 1347): at java.io.PrintWriter.doWrite(PrintWriter.java:623)
I/Xposed ( 1347): at java.io.PrintWriter.write(PrintWriter.java:601)
I/Xposed ( 1347): at java.io.PrintWriter.write(PrintWriter.java:579)
I/Xposed ( 1347): at java.io.PrintWriter.write(PrintWriter.java:660)
I/Xposed ( 1347): at java.io.PrintWriter.append(PrintWriter.java:7
I/dalvikvm( 1347): threadid=11: stack overflow on call to Ljava/nio/Buffer;.:VIIL
I/dalvikvm( 1347): method requires 28+20+8=56 bytes, fp is 0xa5a10328 (40 left)
I/dalvikvm( 1347): expanding stack end (0xa5a10300 to 0xa5a10000)
I/dalvikvm( 1347): Shrank stack (to 0xa5a10300, curFrame is 0xa5a103ec)
D/dalvikvm( 1347): GC_CONCURRENT freed 455K, 8% free 9630K/10439K, paused 14ms+3ms, total 49ms
D/dalvikvm( 1347): WAIT_FOR_CONCURRENT_GC blocked 9ms
I/Xposed ( 1347): java.lang.StackOverflowError
I/Xposed ( 1347): at java.nio.CharBuffer.(CharBuffer.java:141)
I/Xposed ( 1347): at java.nio.CharArrayBuffer.(CharArrayBuffer.java:47)
I/Xposed ( 1347): at java.nio.CharArrayBuffer.(CharArrayBuffer.java:39)
I/Xposed ( 1347): at java.nio.ReadWriteCharArrayBuffer.(ReadWriteCharArrayBuffer.java:43)
I/Xposed ( 1347): at java.nio.CharBuffer.wrap(CharBuffer.java:91)
I/Xposed ( 1347): at java.io.OutputStreamWriter.write(OutputStreamWriter.java:265)
I/Xposed ( 1347): at java.io.PrintWriter.doWrite(PrintWriter.java:623)
I/Xposed ( 1347): at java.io.PrintWriter.write(PrintWriter.java:601)
I/Xposed ( 1347): at java.io.PrintWriter.write(PrintWriter.java:579)
I/Xposed ( 1347): at java.io.PrintWriter.write(PrintWriter.java:660)
I/Xposed ( 1347): at java.io.PrintWriter.append(PrintWriter.java:722)
I/Xposed ( 1347): at java.io.PrintWriter.append(PrintWriter.java:691)
I/Xposed ( 1347): at java.io.PrintWriter.append(PrintWriter.java:31)
I/Xposed ( 1347): at java.lang.Throwable.printStackTrace(Throwable.java:320)
I/Xposed ( 1347): at java.lang.Throwable.printStackTrace(Throwable.java:305)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.log(XposedBridge.java:493)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:647)
I/Xposed ( 1347): at java.io.FileOutputStream.write(Native Method)
I/Xposed ( 1347): at java.io.OutputStreamWriter.flushBytes(OutputStreamWriter.java:167)
I/Xposed ( 1347): at java.io.OutputStreamWriter.convert(OutputStreamWriter.java:181)
I/Xposed ( 1347): at java.io.OutputStreamWriter.write(OutputStreamWriter.java:266)
I/Xposed ( 1347): at java.io.PrintWriter.doWrite(PrintWriter.java:623)
I/Xposed ( 1347): at java.io.PrintWriter.write(PrintWriter.java:601)
I/Xposed ( 1347): at java.io.PrintWriter.write(PrintWriter.java:579)
I/Xposed ( 1347): at java.io.PrintWriter.write(PrintWriter.java:660)
I/Xposed ( 1347): at java.io.PrintWriter.append(PrintWriter.java:722)
I/Xposed ( 1347): at java.io.PrintWriter.append(PrintWriter.java:691)
I/Xposed ( 1347): at java.io.PrintWriter.append(PrintWriter.java:31)
I/Xposed ( 1347): at java.lang.Throwable.printStackTrace(Throwable.java:328)
I/Xposed ( 1347): at java.lang.Throwable.printStackTrace(Throwable.java:305)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.log(XposedBridge.java:493)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:647)
I/Xposed ( 1347): at java.io.FileOutputStream.write(Native Method)
I/Xposed ( 1347): at java.io.OutputStreamWriter.flushBytes(OutputStreamWriter.java:167)
I/Xposed ( 1347): at java.io.OutputStreamWriter.convert(OutputStreamWriter.java:181)
I/Xposed ( 1347): at java.io.OutputStreamWriter.write(OutputStreamWriter.java:266)
I/Xposed ( 1347): at java.io.PrintWriter.doWrite(PrintWriter.java:623)
I/Xposed ( 1347): at java.io.PrintWriter.write(PrintWriter.java:601)
I/Xposed ( 1347): at java.io.PrintWriter.write(PrintWriter.java:579)
I/Xposed ( 1347): at java.io.PrintWriter.write(PrintWriter.java:660)
I/Xposed ( 1347): at java.io.PrintWriter.append(PrintWriter.java:722)
I/Xposed ( 1347): at java.io.PrintWriter.append(PrintWriter.java:691)
I/Xposed ( 1347): at java.io.PrintWriter.append(PrintWriter.java:31)
I/Xposed ( 1347): at java.lang.Throwable.printStackTrace(Throwable.java:328)
I/Xposed ( 1347): at java.lang.Throwable.printStackTrace(Throwable.java:305)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.log(XposedBridge.java:493)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:647)
I/Xposed ( 1347): at android.util.Base64.encode(Native Method)
I/Xposed ( 1347): at android.util.Base64.encode(Base64.java:494)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
I/Xposed ( 1347): at android.util.Base64.encode(Native Method)
I/Xposed ( 1347): at com.cuckoodroid.droidmon.MethodHookImpl.afterHookedMethod(MethodHookImpl.java:53)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
I/Xposed ( 1347): at android.util.Base64.encode(Native Method)
I/Xposed ( 1347): at android.util.Base64.encode(Base64.java:494)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
I/Xposed ( 1347): at android.util.Base64.encode(Native Method)
I/Xposed ( 1347): at com.cuckoodroid.droidmon.MethodHookImpl.afterHookedMethod(MethodHookImpl.java:53)
I/Xposed ( 1347): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
I/Xposed ( 1347): at java.io.FileOutputStream.write(Native Method)
I/Xposed ( 1347): at java.io.OutputStreamWriter.flushBytes(OutputStreamWriter.java:167)
I/Xposed ( 1347): at java.io.OutputStreamWriter.convert(OutputStreamWriter.java:181)
I/Xposed ( 1347): at java.io.OutputStreamWriter.write(OutputStreamWriter.java:266)
I/Xposed ( 1347): at java.io.PrintWriter.doWrite(PrintWriter.java:6

Does anyone know what should I do?
Thank you!

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

No branches or pull requests

1 participant