Duke the Java Mascot appears as the harbinger of testrun crash

I’ve noticed on my macbook pro that Duke the Java Mascot icon will suddenly appear either before, during, or after my TestProject agent will crash on a test run. The report will reflect what step it crashed at or display the report as an error. Has anyone ran into this issue and found the core reason why it occurs?