The program works for every trace up to a certain point. There is
a bug when trying to print the CDB's that is producing a segfault
but this probably has to do with how I am erasing the cdb entries.
One thing to try is to add a valid and invalid entry to the cdb's
and not delete any of the entries.