Skip to content

Crash on macOS 10.11 in isPlatformOrVariantPlatformVersionAtLeast #497

@MaxLeb

Description

@MaxLeb

Description

Since we updated to Sentry SDK 0.4.6, we are seing lots of crashes under macOS 10.11 in the function isPlatformOrVariantPlatformVersionAtLeast

When does the problem happen

  • During build
  • During run-time
  • When capturing a hard crash

Environment

  • OS: macOS 10.11
  • Compiler: Xcode 11.6
  • CMake version and config: -DCMAKE_OSX_DEPLOYMENT_TARGET=10.10 -DCMAKE_OSX_ARCHITECTURES=x86_64

Steps To Reproduce

On macOS 10.11, it seems to happen when calling cleanup

Log output

libsentry +0x43fff __isPlatformOrVariantPlatformVersionAtLeast.cold.1
libsentry +0x1506d sentry_envelope_serialize_ratelimited(src/sentry_sdk-0.4.6/src/sentry_envelope.c:341)
libsentry +0x1a053 sentry__prepare_http_request(src/sentry_sdk-0.4.6/src/sentry_transport.c:142)
libsentry +0x1e730 sentry__curl_send_task(src/sentry_sdk-0.4.6/src/transports/sentry_transport_curl.c:137)
libsentry +0x1959c worker_thread(src/sentry_sdk-0.4.6/src/sentry_sync.c:257)
libsentry +0x043fff __isPlatformOrVariantPlatformVersionAtLeast.cold.1
libsentry +0x013533 sentry_shutdown(src/sentry_sdk-0.4.6/src/sentry_core.c:200)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions