You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A customer reported a hang that BugSnag reports when our profiler is stopped while our SDK is not running. I was unable to reproduce the issue. The stack trace shows the following frames:
While investigating, I did notice that we potentially write a console log if stopping the thread fails, which contains a call to std::strerror:
and the docs state that strerror is not thread safe, recommending using strerror_r instead. I'm not sure that is what's happening here, however; I would expect to see something related in the stack trace. We will look into changing that over in any case: #4190
The text was updated successfully, but these errors were encountered:
Description
A customer reported a hang that BugSnag reports when our profiler is stopped while our SDK is not running. I was unable to reproduce the issue. The stack trace shows the following frames:
While investigating, I did notice that we potentially write a console log if stopping the thread fails, which contains a call to
std::strerror
:sentry-cocoa/Sources/Sentry/SentrySamplingProfiler.cpp
Lines 164 to 165 in b2fea10
and the docs state that strerror is not thread safe, recommending using strerror_r instead. I'm not sure that is what's happening here, however; I would expect to see something related in the stack trace. We will look into changing that over in any case: #4190
The text was updated successfully, but these errors were encountered: