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

Application crash when using Realm logger with 'all' log level #6827

Closed
gagik opened this issue Aug 6, 2024 · 3 comments
Closed

Application crash when using Realm logger with 'all' log level #6827

gagik opened this issue Aug 6, 2024 · 3 comments
Assignees
Labels

Comments

@gagik
Copy link
Contributor

gagik commented Aug 6, 2024

How frequently does the bug occur?

Always

Description

When using log level all or trace, the application crashes, likely when trying to log functionality such as

realm.subscriptions.update((mutableSubs) => {...});

It is possible with more testing and the changes in realm/realm-core#7934, the issue can be resolved on a core upgrade. Core needs to be updated and tested.

Stacktrace & log output

No response

Can you reproduce the bug?

Always

Reproduction Steps

  1. Clone this repo
  2. Run yarn
  3. "NO_FLIPPER=1 pod install" (in "./ios")
  4. Use Realm.setLogLevel and Realm.setLogger in App.tsx

Version

12.12.0

What services are you using?

Both Atlas Device Sync and Atlas App Services

Are you using encryption?

No

Platform OS and version(s)

MacOS

Build environment

Which debugger for React Native: ..

Cocoapods version

No response

@gagik gagik added the T-Bug label Aug 6, 2024
Copy link

sync-by-unito bot commented Aug 6, 2024

➤ PM Bot commented:

Jira ticket: RJS-2878

Copy link

sync-by-unito bot commented Aug 19, 2024

➤ michael-wb commented:

This was likely fixed with RCORE-2213, which has been merged.
[~kraen.hansen@mongodb.com] - would you be able to verify?

@kraenhansen
Copy link
Member

Confirmed fixed with realm@12.13.1 (most likely by realm/realm-core#7934).

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants