firebase-ios-sdk: When using `upload-symbols` to upload dsyms to crashlytics, an error `No buffer space available` randomly shows that fails the upload

Description

Hi:

When using upload-symbols (3.13 build 32) to upload dsyms to crashlytics, an error No buffer space available randomly shows that fails the upload. The rate of failure is something like once every 10 attempts. The detailed error shows when passing debug = true to upload-symbols.

The script is running on an M1 machine with MacOS version 12.6.1 (21G217).

Reproducing the issue

Cannot reproduce it consistently

Firebase SDK Version

N/A

Xcode Version

13.4.1

Installation Method

Carthage

Firebase Product(s)

Infrastructure

Targeted Platforms

macOS

Relevant Log Output

▸ Uploading cSYM for uuid xxx, architecture arm64
▸ error: Failed uploading cSYMs due to error: Error Domain=com.google.firebase.crashlytics.FIRCLSCompoundOperation.error Code=4294967293 "(null)" UserInfo={com.google.firebase.crashlytics.FIRCLSCompoundOperation.error.user-info-key.underlying-errors=(
▸ "Error Domain=com.crashlytics.mac.error-domain.submit-csym Code=0 \"Failed to submit cSYM for architecture arm64 with uuid xxx in dSYM: /var/folders/yf/2brc_wmj2f3dg85skf9ypc_m0000gq/T///Users/.../MyApp.app.dSYM.zip.unzipped/MyApp.app.dSYM\" UserInfo={NSLocalizedFailureReason=Failed to submit cSYM for architecture arm64 with uuid xxx in dSYM: /var/folders/yf/2brc_wmj2f3dg85skf9ypc_m0000gq/T///Users/.../MyApp.app.dSYM.zip.unzipped/MyApp.app.dSYM, NSUnderlyingError=0x600076e34030 {Error Domain=NSPOSIXErrorDomain Code=55 \"No buffer space available\" UserInfo={_NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <1ADA85B6-6603-439C-8569-2B40F70FFF3B>.<6>, _kCFStreamErrorDomainKey=1, NSErrorPeerAddressKey=<CFData 0x600001f8dcc0 [0x1ea480000]>{length = 16, capacity = 16, bytes = 0x100201bbd83ad4ea0000000000000000}, _kCFStreamErrorCodeKey=55, _NSURLErrorRelatedURLSessionTaskErrorKey=(\n    \"LocalDataTask <1ADA85B6-6603-439C-8569-2B40F70FFF3B>.<6>\"\n)}}}"
▸ )}
▸ error: Could not complete submission of dSYM at /var/folders/yf/2brc_wmj2f3dg85skf9ypc_m0000gq/T///Users/MyApp.app.dSYM.zip.unzipped/MyApp.app.dSYM: Error Domain=com.google.firebase.crashlytics.FIRCLSCompoundOperation.error Code=4294967293 "(null)" UserInfo={com.google.firebase.crashlytics.FIRCLSCompoundOperation.error.user-info-key.underlying-errors=(
01:22:27   ▸ "Error Domain=com.crashlytics.mac.error-domain.submit-csym Code=0 \"Failed to submit cSYM for architecture arm64 with uuid xxx in dSYM: /var/folders/yf/2brc_wmj2f3dg85skf9ypc_m0000gq/T///Users/MyApp.app.dSYM.zip.unzipped/MyApp.app.dSYM\" UserInfo={NSLocalizedFailureReason=Failed to submit cSYM for architecture arm64 with uuid xxx in dSYM: /var/folders/yf/2brc_wmj2f3dg85skf9ypc_m0000gq/T///Users/.../MyApp.app.dSYM.zip.unzipped/MyApp.app.dSYM, NSUnderlyingError=0x600076e34030 {Error Domain=NSPOSIXErrorDomain Code=55 \"No buffer space available\" UserInfo={_NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <1ADA85B6-6603-439C-8569-2B40F70FFF3B>.<6>, _kCFStreamErrorDomainKey=1, NSErrorPeerAddressKey=<CFData 0x600001f8dcc0 [0x1ea480000]>{length = 16, capacity = 16, bytes = 0x100201bbd83ad4ea0000000000000000}, _kCFStreamErrorCodeKey=55, _NSURLErrorRelatedURLSessionTaskErrorKey=(\n    \"LocalDataTask <1ADA85B6-6603-439C-8569-2B40F70FFF3B>.<6>\"\n)}}}"
▸ )}
Exit status of command '/Users/.../upload-symbols -d -gsp /Users/.../GoogleService-Info.plist -p ios /Users/MyApp.app.dSYM.zip' was 8 instead of 0.
upload-symbols 3.13 build 32

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 22 (6 by maintainers)

Most upvoted comments

@acecilia Thanks for letting us know. I’ll close for now and we can reopen if it reoccurs.