Home Features Docs Blog Support GitHub

MOE Dex2Oat build error


#1

Hi. I have build error in my project.
MOE version: ‘1.4.0’
I use setting proguardLevel “all”.
This error is present for all Dex2Oat tasks.

What is the issuer reason and how fix it?

Log content:

dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] ----- class ‘Ljava/lang/String;’ cl=0x0 -----
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] objectSize=658 (432 from super)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] access=0x0000.0011
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] super=‘java.lang.Class<java.lang.Object>’ (cl=0x0)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] interfaces (3):
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 0: java.lang.Class<java.io.Serializable> (cl=0x0)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 1: java.lang.Class<java.lang.CharSequence> (cl=0x0)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 2: java.lang.Class<java.lang.Comparable> (cl=0x0)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] class not yet loaded
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486]
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] ----- class ‘Ljava/lang/String;’ cl=0x0 -----
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] objectSize=648 (432 from super)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] access=0x0000.0011
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] super=‘java.lang.Class<java.lang.Object>’ (cl=0x0)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] interfaces (3):
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 0: java.lang.Class<java.io.Serializable> (cl=0x0)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 1: java.lang.Class<java.lang.CharSequence> (cl=0x0)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 2: java.lang.Class<java.lang.Comparable> (cl=0x0)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] vtable (52 entries, 11 in super):
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 0: char java.lang.String.a(int)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 1: int java.lang.String.a(java.lang.String)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 2: int java.lang.String.a(java.lang.String, int)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 3: java.lang.String java.lang.String.a(char, char)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 4: java.lang.String java.lang.String.a(java.lang.CharSequence, java.lang.CharSequence)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 5: java.lang.String java.lang.String.a(java.lang.String, java.lang.String)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 6: java.lang.String java.lang.String.a(java.util.Locale)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 7: void java.lang.String.a(int, char)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 8: void java.lang.String.a(int, int, char[], int)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 9: boolean java.lang.String.a(int, java.lang.String, int, int)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 10: boolean java.lang.String.a(java.lang.CharSequence)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 11: boolean java.lang.String.a(boolean, int, java.lang.String, int, int)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 12: byte[] java.lang.String.a()
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 13: byte[] java.lang.String.a(java.nio.charset.Charset)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 14: java.lang.CharSequence java.lang.String.a_(int, int)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 15: int java.lang.String.b()
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 16: int java.lang.String.b(int)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 17: int java.lang.String.b(int, int)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 18: int java.lang.String.b(java.lang.String)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 19: int java.lang.String.b(java.lang.String, int)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 20: java.lang.String java.lang.String.b(java.lang.String, java.lang.String)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 21: java.lang.String java.lang.String.b(java.util.Locale)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 22: void java.lang.String.b(int, int, char[], int)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 23: boolean java.lang.String.b(java.lang.CharSequence)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 24: int java.lang.String.c(int)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 25: int java.lang.String.c(int, int)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 26: java.lang.String java.lang.String.c()
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 27: java.lang.String java.lang.String.c(java.lang.String)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 28: boolean java.lang.String.c(java.lang.String, int)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 29: int java.lang.String.compareTo(java.lang.Object)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 30: java.lang.String java.lang.String.d(int)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 31: java.lang.String java.lang.String.d(int, int)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 32: boolean java.lang.String.d()
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 33: boolean java.lang.String.d(java.lang.String)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 34: java.lang.String[] java.lang.String.d(java.lang.String, int)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 35: int java.lang.String.e(int, int)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 36: boolean java.lang.String.e(java.lang.String)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 37: char[] java.lang.String.e()
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 38: boolean java.lang.String.equals(java.lang.Object)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 39: int java.lang.String.f(int)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 40: java.lang.String java.lang.String.f()
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 41: byte[] java.lang.String.f(java.lang.String)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 42: int java.lang.String.g(int)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 43: int java.lang.String.g(java.lang.String)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 44: java.lang.String java.lang.String.g()
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 45: int java.lang.String.h(java.lang.String)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 46: java.lang.String java.lang.String.h()
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 47: int java.lang.String.hashCode()
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 48: boolean java.lang.String.i(java.lang.String)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 49: boolean java.lang.String.j(java.lang.String)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 50: java.lang.String[] java.lang.String.k(java.lang.String)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 51: java.lang.String java.lang.String.toString()
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] direct methods (34 entries):
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 0: void java.lang.String.()
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 1: void java.lang.String.()
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 2: void java.lang.String.(byte)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 3: void java.lang.String.(char)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 4: void java.lang.String.(int)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 5: void java.lang.String.(short)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 6: void java.lang.String.(boolean)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 7: void java.lang.String.(byte[])
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 8: void java.lang.String.(char[])
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 9: void java.lang.String.(int[])
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 10: void java.lang.String.(short[])
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 11: void java.lang.String.(boolean[])
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 12: void java.lang.String.(byte[][])
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 13: void java.lang.String.(char[][])
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 14: java.lang.String java.lang.String.a(char)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 15: java.lang.String java.lang.String.a(double)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 16: java.lang.String java.lang.String.a(float)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 17: java.lang.String java.lang.String.a(long)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 18: java.lang.String java.lang.String.a(java.lang.Object)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 19: java.lang.String java.lang.String.a(java.lang.String, java.lang.Object[])
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 20: java.lang.String java.lang.String.a(java.util.Locale, java.lang.String, java.lang.Object[])
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 21: java.lang.String java.lang.String.a(boolean)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 22: java.lang.String java.lang.String.a(char[])
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 23: java.lang.String java.lang.String.a(char[], int, int)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 24: char java.lang.String.b(char)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 25: java.lang.String java.lang.String.b(char[])
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 26: java.lang.String java.lang.String.b(char[], int, int)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 27: java.lang.String java.lang.String.e(int)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 28: java.lang.StringIndexOutOfBoundsException java.lang.String.f(int, int)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 29: int java.lang.String.g(int, int)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 30: int java.lang.String.h(int, int)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 31: java.lang.StringIndexOutOfBoundsException java.lang.String.h(int)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 32: int java.lang.String.i(int, int)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 33: java.lang.String java.lang.String.j(int, int)
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] static fields (3 entries):
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 0: java.util.Comparator java.lang.String.a
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 1: char[] java.lang.String.b
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 2: long java.lang.String.serialVersionUID
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] instance fields (2 entries):
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 0: int java.lang.String.count
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486] 1: int java.lang.String.hashCode
dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/class_linker.cc:486]
NATIVE BACKTRACE:
0 dex2oat 0x0000000008e3d659 _ZN3art7Runtime5AbortEv + 99
1 dex2oat 0x0000000008e61a99 _ZN3art10LogMessageD2Ev + 649
2 dex2oat 0x0000000008db2c08 _ZN3art11ClassLinker16InitWithoutImageENSt3__16vectorINS1_10unique_ptrIKNS_7DexFileENS1_14default_deleteIS5_EEEENS1_9allocatorIS8_EEEE + 4220
3 dex2oat 0x0000000008e3f27c _ZN3art7Runtime4InitERKNSt3__16vectorINS1_4pairINS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEPKvEENS7_ISC_EEEEb + 6590
4 dex2oat 0x0000000008e3d88a _ZN3art7Runtime6CreateERKNSt3__16vectorINS1_4pairINS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEPKvEENS7_ISC_EEEEb + 76
5 dex2oat 0x0000000008ba1c7d _ZN3art7Dex2Oat13CreateRuntimeERKNSt3__16vectorINS1_4pairINS1_12basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEEPKvEENS7_ISC_EEEE + 45
6 dex2oat 0x0000000008b9a0e8 _ZN3art7Dex2Oat5SetupEv + 2192
7 dex2oat 0x0000000008b975c3 main + 387
8 libdyld.dylib 0x00007fffd6472235 start + 1

dex2oat F 14300 1247956 /Users/rolandvigh/Migeran-1.3/aosp/art/runtime/runtime.cc:464]Runtime aborting…
Aborting thread:
“main” prio=5 tid=1 Runnable (still starting up)
| group="" sCount=0 dsCount=0 obj=0x0 self=0x7fa36b000000
| sysTid=1247956 nice=-1 cgrp=default sched=1/31 handle=0x7fffdf38f3c0
| state=? schedstat=( 0 0 0 ) utm=0 stm=0 core=0 HZ=100
| stack=0x7fff5686e000-0x7fff56876000 stackSize=8MB
| held mutexes= “abort lock” “mutator lock”(shared held)
(no managed stack frames)
Dumping all threads without appropriate locks held: thread list lock
All threads:
DALVIK THREADS (1):
“main” prio=5 tid=1 Runnable (still starting up)
| group="" sCount=0 dsCount=0 obj=0x0 self=0x7fa36b000000
| sysTid=1247956 nice=-1 cgrp=default sched=1/31 handle=0x7fffdf38f3c0
| state=? schedstat=( 0 0 0 ) utm=0 stm=0 core=0 HZ=100
| stack=0x7fff5686e000-0x7fff56876000 stackSize=8MB
| held mutexes= “abort lock” “mutator lock”(shared held)
(no managed stack frames)


(Gergely Kis - Migeran) #2

Hi,

we need access to a test project where we can reproduce the problem to be able to help.

Best Regards,
Gergely