-
Notifications
You must be signed in to change notification settings - Fork 668
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
Assertion `ssms.wrapped.find(callee) == ssms.wrapped.end()' failed. #12
Comments
Ouch, looks like a nasty bug. Would you be able to share your APK with us to make debugging easier? In the meantime, you can disable the offending pass by creating a config file. If you follow the "Selecting Optimization Passes" section from our config how-to and remove SynthPass from the list, that'll get past the error. |
I encountered the same problem, how can I get around this problem subprocess.CalledProcessError: Command 'redex-all --apkdir /tmp/tmpitct8vym.redex_extracted_apk --outdir /tmp/tmpwvwxmixk.redex_dexen /tmp/tmpwvwxmixk.redex_dexen/dex0/classes.dex /tmp/tmpwvwxmixk.redex_dexen/dex1/classes2.dex /tmp/tmpwvwxmixk.redex_dexen/dex2/classes3.dex' returned non-zero exit status 134 |
@dssljt If you're seeing the same assertion failure, you can try my suggestion above (create a configuration file that removes SynthPass). |
i had remove SynthPass from he "Selecting Optimization Passes" section ,but can not get around this problem |
That's an interesting one... you can disable BridgePass too to get past that failure, but I might be able to debug that one in short order. I'll take a deeper look tomorrow. |
Hey @247687009, I've been trying to repro that crash but have had no luck -- it's a scenario that "should be" impossible (but clearly isn't). Would you be willing to share your APK? If not, would you mind setting TRACE=SYNT:5 TRACEFILE=/tmp/trace in your environment and pasting the contents of /tmp/trace somewhere I can have a look? That would be an immense help in debugging. Thanks! |
I am getting similar error Assertion failed: (ssms.wrapped.find(callee) == ssms.wrapped.end()), function replace_wrappers, file opt/synth/Synth.cpp, line 560. |
@ankurgupta001 , can you share the APK that exhibits this? I could solve this very quickly if I had a repro. |
Please use the below link to download the apk. |
Sweet, thanks, that repros for me. I'll work on it tomorrow morning! |
redex-all: opt/synth/Synth.cpp:558: void replace_wrappers(DexMethod_, DexCode_, WrapperMethods&): Assertion `ssms.wrapped.find(callee) == ssms.wrapped.end()' failed.
redex-all[0x415227]
/lib/x86_64-linux-gnu/libc.so.6(+0x36d40)[0x7fa0c02f5d40]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x39)[0x7fa0c02f5cc9]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x148)[0x7fa0c02f90d8]
/lib/x86_64-linux-gnu/libc.so.6(+0x2fb86)[0x7fa0c02eeb86]
/lib/x86_64-linux-gnu/libc.so.6(+0x2fc32)[0x7fa0c02eec32]
redex-all[0x4f1b49]
redex-all[0x4f1e65]
redex-all[0x4f1f38]
redex-all[0x4f2a08]
redex-all[0x440cc5]
redex-all[0x40add6]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7fa0c02e0ec5]
redex-all[0x40bef7]
Aborted (core dumped)
Traceback (most recent call last):
File "/usr/local/bin/redex", line 779, in
run_redex(args)
File "/usr/local/bin/redex", line 735, in run_redex
dexen)
File "/usr/local/bin/redex", line 110, in run_pass
subprocess.check_call(args, shell=True)
File "/usr/lib/python3.4/subprocess.py", line 561, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'redex-all --apkdir /tmp/tmptomskmc3.redex_extracted_apk --outdir /tmp/tmpwset00_5.redex_dexen /tmp/tmpwset00_5.redex_dexen/dex0/classes.dex /tmp/tmpwset00_5.redex_dexen/dex1/classes2.dex /tmp/tmpwset00_5.redex_dexen/dex2/classes3.dex /tmp/tmpwset00_5.redex_dexen/dex3/classes4.dex /tmp/tmpwset00_5.redex_dexen/dex4/classes5.dex' returned non-zero exit status 134
The text was updated successfully, but these errors were encountered: