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

Fatal C++ exceptions have missing stack trace #4226

Open
barisyild opened this issue Aug 2, 2024 · 1 comment
Open

Fatal C++ exceptions have missing stack trace #4226

barisyild opened this issue Aug 2, 2024 · 1 comment

Comments

@barisyild
Copy link

barisyild commented Aug 2, 2024

Platform

iOS

Environment

Production, Develop

Installed

Manually

Version

8.32.0

Xcode Version

15.4

Did it work on previous versions?

no

Steps to Reproduce

  1. Create mm file
  2. Throw C++ Exception (throw std::runtime_error("A runtime error occurred");)
  3. See Exception on Sentry

Expected Result

C++ exception details and stack trace should be included.

Actual Result

Image
Image

Not even the message is present in the exception; A runtime error occurred

Track for discord issue:
https://discord.com/channels/621778831602221064/1268690651659112579

Are you willing to submit a PR?

No response

@philipphofmann philipphofmann changed the title C++ exceptions not working Fatal C++ exceptions have missing stack trace Aug 2, 2024
@philipphofmann
Copy link
Member

I can reproduce this issue with our macOS sample app by throwing a fatal CPP Exception

throw std::invalid_argument("Invalid Argument.");

I went back to 8.22.0, but it didn't work back then. We have to investigate what the problem is.

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

No branches or pull requests

2 participants