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

dex2oat32在运行过程中报错 #1762

Open
HelloException opened this issue Dec 19, 2024 · 0 comments
Open

dex2oat32在运行过程中报错 #1762

HelloException opened this issue Dec 19, 2024 · 0 comments

Comments

@HelloException
Copy link

Cmdline: /apex/com.android.art/bin/dex2oat32 --zip-fd=7 --zip-location=/data/user/0/com.netease.cloudmusic/tinker/patch-d4b3d2f0/dex/tinker_classN.apk --oat-fd=8 --oat-location=/data/user/0/com.netease.cloudmusic/tinker/patch-d4b3d2f0/dex/oat/arm64/tinker_classN.odex --output-vdex-fd=9 --app-image-fd=10 --image-format=lz4 --swap-fd=11 --class-loader-context-fds=12:13 --class-loader-context=DLC[];PCL[/data/app/~~M23HkHd9PiebzZD4VvXdvA==/com.netease.cloudmusic-zcaWMosnUsljo8xBLEKF1A==/base.apk]{PCL[/system/framework/org.apache.http.legacy.jar]} --classpath-dir=/data/user/0/com.netease.cloudmusic/tinker/patch-d4b3d2f0/dex --profile-file-fd=14 --instruction-set=arm64 --instruction-set-features=default --instruction-set-variant=cortex-a55 --compiler-filter=speed-profile --compilation-reason=bg-dexopt --max-image-block-size=524288 --resolve-startup-const-strings=true --generate-mini-debug-info --runtime-arg -Xtarget-sdk-version:33 --runtime-arg -Xhidden-api-policy:enabled --runtime-arg -Xms64m --runtime-arg -Xmx512m --comments=app-name:com.netease.cloudmusic,app-version-name:9.1.80,app-version-code:9001080,art-version:350913340
pid: 21089, tid: 21089, name: dex2oat >>> /apex/com.android.art/bin/dex2oat32 <<<
uid: 1082
signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
Abort message: 'Check failed: !compiler_options_.InitializeAppImageClasses() (true) implies keep (false)com.getui.gtc.base.util.a'
r0 00000000 r1 00005261 r2 00000006 r3 ff939cc0
r4 ff939cd0 r5 ff939cb8 r6 00005261 r7 0000016b
r8 00000000 r9 ffffffff r10 ff939cc0 r11 00000000
ip 00005261 sp ff939ca0 lr ea87a39b pc ea87a3ae

12 total frames
backtrace:
#00 pc 000393ae /apex/com.android.runtime/lib/bionic/libc.so (abort+138) (BuildId: 882e25d4b87c221823203b7b07378784)
#1 pc 00531fe5 /apex/com.android.art/lib/libart.so (art::Runtime::Abort(char const*)+1136) (BuildId: 7b0e1dd9e8d4ee3e1086c9a35fdf690e)
#2 pc 0000e0e3 /apex/com.android.art/lib/libbase.so (android::base::SetAborter(std::__1::function<void (char const*)>&&)::$_0::__invoke(char const*)+46) (BuildId: 7b3a1ce200c11cb0d9290fd0aeb1f530)
#3 pc 0000d95d /apex/com.android.art/lib/libbase.so (android::base::LogMessage::~LogMessage()+332) (BuildId: 7b3a1ce200c11cb0d9290fd0aeb1f530)
#4 pc 000897ff /apex/com.android.art/bin/dex2oat32 (art::linker::ImageWriter::PruneClassesVisitor::operator()(art::ObjPtrart::mirror::Class)+282) (BuildId: d2136cc7d8cfba1adee4e5486ee9daff)
#5 pc 000892ed /apex/com.android.art/bin/dex2oat32 (bool art::ClassTable::Visit<(art::ReadBarrierOption)0, art::linker::ImageWriter::PruneClassesVisitor>(art::linker::ImageWriter::PruneClassesVisitor&)+296) (BuildId: d2136cc7d8cfba1adee4e5486ee9daff)
#6 pc 0008917b /apex/com.android.art/bin/dex2oat32 (art::linker::ImageWriter::PruneClassLoaderClassesVisitor::Visit(art::ObjPtrart::mirror::ClassLoader)+134) (BuildId: d2136cc7d8cfba1adee4e5486ee9daff)
#7 pc 00273c33 /apex/com.android.art/lib/libart.so (art::ClassLinker::VisitClassLoaders(art::ClassLoaderVisitor*) const+66) (BuildId: 7b0e1dd9e8d4ee3e1086c9a35fdf690e)
#8 pc 00072bb5 /apex/com.android.art/bin/dex2oat32 (art::linker::ImageWriter::PrepareImageAddressSpace(art::TimingLogger*)+1520) (BuildId: d2136cc7d8cfba1adee4e5486ee9daff)
#9 pc 00041a29 /apex/com.android.art/bin/dex2oat32 (art::Dex2oat(int, char**)+8712) (BuildId: d2136cc7d8cfba1adee4e5486ee9daff)
#10 pc 0003f80f /apex/com.android.art/bin/dex2oat32 (main+2) (BuildId: d2136cc7d8cfba1adee4e5486ee9daff)
#11 pc 00035fa3 /apex/com.android.runtime/lib/bionic/libc.so (__libc_init+74) (BuildId: 882e25d4b87c221823203b7b07378784)

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