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

EXC_BAD_ACCESS Attempted to dereference garbage pointer 0x50 in RLMObjectBase.mm:727:46 #8718

Open
nalexn opened this issue Nov 21, 2024 · 0 comments

Comments

@nalexn
Copy link

nalexn commented Nov 21, 2024

How frequently does the bug occur?

Sometimes

Description

This crash has been around for years, I just figured it has never been reported. Hopefully it's an easy fix, as the location of the crash is known

RLMObjectBase.mm:727:46
Attempted to dereference garbage pointer 0x50.

Exception Type:     EXC_BAD_ACCESS 
Exception Subtype:  KERN_INVALID_ADDRESS

Stacktrace & log output

0  RealmSwift +0x467084       -[RLMObjectNotificationToken addNotificationBlock:threadSafeReference:config:keyPaths:queue:] (RLMObjectBase.mm:727:46)
1  RealmSwift +0x467a68       __RLMObjectBaseAddNotificationBlock_block_invoke (RLMObjectBase.mm:796:13)
2  libdispatch.dylib +0x236c  __dispatch_call_block_and_release
3  libdispatch.dylib +0x40cc  __dispatch_client_callout
4  libdispatch.dylib +0x129dc __dispatch_main_queue_drain
5  libdispatch.dylib +0x125f8 __dispatch_main_queue_callback_4CF
6  CoreFoundation +0x56200    ___CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
7  CoreFoundation +0x5343c    ___CFRunLoopRun
8  CoreFoundation +0x5282c    _CFRunLoopRunSpecific
9  GraphicsServices +0x11c0   _GSEventRunModal
10 UIKitCore +0x3d2eac        -[UIApplication _run]
11 UIKitCore +0x4815b0        _UIApplicationMain
12 appcontext +0x4eea38       main (AppDelegate.swift:20:21)
13 dyld +0x33ec4              start

Can you reproduce the bug?

No

Reproduction Steps

No response

Version

10.53.1

What Atlas Services are you using?

Local Database only

Are you using encryption?

No

Platform OS and version(s)

iOS 16 through 18

Build environment

Xcode version: 16.1
Dependency manager and version: SPM

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