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

[Crash] / [Bug] librealm-jni.so

Open ishaan1995 opened this issue 9 years ago • 10 comments

Goal

Find the root cause of this bug caused on the native realm library.

Actual Results

Crashes due to error log mentioned below.

Steps & Code to Reproduce

Unknown.Getting this error in crashlytics log on several samsung, micromax, sony devices like Samsung Core, Galaxy S Duos2, Micromax A76

Code Sample

None

Version of Realm and tooling

Realm version(s): 2.3.1

Realm sync feature enabled: no

Android Studio version: 2.3.3

Which Android version and device: Several samsung, micromax, sony devices having android version between 4.1.1 to 4.4

Crash Log : (in CrashLytics log, do not know the actual error or cause)

Crashed: ps.collect.plus|
0  libc.so                        0x40056804 (Missing)
1  libc.so                        0x400547f8 abort
2  librealm-jni.so                0x5f599f1c __gnu_cxx::__verbose_terminate_handler()

ishaan1995 avatar Jul 31 '17 08:07 ishaan1995

can you put the completed crash log here?

beeender avatar Jul 31 '17 08:07 beeender

@beeender This is all we got from crashlytics.Do not know how to even reproduce this and find root cause

ishaan1995 avatar Jul 31 '17 08:07 ishaan1995

Also found this -> "SIGSEGV SEGV_MAPERR 0x7fffffffffffffff", looks like a seg fault to me.

ishaan1995 avatar Jul 31 '17 08:07 ishaan1995

"SIGSEGV SEGV_MAPERR 0x7fffffffffffffff" this doesn't look like the same issue as what you reported first. Can you share the crashlytics link with us?

beeender avatar Jul 31 '17 08:07 beeender

http://crashes.to/s/5cd1a66150b

ishaan1995 avatar Jul 31 '17 08:07 ishaan1995

It feels like the stack is corrupted for some reason. Do you use any other native lib than Realm?

beeender avatar Jul 31 '17 08:07 beeender

No, we don't, the only native lib we have is realm, also we use apk spilts and this appears to be happening on armv7 devices only.

ishaan1995 avatar Jul 31 '17 08:07 ishaan1995

The current information is too limited to identify the issue :( We will keep this issue opened for a bit longer to see if any other users meet the similar issue. If you have more information about this, please let us know.

beeender avatar Aug 02 '17 07:08 beeender

Closing due to inactivity

cmelchior avatar Aug 16 '17 09:08 cmelchior

Did you have to do anything special to crashlytics to receive this error from a native realm crash? Is there a way some configuration on fabric side we need to log these crashes?

sirivanleo avatar Mar 27 '18 23:03 sirivanleo