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

The stack frame entry point is incorrect #1547

Open
sindresorhus opened this issue Dec 6, 2021 · 9 comments
Open

The stack frame entry point is incorrect #1547

sindresorhus opened this issue Dec 6, 2021 · 9 comments

Comments

@sindresorhus
Copy link

Environment

SaaS (https://sentry.io/)

Version

Sentry Cocoa 7.5.2

Steps to Reproduce

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.

Screen Shot 2021-12-06 at 18 13 40

I can reproduce this with multiple apps on both macOS and iOS.

Another one: https://sentry.io/organizations/sindresorhus/issues/2833181729/events/4c1a55204ca04e07b7da235a41cfff8c/
Screen Shot 2021-12-06 at 18 15 56

@getsentry-release
Copy link
Collaborator

Routing to @getsentry/team-mobile for triage. ⏲️

@philipphofmann
Copy link
Member

Thanks for reporting this, @sindresorhus. I can reproduce this quickly. We have to investigate what is causing this.

@github-actions
Copy link

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 🥀

@sindresorhus
Copy link
Author

Please keep this open.

@sindresorhus
Copy link
Author

@bruno-garcia bruno-garcia mentioned this issue May 9, 2022
3 tasks
@philipphofmann philipphofmann moved this from Backlog to Needs Discussion in Mobile & Cross Platform SDK Mar 29, 2023
@philipphofmann philipphofmann changed the title The stack frame entry point is incorrect for SwiftUI app The stack frame entry point is incorrect Mar 29, 2023
@philipphofmann
Copy link
Member

Doesn't only happen for SwiftUI, also happens for the iOS-Swift sample app: https://sentry-sdks.sentry.io/issues/3607568922/events/7d47da9a7cb54db18fa384bcd5709a6d/

Screenshot 2023-03-29 at 14 10 55

@philipphofmann
Copy link
Member

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.

@sindresorhus
Copy link
Author

@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.

@philipphofmann
Copy link
Member

Thanks for the update, @sindresorhus. We increased the priority on our backlog for fixing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Needs Discussion
Development

No branches or pull requests

7 participants