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

【Crash from v6.0.1 to v7.0.0】SIGABRT #6941

Closed
JoyHong opened this issue Jun 11, 2020 · 9 comments
Closed

【Crash from v6.0.1 to v7.0.0】SIGABRT #6941

JoyHong opened this issue Jun 11, 2020 · 9 comments

Comments

@JoyHong
Copy link

JoyHong commented Jun 11, 2020

Goal

User can open app

Actual Results

Now some users can't open app

Steps & Code to Reproduce

1 #00 pc 0001cece /system/lib/libc.so (abort+57) [armeabi-v8]
#1 pc 001dde07 /data/app/pkgname-8LB5m9ZE9khN2qROKj8FVw==/split_config.armeabi_v7a.apk
#2 pc 001dde5d /data/app/pkgname-8LB5m9ZE9khN2qROKj8FVw==/split_config.armeabi_v7a.apk
#3 pc 001ddf57 /data/app/pkgname-8LB5m9ZE9khN2qROKj8FVw==/split_config.armeabi_v7a.apk
#4 pc 00188e33 /data/app/pkgname-8LB5m9ZE9khN2qROKj8FVw==/split_config.armeabi_v7a.apk
#5 pc 00188ce9 /data/app/pkgname-8LB5m9ZE9khN2qROKj8FVw==/split_config.armeabi_v7a.apk
#6 pc 0019a1a1 /data/app/pkgname-8LB5m9ZE9khN2qROKj8FVw==/split_config.armeabi_v7a.apk
#7 pc 0014629f /data/app/pkgname-8LB5m9ZE9khN2qROKj8FVw==/split_config.armeabi_v7a.apk
#8 pc 0014620d /data/app/pkgname-8LB5m9ZE9khN2qROKj8FVw==/split_config.armeabi_v7a.apk
10 #9 pc 001414dd /data/app/pkgname-8LB5m9ZE9khN2qROKj8FVw==/split_config.armeabi_v7a.apk
11 #10 pc 001c3eb3 /data/app/pkgname-8LB5m9ZE9khN2qROKj8FVw==/split_config.armeabi_v7a.apk
12 #11 pc 0019842d /data/app/pkgname-8LB5m9ZE9khN2qROKj8FVw==/split_config.armeabi_v7a.apk
13 #12 pc 0019be65 /data/app/pkgname-8LB5m9ZE9khN2qROKj8FVw==/split_config.armeabi_v7a.apk
14 #13 pc 0019aff7 /data/app/pkgname-8LB5m9ZE9khN2qROKj8FVw==/split_config.armeabi_v7a.apk
15 #14 pc 0019bfed /data/app/pkgname-8LB5m9ZE9khN2qROKj8FVw==/split_config.armeabi_v7a.apk
16 #15 pc 0019ddc7 /data/app/pkgname-8LB5m9ZE9khN2qROKj8FVw==/split_config.armeabi_v7a.apk
17 #16 pc 000fbaed /data/app/pkgname-8LB5m9ZE9khN2qROKj8FVw==/split_config.armeabi_v7a.apk
18 #17 pc 000fb72b /data/app/pkgname-8LB5m9ZE9khN2qROKj8FVw==/split_config.armeabi_v7a.apk
19 #18 pc 000fb6df /data/app/pkgname-8LB5m9ZE9khN2qROKj8FVw==/split_config.armeabi_v7a.apk
20 #19 pc 000ed01d /data/app/pkgname-8LB5m9ZE9khN2qROKj8FVw==/split_config.armeabi_v7a.apk
21 #20 pc 000af15b /data/app/pkgname-8LB5m9ZE9khN2qROKj8FVw==/split_config.armeabi_v7a.apk (Java_io_realm_internal_OsSharedRealm_nativeGetSharedRealm+102)
22 #21 pc 000822d3 /data/app/pkgname-8LB5m9ZE9khN2qROKj8FVw==/oat/arm/base.odex [armeabi]
23 java:
24 io.realm.internal.OsSharedRealm.(OsSharedRealm.java:175)
25 io.realm.internal.OsSharedRealm.getInstance(OsSharedRealm.java:251)
26 io.realm.internal.OsSharedRealm.getInstance(OsSharedRealm.java:239)
27 io.realm.a.b(BaseRealm.java:759)
28 io.realm.w.e(Realm.java:1808)

Version of Realm and tooling

Realm version(s): 7.0.0

Realm Sync feature enabled: No

Android Studio version: 3.6.3

Android Build Tools version: 3.3.2

Gradle version: 4.10.1

Which Android version and device(s): sm-j737p and so on

@JoyHong
Copy link
Author

JoyHong commented Jun 11, 2020

This issue is observed when upgraded to v7.0.0 .

@JoyHong
Copy link
Author

JoyHong commented Jun 11, 2020

RealmConfiguration configuration = new RealmConfiguration.Builder()
.name(realmFileName)
.schemaVersion(CURRENT_VERSION)
.migration(new Migration())
.initialData(realm -> {
MediaFile mediaFile = realm.createObject(MediaFile.class, MediaFile.ID_CAMERA);
mediaFile.setMediaType(MediaFile.MEDIA_TYPE_CAMERA);
mediaFile.setDateAdded(Long.MAX_VALUE);
})
.build();
try {
Realm.compactRealm(configuration);
} catch (Throwable ignored) {
}

@JoyHong
Copy link
Author

JoyHong commented Jun 11, 2020

Also can't downgrade version, so help..

@bmunkholm
Copy link
Contributor

Are you having many users experiencing this?
Is it something you can reproduce in some way?

@JoyHong
Copy link
Author

JoyHong commented Jun 11, 2020

Are you having many users experiencing this?
Is it something you can reproduce in some way?

yes, many users experiencing this.
and i don't know how to reproduce it, i saw this crash at googleplay console and bugly.
need i share more information about it?

@JoyHong
Copy link
Author

JoyHong commented Jun 13, 2020

could somebody help me to check it?

@bmunkholm
Copy link
Contributor

@JoyHong For some reason we don't see the debug symbols for where it crashed, so it's hard to get anything out of this.
@cmelchior Do you know why we don't see any symbols here?

@JoyHong
Copy link
Author

JoyHong commented Jun 16, 2020

emmm. what can i do for this?

@RealmBot RealmBot closed this as completed Jul 1, 2020
@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