Skip to content

Initialize and cleanup libcurl globally for thread safety - #235

Open
seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/curl-global-init-cleanup
Open

seer-by-sentry[bot] wants to merge 1 commit into
mainfrom
seer/curl-global-init-cleanup

Conversation

@seer-by-sentry

@seer-by-sentry seer-by-sentry Bot commented Jan 6, 2026

Copy link
Copy Markdown

Fixes CLIENT-1TE. The issue was that: Missing curl_global_init() caused a libcurl internal timing race condition, resulting in a division by zero crash during startup.

  • Added global initialization of libcurl (curl_global_init(CURL_GLOBAL_ALL)) during OnlineServicesManager initialization to ensure thread safety.
  • Added global cleanup of libcurl (curl_global_cleanup()) during OnlineServicesManager shutdown to release resources.

This fix was generated by Seer in Sentry, triggered automatically. 👁️ Run ID: 8222323

Not quite right? Click here to continue debugging with Seer.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants