Armbian 21.08.1 Focal
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.2 LTS"
5.10.60-sunxi
Gets frozen after 10 min - 10h, while I run a bash script calling rather simple program written in C.
This GPS C program just reads GPS at /dev/ttyS2 at 9600bd
I have made a lot of work with the script and GPS-program having no luck but learned a lot.
Processor speed 480-1102MHz.
I took a photo of the frozen screen and made Google find this forum.
Here is the part of my script, which gets data from the GPS-program:
timeout 3 /home/bin/i2cLCD/gps >$TMPFILE &
pid=$!
echo "PID: $pid"
wait $pid
read uline < $TMPFILE