1. Comment out the return statement in testEndlessRecursion() function and run debugger.
2. When it stops with a SIGSEGV look at a call stack and expand the last 20th item (...). Wait until it expands (gui freeze may happen).
3. Click "Stop" button and uncomment back the return statement in the same function.
4. Try to build the project now - it complains: