i met same issue:
out/soong/.intermediates/external/llvm/lib/Target/AArch64/MCTargetDesc/libLLVMAArch64Desc/android_arm64_armv8-a_cortex-a53_static_core/obj/external/llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.o
[ 82% 80012/96448] cc out/soong/.intermediates/external/llvm/lib/Target/AArch64/libLLVMAArch64CodeGen/android_arm64_armv8-a_cortex-a53_static_core/obj/external/llvm/lib/Target/AArch64/AArch64TargetTransformInfo.o
[ 82% 80013/96448] cc out/soong/.intermediates/external/llvm/lib/Target/AArch64/MCTargetDesc/libLLVMAArch64Desc/android_arm64_armv8-a_cortex-a53_static_core/obj/external/llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.o
[ 82% 80014/96448] cc out/soong/.intermediates/external/llvm/lib/Target/AArch64/libLLVMAArch64CodeGen/android_arm64_armv8-a_cortex-a53_static_core/obj/external/llvm/lib/Target/AArch64/AArch64TargetMachine.o
[ 82% 80015/96448] target dex2oat: out/target/product/k57pv1_dm_64/dex_bootjars/system/framework/arm/boot.art
FAILED: out/target/product/k57pv1_dm_64/dex_bootjars/system/framework/arm/boot.art
/bin/bash -c "(mkdir -p out/target/product/k57pv1_dm_64/symbols/system/framework/arm/ ) && (rm -f out/target/product/k57pv1_dm_64/dex_bootjars/system/framework/arm//*.art out/target/product/k57pv1_dm_64/dex_bootjars/system/framework/arm//*.oat ) && (rm -f out/target/product/k57pv1_dm_64/symbols/system/framework/arm//*.art ) && (rm -f out/target/product/k57pv1_dm_64/symbols/system/framework/arm//*.oat ) && (ANDROID_LOG_TAGS=\"*:e\" out/host/linux-x86/bin/dex2oatd --runtime-arg -Xms64m --runtime-arg -Xmx64m --image-classes=frameworks/base/preloaded-classes --dex-file=out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/legacy-test_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/gome-framework_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/voip-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/ims-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/android.hidl.base-V1.0-java_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/android.hidl.manager-V1.0-java_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/cvFaceApi_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/mediatek-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/mediatek-framework_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/mediatek-telephony-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/mediatek-telephony-base_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/mediatek-ims-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/mediatek-telecom-common_intermediates/javalib.jar --dex-location=/system/framework/core-oj.jar --dex-location=/system/framework/core-libart.jar --dex-location=/system/framework/conscrypt.jar --dex-location=/system/framework/okhttp.jar --dex-location=/system/framework/legacy-test.jar --dex-location=/system/framework/bouncycastle.jar --dex-location=/system/framework/ext.jar --dex-location=/system/framework/framework.jar --dex-location=/system/framework/gome-framework.jar --dex-location=/system/framework/telephony-common.jar --dex-location=/system/framework/voip-common.jar --dex-location=/system/framework/ims-common.jar --dex-location=/system/framework/apache-xml.jar --dex-location=/system/framework/org.apache.http.legacy.boot.jar --dex-location=/system/framework/android.hidl.base-V1.0-java.jar --dex-location=/system/framework/android.hidl.manager-V1.0-java.jar --dex-location=/system/framework/cvFaceApi.jar --dex-location=/system/framework/mediatek-common.jar --dex-location=/system/framework/mediatek-framework.jar --dex-location=/system/framework/mediatek-telephony-common.jar --dex-location=/system/framework/mediatek-telephony-base.jar --dex-location=/system/framework/mediatek-ims-common.jar --dex-location=/system/framework/mediatek-telecom-common.jar --oat-symbols=out/target/product/k57pv1_dm_64/symbols/system/framework/arm/boot.oat --oat-file=out/target/product/k57pv1_dm_64/dex_bootjars/system/framework/arm/boot.oat --oat-location=/system/framework/arm/boot.oat --image=out/target/product/k57pv1_dm_64/dex_bootjars/system/framework/arm/boot.art --base=0x70000000 --instruction-set=arm --instruction-set-variant=cortex-a53 --instruction-set-features=default --android-root=out/target/product/k57pv1_dm_64/system --runtime-arg -Xnorelocate --compile-pic --no-generate-debug-info --generate-build-id --multi-image --no-inline-from=core-oj.jar --generate-mini-debug-info --compiled-classes=frameworks/base/compiled-classes-phone )"
dex2oatd E 01-08 13:55:12 57014 57014 dex2oat.cc:2034] Failed to copy oat file to file: boot.oat: Invalid argument
dex2oatd E 01-08 13:55:12 57014 57014 fd_file.cc:67] File out/target/product/k57pv1_dm_64/symbols/system/framework/arm/boot.oat wasn't explicitly flushed before destruction.
dex2oatd E 01-08 13:55:12 57014 57014 fd_file.cc:70] File out/target/product/k57pv1_dm_64/symbols/system/framework/arm/boot.oat wasn't explicitly closed before destruction.
dex2oatd F 01-08 13:55:12 57014 57014 fd_file.cc:72] Check failed: guard_state_ >= GuardState::kClosed (guard_state_=Base, GuardState::kClosed=Closed)
Runtime aborting...
Aborting thread:
dex2oatd E 01-08 13:55:12 57014 57014 mutex-inl.h:95] Lock level violation: holding "mutator lock" (level MutatorLock - 61) while locking "mutator lock" (level MutatorLock - 61)
dex2oatd E 01-08 13:55:12 57014 57014 thread-inl.h:163] holding "abort lock" at point where thread suspension is expected
"main" prio=5 tid=1 Native (still starting up)
| group="" sCount=0 dsCount=0 flags=0 obj=(nil) self=0x7f3dfc799bf0
| sysTid=57014 nice=0 cgrp=default sched=0/0 handle=0x7f3dfa9dd780
| state=R schedstat=( 51890064920 5659007580 6512 ) utm=5083 stm=105 core=1 HZ=100
| stack=0x7ffecea24000-0x7ffecea26000 stackSize=7MB
| held mutexes= "abort lock"
native: #00 pc 00000000004a8829 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libartd.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+217)
native: #01 pc 0000000000589486 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libartd.so (_ZNK3art6Thread9DumpStackERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMapb+342)
native: #02 pc 00000000005719ed /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libartd.so (_ZNK3art10AbortState10DumpThreadERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEPNS_6ThreadE+93)
native: #03 pc 0000000000571972 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libartd.so (_ZNK3art10AbortState4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+450)
native: #04 pc 0000000000562e03 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libartd.so (_ZN3art7Runtime5AbortEPKc+99)
native: #05 pc 00000000000099fb /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libbase.so (_ZN7android4base10LogMessageD2Ev+987)
native: std::__1::function<void (char const*)>::operator()(char const*) const
native: external/libcxx/include/functional:1915 (discriminator 1)
native: ~LogMessage
native: system/core/base/logging.cpp:433 (discriminator 1)
native: #06 pc 0000000000198437 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libartd.so (_ZN9unix_file6FdFile7DestroyEv+439)
native: #07 pc 0000000000198747 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libartd.so (_ZN9unix_file6FdFileD0Ev+23)
native: #08 pc 000000000002821e /home/liangyusong/workspace/OS3.0/out/host/linux-x86/bin/dex2oatd (_ZN3art7Dex2Oat24CopyStrippedToUnstrippedEv+1006)
native: std::__1::default_delete<unix_file::FdFile>::operator()(unix_file::FdFile*) const
native: external/libcxx/include/memory:2399 (discriminator 1)
native: std::__1::unique_ptr<unix_file::FdFile, std::__1::default_delete<unix_file::FdFile> >::reset(unix_file::FdFile*)
native: external/libcxx/include/memory:2608 (discriminator 1)
native: ~unique_ptr
native: external/libcxx/include/memory:2576 (discriminator 1)
native: art::Dex2Oat::CopyStrippedToUnstripped()
native: art/dex2oat/dex2oat.cc:2042 (discriminator 1)
native: #09 pc 000000000000b825 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/bin/dex2oatd (main+1013)
native: art::CompileImage(art::Dex2Oat&)
native: art/dex2oat/dex2oat.cc:2854
native: art::Dex2oat(int, char**)
native: art/dex2oat/dex2oat.cc:2957
native: main
native: art/dex2oat/dex2oat.cc:2968
native: #10 pc 0000000000021f44 /lib/x86_64-linux-gnu/
libc-2.19.so (__libc_start_main+244)
native: __libc_start_main
native: /build/eglibc-SvCtMH/eglibc-2.19/csu/libc-start.c:287
native: #11 pc 000000000000b308 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/bin/dex2oatd (???)
(no managed stack frames)
Dumping all threads without appropriate locks held: thread list lock mutator lock
All threads:
DALVIK THREADS (1):
"main" prio=5 tid=1 Runnable (still starting up)
| group="" sCount=0 dsCount=0 flags=0 obj=(nil) self=0x7f3dfc799bf0
| sysTid=57014 nice=0 cgrp=default sched=0/0 handle=0x7f3dfa9dd780
| state=R schedstat=( 51926743781 5659024453 6549 ) utm=5085 stm=107 core=9 HZ=100
| stack=0x7ffecea24000-0x7ffecea26000 stackSize=7MB
| held mutexes= "abort lock" "mutator lock"(shared held)
native: #00 pc 00000000004a8829 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libartd.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+217)
native: #01 pc 0000000000589486 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libartd.so (_ZNK3art6Thread9DumpStackERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMapb+342)
native: art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, BacktraceMap*, char const*, art::ArtMethod*, void*)
native: art/runtime/native_stack_dump.cc:300 (discriminator 1)
native: #02 pc 00000000005a28b5 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libartd.so (_ZN3art14DumpCheckpoint3RunEPNS_6ThreadE+629)
native: art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, bool, BacktraceMap*, bool) const
native: art/runtime/thread.cc:1872 (discriminator 1)
native: art::DumpCheckpoint::Run(art::Thread*)
native: art/runtime/thread_list.cc:214 (discriminator 1)
native: #03 pc 000000000059a083 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libartd.so (_ZN3art10ThreadList13RunCheckpointEPNS_7ClosureES2_+675)
native: art::ThreadList::RunCheckpoint(art::Closure*, art::Closure*)
native: art/runtime/thread_list.cc:348
native: #04 pc 0000000000599ba9 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libartd.so (_ZN3art10ThreadList4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEb+409)
native: art::ThreadList::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, bool)
native: art/runtime/thread_list.cc:259
native: #05 pc 0000000000562e03 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libartd.so (_ZN3art7Runtime5AbortEPKc+99)
native: art::Dumpable<art::AbortState>::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const
native: art/runtime/base/dumpable.h:39
native: std::__1::basic_ostream<char, std::__1::char_traits<char> >& art::operator<< <art::AbortState>(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, art::Dumpable<art::AbortState> const&)
native: art/runtime/base/dumpable.h:50
native: art::Runtime::Abort(char const*)
native: art/runtime/runtime.cc:502
native: #06 pc 00000000000099fb /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libbase.so (_ZN7android4base10LogMessageD2Ev+987)
native: std::__1::function<void (char const*)>::operator()(char const*) const
native: external/libcxx/include/functional:1915 (discriminator 1)
native: ~LogMessage
native: system/core/base/logging.cpp:433 (discriminator 1)
native: #07 pc 0000000000198437 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libartd.so (_ZN9unix_file6FdFile7DestroyEv+439)
native: unix_file::FdFile::Destroy()
native: art/runtime/base/unix_file/fd_file.cc:72 (discriminator 16)
native: #08 pc 0000000000198747 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libartd.so (_ZN9unix_file6FdFileD0Ev+23)
native: ~FdFile
native: art/runtime/base/unix_file/fd_file.cc:101
native: ~FdFile
native: art/runtime/base/unix_file/fd_file.cc:100
native: #09 pc 000000000002821e /home/liangyusong/workspace/OS3.0/out/host/linux-x86/bin/dex2oatd (_ZN3art7Dex2Oat24CopyStrippedToUnstrippedEv+1006)
native: std::__1::default_delete<unix_file::FdFile>::operator()(unix_file::FdFile*) const
native: external/libcxx/include/memory:2399 (discriminator 1)
native: std::__1::unique_ptr<unix_file::FdFile, std::__1::default_delete<unix_file::FdFile> >::reset(unix_file::FdFile*)
native: external/libcxx/include/memory:2608 (discriminator 1)
native: ~unique_ptr
native: external/libcxx/include/memory:2576 (discriminator 1)
native: art::Dex2Oat::CopyStrippedToUnstripped()
native: art/dex2oat/dex2oat.cc:2042 (discriminator 1)
native: #10 pc 000000000000b825 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/bin/dex2oatd (main+1013)
native: art::CompileImage(art::Dex2Oat&)
native: art/dex2oat/dex2oat.cc:2854
native: art::Dex2oat(int, char**)
native: art/dex2oat/dex2oat.cc:2957
native: main
native: art/dex2oat/dex2oat.cc:2968
native: #11 pc 0000000000021f44 /lib/x86_64-linux-gnu/
libc-2.19.so (__libc_start_main+244)
native: __libc_start_main
native: /build/eglibc-SvCtMH/eglibc-2.19/csu/libc-start.c:287
native: #12 pc 000000000000b308 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/bin/dex2oatd (???)
(no managed stack frames)
dex2oatd E 01-08 13:55:18 57014 57014 thread-inl.h:163] holding "abort lock" at point where thread suspension is expected
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Fatal signal 6 (SIGABRT), code -6 (SI_TKILL)
OS: Linux 3.16.0-44-generic (x86_64)
Cmdline: out/host/linux-x86/bin/dex2oatd --runtime-arg -Xms64m --runtime-arg -Xmx64m --image-classes=frameworks/base/preloaded-classes --dex-file=out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/legacy-test_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/gome-framework_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/voip-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/ims-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/android.hidl.base-V1.0-java_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/android.hidl.manager-V1.0-java_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/cvFaceApi_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/mediatek-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/mediatek-framework_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/mediatek-telephony-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/mediatek-telephony-base_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/mediatek-ims-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/mediatek-telecom-common_intermediates/javalib.jar --dex-location=/system/framework/core-oj.jar --dex-location=/system/framework/core-libart.jar --dex-location=/system/framework/conscrypt.jar --dex-location=/system/framework/okhttp.jar --dex-location=/system/framework/legacy-test.jar --dex-location=/system/framework/bouncycastle.jar --dex-location=/system/framework/ext.jar --dex-location=/system/framework/framework.jar --dex-location=/system/framework/gome-framework.jar --dex-location=/system/framework/telephony-common.jar --dex-location=/system/framework/voip-common.jar --dex-location=/system/framework/ims-common.jar --dex-location=/system/framework/apache-xml.jar --dex-location=/system/framework/org.apache.http.legacy.boot.jar --dex-location=/system/framework/android.hidl.base-V1.0-java.jar --dex-location=/system/framework/android.hidl.manager-V1.0-java.jar --dex-location=/system/framework/cvFaceApi.jar --dex-location=/system/framework/mediatek-common.jar --dex-location=/system/framework/mediatek-framework.jar --dex-location=/system/framework/mediatek-telephony-common.jar --dex-location=/system/framework/mediatek-telephony-base.jar --dex-location=/system/framework/mediatek-ims-common.jar --dex-location=/system/framework/mediatek-telecom-common.jar --oat-symbols=out/target/product/k57pv1_dm_64/symbols/system/framework/arm/boot.oat --oat-file=out/target/product/k57pv1_dm_64/dex_bootjars/system/framework/arm/boot.oat --oat-location=/system/framework/arm/boot.oat --image=out/target/product/k57pv1_dm_64/dex_bootjars/system/framework/arm/boot.art --base=0x70000000 --instruction-set=arm --instruction-set-variant=cortex-a53 --instruction-set-features=default --android-root=out/target/product/k57pv1_dm_64/system --runtime-arg -Xnorelocate --compile-pic --no-generate-debug-info --generate-build-id --multi-image --no-inline-from=core-oj.jar --generate-mini-debug-info --compiled-classes=frameworks/base/compiled-classes-phone
Thread: 57014 "dex2oatd"
Registers:
rax: 0x0000000000000000 rbx: 0x000000000000deb6 rcx: 0xffffffffffffffff rdx: 0x0000000000000006
rdi: 0x000000000000deb6 rsi: 0x000000000000deb6 rbp: 0x00007ffecf220450 rsp: 0x00007ffecf2203f8
r8 : 0x00000048cf220450 r9 : 0x00000048cf220450 r10: 0x0000000000000000 r11: 0x0000000000000246
r12: 0x00007f3dfd786fe0 r13: 0x0000000000000001 r14: 0x00007f3dfc41f350 r15: 0x00007ffecf2204e0
rip: 0x00007f3df8cb8389 eflags: 0x00000246 [ PF ZF IF ]
cs: 0x00000033 gs: 0x00000000 fs: 0x00000000
Backtrace:
#00 pc 00000000000f8389 /lib/x86_64-linux-gnu/
libc-2.19.so (syscall+25)
syscall
/build/eglibc-SvCtMH/eglibc-2.19/misc/../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#01 pc 0000000000562f91 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libartd.so (_ZN3art7Runtime5AbortEPKc+497)
art::Runtime::Abort(char const*)
art/runtime/runtime.cc:525 (discriminator 2)
#02 pc 00000000000099fb /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libbase.so (_ZN7android4base10LogMessageD2Ev+987)
std::__1::function<void (char const*)>::operator()(char const*) const
external/libcxx/include/functional:1915 (discriminator 1)
~LogMessage
system/core/base/logging.cpp:433 (discriminator 1)
#03 pc 0000000000198437 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libartd.so (_ZN9unix_file6FdFile7DestroyEv+439)
unix_file::FdFile::Destroy()
art/runtime/base/unix_file/fd_file.cc:72 (discriminator 16)
#04 pc 0000000000198747 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libartd.so (_ZN9unix_file6FdFileD0Ev+23)
~FdFile
art/runtime/base/unix_file/fd_file.cc:101
~FdFile
art/runtime/base/unix_file/fd_file.cc:100
#05 pc 000000000002821e /home/liangyusong/workspace/OS3.0/out/host/linux-x86/bin/dex2oatd (_ZN3art7Dex2Oat24CopyStrippedToUnstrippedEv+1006)
std::__1::default_delete<unix_file::FdFile>::operator()(unix_file::FdFile*) const
external/libcxx/include/memory:2399 (discriminator 1)
std::__1::unique_ptr<unix_file::FdFile, std::__1::default_delete<unix_file::FdFile> >::reset(unix_file::FdFile*)
external/libcxx/include/memory:2608 (discriminator 1)
~unique_ptr
external/libcxx/include/memory:2576 (discriminator 1)
art::Dex2Oat::CopyStrippedToUnstripped()
art/dex2oat/dex2oat.cc:2042 (discriminator 1)
#06 pc 000000000000b825 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/bin/dex2oatd (main+1013)
art::CompileImage(art::Dex2Oat&)
art/dex2oat/dex2oat.cc:2854
art::Dex2oat(int, char**)
art/dex2oat/dex2oat.cc:2957
main
art/dex2oat/dex2oat.cc:2968
#07 pc 0000000000021f44 /lib/x86_64-linux-gnu/
libc-2.19.so (__libc_start_main+244)
__libc_start_main
/build/eglibc-SvCtMH/eglibc-2.19/csu/libc-start.c:287
#08 pc 000000000000b308 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/bin/dex2oatd (???)
Fault message:
/bin/bash: line 1: 57014 Aborted (core dumped) ( ANDROID_LOG_TAGS="*:e" out/host/linux-x86/bin/dex2oatd --runtime-arg -Xms64m --runtime-arg -Xmx64m --image-classes=frameworks/base/preloaded-classes --dex-file=out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/legacy-test_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/gome-framework_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/voip-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/ims-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/android.hidl.base-V1.0-java_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/android.hidl.manager-V1.0-java_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/cvFaceApi_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/mediatek-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/mediatek-framework_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/mediatek-telephony-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/mediatek-telephony-base_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/mediatek-ims-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/mediatek-telecom-common_intermediates/javalib.jar --dex-location=/system/framework/core-oj.jar --dex-location=/system/framework/core-libart.jar --dex-location=/system/framework/conscrypt.jar --dex-location=/system/framework/okhttp.jar --dex-location=/system/framework/legacy-test.jar --dex-location=/system/framework/bouncycastle.jar --dex-location=/system/framework/ext.jar --dex-location=/system/framework/framework.jar --dex-location=/system/framework/gome-framework.jar --dex-location=/system/framework/telephony-common.jar --dex-location=/system/framework/voip-common.jar --dex-location=/system/framework/ims-common.jar --dex-location=/system/framework/apache-xml.jar --dex-location=/system/framework/org.apache.http.legacy.boot.jar --dex-location=/system/framework/android.hidl.base-V1.0-java.jar --dex-location=/system/framework/android.hidl.manager-V1.0-java.jar --dex-location=/system/framework/cvFaceApi.jar --dex-location=/system/framework/mediatek-common.jar --dex-location=/system/framework/mediatek-framework.jar --dex-location=/system/framework/mediatek-telephony-common.jar --dex-location=/system/framework/mediatek-telephony-base.jar --dex-location=/system/framework/mediatek-ims-common.jar --dex-location=/system/framework/mediatek-telecom-common.jar --oat-symbols=out/target/product/k57pv1_dm_64/symbols/system/framework/arm/boot.oat --oat-file=out/target/product/k57pv1_dm_64/dex_bootjars/system/framework/arm/boot.oat --oat-location=/system/framework/arm/boot.oat --image=out/target/product/k57pv1_dm_64/dex_bootjars/system/framework/arm/boot.art --base=0x70000000 --instruction-set=arm --instruction-set-variant=cortex-a53 --instruction-set-features=default --android-root=out/target/product/k57pv1_dm_64/system --runtime-arg -Xnorelocate --compile-pic --no-generate-debug-info --generate-build-id --multi-image --no-inline-from=core-oj.jar --generate-mini-debug-info --compiled-classes=frameworks/base/compiled-classes-phone )
[ 82% 80016/96448] cc out/soong/.intermediates/external/llvm/lib/Target/AArch64/libLLVMAArch64CodeGen/android_arm64_armv8-a_cortex-a53_static_core/obj/external/llvm/lib/Target/AArch64/AArch64ISelLowering.o
[ 82% 80017/96448] cc out/soong/.intermediates/external/llvm/lib/Target/AArch64/MCTargetDesc/libLLVMAArch64Desc/android_arm64_armv8-a_cortex-a53_static_core/obj/external/llvm/lib/Target/AArch64/MCTargetDesc/AArch64TargetStreamer.o
[ 82% 80018/96448] target dex2oat: out/target/product/k57pv1_dm_64/dex_bootjars/system/framework/arm64/boot.art
FAILED: out/target/product/k57pv1_dm_64/dex_bootjars/system/framework/arm64/boot.art
/bin/bash -c "(mkdir -p out/target/product/k57pv1_dm_64/symbols/system/framework/arm64/ ) && (rm -f out/target/product/k57pv1_dm_64/dex_bootjars/system/framework/arm64//*.art out/target/product/k57pv1_dm_64/dex_bootjars/system/framework/arm64//*.oat ) && (rm -f out/target/product/k57pv1_dm_64/symbols/system/framework/arm64//*.art ) && (rm -f out/target/product/k57pv1_dm_64/symbols/system/framework/arm64//*.oat ) && (ANDROID_LOG_TAGS=\"*:e\" out/host/linux-x86/bin/dex2oatd --runtime-arg -Xms64m --runtime-arg -Xmx64m --image-classes=frameworks/base/preloaded-classes --dex-file=out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/legacy-test_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/gome-framework_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/voip-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/ims-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/android.hidl.base-V1.0-java_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/android.hidl.manager-V1.0-java_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/cvFaceApi_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/mediatek-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/mediatek-framework_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/mediatek-telephony-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/mediatek-telephony-base_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/mediatek-ims-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/mediatek-telecom-common_intermediates/javalib.jar --dex-location=/system/framework/core-oj.jar --dex-location=/system/framework/core-libart.jar --dex-location=/system/framework/conscrypt.jar --dex-location=/system/framework/okhttp.jar --dex-location=/system/framework/legacy-test.jar --dex-location=/system/framework/bouncycastle.jar --dex-location=/system/framework/ext.jar --dex-location=/system/framework/framework.jar --dex-location=/system/framework/gome-framework.jar --dex-location=/system/framework/telephony-common.jar --dex-location=/system/framework/voip-common.jar --dex-location=/system/framework/ims-common.jar --dex-location=/system/framework/apache-xml.jar --dex-location=/system/framework/org.apache.http.legacy.boot.jar --dex-location=/system/framework/android.hidl.base-V1.0-java.jar --dex-location=/system/framework/android.hidl.manager-V1.0-java.jar --dex-location=/system/framework/cvFaceApi.jar --dex-location=/system/framework/mediatek-common.jar --dex-location=/system/framework/mediatek-framework.jar --dex-location=/system/framework/mediatek-telephony-common.jar --dex-location=/system/framework/mediatek-telephony-base.jar --dex-location=/system/framework/mediatek-ims-common.jar --dex-location=/system/framework/mediatek-telecom-common.jar --oat-symbols=out/target/product/k57pv1_dm_64/symbols/system/framework/arm64/boot.oat --oat-file=out/target/product/k57pv1_dm_64/dex_bootjars/system/framework/arm64/boot.oat --oat-location=/system/framework/arm64/boot.oat --image=out/target/product/k57pv1_dm_64/dex_bootjars/system/framework/arm64/boot.art --base=0x70000000 --instruction-set=arm64 --instruction-set-variant=cortex-a53 --instruction-set-features=default --android-root=out/target/product/k57pv1_dm_64/system --runtime-arg -Xnorelocate --compile-pic --no-generate-debug-info --generate-build-id --multi-image --no-inline-from=core-oj.jar --generate-mini-debug-info --compiled-classes=frameworks/base/compiled-classes-phone )"
dex2oatd E 01-08 13:55:16 56998 56998 dex2oat.cc:2034] Failed to copy oat file to file: out/target/product/k57pv1_dm_64/symbols/system/framework/arm64/boot.oat: Invalid argument
dex2oatd E 01-08 13:55:16 56998 56998 fd_file.cc:67] File out/target/product/k57pv1_dm_64/symbols/system/framework/arm64/boot.oat wasn't explicitly flushed before destruction.
dex2oatd E 01-08 13:55:16 56998 56998 fd_file.cc:70] File out/target/product/k57pv1_dm_64/symbols/system/framework/arm64/boot.oat wasn't explicitly closed before destruction.
dex2oatd F 01-08 13:55:16 56998 56998 fd_file.cc:72] Check failed: guard_state_ >= GuardState::kClosed (guard_state_=Base, GuardState::kClosed=Closed)
Runtime aborting...
Aborting thread:
dex2oatd E 01-08 13:55:16 56998 56998 mutex-inl.h:95] Lock level violation: holding "mutator lock" (level MutatorLock - 61) while locking "mutator lock" (level MutatorLock - 61)
dex2oatd E 01-08 13:55:16 56998 56998 thread-inl.h:163] holding "abort lock" at point where thread suspension is expected
"main" prio=5 tid=1 Native (still starting up)
| group="" sCount=0 dsCount=0 flags=0 obj=(nil) self=0x7f46804f95d0
| sysTid=56998 nice=0 cgrp=default sched=0/0 handle=0x7f467f174780
| state=R schedstat=( 53372147482
5793430875 15471 ) utm=5197 stm=139 core=2 HZ=100
| stack=0x7ffd1abed000-0x7ffd1abef000 stackSize=7MB
| held mutexes= "abort lock"
native: #00 pc 00000000004a8829 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libartd.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+217)
native: #01 pc 0000000000589486 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libartd.so (_ZNK3art6Thread9DumpStackERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMapb+342)
native: art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, BacktraceMap*, char const*, art::ArtMethod*, void*)
native: art/runtime/native_stack_dump.cc:300 (discriminator 1)
native: #02 pc 00000000005719ed /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libartd.so (_ZNK3art10AbortState10DumpThreadERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEPNS_6ThreadE+93)
native: art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, bool, BacktraceMap*, bool) const
native: art/runtime/thread.cc:1872 (discriminator 1)
native: art::AbortState::DumpThread(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, art::Thread*) const
native: art/runtime/runtime.cc:436
native: #03 pc 0000000000571972 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libartd.so (_ZNK3art10AbortState4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+450)
native: art::AbortState::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const
native: art/runtime/runtime.cc:425
native: #04 pc 0000000000562e03 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libartd.so (_ZN3art7Runtime5AbortEPKc+99)
native: art::Dumpable<art::AbortState>::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const
native: art/runtime/base/dumpable.h:39
native: std::__1::basic_ostream<char, std::__1::char_traits<char> >& art::operator<< <art::AbortState>(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, art::Dumpable<art::AbortState> const&)
native: art/runtime/base/dumpable.h:50
native: art::Runtime::Abort(char const*)
native: art/runtime/runtime.cc:502
native: #05 pc 00000000000099fb /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libbase.so (_ZN7android4base10LogMessageD2Ev+987)
native: std::__1::function<void (char const*)>::operator()(char const*) const
native: external/libcxx/include/functional:1915 (discriminator 1)
native: ~LogMessage
native: system/core/base/logging.cpp:433 (discriminator 1)
native: #06 pc 0000000000198437 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libartd.so (_ZN9unix_file6FdFile7DestroyEv+439)
native: unix_file::FdFile::Destroy()
native: art/runtime/base/unix_file/fd_file.cc:72 (discriminator 16)
native: #07 pc 0000000000198747 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libartd.so (_ZN9unix_file6FdFileD0Ev+23)
native: ~FdFile
native: art/runtime/base/unix_file/fd_file.cc:101
native: ~FdFile
native: art/runtime/base/unix_file/fd_file.cc:100
native: #08 pc 000000000002821e /home/liangyusong/workspace/OS3.0/out/host/linux-x86/bin/dex2oatd (_ZN3art7Dex2Oat24CopyStrippedToUnstrippedEv+1006)
native: std::__1::default_delete<unix_file::FdFile>::operator()(unix_file::FdFile*) const
native: external/libcxx/include/memory:2399 (discriminator 1)
native: std::__1::unique_ptr<unix_file::FdFile, std::__1::default_delete<unix_file::FdFile> >::reset(unix_file::FdFile*)
native: external/libcxx/include/memory:2608 (discriminator 1)
native: ~unique_ptr
native: external/libcxx/include/memory:2576 (discriminator 1)
native: art::Dex2Oat::CopyStrippedToUnstripped()
native: art/dex2oat/dex2oat.cc:2042 (discriminator 1)
native: #09 pc 000000000000b825 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/bin/dex2oatd (main+1013)
native: art::CompileImage(art::Dex2Oat&)
native: art/dex2oat/dex2oat.cc:2854
native: art::Dex2oat(int, char**)
native: art/dex2oat/dex2oat.cc:2957
native: main
native: art/dex2oat/dex2oat.cc:2968
native: #10 pc 0000000000021f44 /lib/x86_64-linux-gnu/
libc-2.19.so (__libc_start_main+244)
native: __libc_start_main
native: /build/eglibc-SvCtMH/eglibc-2.19/csu/libc-start.c:287
native: #11 pc 000000000000b308 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/bin/dex2oatd (???)
(no managed stack frames)
Dumping all threads without appropriate locks held: thread list lock mutator lock
All threads:
DALVIK THREADS (1):
"main" prio=5 tid=1 Runnable (still starting up)
| group="" sCount=0 dsCount=0 flags=0 obj=(nil) self=0x7f46804f95d0
| sysTid=56998 nice=0 cgrp=default sched=0/0 handle=0x7f467f174780
| state=R schedstat=( 53406717080
5793430875 15499 ) utm=5197 stm=143 core=2 HZ=100
| stack=0x7ffd1abed000-0x7ffd1abef000 stackSize=7MB
| held mutexes= "abort lock" "mutator lock"(shared held)
native: #00 pc 00000000004a8829 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libartd.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+217)
native: art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, BacktraceMap*, char const*, art::ArtMethod*, void*)
native: art/runtime/native_stack_dump.cc:300 (discriminator 1)
native: #01 pc 0000000000589486 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libartd.so (_ZNK3art6Thread9DumpStackERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMapb+342)
native: art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, bool, BacktraceMap*, bool) const
native: art/runtime/thread.cc:1872 (discriminator 1)
native: #02 pc 00000000005a28b5 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libartd.so (_ZN3art14DumpCheckpoint3RunEPNS_6ThreadE+629)
native: art::DumpCheckpoint::Run(art::Thread*)
native: art/runtime/thread_list.cc:214 (discriminator 1)
native: #03 pc 000000000059a083 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libartd.so (_ZN3art10ThreadList13RunCheckpointEPNS_7ClosureES2_+675)
native: art::ThreadList::RunCheckpoint(art::Closure*, art::Closure*)
native: art/runtime/thread_list.cc:348
native: #04 pc 0000000000599ba9 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libartd.so (_ZN3art10ThreadList4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEb+409)
native: art::ThreadList::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, bool)
native: art/runtime/thread_list.cc:259
native: #05 pc 0000000000562e03 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libartd.so (_ZN3art7Runtime5AbortEPKc+99)
native: art::Dumpable<art::AbortState>::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const
native: art/runtime/base/dumpable.h:39
native: std::__1::basic_ostream<char, std::__1::char_traits<char> >& art::operator<< <art::AbortState>(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, art::Dumpable<art::AbortState> const&)
native: art/runtime/base/dumpable.h:50
native: art::Runtime::Abort(char const*)
native: art/runtime/runtime.cc:502
native: #06 pc 00000000000099fb /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libbase.so (_ZN7android4base10LogMessageD2Ev+987)
native: std::__1::function<void (char const*)>::operator()(char const*) const
native: external/libcxx/include/functional:1915 (discriminator 1)
native: ~LogMessage
native: system/core/base/logging.cpp:433 (discriminator 1)
native: #07 pc 0000000000198437 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libartd.so (_ZN9unix_file6FdFile7DestroyEv+439)
native: unix_file::FdFile::Destroy()
native: art/runtime/base/unix_file/fd_file.cc:72 (discriminator 16)
native: #08 pc 0000000000198747 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libartd.so (_ZN9unix_file6FdFileD0Ev+23)
native: ~FdFile
native: art/runtime/base/unix_file/fd_file.cc:101
native: ~FdFile
native: art/runtime/base/unix_file/fd_file.cc:100
native: #09 pc 000000000002821e /home/liangyusong/workspace/OS3.0/out/host/linux-x86/bin/dex2oatd (_ZN3art7Dex2Oat24CopyStrippedToUnstrippedEv+1006)
native: std::__1::default_delete<unix_file::FdFile>::operator()(unix_file::FdFile*) const
native: external/libcxx/include/memory:2399 (discriminator 1)
native: std::__1::unique_ptr<unix_file::FdFile, std::__1::default_delete<unix_file::FdFile> >::reset(unix_file::FdFile*)
native: external/libcxx/include/memory:2608 (discriminator 1)
native: ~unique_ptr
native: external/libcxx/include/memory:2576 (discriminator 1)
native: art::Dex2Oat::CopyStrippedToUnstripped()
native: art/dex2oat/dex2oat.cc:2042 (discriminator 1)
native: #10 pc 000000000000b825 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/bin/dex2oatd (main+1013)
native: art::CompileImage(art::Dex2Oat&)
native: art/dex2oat/dex2oat.cc:2854
native: art::Dex2oat(int, char**)
native: art/dex2oat/dex2oat.cc:2957
native: main
native: art/dex2oat/dex2oat.cc:2968
native: #11 pc 0000000000021f44 /lib/x86_64-linux-gnu/
libc-2.19.so (__libc_start_main+244)
native: __libc_start_main
native: /build/eglibc-SvCtMH/eglibc-2.19/csu/libc-start.c:287
native: #12 pc 000000000000b308 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/bin/dex2oatd (???)
(no managed stack frames)
dex2oatd E 01-08 13:55:20 56998 56998 thread-inl.h:163] holding "abort lock" at point where thread suspension is expected
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Fatal signal 6 (SIGABRT), code -6 (SI_TKILL)
OS: Linux 3.16.0-44-generic (x86_64)
Cmdline: out/host/linux-x86/bin/dex2oatd --runtime-arg -Xms64m --runtime-arg -Xmx64m --image-classes=frameworks/base/preloaded-classes --dex-file=out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/legacy-test_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/gome-framework_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/voip-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/ims-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/android.hidl.base-V1.0-java_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/android.hidl.manager-V1.0-java_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/cvFaceApi_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/mediatek-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/mediatek-framework_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/mediatek-telephony-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/mediatek-telephony-base_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/mediatek-ims-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/mediatek-telecom-common_intermediates/javalib.jar --dex-location=/system/framework/core-oj.jar --dex-location=/system/framework/core-libart.jar --dex-location=/system/framework/conscrypt.jar --dex-location=/system/framework/okhttp.jar --dex-location=/system/framework/legacy-test.jar --dex-location=/system/framework/bouncycastle.jar --dex-location=/system/framework/ext.jar --dex-location=/system/framework/framework.jar --dex-location=/system/framework/gome-framework.jar --dex-location=/system/framework/telephony-common.jar --dex-location=/system/framework/voip-common.jar --dex-location=/system/framework/ims-common.jar --dex-location=/system/framework/apache-xml.jar --dex-location=/system/framework/org.apache.http.legacy.boot.jar --dex-location=/system/framework/android.hidl.base-V1.0-java.jar --dex-location=/system/framework/android.hidl.manager-V1.0-java.jar --dex-location=/system/framework/cvFaceApi.jar --dex-location=/system/framework/mediatek-common.jar --dex-location=/system/framework/mediatek-framework.jar --dex-location=/system/framework/mediatek-telephony-common.jar --dex-location=/system/framework/mediatek-telephony-base.jar --dex-location=/system/framework/mediatek-ims-common.jar --dex-location=/system/framework/mediatek-telecom-common.jar --oat-symbols=out/target/product/k57pv1_dm_64/symbols/system/framework/arm64/boot.oat --oat-file=out/target/product/k57pv1_dm_64/dex_bootjars/system/framework/arm64/boot.oat --oat-location=/system/framework/arm64/boot.oat --image=out/target/product/k57pv1_dm_64/dex_bootjars/system/framework/arm64/boot.art --base=0x70000000 --instruction-set=arm64 --instruction-set-variant=cortex-a53 --instruction-set-features=default --android-root=out/target/product/k57pv1_dm_64/system --runtime-arg -Xnorelocate --compile-pic --no-generate-debug-info --generate-build-id --multi-image --no-inline-from=core-oj.jar --generate-mini-debug-info --compiled-classes=frameworks/base/compiled-classes-phone
Thread: 56998 "dex2oatd"
Registers:
rax: 0x0000000000000000 rbx: 0x000000000000dea6 rcx: 0xffffffffffffffff rdx: 0x0000000000000006
rdi: 0x000000000000dea6 rsi: 0x000000000000dea6 rbp: 0x00007ffd1b3e81c0 rsp: 0x00007ffd1b3e8168
r8 : 0x000000481b3e81c0 r9 : 0x000000481b3e81c0 r10: 0x00007f4680354380 r11: 0x0000000000000246
r12: 0x00007f468035ccb0 r13: 0x0000000000000001 r14: 0x00007f468017b350 r15: 0x00007ffd1b3e8250
rip: 0x00007f467d44f389 eflags: 0x00000246 [ PF ZF IF ]
cs: 0x00000033 gs: 0x00000000 fs: 0x00000000
Backtrace:
#00 pc 00000000000f8389 /lib/x86_64-linux-gnu/
libc-2.19.so (syscall+25)
syscall
/build/eglibc-SvCtMH/eglibc-2.19/misc/../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#01 pc 0000000000562f91 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libartd.so (_ZN3art7Runtime5AbortEPKc+497)
art::Runtime::Abort(char const*)
art/runtime/runtime.cc:525 (discriminator 2)
#02 pc 00000000000099fb /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libbase.so (_ZN7android4base10LogMessageD2Ev+987)
std::__1::function<void (char const*)>::operator()(char const*) const
external/libcxx/include/functional:1915 (discriminator 1)
~LogMessage
system/core/base/logging.cpp:433 (discriminator 1)
#03 pc 0000000000198437 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libartd.so (_ZN9unix_file6FdFile7DestroyEv+439)
#04 pc 0000000000198747 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/lib64/libartd.so (_ZN9unix_file6FdFileD0Ev+23)
#05 pc 000000000002821e /home/liangyusong/workspace/OS3.0/out/host/linux-x86/bin/dex2oatd (_ZN3art7Dex2Oat24CopyStrippedToUnstrippedEv+1006)
std::__1::default_delete<unix_file::FdFile>::operator()(unix_file::FdFile*) const
external/libcxx/include/memory:2399 (discriminator 1)
std::__1::unique_ptr<unix_file::FdFile, std::__1::default_delete<unix_file::FdFile> >::reset(unix_file::FdFile*)
external/libcxx/include/memory:2608 (discriminator 1)
~unique_ptr
external/libcxx/include/memory:2576 (discriminator 1)
art::Dex2Oat::CopyStrippedToUnstripped()
art/dex2oat/dex2oat.cc:2042 (discriminator 1)
#06 pc 000000000000b825 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/bin/dex2oatd (main+1013)
art::CompileImage(art::Dex2Oat&)
art/dex2oat/dex2oat.cc:2854
art::Dex2oat(int, char**)
art/dex2oat/dex2oat.cc:2957
main
art/dex2oat/dex2oat.cc:2968
#07 pc 0000000000021f44 /lib/x86_64-linux-gnu/
libc-2.19.so (__libc_start_main+244)
__libc_start_main
/build/eglibc-SvCtMH/eglibc-2.19/csu/libc-start.c:287
#08 pc 000000000000b308 /home/liangyusong/workspace/OS3.0/out/host/linux-x86/bin/dex2oatd (???)
Fault message:
/bin/bash: line 1: 56998 Aborted (core dumped) ( ANDROID_LOG_TAGS="*:e" out/host/linux-x86/bin/dex2oatd --runtime-arg -Xms64m --runtime-arg -Xmx64m --image-classes=frameworks/base/preloaded-classes --dex-file=out/target/common/obj/JAVA_LIBRARIES/core-oj_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/core-libart_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/conscrypt_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/okhttp_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/legacy-test_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/bouncycastle_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/ext_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/gome-framework_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/voip-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/ims-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/apache-xml_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/org.apache.http.legacy.boot_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/android.hidl.base-V1.0-java_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/android.hidl.manager-V1.0-java_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/cvFaceApi_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/mediatek-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/mediatek-framework_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/mediatek-telephony-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/mediatek-telephony-base_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/mediatek-ims-common_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARIES/mediatek-telecom-common_intermediates/javalib.jar --dex-location=/system/framework/core-oj.jar --dex-location=/system/framework/core-libart.jar --dex-location=/system/framework/conscrypt.jar --dex-location=/system/framework/okhttp.jar --dex-location=/system/framework/legacy-test.jar --dex-location=/system/framework/bouncycastle.jar --dex-location=/system/framework/ext.jar --dex-location=/system/framework/framework.jar --dex-location=/system/framework/gome-framework.jar --dex-location=/system/framework/telephony-common.jar --dex-location=/system/framework/voip-common.jar --dex-location=/system/framework/ims-common.jar --dex-location=/system/framework/apache-xml.jar --dex-location=/system/framework/org.apache.http.legacy.boot.jar --dex-location=/system/framework/android.hidl.base-V1.0-java.jar --dex-location=/system/framework/android.hidl.manager-V1.0-java.jar --dex-location=/system/framework/cvFaceApi.jar --dex-location=/system/framework/mediatek-common.jar --dex-location=/system/framework/mediatek-framework.jar --dex-location=/system/framework/mediatek-telephony-common.jar --dex-location=/system/framework/mediatek-telephony-base.jar --dex-location=/system/framework/mediatek-ims-common.jar --dex-location=/system/framework/mediatek-telecom-common.jar --oat-symbols=out/target/product/k57pv1_dm_64/symbols/system/framework/arm64/boot.oat --oat-file=out/target/product/k57pv1_dm_64/dex_bootjars/system/framework/arm64/boot.oat --oat-location=/system/framework/arm64/boot.oat --image=out/target/product/k57pv1_dm_64/dex_bootjars/system/framework/arm64/boot.art --base=0x70000000 --instruction-set=arm64 --instruction-set-variant=cortex-a53 --instruction-set-features=default --android-root=out/target/product/k57pv1_dm_64/system --runtime-arg -Xnorelocate --compile-pic --no-generate-debug-info --generate-build-id --multi-image --no-inline-from=core-oj.jar --generate-mini-debug-info --compiled-classes=frameworks/base/compiled-classes-phone )
[ 82% 80019/96448] cc out/soong/.intermediates/external/llvm/lib/Target/AArch64/MCTargetDesc/libLLVMAArch64Desc/android_arm64_armv8-a_cortex-a53_static_core/obj/external/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.o
[ 82% 80020/96448] cc out/soong/.intermediates/external/llvm/lib/Target/AArch64/MCTargetDesc/libLLVMAArch64Desc/android_arm64_armv8-a_cortex-a53_static_core/obj/external/llvm/lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.o
[ 82% 80021/96448] cc out/soong/.intermediates/external/llvm/lib/Target/AArch64/MCTargetDesc/libLLVMAArch64Desc/android_arm64_armv8-a_cortex-a53_static_core/obj/external/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.o
[ 82% 80022/96448] cc out/soong/.intermediates/external/llvm/lib/Target/AArch64/Utils/libLLVMAArch64Utils/android_arm64_armv8-a_cortex-a53_static_core/obj/external/llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.o
ninja: build stopped: subcommand failed.
13:55:29 ninja failed with: exit status 1
make: *** [run_soong_ui] Error 1
[0;31m#### make failed to build some targets (01:57:18 (hh:mm:ss)) #### [00m
在 2017年10月26日星期四 UTC+8下午11:37:52,
longsha...@gmail.com写道: