Closed mihmoz closed 1 year ago
Thank you for testing the scanner images.
I have just checked the latest release and the scanner program does indeed crash on startup. I also noticed a similar issue with some other applications when upgrading to Alpine Linux 3.14 and GCC 10.3.
Looks like GCC 10.3 is doing something wrong when it optimizes access to the 8-bit configuration registers.
The easiest workaround at the moment is to recompile scanner.c
without the -O3
flag.
I will check if the problem persists with newer versions of Alpine Linux and GCC, and then I will try rearranging the configuration registers.
This bug is now fixed with this commit.
The fixed version of the scanner application is now in the new release.
Description of the setup:
Description of the problem:
Hi Pavel, I seem to run into an issue with the scanner images: The scanner.py application says "connection refused". nmap says port 1001 is not open. All scanner image versions after 20210701 are affected on my board. Previous versions seem to work. Dmesg on the RP with the affected image ends with these lines:
Steps to reproduce the problem: