Crash in processDefaultActor

I am getting a strange crash (see call stack in attached screenshot). I am looking for ideas/hints how to track down what the issue is?

Rearranging the coding a bit (moved coding into a function), it crashes now with this stack (see screenshot). Which leaves me clueless as well ;-).

Crash in processDefaultActor
 
 
Q