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

upload-symbols: Path to CoreSymbolication is invalid #14158

Open
murtaza64 opened this issue Nov 21, 2024 · 1 comment
Open

upload-symbols: Path to CoreSymbolication is invalid #14158

murtaza64 opened this issue Nov 21, 2024 · 1 comment

Comments

@murtaza64
Copy link

murtaza64 commented Nov 21, 2024

Description

upload-symbols fails in CI with the following:

2024-11-21 17:28:44.561 upload-symbols[24709:117185] Path to CoreSymbolication is invalid, aborting
scripts/build_phases/upload_dsyms_to_crashlytics.sh: line 52: 24708 Segmentation fault: 11  timeout 240 $upload_symbols -gsp "$plist_file" -p ios "$DWARF_DSYM_FOLDER_PATH"

This only happens on our CI machines, which are running Xcode 16 on MacOS 14.4.

Confirmed that /System/Library/PrivateFrameworks/CoreSymbolication is present both on CI and locally. Upload works perfectly fine on my developer laptop.

This only started happening after updating to Firebase SDK 11.5.0. On 10.24.0, we were getting something similar to #13420 in CI for the last several weeks (but the upload was working fine locally).

Reproducing the issue

Repro would probably involve using our specific CI machine and our specific project. I was able to repro the issue at the command line with a specific dSYM file by running this command:

Pods/FirebaseCrashlytics/upload-symbols -gsp $PROJECT_NAME/Supporting\ Files/Crashlytics/GoogleService-Info.plist -p ios ~/Goals.framework.dSYM -d

which produces:

upload-symbols 3.19 build 38

Arguments:
Debug mode enabled
Google App ID: 1:326059251541:ios:5f90ce541d26e8f4
Platform: ios
DSYM Paths: ["/Users/jenkins/Goals.framework.dSYM"]

Inspecting next path: /Users/jenkins/Goals.framework.dSYM
Found dSYM at path: /Users/jenkins/Goals.framework.dSYM
Begin processing dSYM at /Users/jenkins/Goals.framework.dSYM/Contents/Resources/DWARF/Goals
2024-11-21 18:17:20.255 upload-symbols[37901:200355] Path to CoreSymbolication is invalid, aborting
zsh: segmentation fault  Pods/FirebaseCrashlytics/upload-symbols -gsp  -p ios ~/Goals.framework.dSYM -

Also tried running this as root in case it was a permissions issue.

(although it succeeds when running locally)

Firebase SDK Version

11.5.0

Xcode Version

16.0

Installation Method

CocoaPods

Firebase Product(s)

Crashlytics

Targeted Platforms

iOS

Relevant Log Output

No response

Podfile.lock

Expand Podfile.lock snippet
PODS:
  - Ads-CN (6.4.1.0):
    - Ads-CN/BUAdSDK (= 6.4.1.0)
  - Ads-CN/BUAdSDK (6.4.1.0)
  - AppAuth (1.7.5):
    - AppAuth/Core (= 1.7.5)
    - AppAuth/ExternalUserAgent (= 1.7.5)
  - AppAuth/Core (1.7.5)
  - AppAuth/ExternalUserAgent (1.7.5):
    - AppAuth/Core
  - FBAudienceNetwork (6.15.1)
  - Firebase/CoreOnly (11.5.0):
    - FirebaseCore (= 11.5.0)
  - Firebase/Crashlytics (11.5.0):
    - Firebase/CoreOnly
    - FirebaseCrashlytics (~> 11.5.0)
  - FirebaseAnalytics (11.5.0):
    - FirebaseAnalytics/AdIdSupport (= 11.5.0)
    - FirebaseCore (= 11.5)
    - FirebaseInstallations (~> 11.0)
    - GoogleUtilities/AppDelegateSwizzler (~> 8.0)
    - GoogleUtilities/MethodSwizzler (~> 8.0)
    - GoogleUtilities/Network (~> 8.0)
    - "GoogleUtilities/NSData+zlib (~> 8.0)"
    - nanopb (~> 3.30910.0)
  - FirebaseAnalytics/AdIdSupport (11.5.0):
    - FirebaseCore (= 11.5)
    - FirebaseInstallations (~> 11.0)
    - GoogleAppMeasurement (= 11.5.0)
    - GoogleUtilities/AppDelegateSwizzler (~> 8.0)
    - GoogleUtilities/MethodSwizzler (~> 8.0)
    - GoogleUtilities/Network (~> 8.0)
    - "GoogleUtilities/NSData+zlib (~> 8.0)"
    - nanopb (~> 3.30910.0)
  - FirebaseAnalyticsOnDeviceConversion (11.5.0):
    - GoogleAppMeasurementOnDeviceConversion (= 11.5.0)
  - FirebaseCore (11.5.0):
    - FirebaseCoreInternal (= 11.5)
    - GoogleUtilities/Environment (~> 8.0)
    - GoogleUtilities/Logger (~> 8.0)
  - FirebaseCoreExtension (11.5.0):
    - FirebaseCore (= 11.5)
  - FirebaseCoreInternal (11.5.0):
    - "GoogleUtilities/NSData+zlib (~> 8.0)"
  - FirebaseCrashlytics (11.5.0):
    - FirebaseCore (= 11.5)
    - FirebaseInstallations (~> 11.0)
    - FirebaseRemoteConfigInterop (~> 11.0)
    - FirebaseSessions (~> 11.0)
    - GoogleDataTransport (~> 10.0)
    - GoogleUtilities/Environment (~> 8.0)
    - nanopb (~> 3.30910.0)
    - PromisesObjC (~> 2.4)
  - FirebaseInstallations (11.5.0):
    - FirebaseCore (= 11.5)
    - GoogleUtilities/Environment (~> 8.0)
    - GoogleUtilities/UserDefaults (~> 8.0)
    - PromisesObjC (~> 2.4)
  - FirebaseRemoteConfigInterop (11.5.0)
  - FirebaseSessions (11.5.0):
    - FirebaseCore (= 11.5)
    - FirebaseCoreExtension (= 11.5)
    - FirebaseInstallations (~> 11.0)
    - GoogleDataTransport (~> 10.0)
    - GoogleUtilities/Environment (~> 8.0)
    - GoogleUtilities/UserDefaults (~> 8.0)
    - nanopb (~> 3.30910.0)
    - PromisesSwift (~> 2.1)
  - Google-Mobile-Ads-SDK (11.5.0):
    - GoogleUserMessagingPlatform (>= 1.1)
  - GoogleAppMeasurement (11.5.0):
    - GoogleAppMeasurement/AdIdSupport (= 11.5.0)
    - GoogleUtilities/AppDelegateSwizzler (~> 8.0)
    - GoogleUtilities/MethodSwizzler (~> 8.0)
    - GoogleUtilities/Network (~> 8.0)
    - "GoogleUtilities/NSData+zlib (~> 8.0)"
    - nanopb (~> 3.30910.0)
  - GoogleAppMeasurement/AdIdSupport (11.5.0):
    - GoogleAppMeasurement/WithoutAdIdSupport (= 11.5.0)
    - GoogleUtilities/AppDelegateSwizzler (~> 8.0)
    - GoogleUtilities/MethodSwizzler (~> 8.0)
    - GoogleUtilities/Network (~> 8.0)
    - "GoogleUtilities/NSData+zlib (~> 8.0)"
    - nanopb (~> 3.30910.0)
  - GoogleAppMeasurement/WithoutAdIdSupport (11.5.0):
    - GoogleUtilities/AppDelegateSwizzler (~> 8.0)
    - GoogleUtilities/MethodSwizzler (~> 8.0)
    - GoogleUtilities/Network (~> 8.0)
    - "GoogleUtilities/NSData+zlib (~> 8.0)"
    - nanopb (~> 3.30910.0)
  - GoogleAppMeasurementOnDeviceConversion (11.5.0)
  - GoogleDataTransport (10.1.0):
    - nanopb (~> 3.30910.0)
    - PromisesObjC (~> 2.4)
  - GoogleMobileAdsMediationFacebook (6.15.1.0):
    - FBAudienceNetwork (= 6.15.1)
    - Google-Mobile-Ads-SDK (~> 11.0)
  - GoogleMobileAdsMediationIronSource (8.4.0.0.0):
    - Google-Mobile-Ads-SDK (~> 11.0)
    - IronSourceSDK (= 8.4.0.0)
  - GoogleMobileAdsMediationUnity (4.10.0.0):
    - Google-Mobile-Ads-SDK (~> 11.0)
    - UnityAds (= 4.10.0)
  - GoogleSignIn (6.2.4):
    - AppAuth (~> 1.5)
    - GTMAppAuth (~> 1.3)
    - GTMSessionFetcher/Core (< 3.0, >= 1.1)
  - GoogleUserMessagingPlatform (2.4.0)
  - GoogleUtilities/AppDelegateSwizzler (8.0.2):
    - GoogleUtilities/Environment
    - GoogleUtilities/Logger
    - GoogleUtilities/Network
    - GoogleUtilities/Privacy
  - GoogleUtilities/Environment (8.0.2):
    - GoogleUtilities/Privacy
  - GoogleUtilities/Logger (8.0.2):
    - GoogleUtilities/Environment
    - GoogleUtilities/Privacy
  - GoogleUtilities/MethodSwizzler (8.0.2):
    - GoogleUtilities/Logger
    - GoogleUtilities/Privacy
  - GoogleUtilities/Network (8.0.2):
    - GoogleUtilities/Logger
    - "GoogleUtilities/NSData+zlib"
    - GoogleUtilities/Privacy
    - GoogleUtilities/Reachability
  - "GoogleUtilities/NSData+zlib (8.0.2)":
    - GoogleUtilities/Privacy
  - GoogleUtilities/Privacy (8.0.2)
  - GoogleUtilities/Reachability (8.0.2):
    - GoogleUtilities/Logger
    - GoogleUtilities/Privacy
  - GoogleUtilities/UserDefaults (8.0.2):
    - GoogleUtilities/Logger
    - GoogleUtilities/Privacy
  - GTMAppAuth (1.3.1):
    - AppAuth/Core (~> 1.6)
    - GTMSessionFetcher/Core (< 3.0, >= 1.5)
  - GTMSessionFetcher/Core (2.3.0)
  - IronSourceSDK (8.4.0.0)
  - nanopb (3.30910.0):
    - nanopb/decode (= 3.30910.0)
    - nanopb/encode (= 3.30910.0)
  - nanopb/decode (3.30910.0)
  - nanopb/encode (3.30910.0)
  - PromisesObjC (2.4.0)
  - PromisesSwift (2.4.0):
    - PromisesObjC (= 2.4.0)
  - UnityAds (4.10.0)

DEPENDENCIES:
  - Ads-CN (= 6.4.1.0)
  - FBAudienceNetwork (= 6.15.1)
  - Firebase/Crashlytics (= 11.5.0)
  - FirebaseAnalytics (= 11.5.0)
  - FirebaseAnalyticsOnDeviceConversion (= 11.5.0)
  - Google-Mobile-Ads-SDK (= 11.5.0)
  - GoogleMobileAdsMediationFacebook (= 6.15.1)
  - GoogleMobileAdsMediationIronSource
  - GoogleMobileAdsMediationUnity (= 4.10.0)
  - GoogleSignIn (= 6.2.4)
  - GoogleUtilities/AppDelegateSwizzler
  - GoogleUtilities/Environment
  - GoogleUtilities/Logger
  - GoogleUtilities/MethodSwizzler
  - GoogleUtilities/Network
  - "GoogleUtilities/NSData+zlib"
  - GoogleUtilities/Privacy
  - GoogleUtilities/Reachability
  - GoogleUtilities/UserDefaults
  - UnityAds (= 4.10.0)

SPEC REPOS:
  trunk:
    - Ads-CN
    - AppAuth
    - FBAudienceNetwork
    - Firebase
    - FirebaseAnalytics
    - FirebaseAnalyticsOnDeviceConversion
    - FirebaseCore
    - FirebaseCoreExtension
    - FirebaseCoreInternal
    - FirebaseCrashlytics
    - FirebaseInstallations
    - FirebaseRemoteConfigInterop
    - FirebaseSessions
    - Google-Mobile-Ads-SDK
    - GoogleAppMeasurement
    - GoogleAppMeasurementOnDeviceConversion
    - GoogleDataTransport
    - GoogleMobileAdsMediationFacebook
    - GoogleMobileAdsMediationIronSource
    - GoogleMobileAdsMediationUnity
    - GoogleSignIn
    - GoogleUserMessagingPlatform
    - GoogleUtilities
    - GTMAppAuth
    - GTMSessionFetcher
    - IronSourceSDK
    - nanopb
    - PromisesObjC
    - PromisesSwift
    - UnityAds

SPEC CHECKSUMS:
  Ads-CN: 0ee655efd5a77b0f64248f18e7d5d107fd4768b2
  AppAuth: 501c04eda8a8d11f179dbe8637b7a91bb7e5d2fa
  FBAudienceNetwork: 80871c3b3057e89ab36d9eb79344be20377e3994
  Firebase: 7a56fe4f56b5ab81b86a6822f5b8f909ae6fc7e2
  FirebaseAnalytics: 2f4a11eeb7a0e9c6fcf642d4e6aaca7fa4d38c28
  FirebaseAnalyticsOnDeviceConversion: 22ad6e9411e28c3589bec95513559c76f5d4ad41
  FirebaseCore: 93abc05437f8064cd2bc0a53b768fb0bc5a1d006
  FirebaseCoreExtension: ddb2eb987f736b714d30f6386795b52c4670439e
  FirebaseCoreInternal: f47dd28ae7782e6a4738aad3106071a8fe0af604
  FirebaseCrashlytics: 94c11c3bf296fde8c18f2c9f8e76bd9349227038
  FirebaseInstallations: d8063d302a426d114ac531cd82b1e335a0565745
  FirebaseRemoteConfigInterop: 7a7aebb9342d53913a5c890efa88e289d9e5c1bc
  FirebaseSessions: b252b3f91a51186188882ea8e7e1730fc1eee391
  Google-Mobile-Ads-SDK: 7db2098033ad3bfcd72a11e7503b49700a93029e
  GoogleAppMeasurement: ee5c2d2242816773fbf79e5b0563f5355ef1c315
  GoogleAppMeasurementOnDeviceConversion: fb2634f256d999a7b3cf0662ff0d8cb085f3bb4f
  GoogleDataTransport: aae35b7ea0c09004c3797d53c8c41f66f219d6a7
  GoogleMobileAdsMediationFacebook: 7518dd4c3fd514f66525719a7b84e651ad1b4a39
  GoogleMobileAdsMediationIronSource: 108654d20042f4b632655c61dfec75abe9b8df3a
  GoogleMobileAdsMediationUnity: 144474b1e19b3b4a8b60cf3da8f0d9ca25d83597
  GoogleSignIn: 5651ce3a61e56ca864160e79b484cd9ed3f49b7a
  GoogleUserMessagingPlatform: f131fa7978d2ba88d7426702b057c2cc318e6595
  GoogleUtilities: 26a3abef001b6533cf678d3eb38fd3f614b7872d
  GTMAppAuth: 0ff230db599948a9ad7470ca667337803b3fc4dd
  GTMSessionFetcher: 3a63d75eecd6aa32c2fc79f578064e1214dfdec2
  IronSourceSDK: 557a0edad39c2a48a225af07b491c672ca5acd36
  nanopb: fad817b59e0457d11a5dfbde799381cd727c1275
  PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47
  PromisesSwift: 9d77319bbe72ebf6d872900551f7eeba9bce2851
  UnityAds: 5601f6397b0e02ed3ed6ee92827f5177a523aab6

PODFILE CHECKSUM: 442539ce1bed85b023065b6cbdc741f0a70e474e

COCOAPODS: 1.16.2

@google-oss-bot
Copy link

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

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