firebase / firebase-ios-sdk

Firebase SDK for Apple App Development
https://firebase.google.com
Apache License 2.0
5.55k stars 1.45k forks source link

Getting `trace trap` when using `upload-symbols` #13420

Open msrutek-paylocity opened 1 month ago

msrutek-paylocity commented 1 month ago

Description

When trying to upload dSYM to Crashlytics on our CI machine, we get trace trap.

Enabling debug mode via

upload-symbols -ai REDACTED -p ios Redacted.app.dSYM.zip -d

we get

upload-symbols 3.16 build 35

Arguments:
Debug mode enabled
Google App ID: REDACTED
Platform: ios
DSYM Paths: ["/Users/ci/work/Redacted.app.dSYM.zip"]

Inspecting next path: /Users/ci/work/Redacted.app.dSYM.zip
Found archive at path: /Users/ci/work/Redacted.app.dSYM.zip
Inspecting next path: /var/folders/kv/xxrdyfss1d130vhwx0mf5stw0000gn/T///Users/ci/work/Redacted.app.dSYM.zip.unzipped/XXX.framework.dSYM
Found dSYM at path: /var/folders/kv/xxrdyfss1d130vhwx0mf5stw0000gn/T///Users/ci/work/Redacted.app.dSYM.zip.unzipped/XXX.framework.dSYM
Begin processing dSYM at /var/folders/kv/xxrdyfss1d130vhwx0mf5stw0000gn/T///Users/ci/work/Redacted.app.dSYM.zip.unzipped/XXX.framework.dSYM
[1]    18163 trace trap  -ai APP_ID -p ios  -d

✅ We've also tried using version 3.17 with no luck.

Is there any way to prevent this? Or can we get guidance on what could be causing this?

Thanks!

Reproducing the issue

No response

Firebase SDK Version

10.27.0

Xcode Version

15.4

Installation Method

N/A

Firebase Product(s)

Crashlytics

Targeted Platforms

iOS

Relevant Log Output

No response

google-oss-bot commented 1 month ago

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

JonathanPeterCole commented 1 month ago

I was having the same issue with Xcode 15.4 installed and found that updating to Xcode 16 Beta 4 fixed it for me. Our pipelines running Xcode 15.2 also seem to be unaffected.

rizafran commented 1 month ago

Hi @msrutek-paylocity, I'm wondering if the issue has resolved by following the suggestion in https://github.com/firebase/firebase-ios-sdk/issues/13420#issuecomment-2256094473? If not, please provide a complete error logs of the issue to investigate. Thanks.

msrutek-paylocity commented 1 month ago

@rizafran It seems to be working locally. However, this is not a solution we can deploy to our CI machine - as we need to push product builds regularly - and beta software can't be used for that.

msrutek-paylocity commented 3 weeks ago

Hello @rizafran , can we expect any update on this? Thanks!