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
SegmentAccessor::_segment is just a reference. In some cases, we seem to create accessors and let the shared_ptr to the segment expire. This can lead to the segment being deleted while the accessor is still existant.
Either fix those cases and make sure that the shared_ptr is held for long enough (might be difficult with ReferenceSegments) or simply make _segment a shared_ptr (and check the performance impact).
The text was updated successfully, but these errors were encountered:
SegmentAccessor::_segment
is just a reference. In some cases, we seem to create accessors and let the shared_ptr to the segment expire. This can lead to the segment being deleted while the accessor is still existant.Either fix those cases and make sure that the shared_ptr is held for long enough (might be difficult with ReferenceSegments) or simply make
_segment
a shared_ptr (and check the performance impact).The text was updated successfully, but these errors were encountered: