I am running the function only for debugging reasons. I can exclude other errors with this mothod. So I know that the crash must happen in the random-function itself.
The crash error is that:
"Crash in createPipes" ---(or other function name. It depends not on the function. I have tested it with a lot of easier functions, but the results are only confusing.