I suggest to present code with line numbers unless it's just a couple of lines. Line 63 of _what you presented_ is 'echo "starting"' and I strongly doubt that is the problem.
- App crashes on Rpi4 works normal on desktop kodkuce
- App crashes on Rpi4 works normal on desktop kodkuce
- App crashes on Rpi4 works normal on desktop kodkuce
- App crashes on Rpi4 works normal on desktop moerm
