Error description:
Used iterator to erase element from a SafeMap lead to segmentation fault because of unvalidated access to memory address that was deleted from the Map. Seems that two threads are deleting the same read from the once_seen Map at the same time. Can be caused by MinKNOW sending two chunks of data from the same read directly after one another.
Issue resolved by using the key to erase the element from the map.
Error description: Used iterator to erase element from a SafeMap lead to segmentation fault because of unvalidated access to memory address that was deleted from the Map. Seems that two threads are deleting the same read from the once_seen Map at the same time. Can be caused by MinKNOW sending two chunks of data from the same read directly after one another.
Issue resolved by using the key to erase the element from the map.