Jan Ekholm<p>I wonder if std::shared_ptr has issues with threads? I have a case where a pointer’s content is null, but it passes all checks for null on lines just before. So I get a crash when I use the content. Not seen this before. Happens regularly though, but only when accessed from another thread. </p><p><a href="https://toot.community/tags/cpp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cpp</span></a> <a href="https://toot.community/tags/crash" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>crash</span></a> <a href="https://toot.community/tags/null" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>null</span></a> <a href="https://toot.community/tags/boom" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>boom</span></a></p>