realm / realm-core

Core database component for the Realm Mobile Database SDKs
https://realm.io
Apache License 2.0
1.02k stars 165 forks source link

[realm-core-14.12.0] Invalid ref translation entry [5944751649164559296, 78187493520, 947344, 0] #8036

Closed alxgord closed 1 month ago

alxgord commented 1 month ago

SDK and version

SDK : realm-lotlin Version: 2.3.0

Observations

Crash log / stacktrace

` 1: 14:16:58.438 A pid: 23866, tid: 23964, name: pool-10-thread- >>> com.package.name <<< 14:16:58.438 A #01 pc 0000000000af485c /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13) 14:16:58.438 A #02 pc 0000000000af59c0 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13) 14:16:58.438 A #03 pc 00000000006701b4 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13) 14:16:58.438 A #04 pc 00000000004955fc /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13) 14:16:58.438 A #05 pc 000000000067f568 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13) 14:16:58.438 A #06 pc 00000000006d3ed0 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13) 14:16:58.438 A #07 pc 00000000006d2630 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13) 14:16:58.438 A #08 pc 00000000003f4da0 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13) 14:16:58.438 A #09 pc 00000000003c8328 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (Java_io_realm_kotlin_internal_interop_realmcJNI_realm_1list_1size+80) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13) 14:16:58.438 A #43 pc 000000000002849c [anon:dalvik-classes2.dex extracted in memory from /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!classes2.dex] (com.package.domain.model.inventory.firstmile.InventoryItemDamageAndConditions.equals+0) 14:16:58.438 A #54 pc 0000000000013614 [anon:dalvik-classes21.dex extracted in memory from /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!classes21.dex] (com.package.name.ui.inventory.items.adapter.InventoryItemsAdapter$DiffCallback.areContentsTheSame+0) 14:16:58.438 A #59 pc 0000000000013644 [anon:dalvik-classes21.dex extracted in memory from /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!classes21.dex] (com.package.name.ui.inventory.items.adapter.InventoryItemsAdapter$DiffCallback.areContentsTheSame+0) 14:16:58.439 A #71 pc 00000000002446e4 [anon:dalvik-classes33.dex extracted in memory from /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!classes33.dex] (androidx.recyclerview.widget.DiffUtil.calculateDiff+0) 14:16:58.439 A #76 pc 000000000023fc48 [anon:dalvik-classes33.dex extracted in memory from /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!classes33.dex] (androidx.recyclerview.widget.AsyncListDiffer$1.run+0)

2: 14:39:52.344 E /Users/runner/work/realm-kotlin/realm-kotlin/packages/external/core/src/realm/alloc.hpp:565: [realm-core-14.12.0] Invalid ref translation entry [5944751649164559296, 78187493520, 947344, 0]

!!! IMPORTANT: Please report this at https://github.com/realm/realm-core/issues/new/choose 14:39:52.344 A Fatal signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x7587129f78 in tid 27517 (pool-10-thread-), pid 27351 (com.package.name) ---------------------------- PROCESS STARTED (28831) for package com.package.name ---------------------------- 14:39:52.807 A Cmdline: com.package.name 14:39:52.807 A pid: 27351, tid: 27517, name: pool-10-thread- >>> com.package.name <<< 14:39:52.807 A #00 pc 0000000000024f78 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk (offset 0x3228000) 14:39:52.807 A #01 pc 0000000000429a20 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13) 14:39:52.807 A #02 pc 00000000006d32c8 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13) 14:39:52.807 A #03 pc 0000000000428e04 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13) 14:39:52.807 A #04 pc 00000000003f4e80 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13) 14:39:52.807 A #05 pc 00000000003c8478 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (Java_io_realm_kotlin_internal_interop_realmcJNI_realm_1list_1get+28) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13) 14:39:52.807 A #13 pc 000000000031b5a0 [anon:dalvik-classes34.dex extracted in memory from /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!classes34.dex] (io.realm.kotlin.internal.PrimitiveListOperator.get+0) 14:39:52.807 A #58 pc 000000000004fe28 [anon:dalvik-classes12.dex extracted in memory from /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!classes12.dex] (com.package.domain.model.inventory.lastmile.LastMileInventoryElement.equals+0) 14:39:52.807 A #82 pc 0000000000051448 [anon:dalvik-classes12.dex extracted in memory from /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!classes12.dex] (com.package.domain.model.inventory.lastmile.LastMileInventory.equals+0) 14:39:52.807 A #93 pc 0000000000006eb8 [anon:dalvik-classes32.dex extracted in memory from /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!classes32.dex] (com.package.name.ui.orders.list.adapter.OrdersAdapter$OrderDiffCallback.areContentsTheSame+0) 14:39:52.807 A #98 pc 0000000000006ee8 [anon:dalvik-classes32.dex extracted in memory from /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!classes32.dex] (com.package.name.ui.orders.list.adapter.OrdersAdapter$OrderDiffCallback.areContentsTheSame+0) 14:39:52.807 A #108 pc 0000000000243ff8 [anon:dalvik-classes33.dex extracted in memory from /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!classes33.dex] (androidx.recyclerview.widget.DiffUtil$DiffResult.+0) 14:39:52.807 A #117 pc 00000000002446e4 [anon:dalvik-classes33.dex extracted in memory from /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!classes33.dex] (androidx.recyclerview.widget.DiffUtil.calculateDiff+0) 14:39:52.807 A #122 pc 000000000023fc48 [anon:dalvik-classes33.dex extracted in memory from /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!classes33.dex] (androidx.recyclerview.widget.AsyncListDiffer$1.run+0) ---------------------------- PROCESS ENDED (27351) for package com.package.name ---------------------------- ---------------------------- PROCESS ENDED (28831) for package com.package.name ---------------------------- ---------------------------- PROCESS STARTED (28856) for package com.package.name ---------------------------- 3: 15:00:46.318 E /Users/runner/work/realm-kotlin/realm-kotlin/packages/external/core/src/realm/alloc.hpp:565: [realm-core-14.12.0] Invalid ref translation entry [5944751649164559296, 78187493520, 38808, 0] !!! IMPORTANT: Please report this at https://github.com/realm/realm-core/issues/new/choose 15:00:46.318 A Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 29384 (pool-10-thread-), pid 28856 (com.package.name) 15:00:46.821 A Cmdline: com.package.name 15:00:46.821 A pid: 28856, tid: 29384, name: pool-10-thread- >>> com.package.name <<< 15:00:46.822 A #01 pc 00000000007738c0 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13) 15:00:46.822 A #02 pc 0000000000773b98 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13) 15:00:46.822 A #03 pc 0000000000773a60 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13) 15:00:46.822 A #04 pc 00000000007738d0 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13) 15:00:46.822 A #05 pc 0000000000420f4c /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13) 15:00:46.822 A #06 pc 0000000000420ec4 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13) 15:00:46.822 A #07 pc 0000000000455900 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13) 15:00:46.822 A #08 pc 00000000006701b4 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13) 15:00:46.822 A #09 pc 00000000004955fc /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13) 15:00:46.822 A #10 pc 000000000067f568 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13) 15:00:46.822 A #11 pc 00000000006d3ed0 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13) 15:00:46.822 A #12 pc 00000000006d2630 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13) 15:00:46.822 A #13 pc 00000000003f4da0 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13) 15:00:46.822 A #14 pc 00000000003c8328 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (Java_io_realm_kotlin_internal_interop_realmcJNI_realm_1list_1size+80) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13) 15:00:46.822 A #70 pc 000000000004fe28 [anon:dalvik-classes12.dex extracted in memory from /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!classes12.dex] (com.package.domain.model.inventory.lastmile.LastMileInventoryElement.equals+0) 15:00:46.822 A #94 pc 0000000000051448 [anon:dalvik-classes12.dex extracted in memory from /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!classes12.dex] (com.package.domain.model.inventory.lastmile.LastMileInventory.equals+0) 15:00:46.822 A #105 pc 0000000000006eb8 [anon:dalvik-classes32.dex extracted in memory from /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!classes32.dex] (com.package.name.ui.orders.list.adapter.OrdersAdapter$OrderDiffCallback.areContentsTheSame+0) 15:00:46.822 A #110 pc 0000000000006ee8 [anon:dalvik-classes32.dex extracted in memory from /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!classes32.dex] (com.package.name.ui.orders.list.adapter.OrdersAdapter$OrderDiffCallback.areContentsTheSame+0) 15:00:46.822 A #119 pc 00000000002443d0 [anon:dalvik-classes33.dex extracted in memory from /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!classes33.dex] (androidx.recyclerview.widget.DiffUtil$DiffResult.findMatchingItems+0) 15:00:46.822 A #124 pc 0000000000243ff8 [anon:dalvik-classes33.dex extracted in memory from /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!classes33.dex] (androidx.recyclerview.widget.DiffUtil$DiffResult.+0) 15:00:46.822 A #133 pc 00000000002446e4 [anon:dalvik-classes33.dex extracted in memory from /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!classes33.dex] (androidx.recyclerview.widget.DiffUtil.calculateDiff+0) 15:00:46.822 A #138 pc 000000000023fc48 [anon:dalvik-classes33.dex extracted in memory from /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!classes33.dex] (androidx.recyclerview.widget.AsyncListDiffer$1.run+0) ---------------------------- PROCESS ENDED (28856) for package com.package.name ---------------------------- ---------------------------- PROCESS STARTED (30478) for package com.package.name ---------------------------- ` Also created an issue in realm-kotlin repository https://github.com/realm/realm-kotlin/issues/1844
sync-by-unito[bot] commented 1 month ago

➤ PM Bot commented:

Jira ticket: RCORE-2261

jedelbo commented 1 month ago

The assertion we get indicates that the memory is somehow stale. The cookie that is printed (5944751649164559296) is not valid. This must be an error in the SDK or in the application itself. Closing.