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

Android | signal 7 (SIGBUS), code 1 (BUS_ADRALN) #6511

Closed
dd-david opened this issue May 8, 2019 · 3 comments
Closed

Android | signal 7 (SIGBUS), code 1 (BUS_ADRALN) #6511

dd-david opened this issue May 8, 2019 · 3 comments

Comments

@dd-david
Copy link

dd-david commented May 8, 2019

Goal

While using realm-java in android application, sometimes below fatal exception is occurred.
I need to figure out why below fatal is happened.

Actual Results

Fatal signal 7 (SIGBUS), code 1 (BUS_ADRALN), fault addr 0x205d534f50546b in tid 11495 (AsyncTask #10), pid 8534

...apk (offset 0x2c9000) (Java_io_realm_internal_OsSharedRealm_nativeCloseSharedRealm+52)
/data/dalvik-cache/arm64/system@priv-app@...apk@classes.dex (offset 0x7e000) (io.realm.internal.OsList.nativeAddNull [DEDUPED]+152)
/data/dalvik-cache/arm64/system@priv-app@...apk@classes.dex (offset 0x7e000) (io.realm.internal.OsSharedRealm.close+128)
/data/dalvik-cache/arm64/system@priv-app@...apk@classes.dex (offset 0x7e000) (io.realm.a.h+76)
/data/dalvik-cache/arm64/system@priv-app@...apk@classes.dex (offset 0x7e000) (io.realm.w.a+848)
/data/dalvik-cache/arm64/system@priv-app@...apk@classes.dex (offset 0x7e000) (io.realm.a.close+176)
/data/dalvik-cache/arm64/system@priv-app@...apk@classes.dex (offset 0x7e000) (io.realm.v.close+40)

Steps & Code to Reproduce

I don't know exactly how to reproduce.

Version of Realm and tooling

Realm version(s): io.realm:realm-gradle-plugin:5.9.0

Realm Sync feature enabled: No

Android Studio version: 3.1.2

Android Build Tools version: 28.0.2

Gradle version: 4.5.1

Which Android version and device(s): android P

@dd-david
Copy link
Author

dd-david commented May 8, 2019

In stacktrace, why "nativeAddNull' is called even it looks like to be closed?

/data/dalvik-cache/arm64/system@priv-app@...apk@classes.dex (offset 0x7e000) (io.realm.internal.OsList.nativeAddNull [DEDUPED]+152)
/data/dalvik-cache/arm64/system@priv-app@...apk@classes.dex (offset 0x7e000) (io.realm.internal.OsSharedRealm.close+128)

@cmelchior
Copy link
Contributor

Without being able to reproduce this, I doubt there is much we can do. So closing. Please reopen if you can reproduce it.

@realm-probot
Copy link

realm-probot bot commented Aug 12, 2019

Hey - looks like you forgot to add a T:* label - could you please add one?

@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

2 participants