I did some further investigation, there is an error in my UDF that causes the SIGSEGV. This error then somehow seems to cause the error 126. I will probably find the error in the UDF after some more searching, but my problem is the 126 error as it makes debugging very tedious, because I have to close all programms and log off and back on my PC before trying something else.

I think the error 126 is somehow caused by the Rocky installation. I have not seen it before that and I tried on several PCs. 2 have Rocky installed and throw this error. One doesn't have a Rocky installation and also don't produce this error. Is there something modified by the Rocky installation that causes this behaviour?