MacOS 099 2017.5940 Crashes when deleting a Base Comp

TD is crashing when I try to delete a Base Comp which has errors inside. See crash report attached.
td-crash-report.rtf (88.1 KB)

It is crashing in a Text SOP. If this is reproducible, can you post the file or send it to support please?

Will post back if I can (reproduce it).