There is a bug in CTRE that causes the program to enter an infinite loop. See https://github.com/Gigamonkey-BSV/ctre-bug/blob/main/main.cpp for an example of an attempt to recognize a base 64 string that results in a seg fault.