fvdhoef / aquarius-plus

Official Aquarius+ repository
MIT License
40 stars 7 forks source link

Running Win emulator V0.32 and Running demos/ISS-Map/run-me.bas Produces Occasional Disk I/O errors #76

Open 1stage opened 1 month ago

1stage commented 1 month ago

While running the newest ISS-Map demo, it will usually run fine, but will occasionally get a "Disk I/O error" when running the main loop to re-pull the ISS-Map json data.

I will test on real hardware when I get home this evening.

1stage commented 1 month ago

Confirmed same behavior on HW

1stage commented 1 month ago

For hardware, in programs that make frequent http:// requests, eventually, a Disk I/O error is generated. Problem resets itself at a power cycle.

For the Windows emulator, the problem also eventually occurs as well. If the Disk I/O error isn't generated, then often the emulator becomes "frozen" or non-responsive. The whole system seems to start having issues, even if the emulator is quit. Only a system reboot seems to correct it.

RevCurtisP commented 1 month ago

Testing: Verified that the LOAD command closes the file handle when the load is complete, and the ESP32 info debug window in the emulator shows no files open between requests.

RevCurtisP commented 1 month ago

Testing with http://aquarius.plus/api/datetime.php

The Disk I/O Errors are most likely error responses from the server due to it being hammered with requests.