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

Seeing std::__1::basic_ostream<T>::sentry::sentry error on Android #4454

Closed
pranshuchittora opened this issue Jan 16, 2025 · 4 comments
Closed

Comments

@pranshuchittora
Copy link

What React Native libraries do you use?

React Navigation, Hermes

Are you using sentry.io or on-premise?

sentry.io (SaS)

@sentry/react-native SDK Version

5.35.0

How does your development environment look like?

OS: Mac
newArch: False

Sentry.init()

Sentry.init({
maxBreadcrumbs: 800,
maxValueLength: 1_000,
tracesSampleRate: 1
integrations: [
new Sentry.ReactNativeTracing({
idleTimeoutMs: 30_000,
finalTimeoutMs: 60_000,
}),
],
... other flags like env etc
});

Steps to Reproduce

Not sure as this is a native exception

Expected Result

No exception, in sentry SDK

Actual Result

Image Image
@krystofwoldrich
Copy link
Member

Hi @pranshuchittora,
thank you for the message.

@krystofwoldrich
Copy link
Member

@JoshuaMoelans @markushi

Based on the stack trace is this error in Sentry Native or are we on the top of the stack because we capture the error?

@krystofwoldrich krystofwoldrich moved this from Needs Discussion to Needs Investigation in Mobile & Cross Platform SDK Jan 17, 2025
@supervacuus
Copy link

Hi @krystofwoldrich 👋

Based on the stack trace is this error in Sentry Native or are we on the top of the stack because we capture the error?

This is neither. std::basic_ostream<CharT,Traits>::sentry is a class from the C++ standard library. It's an RAII helper that preps output streams. Any naming overlap with the company Sentry is by accident. It seems to seg-fault in the ctor, probably because the ostream it is called on is corrupted.

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 Jan 20, 2025
@kahest
Copy link
Member

kahest commented Jan 20, 2025

thanks @supervacuus for finding this! closing as it's not related to getsentry/sentry.io

@kahest kahest closed this as not planned Won't fix, can't repro, duplicate, stale Jan 20, 2025
@github-project-automation github-project-automation bot moved this from Needs Investigation to Done in Mobile & Cross Platform SDK Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Archived in project
Development

No branches or pull requests

4 participants