Root cause is that the binary fetches IP address and location information from a deprecated Ookla API, which returns errors and causes the stof (string-to-float) parser to throw an error – which is not caught. There's a pull request, which simply ignores this error in an empty try-catch block.
A proper fix would be to swap the entire endpoint and use a new parser but I'll wait for upstream to hopefully implement something before writing my own patch.
There's an issue in the SpeedTest binary used: https://github.com/taganaka/SpeedTest/issues/60
Root cause is that the binary fetches IP address and location information from a deprecated Ookla API, which returns errors and causes the
stof
(string-to-float) parser to throw an error – which is not caught. There's a pull request, which simply ignores this error in an empty try-catch block.A proper fix would be to swap the entire endpoint and use a new parser but I'll wait for upstream to hopefully implement something before writing my own patch.