As title says. Possibly already fixed in 5.1 branch, by removing the f-string visitor.
Yes, child nodes of FormattedValue/JoinedString often (but not always?) have totally bogus ranges starting on line 0 or even -1. That caused any variables used to not be found, with all such errors appearing at the start of the file. (also crashes for visitors that assumed context ranges to be sane). Disabling the visitors stopped this, pending a real fix.