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

[Bug]: Thread checker warning occurs during initialization "Looking up a symbol with RTLD_DEFAULT argument passed to dlsym on the main thread can cause slow launches. This is known to cause slow launches for your users." #152

Open
siparoma opened this issue Feb 19, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@siparoma
Copy link

siparoma commented Feb 19, 2025

Platform

iOS

Platform Version

iOS 18.0

Braze SDK Version

11.6.0

Xcode Version

Xcode 16.2

Computer Processor

Intel

Repro Rate

100%

Steps To Reproduce

Example:

  1. Initialize braze in func application( _ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? ) -> Bool
  2. Run the app.

Expected Behavior

The thread checker warning does not occur.

Actual Incorrect Behavior

Image A thread checker warning occurs.

Verbose Logs

Additional Information

Image
@siparoma siparoma added the bug Something isn't working label Feb 19, 2025
@siparoma siparoma changed the title [Bug]: Looking up a symbol with RTLD_DEFAULT argument passed to dlsym on the main thread can cause slow launches. This is known to cause slow launches for your users. [Bug]: Thread checker warning occurs during initialization "Looking up a symbol with RTLD_DEFAULT argument passed to dlsym on the main thread can cause slow launches. This is known to cause slow launches for your users." Feb 19, 2025
@lowip
Copy link
Collaborator

lowip commented Feb 21, 2025

Hi @siparoma,

Thank you for opening this issue, would you mind sharing a bit more information about your setup:

  1. Package Manager used (e.g. SwiftPM, CocoaPods, etc.)
  2. Repository used (see here)
  3. Are you integrating the Swift SDK directly or through one of our wrapper SDKs?

Best,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants