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

VirtualScope.cpp:893: void virt_scope::ClassScopes::build_interface_scopes(): assertion `!scopes.empty()' failed. #842

Open
beijingling opened this issue Feb 28, 2024 · 0 comments

Comments

@beijingling
Copy link

redex-all classes.dex -o outfile/ -p ../../proguard.cfg
TRACE_CLASS_FILE=
TRACE_CLASS_NAME=
Unimplemented command (skipping): -renamesourcefileattribute at line 2
1: -dontobfuscate
2: !>-renamesourcefileattribute<! identifier: SourceFile
3: -keepattributes
4: filter: SourceFile filter: LineNumberTable -optimizations
Unimplemented command (skipping): -dontskipnonpubliclibraryclassmembers at line 8
7: -allowaccessmodification
8: !>-dontskipnonpubliclibraryclassmembers<!
10: # Keep our own classes and members. They are all used.
WARNING: Unable to find RequiresApi annotation. It's either unused (okay) or been deleted (not okay)
WARNING: No inliner config
terminate called after throwing an instance of 'boost::exception_detail::error_info_injector'
what(): /home/peking/work/redex/libredex/VirtualScope.cpp:893: void virt_scope::ClassScopes::build_interface_scopes(): assertion `!scopes.empty()' failed.
Scope empty for Lcom/bytehamster/lib/preferencesearch/SearchPreferenceResultListener;.onSearchResultClicked:(Lcom/bytehamster/lib/preferencesearch/SearchPreferenceResult;)V
redex-all(_Z23crash_backtrace_handleri+0x44)[0x564302da2ef4]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f7e6d9f7520]
/lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7f7e6da4b9fc]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7f7e6d9f7476]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7f7e6d9dd7f3]
/lib/x86_64-linux-gnu/libstdc++.so.6(+0xa2b9e)[0x7f7e6dd87b9e]
/lib/x86_64-linux-gnu/libstdc++.so.6(+0xae20c)[0x7f7e6dd9320c]
/lib/x86_64-linux-gnu/libstdc++.so.6(+0xae277)[0x7f7e6dd93277]
/lib/x86_64-linux-gnu/libstdc++.so.6(+0xae4d8)[0x7f7e6dd934d8]
redex-all(+0x375b13)[0x564302b06b13]
redex-all(_ZN10virt_scope11ClassScopes22build_interface_scopesEv+0xfa8)[0x56430312c5f8]
redex-all(_ZN10virt_scope11ClassScopesC1ERKSt6vectorIP8DexClassSaIS3_EE+0x29b)[0x56430313155b]
redex-all(_ZN10TypeSystemC2ERKSt6vectorIP8DexClassSaIS2_EE+0x1d)[0x564303118ced]
redex-all(_ZN20constant_propagation41gather_safely_inferable_ifield_candidatesERKSt6vectorIP8DexClassSaIS2_EERKSt13unordered_setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4hashISD_ESt8equal_toISD_ESaISD_EE+0xbe2)[0x564303746182]
redex-all(_ZN17FinalInlinePassV28run_passERSt6vectorI8DexStoreSaIS1_EER11ConfigFilesR11PassManager+0x362)[0x5643032587e2]
redex-all(_ZN11PassManager10run_passesERSt6vectorI8DexStoreSaIS1_EER11ConfigFiles+0x1176)[0x564302f876d6]
redex-all(main+0xab8)[0x564302cb5498]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7f7e6d9ded90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7f7e6d9dee40]
redex-all(_start+0x25)[0x564302cbdc55]
Aborted (core dumped)

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

1 participant