Does anyone know what mistake I made?
I´m not able to solve it.

Can you post the code you wrote? In the call stack on the left scroll down until you reach the code you wrote…

You have a scope/lifetime issue… you’re trying to access an invalid object


could it be that you enter logAssertion, which in turn triggers an assert, which results in a recursive calling to logAssertion that ultimately leads to a filling up of the stack space?