Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

7.0.0 seems to introduce crashes with older Realm files #6866

Closed
tmtrademarked opened this issue May 19, 2020 · 7 comments
Closed

7.0.0 seems to introduce crashes with older Realm files #6866

tmtrademarked opened this issue May 19, 2020 · 7 comments

Comments

@tmtrademarked
Copy link

tmtrademarked commented May 19, 2020

Goal

In my application, we have a test for migrations from some very old versions of our application - ancient history, with versions of the schema from 2017. Every previous Realm update has worked flawlessly - but the upgrade from 6.1.0 to 7.0.0 seems to cause native crashes. When we run the migrations with version 7.0.0, we get a gnarly native crash.

Actual Results

Steps & Code to Reproduce

It seems like a schema from ~ 2017 causes this problem. I can provide a copy of the schema and migration code if that is helpful for debugging, but it's hard to tell exactly what is causing the problem. (It appears as if it's dying running the migration where we migrated away from the old "RealmList<RealmString>" paradigm to simply "RealmList<String>")

I've provided the code for this particular migration in case anything about this jumps out as known unsupported in 7.0.0 - but that again seems kind of unlikely.

private class UpgradeFrom39 extends BaseMigration {

        UpgradeFrom39() {
            super(39);
        }

        @Override
        public boolean migrate(DynamicRealm realm) {
            RealmSchema schema = realm.getSchema();

            // Migrate Configuration fields from RealmString to String.
            RealmObjectSchema configSchema = schema.get("Configuration");
            migrateRealmStrings(configSchema, "features");
            migrateRealmStrings(configSchema, "force_enabled_flags");
            migrateRealmStrings(configSchema, "force_disabled_flags");

            // Migrate SearchFilters fields from RealmString to String.
            RealmObjectSchema filterSchema = schema.get("SearchFilters");
            migrateRealmStrings(filterSchema, "cuisine_tags");
            migrateRealmStrings(filterSchema, "feature_tags");
            migrateRealmStrings(filterSchema, "ingredient_tags");
            migrateRealmStrings(filterSchema, "keywords");

            // Migrate SurveyOption fields from RealmString to String.
            RealmObjectSchema surveySchema = schema.get("SurveyOption");
            migrateRealmStrings(surveySchema, "categories");

            // Migrate Wine fields from RealmString to String.
            RealmObjectSchema wineSchema = schema.get("Wine");
            migrateRealmStrings(wineSchema, "varietals");

            // Finally, remove the entire RealmString class.
            schema.remove("RealmString");
            return true;
        }

        private void migrateRealmStrings(RealmObjectSchema schema, final String fieldName) {
            final String tempFieldName = "tmp_" + fieldName;
            schema.addRealmListField(tempFieldName, String.class)
                    .transform(obj -> {
                        RealmList<DynamicRealmObject> oldList = obj.getList(fieldName);
                        RealmList<String> newList = obj.getList(tempFieldName, String.class);
                        for (DynamicRealmObject oldItem : oldList) {
                            newList.add(oldItem.getString("string"));
                        }
                    })
                    .removeField(fieldName)
                    .renameField(tempFieldName, fieldName);
        }
    }

Version of Realm and tooling

Realm version(s): 7.0.0

@bmunkholm
Copy link
Contributor

bmunkholm commented May 19, 2020

@tmtrademarked Can you please add any info available about the crash? Stacktrace?
Which version of realm-java did you use to make the realm files that crashes when being migrated?

@tmtrademarked
Copy link
Author

Sure thing - here's the native dump:

05-19 17:00:44.066 D/AnalyticsReporter( 9211): Logging event: Diagnostic - Schema Migration - Started - M. Properties: {"initial_version":"8","api_level":"29","diagnostic_event":"true","output_version":"83"}
05-19 17:00:44.120 F/libc    ( 9211): Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x57a9f217 in tid 9211 (blueapron.debug), pid 9211 (blueapron.debug)
05-19 17:00:44.198 I/crash_dump32( 9345): obtaining output fd from tombstoned, type: kDebuggerdTombstone
05-19 17:00:44.199 I//system/bin/tombstoned( 1946): received crash request for pid 9211
05-19 17:00:44.201 I/crash_dump32( 9345): performing dump of process 9211 (target tid = 9211)
05-19 17:00:44.210 F/DEBUG   ( 9345): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
05-19 17:00:44.211 F/DEBUG   ( 9345): Build fingerprint: 'google/sdk_gphone_x86/generic_x86:10/QSR1.200403.001/6362371:userdebug/dev-keys'
05-19 17:00:44.211 F/DEBUG   ( 9345): Revision: '0'
05-19 17:00:44.211 F/DEBUG   ( 9345): ABI: 'x86'
05-19 17:00:44.211 F/DEBUG   ( 9345): Timestamp: 2020-05-19 17:00:44-0400
05-19 17:00:44.211 F/DEBUG   ( 9345): pid: 9211, tid: 9211, name: blueapron.debug  >>> com.blueapron.blueapron.debug <<<
05-19 17:00:44.211 F/DEBUG   ( 9345): uid: 10138
05-19 17:00:44.211 F/DEBUG   ( 9345): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x57a9f217
05-19 17:00:44.211 F/DEBUG   ( 9345):     eax d7a9f218  ebx c2fa4e60  ecx ffffffff  edx 7fffffff
05-19 17:00:44.211 F/DEBUG   ( 9345):     edi c8227c74  esi ffffffff
05-19 17:00:44.211 F/DEBUG   ( 9345):     ebp ff94b248  esp ff94b248  eip c2c0da65
05-19 17:00:44.455 F/DEBUG   ( 9345): 
05-19 17:00:44.455 F/DEBUG   ( 9345): backtrace:
05-19 17:00:44.455 F/DEBUG   ( 9345):       #00 pc 001cba65  /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!librealm-jni.so (offset 0x18de000) (BuildId: 2a43fa0cb656a9e293f208d977c389d882fb53ef)
05-19 17:00:44.455 F/DEBUG   ( 9345):       #01 pc 000bd0c1  /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!librealm-jni.so (offset 0x18de000) (BuildId: 2a43fa0cb656a9e293f208d977c389d882fb53ef)
05-19 17:00:44.455 F/DEBUG   ( 9345):       #02 pc 0029446a  /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!librealm-jni.so (offset 0x18de000) (BuildId: 2a43fa0cb656a9e293f208d977c389d882fb53ef)
05-19 17:00:44.455 F/DEBUG   ( 9345):       #03 pc 002972b7  /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!librealm-jni.so (offset 0x18de000) (BuildId: 2a43fa0cb656a9e293f208d977c389d882fb53ef)
05-19 17:00:44.455 F/DEBUG   ( 9345):       #04 pc 0029718d  /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!librealm-jni.so (offset 0x18de000) (BuildId: 2a43fa0cb656a9e293f208d977c389d882fb53ef)
05-19 17:00:44.455 F/DEBUG   ( 9345):       #05 pc 00295b39  /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!librealm-jni.so (offset 0x18de000) (BuildId: 2a43fa0cb656a9e293f208d977c389d882fb53ef)
05-19 17:00:44.455 F/DEBUG   ( 9345):       #06 pc 002959de  /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!librealm-jni.so (offset 0x18de000) (BuildId: 2a43fa0cb656a9e293f208d977c389d882fb53ef)
05-19 17:00:44.456 F/DEBUG   ( 9345):       #07 pc 000c266a  /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!librealm-jni.so (offset 0x18de000) (Java_io_realm_internal_Table_nativeRemoveColumn+88) (BuildId: 2a43fa0cb656a9e293f208d977c389d882fb53ef)
05-19 17:00:44.456 F/DEBUG   ( 9345):       #08 pc 00144f67  /apex/com.android.runtime/lib/libart.so (art_quick_generic_jni_trampoline+71) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.456 F/DEBUG   ( 9345):       #09 pc 0013e7d2  /apex/com.android.runtime/lib/libart.so (art_quick_invoke_stub+338) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.456 F/DEBUG   ( 9345):       #10 pc 00149a69  /apex/com.android.runtime/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+281) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.456 F/DEBUG   ( 9345):       #11 pc 00332502  /apex/com.android.runtime/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+386) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.456 F/DEBUG   ( 9345):       #12 pc 0032c19c  /apex/com.android.runtime/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+988) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.456 F/DEBUG   ( 9345):       #13 pc 006843ac  /apex/com.android.runtime/lib/libart.so (MterpInvokeDirect+700) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.456 F/DEBUG   ( 9345):       #14 pc 00138921  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_direct+33) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.456 F/DEBUG   ( 9345):       #15 pc 00172188  [anon:dalvik-classes4.dex extracted in memory from /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!classes4.dex] (io.realm.internal.Table.removeColumn+40)
05-19 17:00:44.456 F/DEBUG   ( 9345):       #16 pc 00681b4c  /apex/com.android.runtime/lib/libart.so (MterpInvokeVirtual+1612) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.456 F/DEBUG   ( 9345):       #17 pc 00138821  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_virtual+33) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.456 F/DEBUG   ( 9345):       #18 pc 0015ace2  [anon:dalvik-classes4.dex extracted in memory from /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!classes4.dex] (io.realm.MutableRealmObjectSchema.removeField+90)
05-19 17:00:44.456 F/DEBUG   ( 9345):       #19 pc 00681b4c  /apex/com.android.runtime/lib/libart.so (MterpInvokeVirtual+1612) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.456 F/DEBUG   ( 9345):       #20 pc 00138821  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_virtual+33) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.456 F/DEBUG   ( 9345):       #21 pc 0001ea68  [anon:dalvik-classes7.dex extracted in memory from /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!classes7.dex] (com.blueapron.service.cache.MigrationManager$UpgradeFrom39.migrateRealmStrings+64)
05-19 17:00:44.456 F/DEBUG   ( 9345):       #22 pc 0068461c  /apex/com.android.runtime/lib/libart.so (MterpInvokeDirect+1324) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.456 F/DEBUG   ( 9345):       #23 pc 00138921  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_direct+33) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.456 F/DEBUG   ( 9345):       #24 pc 0001e952  [anon:dalvik-classes7.dex extracted in memory from /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!classes7.dex] (com.blueapron.service.cache.MigrationManager$UpgradeFrom39.migrate+86)
05-19 17:00:44.456 F/DEBUG   ( 9345):       #25 pc 0068382c  /apex/com.android.runtime/lib/libart.so (MterpInvokeInterface+1980) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.456 F/DEBUG   ( 9345):       #26 pc 00138a21  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_interface+33) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.457 F/DEBUG   ( 9345):       #27 pc 00019e2a  [anon:dalvik-classes9.dex extracted in memory from /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!classes9.dex] (com.blueapron.service.cache.MigrationManager.migrate_inner+66)
05-19 17:00:44.457 F/DEBUG   ( 9345):       #28 pc 00688099  /apex/com.android.runtime/lib/libart.so (MterpInvokeDirectRange+1017) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.457 F/DEBUG   ( 9345):       #29 pc 00138c21  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_direct_range+33) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.457 F/DEBUG   ( 9345):       #30 pc 00019d60  [anon:dalvik-classes9.dex extracted in memory from /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!classes9.dex] (com.blueapron.service.cache.MigrationManager.migrate+28)
05-19 17:00:44.457 F/DEBUG   ( 9345):       #31 pc 00687429  /apex/com.android.runtime/lib/libart.so (MterpInvokeInterfaceRange+1641) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.457 F/DEBUG   ( 9345):       #32 pc 00138d21  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_interface_range+33) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.457 F/DEBUG   ( 9345):       #33 pc 00155444  [anon:dalvik-classes4.dex extracted in memory from /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!classes4.dex] (io.realm.BaseRealm$6.onMigrationNeeded+16)
05-19 17:00:44.457 F/DEBUG   ( 9345):       #34 pc 00687429  /apex/com.android.runtime/lib/libart.so (MterpInvokeInterfaceRange+1641) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.457 F/DEBUG   ( 9345):       #35 pc 00138d21  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_interface_range+33) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.457 F/DEBUG   ( 9345):       #36 pc 0016edea  [anon:dalvik-classes4.dex extracted in memory from /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!classes4.dex] (io.realm.internal.OsSharedRealm.runMigrationCallback+30)
05-19 17:00:44.457 F/DEBUG   ( 9345):       #37 pc 002f8e0a  /apex/com.android.runtime/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.1175793267244191248+298) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.457 F/DEBUG   ( 9345):       #38 pc 002ffcc5  /apex/com.android.runtime/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*)+181) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.457 F/DEBUG   ( 9345):       #39 pc 0066fc49  /apex/com.android.runtime/lib/libart.so (artQuickToInterpreterBridge+1209) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.457 F/DEBUG   ( 9345):       #40 pc 0014503d  /apex/com.android.runtime/lib/libart.so (art_quick_to_interpreter_bridge+77) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.457 F/DEBUG   ( 9345):       #41 pc 0013e9a2  /apex/com.android.runtime/lib/libart.so (art_quick_invoke_static_stub+418) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.457 F/DEBUG   ( 9345):       #42 pc 00149a7a  /apex/com.android.runtime/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+298) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.457 F/DEBUG   ( 9345):       #43 pc 0055a563  /apex/com.android.runtime/lib/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+99) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.457 F/DEBUG   ( 9345):       #44 pc 0055a1fe  /apex/com.android.runtime/lib/libart.so (art::InvokeWithVarArgs(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, char*)+430) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.457 F/DEBUG   ( 9345):       #45 pc 004305cd  /apex/com.android.runtime/lib/libart.so (art::JNI::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, char*)+893) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.457 F/DEBUG   ( 9345):       #46 pc 003d93bf  /apex/com.android.runtime/lib/libart.so (art::(anonymous namespace)::CheckJNI::CallMethodV(char const*, _JNIEnv*, _jobject*, _jclass*, _jmethodID*, char*, art::Primitive::Type, art::InvokeType)+2847) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.457 F/DEBUG   ( 9345):       #47 pc 003c7509  /apex/com.android.runtime/lib/libart.so (art::(anonymous namespace)::CheckJNI::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, char*)+73) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.457 F/DEBUG   ( 9345):       #48 pc 000b3b89  /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!librealm-jni.so (offset 0x18de000) (BuildId: 2a43fa0cb656a9e293f208d977c389d882fb53ef)
05-19 17:00:44.458 F/DEBUG   ( 9345):       #49 pc 000b3afd  /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!librealm-jni.so (offset 0x18de000) (BuildId: 2a43fa0cb656a9e293f208d977c389d882fb53ef)
05-19 17:00:44.458 F/DEBUG   ( 9345):       #50 pc 001092ec  /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!librealm-jni.so (offset 0x18de000) (BuildId: 2a43fa0cb656a9e293f208d977c389d882fb53ef)
05-19 17:00:44.458 F/DEBUG   ( 9345):       #51 pc 001091fc  /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!librealm-jni.so (offset 0x18de000) (BuildId: 2a43fa0cb656a9e293f208d977c389d882fb53ef)
05-19 17:00:44.458 F/DEBUG   ( 9345):       #52 pc 00109156  /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!librealm-jni.so (offset 0x18de000) (BuildId: 2a43fa0cb656a9e293f208d977c389d882fb53ef)
05-19 17:00:44.458 F/DEBUG   ( 9345):       #53 pc 000b383f  /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!librealm-jni.so (offset 0x18de000) (BuildId: 2a43fa0cb656a9e293f208d977c389d882fb53ef)
05-19 17:00:44.458 F/DEBUG   ( 9345):       #54 pc 00135fc0  /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!librealm-jni.so (offset 0x18de000) (BuildId: 2a43fa0cb656a9e293f208d977c389d882fb53ef)
05-19 17:00:44.458 F/DEBUG   ( 9345):       #55 pc 00135b16  /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!librealm-jni.so (offset 0x18de000) (BuildId: 2a43fa0cb656a9e293f208d977c389d882fb53ef)
05-19 17:00:44.458 F/DEBUG   ( 9345):       #56 pc 00108ea9  /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!librealm-jni.so (offset 0x18de000) (BuildId: 2a43fa0cb656a9e293f208d977c389d882fb53ef)
05-19 17:00:44.458 F/DEBUG   ( 9345):       #57 pc 0012336f  /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!librealm-jni.so (offset 0x18de000) (BuildId: 2a43fa0cb656a9e293f208d977c389d882fb53ef)
05-19 17:00:44.458 F/DEBUG   ( 9345):       #58 pc 001328b7  /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!librealm-jni.so (offset 0x18de000) (BuildId: 2a43fa0cb656a9e293f208d977c389d882fb53ef)
05-19 17:00:44.458 F/DEBUG   ( 9345):       #59 pc 0014d3e5  /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!librealm-jni.so (offset 0x18de000) (BuildId: 2a43fa0cb656a9e293f208d977c389d882fb53ef)
05-19 17:00:44.458 F/DEBUG   ( 9345):       #60 pc 0014d0e8  /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!librealm-jni.so (offset 0x18de000) (BuildId: 2a43fa0cb656a9e293f208d977c389d882fb53ef)
05-19 17:00:44.458 F/DEBUG   ( 9345):       #61 pc 00131d72  /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!librealm-jni.so (offset 0x18de000) (BuildId: 2a43fa0cb656a9e293f208d977c389d882fb53ef)
05-19 17:00:44.458 F/DEBUG   ( 9345):       #62 pc 000bee31  /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!librealm-jni.so (offset 0x18de000) (Java_io_realm_internal_OsSharedRealm_nativeGetSharedRealm+207) (BuildId: 2a43fa0cb656a9e293f208d977c389d882fb53ef)
05-19 17:00:44.458 F/DEBUG   ( 9345):       #63 pc 00144f67  /apex/com.android.runtime/lib/libart.so (art_quick_generic_jni_trampoline+71) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.458 F/DEBUG   ( 9345):       #64 pc 0013e9a2  /apex/com.android.runtime/lib/libart.so (art_quick_invoke_static_stub+418) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.459 F/DEBUG   ( 9345):       #65 pc 00149a7a  /apex/com.android.runtime/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+298) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.459 F/DEBUG   ( 9345):       #66 pc 00332502  /apex/com.android.runtime/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+386) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.459 F/DEBUG   ( 9345):       #67 pc 0032d3df  /apex/com.android.runtime/lib/libart.so (bool art::interpreter::DoCall<true, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+719) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.459 F/DEBUG   ( 9345):       #68 pc 0068877f  /apex/com.android.runtime/lib/libart.so (MterpInvokeStaticRange+495) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.459 F/DEBUG   ( 9345):       #69 pc 00138ca1  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_static_range+33) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.459 F/DEBUG   ( 9345):       #70 pc 0016e850  [anon:dalvik-classes4.dex extracted in memory from /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!classes4.dex] (io.realm.internal.OsSharedRealm.<init>+108)
05-19 17:00:44.459 F/DEBUG   ( 9345):       #71 pc 0068461c  /apex/com.android.runtime/lib/libart.so (MterpInvokeDirect+1324) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.459 F/DEBUG   ( 9345):       #72 pc 00138921  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_direct+33) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.459 F/DEBUG   ( 9345):       #73 pc 0016e61a  [anon:dalvik-classes4.dex extracted in memory from /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!classes4.dex] (io.realm.internal.OsSharedRealm.getInstance+26)
05-19 17:00:44.459 F/DEBUG   ( 9345):       #74 pc 00684fdc  /apex/com.android.runtime/lib/libart.so (MterpInvokeStatic+1260) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.459 F/DEBUG   ( 9345):       #75 pc 001389a1  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_static+33) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.459 F/DEBUG   ( 9345):       #76 pc 00155b00  [anon:dalvik-classes4.dex extracted in memory from /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!classes4.dex] (io.realm.BaseRealm.<init>+188)
05-19 17:00:44.459 F/DEBUG   ( 9345):       #77 pc 0068461c  /apex/com.android.runtime/lib/libart.so (MterpInvokeDirect+1324) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.459 F/DEBUG   ( 9345):       #78 pc 00138921  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_direct+33) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.459 F/DEBUG   ( 9345):       #79 pc 00155a28  [anon:dalvik-classes4.dex extracted in memory from /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!classes4.dex] (io.realm.BaseRealm.<init>+8)
05-19 17:00:44.459 F/DEBUG   ( 9345):       #80 pc 0068461c  /apex/com.android.runtime/lib/libart.so (MterpInvokeDirect+1324) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.459 F/DEBUG   ( 9345):       #81 pc 00138921  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_direct+33) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.459 F/DEBUG   ( 9345):       #82 pc 001683cc  [anon:dalvik-classes4.dex extracted in memory from /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!classes4.dex] (io.realm.Realm.<init>+24)
05-19 17:00:44.459 F/DEBUG   ( 9345):       #83 pc 0068461c  /apex/com.android.runtime/lib/libart.so (MterpInvokeDirect+1324) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.459 F/DEBUG   ( 9345):       #84 pc 00138921  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_direct+33) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.459 F/DEBUG   ( 9345):       #85 pc 00167648  [anon:dalvik-classes4.dex extracted in memory from /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!classes4.dex] (io.realm.Realm.createInstance+4)
05-19 17:00:44.459 F/DEBUG   ( 9345):       #86 pc 00684fdc  /apex/com.android.runtime/lib/libart.so (MterpInvokeStatic+1260) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.459 F/DEBUG   ( 9345):       #87 pc 001389a1  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_static+33) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.460 F/DEBUG   ( 9345):       #88 pc 0015e8d4  [anon:dalvik-classes4.dex extracted in memory from /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!classes4.dex] (io.realm.RealmCache.createInstance+8)
05-19 17:00:44.460 F/DEBUG   ( 9345):       #89 pc 0068461c  /apex/com.android.runtime/lib/libart.so (MterpInvokeDirect+1324) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.460 F/DEBUG   ( 9345):       #90 pc 00138921  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_direct+33) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.460 F/DEBUG   ( 9345):       #91 pc 0015e3de  [anon:dalvik-classes4.dex extracted in memory from /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!classes4.dex] (io.realm.RealmCache.doCreateRealmOrGetFromCache+238)
05-19 17:00:44.460 F/DEBUG   ( 9345):       #92 pc 0068461c  /apex/com.android.runtime/lib/libart.so (MterpInvokeDirect+1324) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.460 F/DEBUG   ( 9345):       #93 pc 00138921  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_direct+33) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.460 F/DEBUG   ( 9345):       #94 pc 0015e2aa  [anon:dalvik-classes4.dex extracted in memory from /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!classes4.dex] (io.realm.RealmCache.createRealmOrGetFromCache+22)
05-19 17:00:44.460 F/DEBUG   ( 9345):       #95 pc 002f8e0a  /apex/com.android.runtime/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.1175793267244191248+298) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.460 F/DEBUG   ( 9345):       #96 pc 002ffe19  /apex/com.android.runtime/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+217) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.460 F/DEBUG   ( 9345):       #97 pc 0032c17e  /apex/com.android.runtime/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+958) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.460 F/DEBUG   ( 9345):       #98 pc 00684d73  /apex/com.android.runtime/lib/libart.so (MterpInvokeStatic+643) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.460 F/DEBUG   ( 9345):       #99 pc 001389a1  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_static+33) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.460 F/DEBUG   ( 9345):       #100 pc 001676e8  [anon:dalvik-classes4.dex extracted in memory from /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!classes4.dex] (io.realm.Realm.getDefaultInstance+56)
05-19 17:00:44.460 F/DEBUG   ( 9345):       #101 pc 00684fdc  /apex/com.android.runtime/lib/libart.so (MterpInvokeStatic+1260) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.460 F/DEBUG   ( 9345):       #102 pc 001389a1  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_static+33) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.460 F/DEBUG   ( 9345):       #103 pc 00021e48  [anon:dalvik-classes6.dex extracted in memory from /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!classes6.dex] (com.blueapron.service.cache.RealmGate.open+4)
05-19 17:00:44.461 F/DEBUG   ( 9345):       #104 pc 00681b4c  /apex/com.android.runtime/lib/libart.so (MterpInvokeVirtual+1612) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.461 F/DEBUG   ( 9345):       #105 pc 00138821  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_virtual+33) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.461 F/DEBUG   ( 9345):       #106 pc 0001d6e0  [anon:dalvik-classes7.dex extracted in memory from /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!classes7.dex] (com.blueapron.service.analytics.AnalyticsReporter.initialize+40)
05-19 17:00:44.461 F/DEBUG   ( 9345):       #107 pc 00681b4c  /apex/com.android.runtime/lib/libart.so (MterpInvokeVirtual+1612) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.461 F/DEBUG   ( 9345):       #108 pc 00138821  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_virtual+33) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.461 F/DEBUG   ( 9345):       #109 pc 0003485a  [anon:dalvik-classes8.dex extracted in memory from /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!classes8.dex] (com.blueapron.service.ui.BlueApronApplication.onCreate+138)
05-19 17:00:44.461 F/DEBUG   ( 9345):       #110 pc 00681b4c  /apex/com.android.runtime/lib/libart.so (MterpInvokeVirtual+1612) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.461 F/DEBUG   ( 9345):       #111 pc 00138821  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_virtual+33) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.461 F/DEBUG   ( 9345):       #112 pc 001ef228  /system/framework/framework.jar (android.app.Instrumentation.callApplicationOnCreate)
05-19 17:00:44.461 F/DEBUG   ( 9345):       #113 pc 00681b4c  /apex/com.android.runtime/lib/libart.so (MterpInvokeVirtual+1612) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.461 F/DEBUG   ( 9345):       #114 pc 00138821  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_virtual+33) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.461 F/DEBUG   ( 9345):       #115 pc 00186226  /system/framework/framework.jar (android.app.ActivityThread.handleBindApplication+2206)
05-19 17:00:44.461 F/DEBUG   ( 9345):       #116 pc 0068461c  /apex/com.android.runtime/lib/libart.so (MterpInvokeDirect+1324) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.461 F/DEBUG   ( 9345):       #117 pc 00138921  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_direct+33) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.461 F/DEBUG   ( 9345):       #118 pc 001832cc  /system/framework/framework.jar (android.app.ActivityThread.access$1300)
05-19 17:00:44.461 F/DEBUG   ( 9345):       #119 pc 00684fdc  /apex/com.android.runtime/lib/libart.so (MterpInvokeStatic+1260) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.461 F/DEBUG   ( 9345):       #120 pc 001389a1  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_static+33) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.461 F/DEBUG   ( 9345):       #121 pc 00180098  /system/framework/framework.jar (android.app.ActivityThread$H.handleMessage+1400)
05-19 17:00:44.461 F/DEBUG   ( 9345):       #122 pc 00681b4c  /apex/com.android.runtime/lib/libart.so (MterpInvokeVirtual+1612) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.461 F/DEBUG   ( 9345):       #123 pc 00138821  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_virtual+33) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.462 F/DEBUG   ( 9345):       #124 pc 002f5846  /system/framework/framework.jar (android.os.Handler.dispatchMessage+38)
05-19 17:00:44.462 F/DEBUG   ( 9345):       #125 pc 00681b4c  /apex/com.android.runtime/lib/libart.so (MterpInvokeVirtual+1612) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.462 F/DEBUG   ( 9345):       #126 pc 00138821  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_virtual+33) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.462 F/DEBUG   ( 9345):       #127 pc 00319ee6  /system/framework/framework.jar (android.os.Looper.loop+466)
05-19 17:00:44.462 F/DEBUG   ( 9345):       #128 pc 00684fdc  /apex/com.android.runtime/lib/libart.so (MterpInvokeStatic+1260) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.462 F/DEBUG   ( 9345):       #129 pc 001389a1  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_static+33) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.462 F/DEBUG   ( 9345):       #130 pc 00189466  /system/framework/framework.jar (android.app.ActivityThread.main+194)
05-19 17:00:44.462 F/DEBUG   ( 9345):       #131 pc 002f8e0a  /apex/com.android.runtime/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.1175793267244191248+298) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.462 F/DEBUG   ( 9345):       #132 pc 002ffcc5  /apex/com.android.runtime/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*)+181) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.462 F/DEBUG   ( 9345):       #133 pc 0066fc49  /apex/com.android.runtime/lib/libart.so (artQuickToInterpreterBridge+1209) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.462 F/DEBUG   ( 9345):       #134 pc 0014503d  /apex/com.android.runtime/lib/libart.so (art_quick_to_interpreter_bridge+77) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.462 F/DEBUG   ( 9345):       #135 pc 0013e9a2  /apex/com.android.runtime/lib/libart.so (art_quick_invoke_static_stub+418) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.462 F/DEBUG   ( 9345):       #136 pc 00149a7a  /apex/com.android.runtime/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+298) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.462 F/DEBUG   ( 9345):       #137 pc 0055a563  /apex/com.android.runtime/lib/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+99) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.462 F/DEBUG   ( 9345):       #138 pc 0055c37f  /apex/com.android.runtime/lib/libart.so (art::InvokeMethod(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned int)+1327) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.462 F/DEBUG   ( 9345):       #139 pc 004c91a3  /apex/com.android.runtime/lib/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*)+83) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.462 F/DEBUG   ( 9345):       #140 pc 000c6bf8  /system/framework/x86/boot.oat (art_jni_trampoline+168) (BuildId: 7913dbaef2e8d9971cb7619ef0d566987f8326a7)
05-19 17:00:44.462 F/DEBUG   ( 9345):       #141 pc 0013e7d2  /apex/com.android.runtime/lib/libart.so (art_quick_invoke_stub+338) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.462 F/DEBUG   ( 9345):       #142 pc 00149a69  /apex/com.android.runtime/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+281) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.463 F/DEBUG   ( 9345):       #143 pc 00332502  /apex/com.android.runtime/lib/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+386) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.463 F/DEBUG   ( 9345):       #144 pc 0032c19c  /apex/com.android.runtime/lib/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+988) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.463 F/DEBUG   ( 9345):       #145 pc 006818dd  /apex/com.android.runtime/lib/libart.so (MterpInvokeVirtual+989) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.463 F/DEBUG   ( 9345):       #146 pc 00138821  /apex/com.android.runtime/lib/libart.so (mterp_op_invoke_virtual+33) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.463 F/DEBUG   ( 9345):       #147 pc 0034ccb2  /system/framework/framework.jar (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+22)
05-19 17:00:44.463 F/DEBUG   ( 9345):       #148 pc 002f8e0a  /apex/com.android.runtime/lib/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEbb.llvm.1175793267244191248+298) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.463 F/DEBUG   ( 9345):       #149 pc 002ffcc5  /apex/com.android.runtime/lib/libart.so (art::interpreter::EnterInterpreterFromEntryPoint(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*)+181) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.463 F/DEBUG   ( 9345):       #150 pc 0066fc49  /apex/com.android.runtime/lib/libart.so (artQuickToInterpreterBridge+1209) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.463 F/DEBUG   ( 9345):       #151 pc 0014503d  /apex/com.android.runtime/lib/libart.so (art_quick_to_interpreter_bridge+77) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.463 F/DEBUG   ( 9345):       #152 pc 00998b58  /system/framework/x86/boot-framework.oat (com.android.internal.os.ZygoteInit.main+1816) (BuildId: 59c2231d89881ed760171c2061ef3d491a1198a7)
05-19 17:00:44.463 F/DEBUG   ( 9345):       #153 pc 0013e9a2  /apex/com.android.runtime/lib/libart.so (art_quick_invoke_static_stub+418) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.463 F/DEBUG   ( 9345):       #154 pc 00149a7a  /apex/com.android.runtime/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+298) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.463 F/DEBUG   ( 9345):       #155 pc 0055a563  /apex/com.android.runtime/lib/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+99) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.463 F/DEBUG   ( 9345):       #156 pc 0055a1fe  /apex/com.android.runtime/lib/libart.so (art::InvokeWithVarArgs(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, char*)+430) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.463 F/DEBUG   ( 9345):       #157 pc 004305cd  /apex/com.android.runtime/lib/libart.so (art::JNI::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, char*)+893) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.463 F/DEBUG   ( 9345):       #158 pc 003d93bf  /apex/com.android.runtime/lib/libart.so (art::(anonymous namespace)::CheckJNI::CallMethodV(char const*, _JNIEnv*, _jobject*, _jclass*, _jmethodID*, char*, art::Primitive::Type, art::InvokeType)+2847) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.463 F/DEBUG   ( 9345):       #159 pc 003c7509  /apex/com.android.runtime/lib/libart.so (art::(anonymous namespace)::CheckJNI::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, char*)+73) (BuildId: fe49ff2b6f401678e4775fb2121e4ea4)
05-19 17:00:44.464 F/DEBUG   ( 9345):       #160 pc 000b25fe  /system/lib/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+62) (BuildId: 3643bee2c4fb7899d7781c565843060b)
05-19 17:00:44.464 F/DEBUG   ( 9345):       #161 pc 000b628a  /system/lib/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool)+794) (BuildId: 3643bee2c4fb7899d7781c565843060b)
05-19 17:00:44.464 F/DEBUG   ( 9345):       #162 pc 00003632  /system/bin/app_process32 (main+1490) (BuildId: b7a60bc7d078521421fd5a8d201915ae)
05-19 17:00:44.464 F/DEBUG   ( 9345):       #163 pc 000898e8  /apex/com.android.runtime/lib/bionic/libc.so (__libc_init+120) (BuildId: 471745f0fbbcedb3db1553d5bd6fcd8b)
05-19 17:00:44.943 E//system/bin/tombstoned( 1946): Tombstone written to: /data/tombstones/tombstone_07

@tmtrademarked
Copy link
Author

After doing some archaeology, it looks like the file that fails to upgrade was written with realm-java 3.5.0. I can't confidently assert that this file is the only file level that that is having trouble, though.

@tmtrademarked
Copy link
Author

OK. I did a bit of digging, and dropped some of our old migrations. If I migrate from a file written with realm-java 6.1.0 to a new schema with realm-java 7.0.0, the same native crash does not occur. Possibly just because the particular code that triggered this crash for us was not being invoked, or maybe a 6.1.0 file doesn't have the same behavior - hard to say with confidence.

@cmelchior
Copy link
Contributor

It looks like it is crashing when removing a column, but I'm not 100% what the root cause is. This is the unrolled stack trace:

********** Crash dump: **********
Build fingerprint: 'google/sdk_gphone_x86/generic_x86:10/QSR1.200403.001/6362371:userdebug/dev-keys'
#00 0x001cba65 /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!librealm-jni.so (offset 0x18de000) (BuildId: 2a43fa0cb656a9e293f208d977c389d882fb53ef)
  long long realm::Array::get_universal<4u>(char const*, unsigned int) const
  /home/jenkins/workspace/realm_realm-core_release_6.0.4@8/build-android-x86-Release/../src/realm/array.hpp:1393:17
  long long realm::Array::get<4u>(unsigned int) const
  /home/jenkins/workspace/realm_realm-core_release_6.0.4@8/build-android-x86-Release/../src/realm/array.hpp:1374:0
#01 0x000bd0c1 /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!librealm-jni.so (offset 0x18de000) (BuildId: 2a43fa0cb656a9e293f208d977c389d882fb53ef)
  realm::Array::get(unsigned int) const
  /Users/cm/Realm/realm-java-release/realm/realm-library/distribution/realm-core/core-5.0.3/include/realm/array.hpp:1097:12
#02 0x0029446a /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!librealm-jni.so (offset 0x18de000) (BuildId: 2a43fa0cb656a9e293f208d977c389d882fb53ef)
  realm::ArrayInteger::get(unsigned int) const
  /home/jenkins/workspace/realm_realm-core_release_6.0.4@8/build-android-x86-Release/../src/realm/array_integer.hpp:259:19
  realm::Spec::erase_column(unsigned int)
  /home/jenkins/workspace/realm_realm-core_release_6.0.4@8/build-android-x86-Release/../src/realm/spec.cpp:309:0
#03 0x002972b7 /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!librealm-jni.so (offset 0x18de000) (BuildId: 2a43fa0cb656a9e293f208d977c389d882fb53ef)
  realm::Table::do_erase_root_column(realm::ColKey)
  /home/jenkins/workspace/realm_realm-core_release_6.0.4@8/build-android-x86-Release/../src/realm/table.cpp:760:12
#04 0x0029718d /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!librealm-jni.so (offset 0x18de000) (BuildId: 2a43fa0cb656a9e293f208d977c389d882fb53ef)
  realm::Table::erase_backlink_column(realm::ColKey)
  /home/jenkins/workspace/realm_realm-core_release_6.0.4@8/build-android-x86-Release/../src/realm/table.cpp:791:5
#05 0x00295b39 /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!librealm-jni.so (offset 0x18de000) (BuildId: 2a43fa0cb656a9e293f208d977c389d882fb53ef)
  realm::Table::erase_root_column(realm::ColKey)
  /home/jenkins/workspace/realm_realm-core_release_6.0.4@8/build-android-x86-Release/../src/realm/table.cpp:687:23
#06 0x002959de /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!librealm-jni.so (offset 0x18de000) (BuildId: 2a43fa0cb656a9e293f208d977c389d882fb53ef)
  realm::Table::remove_column(realm::ColKey)
  /home/jenkins/workspace/realm_realm-core_release_6.0.4@8/build-android-x86-Release/../src/realm/table.cpp:406:5
#07 0x000c266a /data/app/com.blueapron.blueapron.debug-AcltXaQoDBh2YiTVFDndOw==/base.apk!librealm-jni.so (offset 0x18de000) (Java_io_realm_internal_Table_nativeRemoveColumn+88) (BuildId: 2a43fa0cb656a9e293f208d977c389d882fb53ef)
  Java_io_realm_internal_Table_nativeRemoveColumn
  /Users/cm/Realm/realm-java-release/realm/realm-library/src/main/cpp/io_realm_internal_Table.cpp:113:16

@cmelchior
Copy link
Contributor

I created realm/realm-core#3734 to track the issue on the core side.

@RealmBot
Copy link
Collaborator

RealmBot commented Jul 1, 2020

➤ Christan Melchior commented:

We believe this should be fixed in 7.0.1 which was just released. Please reopen if that is not the case.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants