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

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

Closed
alxgord opened this issue Oct 2, 2024 · 2 comments

Comments

@alxgord
Copy link

alxgord commented Oct 2, 2024

SDK and version

SDK : realm-lotlin
Version: 2.3.0

Observations

  • How frequent do the crash occur?
    Sometimes
  • Does it happen in production or during dev/test?
    Both
  • Can the crash be reproduced by you?
    No, just when I use the app in a common way
  • Can you provide instructions for how we can reproduce it?
  • No

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 #1 pc 0000000000af485c /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13)
14:16:58.438 A #2 pc 0000000000af59c0 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13)
14:16:58.438 A #3 pc 00000000006701b4 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13)
14:16:58.438 A #4 pc 00000000004955fc /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13)
14:16:58.438 A #5 pc 000000000067f568 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13)
14:16:58.438 A #6 pc 00000000006d3ed0 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13)
14:16:58.438 A #7 pc 00000000006d2630 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13)
14:16:58.438 A #8 pc 00000000003f4da0 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13)
14:16:58.438 A #9 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 #1 pc 0000000000429a20 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13)
14:39:52.807 A #2 pc 00000000006d32c8 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13)
14:39:52.807 A #3 pc 0000000000428e04 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13)
14:39:52.807 A #4 pc 00000000003f4e80 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13)
14:39:52.807 A #5 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 #1 pc 00000000007738c0 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13)
15:00:46.822 A #2 pc 0000000000773b98 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13)
15:00:46.822 A #3 pc 0000000000773a60 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13)
15:00:46.822 A #4 pc 00000000007738d0 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13)
15:00:46.822 A #5 pc 0000000000420f4c /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13)
15:00:46.822 A #6 pc 0000000000420ec4 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13)
15:00:46.822 A #7 pc 0000000000455900 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13)
15:00:46.822 A #8 pc 00000000006701b4 /data/app/~~o-Iu-hQ264XXtE7spjtv1g==/com.package.name-rjrP3CwnMU5n3ns9ltLoCQ==/base.apk!librealmc.so (offset 0x272c000) (BuildId: 1ef5346501405880e0bf39467915fc6c97b75c13)
15:00:46.822 A #9 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 realm/realm-kotlin#1844

Copy link

sync-by-unito bot commented Oct 2, 2024

➤ PM Bot commented:

Jira ticket: RCORE-2261

@jedelbo
Copy link
Contributor

jedelbo commented Oct 3, 2024

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.

@jedelbo jedelbo closed this as completed Oct 3, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 2, 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