realm-kotlin: Assertion failed: m_method_id != nullptr

SDK and version

SDK : Kotlin Version: 1.8.0

Observations

  • How frequent do the crash occur? On every app start
  • Does it happen in production or during dev/test? dev
  • Can the crash be reproduced by you? Yes
  • Can you provide instructions for how we can reproduce it? No

Crash log / stacktrace

11:37:49.472 27037-27179 REALM                          <app-package-name>       E  /Users/realm/workspace-realm-kotlin/releases/packages/cinterop/src/jvm/jni/java_method.cpp:33: [realm-core-13.10.0] Assertion failed: m_method_id != nullptr with (method_name, signature) =  ["asThrowable", "(Lio/realm/kotlin/internal/interop/RealmCoreException;)Ljava/lang/Throwable;"]
                                                                                 <backtrace not supported on this platform>
                                                                                 !!! IMPORTANT: Please report this at https://github.com/realm/realm-core/issues/new/choose
11:37:49.473 27037-27179 libc                           <app-package-name>       A  Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 27179 (SyncThread-<app-name>), pid 27037 (<app-package-name>)
11:37:49.651 27188-27188 DEBUG                          pid-27188             A  Cmdline: <app-package-name>
11:37:49.651 27188-27188 DEBUG                          pid-27188             A  pid: 27037, tid: 27179, name: SyncThread-<app-name>  >>> <app-package-name> <<<
11:37:49.654 27188-27188 DEBUG                          pid-27188             A        realm/realm-core#1 pc 0000000000728305  /data/app/~~1bsexmCci6vx6HbC46nkhA==/<app-package-name>-QuDZ7iD8i2uRoGbwSLuzeQ==/lib/x86_64/librealmc.so (BuildId: d04f2a18ff690e7bec1a86a262aa1081a82ff7c2)
11:37:49.654 27188-27188 DEBUG                          pid-27188             A        realm/realm-core#2 pc 0000000000728660  /data/app/~~1bsexmCci6vx6HbC46nkhA==/<app-package-name>-QuDZ7iD8i2uRoGbwSLuzeQ==/lib/x86_64/librealmc.so (BuildId: d04f2a18ff690e7bec1a86a262aa1081a82ff7c2)
11:37:49.654 27188-27188 DEBUG                          pid-27188             A        realm/realm-core#3 pc 00000000007284f0  /data/app/~~1bsexmCci6vx6HbC46nkhA==/<app-package-name>-QuDZ7iD8i2uRoGbwSLuzeQ==/lib/x86_64/librealmc.so (BuildId: d04f2a18ff690e7bec1a86a262aa1081a82ff7c2)
11:37:49.654 27188-27188 DEBUG                          pid-27188             A        realm/realm-core#4 pc 00000000003660c3  /data/app/~~1bsexmCci6vx6HbC46nkhA==/<app-package-name>-QuDZ7iD8i2uRoGbwSLuzeQ==/lib/x86_64/librealmc.so (void realm::util::terminate_with_info<char const*&, char const*&>(char const*, int, char const*, char const*, char const*&, char const*&)+115) (BuildId: d04f2a18ff690e7bec1a86a262aa1081a82ff7c2)
11:37:49.655 27188-27188 DEBUG                          pid-27188             A        realm/realm-core#5 pc 000000000036603d  /data/app/~~1bsexmCci6vx6HbC46nkhA==/<app-package-name>-QuDZ7iD8i2uRoGbwSLuzeQ==/lib/x86_64/librealmc.so (realm::jni_util::JavaMethod::JavaMethod(_JNIEnv*, realm::jni_util::JavaClass const&, char const*, char const*, bool)+141) (BuildId: d04f2a18ff690e7bec1a86a262aa1081a82ff7c2)
11:37:49.655 27188-27188 DEBUG                          pid-27188             A        realm/realm-core#6 pc 0000000000361cd5  /data/app/~~1bsexmCci6vx6HbC46nkhA==/<app-package-name>-QuDZ7iD8i2uRoGbwSLuzeQ==/lib/x86_64/librealmc.so (realm_async_open_task_callback(void*, realm_thread_safe_reference*, realm_async_error const*)+901) (BuildId: d04f2a18ff690e7bec1a86a262aa1081a82ff7c2)
11:37:49.656 27188-27188 DEBUG                          pid-27188             A        realm/realm-core#7 pc 000000000039b805  /data/app/~~1bsexmCci6vx6HbC46nkhA==/<app-package-name>-QuDZ7iD8i2uRoGbwSLuzeQ==/lib/x86_64/librealmc.so (BuildId: d04f2a18ff690e7bec1a86a262aa1081a82ff7c2)
11:37:49.656 27188-27188 DEBUG                          pid-27188             A        realm/realm-core#8 pc 00000000004504e4  /data/app/~~1bsexmCci6vx6HbC46nkhA==/<app-package-name>-QuDZ7iD8i2uRoGbwSLuzeQ==/lib/x86_64/librealmc.so (BuildId: d04f2a18ff690e7bec1a86a262aa1081a82ff7c2)
11:37:49.656 27188-27188 DEBUG                          pid-27188             A        realm/realm-core#9 pc 00000000004691b6  /data/app/~~1bsexmCci6vx6HbC46nkhA==/<app-package-name>-QuDZ7iD8i2uRoGbwSLuzeQ==/lib/x86_64/librealmc.so (BuildId: d04f2a18ff690e7bec1a86a262aa1081a82ff7c2)
11:37:49.656 27188-27188 DEBUG                          pid-27188             A        realm/realm-core#10 pc 000000000053cd4a  /data/app/~~1bsexmCci6vx6HbC46nkhA==/<app-package-name>-QuDZ7iD8i2uRoGbwSLuzeQ==/lib/x86_64/librealmc.so (BuildId: d04f2a18ff690e7bec1a86a262aa1081a82ff7c2)
11:37:49.656 27188-27188 DEBUG                          pid-27188             A        realm/realm-core#11 pc 00000000005505c2  /data/app/~~1bsexmCci6vx6HbC46nkhA==/<app-package-name>-QuDZ7iD8i2uRoGbwSLuzeQ==/lib/x86_64/librealmc.so (BuildId: d04f2a18ff690e7bec1a86a262aa1081a82ff7c2)
11:37:49.656 27188-27188 DEBUG                          pid-27188             A        realm/realm-core#12 pc 00000000005504f8  /data/app/~~1bsexmCci6vx6HbC46nkhA==/<app-package-name>-QuDZ7iD8i2uRoGbwSLuzeQ==/lib/x86_64/librealmc.so (BuildId: d04f2a18ff690e7bec1a86a262aa1081a82ff7c2)
11:37:49.657 27188-27188 DEBUG                          pid-27188             A        realm/realm-core#13 pc 000000000054bc0d  /data/app/~~1bsexmCci6vx6HbC46nkhA==/<app-package-name>-QuDZ7iD8i2uRoGbwSLuzeQ==/lib/x86_64/librealmc.so (BuildId: d04f2a18ff690e7bec1a86a262aa1081a82ff7c2)
11:37:49.657 27188-27188 DEBUG                          pid-27188             A        realm/realm-core#14 pc 0000000000555931  /data/app/~~1bsexmCci6vx6HbC46nkhA==/<app-package-name>-QuDZ7iD8i2uRoGbwSLuzeQ==/lib/x86_64/librealmc.so (BuildId: d04f2a18ff690e7bec1a86a262aa1081a82ff7c2)
11:37:49.657 27188-27188 DEBUG                          pid-27188             A        realm/realm-core#15 pc 00000000005b29e3  /data/app/~~1bsexmCci6vx6HbC46nkhA==/<app-package-name>-QuDZ7iD8i2uRoGbwSLuzeQ==/lib/x86_64/librealmc.so (BuildId: d04f2a18ff690e7bec1a86a262aa1081a82ff7c2)
11:37:49.657 27188-27188 DEBUG                          pid-27188             A        realm/realm-core#16 pc 00000000005a65cd  /data/app/~~1bsexmCci6vx6HbC46nkhA==/<app-package-name>-QuDZ7iD8i2uRoGbwSLuzeQ==/lib/x86_64/librealmc.so (BuildId: d04f2a18ff690e7bec1a86a262aa1081a82ff7c2)
11:37:49.657 27188-27188 DEBUG                          pid-27188             A        realm/realm-core#17 pc 00000000005abd64  /data/app/~~1bsexmCci6vx6HbC46nkhA==/<app-package-name>-QuDZ7iD8i2uRoGbwSLuzeQ==/lib/x86_64/librealmc.so (BuildId: d04f2a18ff690e7bec1a86a262aa1081a82ff7c2)
11:37:49.657 27188-27188 DEBUG                          pid-27188             A        realm/realm-core#18 pc 000000000059e337  /data/app/~~1bsexmCci6vx6HbC46nkhA==/<app-package-name>-QuDZ7iD8i2uRoGbwSLuzeQ==/lib/x86_64/librealmc.so (BuildId: d04f2a18ff690e7bec1a86a262aa1081a82ff7c2)
11:37:49.657 27188-27188 DEBUG                          pid-27188             A        realm/realm-core#19 pc 000000000059fdc7  /data/app/~~1bsexmCci6vx6HbC46nkhA==/<app-package-name>-QuDZ7iD8i2uRoGbwSLuzeQ==/lib/x86_64/librealmc.so (BuildId: d04f2a18ff690e7bec1a86a262aa1081a82ff7c2)

Steps & Code to Reproduce

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 17 (10 by maintainers)

Most upvoted comments

@nicola-cab It is already moved