Skip to content

ThreadSanitizer data races #786

Closed as not planned
Closed as not planned
@rejuvenile

Description

@rejuvenile

How do you use Sentry?

Sentry SaaS (sentry.io)

SDK version

0.37.0

Steps to reproduce

Run simple Rust unit tests with Sentry and ThreadSanitizer enabled, e.g. -Zsanitizer=thread.

Expected result

No TSan races.

Actual result

...
SUMMARY: ThreadSanitizer: data race external/rules_rust++crate+crates__sentry-core-0.37.0/src/session.rs:229:28 in sentry_core::session::session_impl::SessionFlusher::new::_$u7b$$u7b$closure$u7d$$u7d$::h9df72737faa3d066
...
SUMMARY: ThreadSanitizer: data race /rustc/d5b4c2e4f19b6d7037371cdaecc3cc2c701c68df/library/alloc/src/sync.rs:2633:13 in _$LT$alloc..sync..Arc$LT$T$C$A$GT$$u20$as$u20$core..ops..drop..Drop$GT$::drop::h1fc845397ad95c9f

Metadata

Metadata

Assignees

Labels

BugSomething isn't workingRustSDK

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions