The stack frame entry point is incorrect
Environment
SaaS (https://sentry.io/)
Version
Sentry Cocoa 7.5.2
Steps to Reproduce
- Go to: https://sentry.io/organizations/sindresorhus/issues/2833675135/events/8f9b4afd74da49fbb3e3fef911c4433e/
Expected Result
I expected the entry point stack frame to show the correct filename.
Actual Result
It seemingly shows a random filename. It's definitely not correct. The entry point file is named App.swift.
I can reproduce this with multiple apps on both macOS and iOS.
Another one: https://sentry.io/organizations/sindresorhus/issues/2833181729/events/4c1a55204ca04e07b7da235a41cfff8c/

Routing to @getsentry/team-mobile for triage. ⏲️
Thanks for reporting this, @sindresorhus. I can reproduce this quickly. We have to investigate what is causing this.
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀
Please keep this open.
Another example: https://sentry.io/organizations/sindresorhus/issues/3025018889/events/30edbfd0224d4d2f98ad3d2139c49370/
Doesn't only happen for SwiftUI, also happens for the iOS-Swift sample app: https://sentry-sdks.sentry.io/issues/3607568922/events/7d47da9a7cb54db18fa384bcd5709a6d/
It could be that we don't have to fix this in the SDK, but we should fix this in Sentry by maybe even just hiding this unknown stack frame as it's before main.
@philipphofmann It's not just the unknown one though. The first frame after that is sometimes incorrect too, as shown in the screenshots in the issue description.
Thanks for the update, @sindresorhus. We increased the priority on our backlog for fixing this.