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

Crashes during Realm initialization after packaging with Xcode 16. #8692

Open
JeremyHuang37 opened this issue Sep 29, 2024 · 6 comments
Open

Comments

@JeremyHuang37
Copy link

How frequently does the bug occur?

Sometimes

Description

img_v3_02f6_7476ce4d-ad7a-4c4e-9884-e2995258857g

Stacktrace & log output

No response

Can you reproduce the bug?

Sometimes

Reproduction Steps

No response

Version

10.49.2

What Atlas Services are you using?

Local Database only

Are you using encryption?

Yes

Platform OS and version(s)

iOS 16, iOS 17, iOS 18

Build environment

Xcode version: Xcode 16

Copy link

sync-by-unito bot commented Sep 29, 2024

➤ PM Bot commented:

Jira ticket: RCOCOA-2438

@Tonyhe666
Copy link

Version
10.40.2
The same issue
crash

@JeremyHuang37
Copy link
Author

Tonyhe666
Xcode 16?

@Tonyhe666
Copy link

Yes, it just started from Xcode 16.

@Tonyhe666
Copy link

Version 10.54.0
Xcode 16, everything is ok.

@SyedSaifAli
Copy link

Similar issue is happening with me as well on Realm version 10.49.2, Xcode Version 16.0
Although I am not able to reproduce it while testing

realm::Exception::what() const
EXC_BAD_ACCESS (KERN_PROTECTION_FAILURE)

Below is the log from crashlytics.

Crashed: com.apple.usernotifications.UNUserNotificationServiceConnection.call-out
0  app                          0x8bdac4 realm::Exception::what() const + 5086152
1  app                          0x4672d0 makeError(realm::Exception const&) + 188 (RLMError.mm:188)
2  app                          0x563cc0 RLMRealmTranslateException(NSError* __autoreleasing*) + 170 (RLMRealm.mm:170)
3  app                          0x5660c8 -[RLMRealm beginWriteTransactionWithError:] + 628 (RLMRealm.mm:628)
4  app                          0x36520 +[RealmHelper Write:] + 68 (RealmHelper.m:68)
5  app                          0x67f94 -[NotifManager setLatestReceivedWts:] + 254 (NotifManager.m:254)
6  app                          0x6712c __30-[NotifManager _publishNotif:]_block_invoke + 128 (NotifManager.m:128)
7  app                          0x677e0 __53-[NotifManager filterAndSortNotif:uniqueVehicles:cb:]_block_invoke + 184 (NotifManager.m:184)
8  libdispatch.dylib              0x2248 _dispatch_call_block_and_release + 32
9  libdispatch.dylib              0x3fa8 _dispatch_client_callout + 20
10 libdispatch.dylib              0xb5cc _dispatch_lane_serial_drain + 768
11 libdispatch.dylib              0xc158 _dispatch_lane_invoke + 432
12 libdispatch.dylib              0x1738c _dispatch_root_queue_drain_deferred_wlh + 288
13 libdispatch.dylib              0x16bd8 _dispatch_workloop_worker_thread + 540
14 libsystem_pthread.dylib        0x3680 _pthread_wqthread + 288
15 libsystem_pthread.dylib        0x1474 start_wqthread + 8

Any help on where to look?

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

3 participants