8000 Crash: Assertion failed: ndx < m_size with (ndx, m_size) · Issue #8081 · realm/realm-core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Crash: Assertion failed: ndx < m_size with (ndx, m_size) #8081

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

Open
c128128 opened this issue Apr 21, 2025 · 0 comments
Open

Crash: Assertion failed: ndx < m_size with (ndx, m_size) #8081

c128128 opened this issue Apr 21, 2025 · 0 comments

Comments

@c128128
Copy link
c128128 commented Apr 21, 2025

SDK and version

SDK : Cocoa (Cocoa, Java, etc)
Version: 20.1.0

Observations

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

Crash log / stacktrace

/Users/admin/Library/Developer/Xcode/DerivedData/PasswordManager-gboprlrlsfoxpvdsaishpasrgzlu/SourcePackages/checkouts/realm-core/src/realm/array.hpp:722: [realm-core-20.1.0] Assertion failed: ndx < m_size with (ndx, m_size) =  [2, 0]
0   RealmSwift                          0x0000000104f35488 _ZN5realm4utilL18terminate_internalERNSt3__118basic_stringstreamIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE + 44
1   RealmSwift                          0x0000000104f35458 _ZN5realm4util19terminate_with_infoEPKcS2_lS2_OSt16initializer_listINS0_9PrintableEE + 332
2   RealmSwift                          0x00000001048dad78 _ZN5realm4util19terminate_with_infoIJRmRKmEEEvPKciS6_S6_DpOT_ + 184
3   RealmSwift                          0x00000001048dac50 _ZNK5realm5Array3getEm + 212
4   RealmSwift                          0x00000001048daea4 _ZNK5realm5Array20get_as_ref_or_taggedEm + 132
5   RealmSwift                          0x0000000104a8215c _ZN5realm5Group18validate_top_arrayERKNS_5ArrayERKNS_9SlabAllocENSt3__18optionalImEENS8_IyEE + 1200
6   RealmSwift                          0x0000000104a7ee4c _ZN5realm5Group6attachEmbbmy + 412
7   RealmSwift                          0x0000000104a82c90 _ZN5realm5Group13attach_sharedEmmbNS_9VersionIDE + 308
8   RealmSwift                          0x0000000104ebff1c _ZN5realm11TransactionC2ENSt3__110shared_ptrINS_2DBEEEPNS_9SlabAllocERNS3_12ReadLockInfoENS3_13TransactStageE + 368
9   RealmSwift                          0x0000000104ec02a4 _ZN5realm11TransactionC1ENSt3__110shared_ptrINS_2DBEEEPNS_9SlabAllocERNS3_12ReadLockInfoENS3_13TransactStageE + 60
10  RealmSwift                          0x0000000104a1f500 _ZN12_GLOBAL__N_120make_transaction_refIJNSt3__110shared_ptrIN5realm2DBEEEPNS3_9SlabAllocERNS4_12ReadLockInfoENS4_13TransactStageEEEENS2_INS3_11TransactionEEEDpOT_ + 128
11  RealmSwift                          0x0000000104a167e4 _ZN5realm2DB10start_readENS_9VersionIDE + 584
12  RealmSwift                          0x0000000104be3070 _ZN5realm5_impl16RealmCoordinator19run_async_notifiersEv + 660
13  RealmSwift                          0x0000000104be2cfc _ZN5realm5_impl16RealmCoordinator9on_changeEv + 60
14  RealmSwift                          0x0000000104b79e80 _ZN5realm5_impl20ExternalCommitHelper6listenEv + 836
15  RealmSwift                          0x0000000104b7a66c _ZZN5realm5_impl20ExternalCommitHelperC1ERNS0_16RealmCoordinatorERKNS_11RealmConfigEENK3$_0clEv + 44
16  RealmSwift                          0x0000000104b7a60c _ZNSt3__18__invokeB8de190102IZN5realm5_impl20ExternalCommitHelperC1ERNS2_16RealmCoordinatorERKNS1_11RealmConfigEE3$_0JEEEDTclclsr3stdE7declvalIT_EEspclsr3stdE7declvalIT0_EEEEOSA_DpOSB_ + 24
17  RealmSwift                          0x0000000104b7a5e8 _ZNSt3__116__thread_executeB8de190102INS_10unique_ptrINS_15__thread_structENS_14default_deleteIS2_EEEEZN5realm5_impl20ExternalCommitHelperC1ERNS7_16RealmCoordinatorERKNS6_11RealmConfigEE3$_0JEJEEEvRNS_5tupleIJT_T0_DpT1_EEENS_15__tuple_indicesIJXspT2_EEEE + 28
18  RealmSwift                          0x0000000104b7a2f8 _ZNSt3__114__thread_proxyB8de190102INS_5tupleIJNS_10unique_ptrINS_15__thread_structENS_14default_deleteIS3_EEEEZN5realm5_impl20ExternalCommitHelperC1ERNS8_16RealmCoordinatorERKNS7_11RealmConfigEE3$_0EEEEEPvSH_ + 84
19  libsystem_pthread.dylib             0x0000000100f6108c _pthread_start + 136
20  libsystem_pthread.dylib             0x0000000100f6af4c thread_start + 8

Steps & Code to Reproduce

Observations: I have two processes - the main app, which uses an encrypted instance of Realm, and an Autofill service that accesses the same database. I believe the issue might be related to encrypted interprocess Realm access.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant
0