What is happening
ROS tools close a bag so indexes are written. If recording ends unexpectedly, message chunks may precede an incomplete index. Reindexing can create a readable copy when structure permits, but damaged compressed chunks or truncated records can limit recovery.