realm-java icon indicating copy to clipboard operation
realm-java copied to clipboard

RealmError: Unrecoverable error. Failure when converting short string to UTF-16

Open hohnamkung opened this issue 10 years ago • 57 comments

Actual Results

In Realm v0.88.2 - 1

Fatal Exception: io.realm.exceptions.RealmError: Unrecoverable error. Failure when converting short string to UTF-16 error_code = 4; retcode = 0; StringData.size = 16; StringData.data =  in io_realm_internal_UncheckedRow.cpp line 138
   at io.realm.internal.UncheckedRow.nativeGetString(UncheckedRow.java)
   at io.realm.internal.UncheckedRow.getString(UncheckedRow.java:169)
   at io.realm.RMessageViewRealmProxy.realmGet$key(RMessageViewRealmProxy.java:213)
   at kr.co.vcnc.android.couple.model.viewmodel.RMessageView.getKey(RMessageView.java:115)
   at kr.co.vcnc.android.couple.feature.chat.ChattingView.replaceData(ChattingView.java:540)
   at kr.co.vcnc.android.couple.feature.chat.ChattingActivity.replace(ChattingActivity.java:486)
   at kr.co.vcnc.android.couple.feature.chat.ChattingActivity.restoreWalkieTalkieButton(ChattingActivity.java)

In Realm v0.88.2 - 2

Fatal Exception: io.realm.exceptions.RealmError: Unrecoverable error. Failure when computing UTF-16 size error_code = 1; retcode = 0; StringData.size = 65535; StringData.data = ׁ in io_realm_internal_UncheckedRow.cpp line 138
   at io.realm.internal.UncheckedRow.nativeGetString(UncheckedRow.java)
   at io.realm.internal.UncheckedRow.getString(UncheckedRow.java:169)
   at io.realm.RMessageRealmProxy.realmGet$content(RMessageRealmProxy.java:200)
   at kr.co.vcnc.android.couple.between.api.model.chat.RMessage.getContent(RMessage.java:102)
   at kr.co.vcnc.android.couple.between.api.model.chat.RMessage.toCObject(RMessage.java:124)
   at kr.co.vcnc.android.couple.model.viewmodel.RMessageView.toCObject(RMessageView.java:140)
   at kr.co.vcnc.android.couple.feature.chat.ChattingView$ChatAdapter.onBindViewHolder(ChattingView.java:476)

In Realm v0.87.4

Fatal Exception: io.realm.exceptions.RealmError: Unrecoverable error. Failure when converting short string to UTF-16 error_code = 1; retcode = 0; StringData.size = 22; StringData.data = 920000.jpg in io_realm_internal_UncheckedRow.cpp line 138
   at io.realm.internal.UncheckedRow.nativeGetString(UncheckedRow.java)
   at io.realm.internal.UncheckedRow.getString(UncheckedRow.java:169)
   at io.realm.RMessageRealmProxy.getId(RMessageRealmProxy.java:197)
   at kr.co.vcnc.android.couple.between.api.model.chat.RMessage.toCObject(RMessage.java:123)
   at kr.co.vcnc.android.couple.model.viewmodel.RMessageView.toCObject(RMessageView.java:140)
   at kr.co.vcnc.android.couple.feature.chat.ChattingView$ChatAdapter.onBindViewHolder(ChattingView.java:388)
   at kr.co.vcnc.android.couple.feature.chat.ChattingView$ChatAdapter.onBindViewHolder(ChattingView.java:366)

Steps & Code to Reproduce

I can't reproduce it, but crashes are collected from Fabric. According to information from Fabric, this happens when i try to read message id or message content from Realm. Message's id is encoded as Base58, and Message's content is a arbitrary strings.

Code Sample

RMessage.java

    public static CMessage toCObject(RMessage rMessage) {
        if(rMessage == null) {
            return null;
        }
        CMessage cMessage = new CMessage();
        cMessage.setCreatedTime(rMessage.getCreatedTime());
        cMessage.setUpdatedTime(rMessage.getUpdatedTime());
        if (rMessage.getAttachments() != null) {
            ArrayList<CAttachment> attachments = new ArrayList<CAttachment>();
            for (RAttachment i : rMessage.getAttachments()) {
                if (i != null) {
                    attachments.add(RAttachment.toCObject(i));
                }
            }
            cMessage.setAttachments(attachments);
        }
        cMessage.setContentType(rMessage.getContentType());
        cMessage.setFrom(rMessage.getFrom());
        cMessage.setId(rMessage.getId());
        cMessage.setContent(rMessage.getContent());
        return cMessage;
    }

Version of Realm and tooling

Realm version(s): at leat from 0.87.4 ~ current

Which Android version and device: screen shot 2016-03-17 at 4 00 49 pm

screen shot 2016-03-17 at 4 00 36 pm screen shot 2016-03-17 at 4 00 44 pm

screen shot 2016-03-17 at 4 03 30 pm

hohnamkung avatar Mar 17 '16 07:03 hohnamkung

I have a question about exception description. In description, Does StringData.data = 920000.jpg means that the field i tried to read saving that data (e.g. 920000.jpg)?

hohnamkung avatar Mar 17 '16 07:03 hohnamkung

http://crashes.to/s/36f1e1b5fca

dalinaum avatar Mar 18 '16 05:03 dalinaum

@hohnamkung Thanks for the many details. We have seen these error messages a few times but we or our users have never been able to reproduce them. Your three cases are when you read data from a Realm.

When you store a string value, it is currently validated. As you know, Java (and Android) isn't using UTF-8 but a modified version, and we validate that the strings don't have invalid surrogate pairs before we translate the strings to UTF-8. We store strings internally as UTF-8 since it will make it possible to exchange a Realm file across the platforms we support. Until recently we would throw an error but from version 0.88.0 we throw an exception so the app can modify the string and save it.

Your app has been able to store the strings, and you get an error when retrieving a string. Is there any indications that the app crashed and restarted between storing the string and retrieving the string?

The StringData.data = 920000.jpg means that the string, the app is about to retrieve is "920000.jpg". Does that make sense?

The crash linked to by @dalinaum indicates that your app is retrieving a string of 28668 bytes, and that it failed computing the length of the string after 13795 bytes. Can you confirm that your app operates on strings of these sizes?

If you can, we would highly appreciate if you can send us a Realm file after such a crash.

kneth avatar Mar 18 '16 10:03 kneth

@kneth I've tracked down 2 users who had this exception using Fabric's search feature. According to Fabric's search result, they didn't have any other crash except this. screen shot 2016-03-20 at 11 48 07 am

About the StringData.data = 920000.jpg, it does not make sense. I think that 920000.jpg is a other field's data in RMessageView (e.g. Sent image's URL)

Fatal Exception: io.realm.exceptions.RealmError: Unrecoverable error. Failure when computing UTF-16 size error_code = 5; retcode = 1817; StringData.size = 15977; StringData.data = _FROM_DB in io_realm_internal_UncheckedRow.cpp line 138
   at io.realm.internal.UncheckedRow.nativeGetString(UncheckedRow.java)
   at io.realm.internal.UncheckedRow.getString(UncheckedRow.java:169)
   at io.realm.RMessageViewRealmProxy.getKey(RMessageViewRealmProxy.java:228)
   at kr.co.vcnc.android.couple.feature.chat.ChattingView.replaceData(ChattingView.java:540)
   at kr.co.vcnc.android.couple.feature.chat.ChattingActivity.replace(ChattingActivity.java:485)
   at kr.co.vcnc.android.couple.feature.chat.ChattingActivity.restoreWalkieTalkieButton(ChattingActivity.java)
   at kr.co.vcnc.android.couple.feature.chat.ChattingActivity$$Lambda$20.onChange(Unknown Source)
   at io.realm.RealmResults.notifyChangeListeners(RealmResults.java:866)
   at io.realm.HandlerController.completedAsyncRealmResults(HandlerController.java:375)
   at io.realm.HandlerController.handleMessage(HandlerController.java:105)
   at android.os.Handler.dispatchMessage(Handler.java:98)
   at android.os.Looper.loop(Looper.java:157)
   at android.app.ActivityThread.main(ActivityThread.java:5356)
   at java.lang.reflect.Method.invokeNative(Method.java)
   at java.lang.reflect.Method.invoke(Method.java:515)
   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1265)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1081)
   at dalvik.system.NativeStart.main(NativeStart.java)

About above stack trace, StringData.data = _FROM_DB dose not make sense too. _FROM_DB is part of string saved in CMessageView's sync_state field as a SYNC_MORE_FROM_DB

hohnamkung avatar Mar 20 '16 03:03 hohnamkung

Tried a lot, still no luck to reproduce this. Anyone can reproduce this issue will be highly appreciated!

beeender avatar Mar 25 '16 02:03 beeender

Realm 0.87.5 release

Just got this gem with a short string and the debug info has hex rep of string.

Fatal Exception: io.realm.exceptions.RealmError
Unrecoverable error. Failure when converting short string to UTF-16 error_code = 8; retcode = 0; StringData.size = 26; StringData.data = ⪤V⿺VNɧV쭧V6斉¹V첻 StringData as hex = 0xf2 0xea 0xe4 0x56 0xb2 0xbf 0xfa 0x56 0x4e 0xc9 0xe7 0x56 0xac 0xad 0xe7 0x56 0x36 0x19 0xe6 0x56 0x89 0xc2 0xf9 0x56 0xac 0xb2; in_begin = ⪤V⿺VNɧV쭧V6斉¹V첹V͞ꖥκV)ҺVo麖AAAA; in_end = 閍ꖥκV)ҺVo麖AAAA; out_curr = 0x10ab1250; out_end = 0x10ab12b0; in io_realm_internal_UncheckedRow.cpp line 138
at io.realm.internal.UncheckedRow.nativeGetString(Unknown Source)
at io.realm.internal.UncheckedRow.getString(Unknown Source:169)

Qubitium avatar Mar 30 '16 03:03 Qubitium

@diegomontoya Am I lucky enough to know what is the original String before storing to Realm? Do you still have the Realm file?

beeender avatar Mar 30 '16 03:03 beeender

@beeender No luck on the original String. But, we are going to add some exception logging to code to the several places it has happened which will allow us to retrieve the item ID which will then allow us to trace back to the "original" string. If it crash again on after next release, we will have more info to go on.

Btw, is the hex utf string a 100% busted utf garbage from head to toe or it contains 1-2 garbage chars?

Qubitium avatar Mar 30 '16 03:03 Qubitium

0xf2 -> 11110010 which should represent 4 bytes UTF-8 character and the 2nd byte should be something like 10xxxxxx. But 0xea -> 11101010 triggered the parsing error.

Refer to https://en.wikipedia.org/wiki/UTF-8#Description

beeender avatar Mar 30 '16 03:03 beeender

@beeender @kneth

Realm Version: 1.1.0-SNAPSHOT (End of July 8) Device: BLU ADVANCE 4.0 (4.2.2) Ram: 13% free Disk: 18% free

Finally got a crash which enough info to reveal the original string.

Fatal Exception: io.realm.exceptions.RealmError
Unrecoverable error. Failure when converting short string to UTF-16 error_code = 1; retcode = 0; StringData.size = 8; StringData.data = Twi诩ȕ; StringData as hex = 0x54 0x77 0x69 0xa8 0xaf 0x29 0xc8 0x55; in_begin = 诩ȕ; in_end = ; out_curr = 0xbe8f9236; out_end = 0xbe8f9290; in io_realm_internal_UncheckedRow.cpp line 136

The original/intended string is "Twilight". This db field is a "Required" String un-indexed filed within our realm. The field (all of the fields in this realm object except for primary key) is often updated/overwritten and 99.99% of the time it is overwritten with the same original value. For example, we would update the field using setTitle("Twilight") even when original string is already "Twilight" since we don't do any duplicate checking. Also note is that we run all our db updates in a single/specific background looper thread. The crash happened on the UI thread while calling getTitle() and our best guess is after or during a corrupted update caused by setTitle().

The setTitle() string value would be from socket connection via json and decoded into java String. I don't see how our json can be corrupted in transit yet was still able to decode correctly into our java class object with the java string field in question.

There appears to be a rare but reoccurring corruption bug in core when a string field is updated under some specific situations. We have seen this crash in our other realms as well.

Below is the realm schema and "title" field is the one that triggered the crash.

public class RealmA extends RealmObject {
    @PrimaryKey
    private int cId;

    @Index
    private int pId;

    @Index
    private int prefix;

    @Required
    private String title;

    @Required
    private String nTitle;

    private int count1;

    private int count2;

    private int count3;

    private int count4;

    private int count5;
}

Qubitium avatar Jul 20 '16 06:07 Qubitium

@diegomontoya Thanks for the details. The StringData.size is correct ("Twilight"). I will try to reproduce the error using your information.

kneth avatar Aug 01 '16 13:08 kneth

I'm having a similar issue on Realm 2.0.2. We're using a remote Service which has a Handler Thread called Worker which is trying to get some data from the Realm. The crash occurres every time when I'm calling DataStore.getTrips(). I could send you the Realm file (non-public).

Stack Trace:

10-15 13:22:31.941 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410] JNI DETECTED ERROR IN APPLICATION: input is not valid Modified UTF-8: illegal start byte 0xfb
10-15 13:22:31.941 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]     string: 'jni: ThrowingException 5, Failure when converting short string to UTF-16 error_code = 11; retcode = 0; StringData.size = 18; StringData.data = 3I�1��Württemberg; StringData as hex =  0x33 0x49 0xfffffffb 0x31 0xffffffa4 0xffffffa2 0x57 0xffffffc3 0xffffffbc 0x72 0x74 0x74 0x65 0x6d 0x62 0x65 0x72 0x67; in_begin = �1��Württemberg; in_end = ; out_curr = 0x9dab5174; out_end = 0x9dab51d0; in /Users/cm/Realm/realm-java/realm/realm-library/src/main/cpp/io_realm_internal_UncheckedRow.cpp line 136, .'
10-15 13:22:31.941 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]     in call to NewStringUTF
10-15 13:22:31.941 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]     from java.lang.String io.realm.internal.UncheckedRow.nativeGetString(long, long)
10-15 13:22:31.941 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410] "Worker" prio=5 tid=18 Runnable
10-15 13:22:31.941 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   | group="main" sCount=0 dsCount=0 obj=0x12f72f40 self=0x9e331f00
10-15 13:22:31.941 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   | sysTid=18468 nice=10 cgrp=bg_non_interactive sched=0/0 handle=0x9dab5930
10-15 13:22:31.941 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   | state=R schedstat=( 683926153 638167184 898 ) utm=63 stm=5 core=1 HZ=100
10-15 13:22:31.941 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   | stack=0x9d9b3000-0x9d9b5000 stackSize=1038KB
10-15 13:22:31.941 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   | held mutexes= "mutator lock"(shared held)
10-15 13:22:31.941 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   native: #00 pc 00371861  /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiPKcPNS_9ArtMethodEPv+160)
10-15 13:22:31.941 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   native: #01 pc 00350e57  /system/lib/libart.so (_ZNK3art6Thread4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+150)
10-15 13:22:31.941 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   native: #02 pc 0025a855  /system/lib/libart.so (_ZN3art9JavaVMExt8JniAbortEPKcS2_+740)
10-15 13:22:31.941 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   native: #03 pc 0025af2d  /system/lib/libart.so (_ZN3art9JavaVMExt9JniAbortVEPKcS2_St9__va_list+64)
10-15 13:22:31.941 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   native: #04 pc 000fd2a1  /system/lib/libart.so (_ZN3art11ScopedCheck6AbortFEPKcz+32)
10-15 13:22:31.941 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   native: #05 pc 00102f8b  /system/lib/libart.so (_ZN3art11ScopedCheck5CheckERNS_18ScopedObjectAccessEbPKcPNS_12JniValueTypeE.constprop.95+8102)
10-15 13:22:31.941 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   native: #06 pc 00109ef3  /system/lib/libart.so (_ZN3art8CheckJNI12NewStringUTFEP7_JNIEnvPKc+386)
10-15 13:22:31.941 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   native: #07 pc 00019d39  /data/app/com.example.app-1/lib/arm/librealm-jni.so (???)
10-15 13:22:31.942 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   native: #08 pc 00055ddd  /data/app/com.example.app-1/lib/arm/librealm-jni.so (???)
10-15 13:22:31.942 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   native: #09 pc 000563f5  /data/app/com.example.app-1/lib/arm/librealm-jni.so (???)
10-15 13:22:31.942 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   native: #10 pc 00054033  /data/app/com.example.app-1/lib/arm/librealm-jni.so (Java_io_realm_internal_UncheckedRow_nativeGetString+142)
10-15 13:22:31.942 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   native: #11 pc 0004b723  /data/data/com.example.app/cache/slice-io.realm-realm-android-library-2.0.2_cb4df91e99974e3a39d60186586b92c5496736a5-classes.dex (java.lang.String io.realm.internal.UncheckedRow.nativeGetString(long, long)+110)
10-15 13:22:31.942 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   native: #12 pc 0004aacb  /data/data/com.example.app/cache/slice-io.realm-realm-android-library-2.0.2_cb4df91e99974e3a39d60186586b92c5496736a5-classes.dex (java.lang.String io.realm.internal.UncheckedRow.getString(long)+86)
10-15 13:22:31.942 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   native: #13 pc 000aff63  /data/data/com.example.app/cache/slice-com.example-somelibrary-1.0.16_f3cd55f3cbd05e62436688a1031a23ca227db226-classes.dex (java.lang.String io.realm.TripRealmProxy.realmGet$start_address_state()+158)
10-15 13:22:31.942 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   native: #14 pc 00092057  /data/data/com.example.app/cache/slice-com.example-somelibrary-1.0.16_f3cd55f3cbd05e62436688a1031a23ca227db226-classes.dex (com.example.somelibrary.model.Trip io.realm.TripRealmProxy.createDetachedCopy(com.example.somelibrary.model.Trip, int, int, java.util.Map)+1706)
10-15 13:22:31.942 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   native: #15 pc 00066153  /data/data/com.example.app/cache/slice-com.example-somelibrary-1.0.16_f3cd55f3cbd05e62436688a1031a23ca227db226-classes.dex (io.realm.RealmModel io.realm.SomeLibraryModuleMediator.createDetachedCopy(io.realm.RealmModel, int, java.util.Map)+134)
10-15 13:22:31.942 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   native: #16 pc 000188d7  /data/data/com.example.app/cache/slice-io.realm-realm-android-library-2.0.2_cb4df91e99974e3a39d60186586b92c5496736a5-classes.dex (io.realm.RealmModel io.realm.Realm.createDetachedCopy(io.realm.RealmModel, int, java.util.Map)+122)
10-15 13:22:31.942 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   native: #17 pc 0001a9d1  /data/data/com.example.app/cache/slice-io.realm-realm-android-library-2.0.2_cb4df91e99974e3a39d60186586b92c5496736a5-classes.dex (java.util.List io.realm.Realm.copyFromRealm(java.lang.Iterable, int)+420)
10-15 13:22:31.942 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   native: #18 pc 0001a7fd  /data/data/com.example.app/cache/slice-io.realm-realm-android-library-2.0.2_cb4df91e99974e3a39d60186586b92c5496736a5-classes.dex (java.util.List io.realm.Realm.copyFromRealm(java.lang.Iterable)+64)
10-15 13:22:31.942 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   native: #19 pc 0001a2a9  /data/data/com.example.app/cache/slice-com.example-somelibrary-1.0.16_f3cd55f3cbd05e62436688a1031a23ca227db226-classes.dex (java.util.ArrayList com.example.somelibrary.data.DataBase.fetchTrips(java.lang.String, long, java.lang.Long, boolean)+652)
10-15 13:22:31.942 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   native: #20 pc 0001eaa1  /data/data/com.example.app/cache/slice-com.example-somelibrary-1.0.16_f3cd55f3cbd05e62436688a1031a23ca227db226-classes.dex (void com.example.somelibrary.data.DataStore.getTrips(android.content.Context, com.example.somelibrary.enums.Source, java.lang.String, long, java.lang.Long, com.example.somelibrary.util.Callback)+556)
10-15 13:22:31.942 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   native: #21 pc 0000b54d  /data/data/com.example.app/cache/slice-com.example-somelibrary-1.0.16_f3cd55f3cbd05e62436688a1031a23ca227db226-classes.dex (void com.example.somelibrary.SomeLibraryService$1$9.run()+472)
10-15 13:22:31.942 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   native: #22 pc 007a650f  /data/dalvik-cache/arm/system@[email protected] (???)
10-15 13:22:31.942 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   at io.realm.internal.UncheckedRow.nativeGetString(Native method)
10-15 13:22:31.942 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   at io.realm.internal.UncheckedRow.getString(UncheckedRow.java:153)
10-15 13:22:31.942 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   at io.realm.TripRealmProxy.realmGet$start_address_state(TripRealmProxy.java:935)
10-15 13:22:31.943 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   at io.realm.TripRealmProxy.createDetachedCopy(TripRealmProxy.java:4828)
10-15 13:22:31.943 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   at io.realm.SomeLibraryModuleMediator.createDetachedCopy(SomeLibraryModuleMediator.java:390)
10-15 13:22:31.943 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   at io.realm.Realm.createDetachedCopy(Realm.java:1460)
10-15 13:22:31.943 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   at io.realm.Realm.copyFromRealm(Realm.java:1151)
10-15 13:22:31.943 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   at io.realm.Realm.copyFromRealm(Realm.java:1117)
10-15 13:22:31.943 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   at com.example.somelibrary.data.DataBase.fetchTrips(DataBase.java:271)
10-15 13:22:31.943 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   at com.example.somelibrary.data.DataStore.getTrips(DataStore.java:467)
10-15 13:22:31.943 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   at com.example.somelibrary.SomeLibraryService$1$9.run(SomeLibraryService.java:411)
10-15 13:22:31.943 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   at android.os.Handler.handleCallback(Handler.java:739)
10-15 13:22:31.943 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   at android.os.Handler.dispatchMessage(Handler.java:95)
10-15 13:22:31.943 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   at android.os.Looper.loop(Looper.java:234)
10-15 13:22:31.943 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410]   at android.os.HandlerThread.run(HandlerThread.java:61)
10-15 13:22:31.943 18331-18468/com.example.app:remote A/art: art/runtime/java_vm_ext.cc:410] 


10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370] Runtime aborting...
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370] Aborting thread:
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370] "Worker" prio=4 tid=18 Native
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | group="" sCount=0 dsCount=0 obj=0x12f72f40 self=0x9e331f00
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | sysTid=18468 nice=10 cgrp=bg_non_interactive sched=0/0 handle=0x9dab5930
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | state=R schedstat=( 715714071 646759163 922 ) utm=64 stm=7 core=0 HZ=100
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | stack=0x9d9b3000-0x9d9b5000 stackSize=1038KB
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | held mutexes= "abort lock"
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #00 pc 00371861  /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiPKcPNS_9ArtMethodEPv+160)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #01 pc 00350e57  /system/lib/libart.so (_ZNK3art6Thread4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+150)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #02 pc 00333a87  /system/lib/libart.so (_ZNK3art10AbortState10DumpThreadERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEPNS_6ThreadE+26)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #03 pc 00333d1f  /system/lib/libart.so (_ZN3art7Runtime5AbortEv+562)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #04 pc 000f46cb  /system/lib/libart.so (_ZN3art10LogMessageD2Ev+2226)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #05 pc 0025ab7f  /system/lib/libart.so (_ZN3art9JavaVMExt8JniAbortEPKcS2_+1550)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #06 pc 0025af2d  /system/lib/libart.so (_ZN3art9JavaVMExt9JniAbortVEPKcS2_St9__va_list+64)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #07 pc 000fd2a1  /system/lib/libart.so (_ZN3art11ScopedCheck6AbortFEPKcz+32)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #08 pc 00102f8b  /system/lib/libart.so (_ZN3art11ScopedCheck5CheckERNS_18ScopedObjectAccessEbPKcPNS_12JniValueTypeE.constprop.95+8102)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #09 pc 00109ef3  /system/lib/libart.so (_ZN3art8CheckJNI12NewStringUTFEP7_JNIEnvPKc+386)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #10 pc 00019d39  /data/app/com.example.app-1/lib/arm/librealm-jni.so (???)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #11 pc 00055ddd  /data/app/com.example.app-1/lib/arm/librealm-jni.so (???)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #12 pc 000563f5  /data/app/com.example.app-1/lib/arm/librealm-jni.so (???)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #13 pc 00054033  /data/app/com.example.app-1/lib/arm/librealm-jni.so (Java_io_realm_internal_UncheckedRow_nativeGetString+142)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #14 pc 0004b723  /data/data/com.example.app/cache/slice-io.realm-realm-android-library-2.0.2_cb4df91e99974e3a39d60186586b92c5496736a5-classes.dex (java.lang.String io.realm.internal.UncheckedRow.nativeGetString(long, long)+110)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #15 pc 0004aacb  /data/data/com.example.app/cache/slice-io.realm-realm-android-library-2.0.2_cb4df91e99974e3a39d60186586b92c5496736a5-classes.dex (java.lang.String io.realm.internal.UncheckedRow.getString(long)+86)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #16 pc 000aff63  /data/data/com.example.app/cache/slice-com.example-somelibrary-1.0.16_f3cd55f3cbd05e62436688a1031a23ca227db226-classes.dex (java.lang.String io.realm.TripRealmProxy.realmGet$start_address_state()+158)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #17 pc 00092057  /data/data/com.example.app/cache/slice-com.example-somelibrary-1.0.16_f3cd55f3cbd05e62436688a1031a23ca227db226-classes.dex (com.example.somelibrary.model.Trip io.realm.TripRealmProxy.createDetachedCopy(com.example.somelibrary.model.Trip, int, int, java.util.Map)+1706)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #18 pc 00066153  /data/data/com.example.app/cache/slice-com.example-somelibrary-1.0.16_f3cd55f3cbd05e62436688a1031a23ca227db226-classes.dex (io.realm.RealmModel io.realm.SomeLibraryModuleMediator.createDetachedCopy(io.realm.RealmModel, int, java.util.Map)+134)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #19 pc 000188d7  /data/data/com.example.app/cache/slice-io.realm-realm-android-library-2.0.2_cb4df91e99974e3a39d60186586b92c5496736a5-classes.dex (io.realm.RealmModel io.realm.Realm.createDetachedCopy(io.realm.RealmModel, int, java.util.Map)+122)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #20 pc 0001a9d1  /data/data/com.example.app/cache/slice-io.realm-realm-android-library-2.0.2_cb4df91e99974e3a39d60186586b92c5496736a5-classes.dex (java.util.List io.realm.Realm.copyFromRealm(java.lang.Iterable, int)+420)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #21 pc 0001a7fd  /data/data/com.example.app/cache/slice-io.realm-realm-android-library-2.0.2_cb4df91e99974e3a39d60186586b92c5496736a5-classes.dex (java.util.List io.realm.Realm.copyFromRealm(java.lang.Iterable)+64)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #22 pc 0001a2a9  /data/data/com.example.app/cache/slice-com.example-somelibrary-1.0.16_f3cd55f3cbd05e62436688a1031a23ca227db226-classes.dex (java.util.ArrayList com.example.somelibrary.data.DataBase.fetchTrips(java.lang.String, long, java.lang.Long, boolean)+652)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #23 pc 0001eaa1  /data/data/com.example.app/cache/slice-com.example-somelibrary-1.0.16_f3cd55f3cbd05e62436688a1031a23ca227db226-classes.dex (void com.example.somelibrary.data.DataStore.getTrips(android.content.Context, com.example.somelibrary.enums.Source, java.lang.String, long, java.lang.Long, com.example.somelibrary.util.Callback)+556)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #24 pc 0000b54d  /data/data/com.example.app/cache/slice-com.example-somelibrary-1.0.16_f3cd55f3cbd05e62436688a1031a23ca227db226-classes.dex (void com.example.somelibrary.SomeLibraryService$1$9.run()+472)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #25 pc 007a650f  /data/dalvik-cache/arm/system@[email protected] (???)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at io.realm.internal.UncheckedRow.nativeGetString(Native method)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at io.realm.internal.UncheckedRow.getString(UncheckedRow.java:153)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at io.realm.TripRealmProxy.realmGet$start_address_state(TripRealmProxy.java:935)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at io.realm.TripRealmProxy.createDetachedCopy(TripRealmProxy.java:4828)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at io.realm.SomeLibraryModuleMediator.createDetachedCopy(SomeLibraryModuleMediator.java:390)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at io.realm.Realm.createDetachedCopy(Realm.java:1460)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at io.realm.Realm.copyFromRealm(Realm.java:1151)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at io.realm.Realm.copyFromRealm(Realm.java:1117)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at com.example.somelibrary.data.DataBase.fetchTrips(DataBase.java:271)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at com.example.somelibrary.data.DataStore.getTrips(DataStore.java:467)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at com.example.somelibrary.SomeLibraryService$1$9.run(SomeLibraryService.java:411)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at android.os.Handler.handleCallback(Handler.java:739)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at android.os.Handler.dispatchMessage(Handler.java:95)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at android.os.Looper.loop(Looper.java:234)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at android.os.HandlerThread.run(HandlerThread.java:61)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370] Dumping all threads without appropriate locks held: thread list lock mutator lock
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370] All threads:
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370] DALVIK THREADS (22):
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370] "Worker" prio=4 tid=18 Runnable
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | group="" sCount=0 dsCount=0 obj=0x12f72f40 self=0x9e331f00
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | sysTid=18468 nice=10 cgrp=bg_non_interactive sched=0/0 handle=0x9dab5930
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | state=R schedstat=( 734908029 659412860 959 ) utm=65 stm=8 core=2 HZ=100
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | stack=0x9d9b3000-0x9d9b5000 stackSize=1038KB
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | held mutexes= "abort lock" "mutator lock"(shared held)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #00 pc 00371861  /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiPKcPNS_9ArtMethodEPv+160)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #01 pc 00350e57  /system/lib/libart.so (_ZNK3art6Thread4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+150)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #02 pc 0035ad5b  /system/lib/libart.so (_ZN3art14DumpCheckpoint3RunEPNS_6ThreadE+442)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #03 pc 0035b999  /system/lib/libart.so (_ZN3art10ThreadList13RunCheckpointEPNS_7ClosureE+212)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #04 pc 0035bec7  /system/lib/libart.so (_ZN3art10ThreadList4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+142)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #05 pc 00333c95  /system/lib/libart.so (_ZN3art7Runtime5AbortEv+424)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #06 pc 000f46cb  /system/lib/libart.so (_ZN3art10LogMessageD2Ev+2226)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #07 pc 0025ab7f  /system/lib/libart.so (_ZN3art9JavaVMExt8JniAbortEPKcS2_+1550)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #08 pc 0025af2d  /system/lib/libart.so (_ZN3art9JavaVMExt9JniAbortVEPKcS2_St9__va_list+64)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #09 pc 000fd2a1  /system/lib/libart.so (_ZN3art11ScopedCheck6AbortFEPKcz+32)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #10 pc 00102f8b  /system/lib/libart.so (_ZN3art11ScopedCheck5CheckERNS_18ScopedObjectAccessEbPKcPNS_12JniValueTypeE.constprop.95+8102)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #11 pc 00109ef3  /system/lib/libart.so (_ZN3art8CheckJNI12NewStringUTFEP7_JNIEnvPKc+386)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #12 pc 00019d39  /data/app/com.example.app-1/lib/arm/librealm-jni.so (???)
10-15 13:22:32.709 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #13 pc 00055ddd  /data/app/com.example.app-1/lib/arm/librealm-jni.so (???)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #14 pc 000563f5  /data/app/com.example.app-1/lib/arm/librealm-jni.so (???)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #15 pc 00054033  /data/app/com.example.app-1/lib/arm/librealm-jni.so (Java_io_realm_internal_UncheckedRow_nativeGetString+142)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #16 pc 0004b723  /data/data/com.example.app/cache/slice-io.realm-realm-android-library-2.0.2_cb4df91e99974e3a39d60186586b92c5496736a5-classes.dex (java.lang.String io.realm.internal.UncheckedRow.nativeGetString(long, long)+110)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #17 pc 0004aacb  /data/data/com.example.app/cache/slice-io.realm-realm-android-library-2.0.2_cb4df91e99974e3a39d60186586b92c5496736a5-classes.dex (java.lang.String io.realm.internal.UncheckedRow.getString(long)+86)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #18 pc 000aff63  /data/data/com.example.app/cache/slice-com.example-somelibrary-1.0.16_f3cd55f3cbd05e62436688a1031a23ca227db226-classes.dex (java.lang.String io.realm.TripRealmProxy.realmGet$start_address_state()+158)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #19 pc 00092057  /data/data/com.example.app/cache/slice-com.example-somelibrary-1.0.16_f3cd55f3cbd05e62436688a1031a23ca227db226-classes.dex (com.example.somelibrary.model.Trip io.realm.TripRealmProxy.createDetachedCopy(com.example.somelibrary.model.Trip, int, int, java.util.Map)+1706)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #20 pc 00066153  /data/data/com.example.app/cache/slice-com.example-somelibrary-1.0.16_f3cd55f3cbd05e62436688a1031a23ca227db226-classes.dex (io.realm.RealmModel io.realm.SomeLibraryModuleMediator.createDetachedCopy(io.realm.RealmModel, int, java.util.Map)+134)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #21 pc 000188d7  /data/data/com.example.app/cache/slice-io.realm-realm-android-library-2.0.2_cb4df91e99974e3a39d60186586b92c5496736a5-classes.dex (io.realm.RealmModel io.realm.Realm.createDetachedCopy(io.realm.RealmModel, int, java.util.Map)+122)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #22 pc 0001a9d1  /data/data/com.example.app/cache/slice-io.realm-realm-android-library-2.0.2_cb4df91e99974e3a39d60186586b92c5496736a5-classes.dex (java.util.List io.realm.Realm.copyFromRealm(java.lang.Iterable, int)+420)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #23 pc 0001a7fd  /data/data/com.example.app/cache/slice-io.realm-realm-android-library-2.0.2_cb4df91e99974e3a39d60186586b92c5496736a5-classes.dex (java.util.List io.realm.Realm.copyFromRealm(java.lang.Iterable)+64)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #24 pc 0001a2a9  /data/data/com.example.app/cache/slice-com.example-somelibrary-1.0.16_f3cd55f3cbd05e62436688a1031a23ca227db226-classes.dex (java.util.ArrayList com.example.somelibrary.data.DataBase.fetchTrips(java.lang.String, long, java.lang.Long, boolean)+652)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #25 pc 0001eaa1  /data/data/com.example.app/cache/slice-com.example-somelibrary-1.0.16_f3cd55f3cbd05e62436688a1031a23ca227db226-classes.dex (void com.example.somelibrary.data.DataStore.getTrips(android.content.Context, com.example.somelibrary.enums.Source, java.lang.String, long, java.lang.Long, com.example.somelibrary.util.Callback)+556)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #26 pc 0000b54d  /data/data/com.example.app/cache/slice-com.example-somelibrary-1.0.16_f3cd55f3cbd05e62436688a1031a23ca227db226-classes.dex (void com.example.somelibrary.SomeLibraryService$1$9.run()+472)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #27 pc 007a650f  /data/dalvik-cache/arm/system@[email protected] (???)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at io.realm.internal.UncheckedRow.nativeGetString(Native method)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at io.realm.internal.UncheckedRow.getString(UncheckedRow.java:153)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at io.realm.TripRealmProxy.realmGet$start_address_state(TripRealmProxy.java:935)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at io.realm.TripRealmProxy.createDetachedCopy(TripRealmProxy.java:4828)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at io.realm.SomeLibraryModuleMediator.createDetachedCopy(SomeLibraryModuleMediator.java:390)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at io.realm.Realm.createDetachedCopy(Realm.java:1460)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at io.realm.Realm.copyFromRealm(Realm.java:1151)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at io.realm.Realm.copyFromRealm(Realm.java:1117)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at com.example.somelibrary.data.DataBase.fetchTrips(DataBase.java:271)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at com.example.somelibrary.data.DataStore.getTrips(DataStore.java:467)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at com.example.somelibrary.SomeLibraryService$1$9.run(SomeLibraryService.java:411)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at android.os.Handler.handleCallback(Handler.java:739)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at android.os.Handler.dispatchMessage(Handler.java:95)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at android.os.Looper.loop(Looper.java:234)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at android.os.HandlerThread.run(HandlerThread.java:61)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370] 
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370] "main" prio=4 tid=1 Native
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | group="" sCount=1 dsCount=0 obj=0x738a32a0 self=0xb4c76500
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | sysTid=18331 nice=0 cgrp=default sched=0/0 handle=0xb6f23b34
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | state=S schedstat=( 644859047 73648136 592 ) utm=41 stm=23 core=3 HZ=100
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | stack=0xbe3f5000-0xbe3f7000 stackSize=8MB
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | held mutexes=
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #00 pc 000176a0  /system/lib/libc.so (syscall+28)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #01 pc 000f6c19  /system/lib/libart.so (_ZN3art17ConditionVariable4WaitEPNS_6ThreadE+96)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #02 pc 00110d93  /system/lib/libart.so (_ZN3art8CheckJNI11CallMethodVEPKcP7_JNIEnvP8_jobjectP7_jclassP10_jmethodIDSt9__va_listNS_9Primitive4TypeENS_10InvokeTypeE+870)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #03 pc 001125c1  /system/lib/libart.so (_ZN3art8CheckJNI16CallObjectMethodEP7_JNIEnvP8_jobjectP10_jmethodIDz+48)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #04 pc 00002bbb  /system/lib/libnativehelper.so (jniGetReferent+94)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #05 pc 000aafb1  /system/lib/libandroid_runtime.so (???)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #06 pc 00012e03  /system/lib/libutils.so (_ZN7android6Looper9pollInnerEi+530)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #07 pc 00012ed3  /system/lib/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+130)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #08 pc 00082a59  /system/lib/libandroid_runtime.so (_ZN7android18NativeMessageQueue8pollOnceEP7_JNIEnvP8_jobjecti+22)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #09 pc 0000055d  /data/dalvik-cache/arm/system@[email protected] (Java_android_os_MessageQueue_nativePollOnce__JI+96)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at android.os.MessageQueue.nativePollOnce(Native method)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at android.os.MessageQueue.next(MessageQueue.java:331)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at android.os.Looper.loop(Looper.java:218)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at android.app.ActivityThread.main(ActivityThread.java:5526)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at java.lang.reflect.Method.invoke!(Native method)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370] 
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370] "Signal Catcher" prio=4 tid=2 WaitingInMainSignalCatcherLoop
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | group="" sCount=1 dsCount=0 obj=0x12d870a0 self=0xaea4b000
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | sysTid=18339 nice=0 cgrp=default sched=0/0 handle=0xb403f930
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | state=S schedstat=( 5004739 1466146 1 ) utm=0 stm=0 core=1 HZ=100
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | stack=0xb3f43000-0xb3f45000 stackSize=1014KB
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | held mutexes=
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #00 pc 00040cb8  /system/lib/libc.so (__rt_sigtimedwait+12)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #01 pc 0001cab7  /system/lib/libc.so (sigwait+22)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #02 pc 0033a5cd  /system/lib/libart.so (_ZN3art13SignalCatcher13WaitForSignalEPNS_6ThreadERNS_9SignalSetE+76)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #03 pc 0033c267  /system/lib/libart.so (_ZN3art13SignalCatcher3RunEPv+218)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #04 pc 0003f5af  /system/lib/libc.so (_ZL15__pthread_startPv+30)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #05 pc 00019c97  /system/lib/libc.so (__start_thread+6)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   (no managed stack frames)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370] 
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370] "JDWP" prio=4 tid=3 WaitingInMainDebuggerLoop
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | group="" sCount=1 dsCount=0 obj=0x12d8a0a0 self=0xabc07500
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | sysTid=18340 nice=0 cgrp=default sched=0/0 handle=0xb3f40930
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | state=S schedstat=( 4621875 565261 10 ) utm=0 stm=0 core=0 HZ=100
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | stack=0xb3e44000-0xb3e46000 stackSize=1014KB
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | held mutexes=
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #00 pc 00040bd4  /system/lib/libc.so (__pselect6+20)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #01 pc 0001be09  /system/lib/libc.so (select+60)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #02 pc 00401d33  /system/lib/libart.so (_ZN3art4JDWP12JdwpAdbState15ProcessIncomingEv+218)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #03 pc 00266f77  /system/lib/libart.so (_ZN3art4JDWP9JdwpState3RunEv+314)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #04 pc 00267df5  /system/lib/libart.so (_ZN3art4JDWPL15StartJdwpThreadEPv+16)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #05 pc 0003f5af  /system/lib/libc.so (_ZL15__pthread_startPv+30)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #06 pc 00019c97  /system/lib/libc.so (__start_thread+6)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   (no managed stack frames)
10-15 13:22:32.710 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370] 
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370] "ReferenceQueueDaemon" prio=4 tid=4 Waiting
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | group="" sCount=1 dsCount=0 obj=0x12d849a0 self=0xabc0a200
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | sysTid=18341 nice=0 cgrp=default sched=0/0 handle=0xb3e41930
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | state=S schedstat=( 2886823 5591666 15 ) utm=0 stm=0 core=1 HZ=100
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | stack=0xb3d3f000-0xb3d41000 stackSize=1038KB
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | held mutexes=
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #00 pc 000176a0  /system/lib/libc.so (syscall+28)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #01 pc 000f6c19  /system/lib/libart.so (_ZN3art17ConditionVariable4WaitEPNS_6ThreadE+96)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #02 pc 002bedb9  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadExibNS_11ThreadStateE+1144)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #03 pc 002bfb17  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadEPNS_6mirror6ObjectExibNS_11ThreadStateE+142)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #04 pc 002d13e3  /system/lib/libart.so (_ZN3artL11Object_waitEP7_JNIEnvP8_jobject+38)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #05 pc 0000036f  /data/dalvik-cache/arm/system@[email protected] (Java_java_lang_Object_wait__+74)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at java.lang.Object.wait!(Native method)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   - waiting on <0x05145645> (a java.lang.Class<java.lang.ref.ReferenceQueue>)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at java.lang.Daemons$ReferenceQueueDaemon.run(Daemons.java:147)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   - locked <0x05145645> (a java.lang.Class<java.lang.ref.ReferenceQueue>)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at java.lang.Thread.run(Thread.java:818)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370] 
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370] "FinalizerDaemon" prio=4 tid=5 Waiting
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | group="" sCount=1 dsCount=0 obj=0x12d84a00 self=0xabc0a700
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | sysTid=18342 nice=0 cgrp=default sched=0/0 handle=0xb3d3c930
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | state=S schedstat=( 14891041 13654742 53 ) utm=1 stm=0 core=2 HZ=100
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | stack=0xb3c3a000-0xb3c3c000 stackSize=1038KB
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | held mutexes=
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #00 pc 000176a0  /system/lib/libc.so (syscall+28)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #01 pc 000f6c19  /system/lib/libart.so (_ZN3art17ConditionVariable4WaitEPNS_6ThreadE+96)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #02 pc 002bedb9  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadExibNS_11ThreadStateE+1144)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #03 pc 002bfb17  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadEPNS_6mirror6ObjectExibNS_11ThreadStateE+142)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #04 pc 002d141d  /system/lib/libart.so (_ZN3artL13Object_waitJIEP7_JNIEnvP8_jobjectxi+44)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #05 pc 0000055d  /data/dalvik-cache/arm/system@[email protected] (Java_java_lang_Object_wait__JI+96)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at java.lang.Object.wait!(Native method)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   - waiting on <0x0a4ff19a> (a java.lang.ref.ReferenceQueue)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at java.lang.Object.wait(Object.java:423)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:101)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   - locked <0x0a4ff19a> (a java.lang.ref.ReferenceQueue)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:72)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:185)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at java.lang.Thread.run(Thread.java:818)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370] 
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370] "FinalizerWatchdogDaemon" prio=4 tid=6 Sleeping
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | group="" sCount=1 dsCount=0 obj=0x12d84a60 self=0xabc0ac00
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | sysTid=18343 nice=0 cgrp=default sched=0/0 handle=0xb3bbf930
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | state=S schedstat=( 658282 3066926 13 ) utm=0 stm=0 core=0 HZ=100
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | stack=0xb3abd000-0xb3abf000 stackSize=1038KB
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | held mutexes=
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #00 pc 000176a4  /system/lib/libc.so (syscall+32)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #01 pc 000f6e99  /system/lib/libart.so (_ZN3art17ConditionVariable9TimedWaitEPNS_6ThreadExi+120)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #02 pc 002beb0f  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadExibNS_11ThreadStateE+462)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #03 pc 002bfb17  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadEPNS_6mirror6ObjectExibNS_11ThreadStateE+142)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #04 pc 0001b8db  /data/dalvik-cache/arm/system@[email protected] (Java_java_lang_Thread_sleep__Ljava_lang_Object_2JI+126)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at java.lang.Thread.sleep!(Native method)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   - sleeping on <0x06c2facb> (a java.lang.Object)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at java.lang.Thread.sleep(Thread.java:1031)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   - locked <0x06c2facb> (a java.lang.Object)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at java.lang.Thread.sleep(Thread.java:985)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at java.lang.Daemons$FinalizerWatchdogDaemon.sleepFor(Daemons.java:273)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at java.lang.Daemons$FinalizerWatchdogDaemon.waitForFinalization(Daemons.java:284)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at java.lang.Daemons$FinalizerWatchdogDaemon.run(Daemons.java:232)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at java.lang.Thread.run(Thread.java:818)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370] 
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370] "Binder_1" prio=4 tid=7 Native
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | group="" sCount=1 dsCount=0 obj=0x12da70a0 self=0xabc0b600
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | sysTid=18346 nice=0 cgrp=default sched=0/0 handle=0xb37b8930
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | state=S schedstat=( 4756980 1185728 17 ) utm=0 stm=0 core=2 HZ=100
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | stack=0xb36bc000-0xb36be000 stackSize=1014KB
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | held mutexes=
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #00 pc 00040b0c  /system/lib/libc.so (__ioctl+8)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #01 pc 00047589  /system/lib/libc.so (ioctl+14)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #02 pc 0001ec05  /system/lib/libbinder.so (_ZN7android14IPCThreadState14talkWithDriverEb+132)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #03 pc 0001f0ff  /system/lib/libbinder.so (_ZN7android14IPCThreadState20getAndExecuteCommandEb+18)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #04 pc 0001f1a7  /system/lib/libbinder.so (_ZN7android14IPCThreadState14joinThreadPoolEb+50)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #05 pc 00023ae5  /system/lib/libbinder.so (???)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #06 pc 0001006d  /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+112)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #07 pc 0005faf7  /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+70)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #08 pc 0003f5af  /system/lib/libc.so (_ZL15__pthread_startPv+30)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   native: #09 pc 00019c97  /system/lib/libc.so (__start_thread+6)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   (no managed stack frames)
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370] 
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370] "HeapTaskDaemon" prio=4 tid=8 Blocked
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | group="" sCount=1 dsCount=0 obj=0x12d84ac0 self=0xabc0b100
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | sysTid=18344 nice=0 cgrp=default sched=0/0 handle=0xb3aba930
10-15 13:22:32.711 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   | state=S schedstat=( 37391201 20994688 113 ) utm=1 stm=2 core=0 HZ=100
10-15 13:22:32.716 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158)
10-15 13:22:32.716 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2013)
10-15 13:22:32.716 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1078)
10-15 13:22:32.716 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:806)
10-15 13:22:32.716 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1036)
10-15 13:22:32.716 18331-18468/com.example.app:remote A/art: art/runtime/runtime.cc:370]   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1098)
10-15 13:22:32.718 18331-18468/com.example.app:remote A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 18468 (Worker)

mariusboepple avatar Oct 15 '16 11:10 mariusboepple

@MariusBoepple Yes, please send it to [email protected].

kneth avatar Oct 24 '16 08:10 kneth

we also had a few crashes similar to this:

io.realm.exceptions.RealmError: Unrecoverable error. Failure when computing UTF-16 size error_code = 1; retcode = 7774; StringData.size = 15367; StringData.data = in io_realm_internal_UncheckedRow.cpp line 136 at io.realm.internal.UncheckedRow.nativeGetString(Native Method)

r-cohen avatar Dec 28 '16 12:12 r-cohen

@lucasleongit This is very odd. Doing perl -e 'print map(chr, map(hex, qw(0x75 0x73 0x65 0x72 0x2c 0x61 0x64 0x6d 0x69 0x6e 0x2c 0x62 0x69 0x6c 0x6c 0x69 0x6e 0x67 0x2d 0x61 0x64 0x6d 0x69 0x6e 0x2c)))' returns the string user,admin,billing-admin, which is also reported, and the length is correct. It appears to fail when processing the first e and I have to investigate that further.

@phearme Is it correct that you have a string of 15k?

kneth avatar Jan 03 '17 13:01 kneth

@kneth I'm pretty sure we don't have any strings that big. UPDATE: also as an indicator for you guys, some Strings we are manipulating are non-UTF strings, or use a different encoding than UTF-8 or UTF-16. so is it possible that this might cause issues with Realm serializing or deserializing?

r-cohen avatar Jan 03 '17 13:01 r-cohen

@phearme Do you have access to the Realm file? It could be interesting to understand why the reported size is wrong.

kneth avatar Jan 03 '17 14:01 kneth

@kneth unfortunately I don't have access to Realm files in production. but if we notice this issue again during dev, we will forward you the Realm file.

r-cohen avatar Jan 03 '17 15:01 r-cohen

@phearme Yes, non-UTF might be an issue. Can you explain what you do? Can you store it as binary data instead?

kneth avatar Jan 03 '17 15:01 kneth

@kneth we have limits to providing you this information. nevertheless, we will let you know if we find an example which causes the issue.

r-cohen avatar Jan 03 '17 15:01 r-cohen