Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/tour: not rendering with file corrupted error message #46512

Closed
leighmcculloch opened this issue Jun 2, 2021 · 2 comments
Closed

x/tour: not rendering with file corrupted error message #46512

leighmcculloch opened this issue Jun 2, 2021 · 2 comments
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@leighmcculloch
Copy link
Contributor

leighmcculloch commented Jun 2, 2021

The tour.golang.org website appears to be broken in Firefox.

Screen Shot 2021-06-01 at 9 23 11 PM

I see the following errors in the console:

Exception { name: "NS_ERROR_FILE_CORRUPTED", message: "", result: 2152857611, filename: "https://tour.golang.org/script.js", lineNumber: 10805, columnNumber: 0, data: null, stack: "get@https://tour.golang.org/script.js:10805:45\n@https://tour.golang.org/script.js:10826:30\nd@https://tour.golang.org/script.js:633:127\nsb/l.$injector<@https://tour.golang.org/script.js:634:298\nc@https://tour.golang.org/script.js:631:479\nd@https://tour.golang.org/script.js:632:111\nj/</<@https://tour.golang.org/script.js:641:469\nn@https://tour.golang.org/script.js:611:192\nj/<@https://tour.golang.org/script.js:641:439\nd@https://tour.golang.org/script.js:633:127\nsb/l.$injector<@https://tour.golang.org/script.js:634:298\nc@https://tour.golang.org/script.js:631:479\nr@https://tour.golang.org/script.js:651:142\nW@https://tour.golang.org/script.js:645:344\nz@https://tour.golang.org/script.js:644:336\nz@https://tour.golang.org/script.js:644:447\nz@https://tour.golang.org/script.js:644:447\nP@https://tour.golang.org/script.js:643:115\nk@https://tour.golang.org/script.js:755:16\n$broadcast@https://tour.golang.org/script.js:695:240\ni/<@https://tour.golang.org/script.js:687:191\nh@https://tour.golang.org/script.js:682:437\nh@https://tour.golang.org/script.js:682:437\nthen/<@https://tour.golang.org/script.js:683:169\n$eval@https://tour.golang.org/script.js:693:272\n$digest@https://tour.golang.org/script.js:691:126\n$apply@https://tour.golang.org/script.js:693:431\ne@https://tour.golang.org/script.js:699:424\no@https://tour.golang.org/script.js:703:4\nXc/</s.onreadystatechange@https://tour.golang.org/script.js:704:132\n" }
Error: Circular dependency: syntaxCheckboxDirective
c@https://tour.golang.org/script.js:631:380
d@https://tour.golang.org/script.js:632:111
j/</<@https://tour.golang.org/script.js:641:469
n@https://tour.golang.org/script.js:611:192
j/<@https://tour.golang.org/script.js:641:439
d@https://tour.golang.org/script.js:633:127
sb/l.$injector<@https://tour.golang.org/script.js:634:298
c@https://tour.golang.org/script.js:631:479
r@https://tour.golang.org/script.js:651:142
W@https://tour.golang.org/script.js:645:344
z@https://tour.golang.org/script.js:644:336
z@https://tour.golang.org/script.js:644:447
z@https://tour.golang.org/script.js:644:447
z@https://tour.golang.org/script.js:644:447
z@https://tour.golang.org/script.js:644:447
P@https://tour.golang.org/script.js:643:115
k@https://tour.golang.org/script.js:755:16
$broadcast@https://tour.golang.org/script.js:695:240
i/<@https://tour.golang.org/script.js:687:191
h@https://tour.golang.org/script.js:682:437
h@https://tour.golang.org/script.js:682:437
then/<@https://tour.golang.org/script.js:683:169
$eval@https://tour.golang.org/script.js:693:272
$digest@https://tour.golang.org/script.js:691:126
$apply@https://tour.golang.org/script.js:693:431
e@https://tour.golang.org/script.js:699:424
o@https://tour.golang.org/script.js:703:4
Xc/</s.onreadystatechange@https://tour.golang.org/script.js:704:132

Clearing local storage fixed the main problem, the page renders, but sometimes I still see the file corrupted message in the console intermittently.

I'm not sure what data or how critical the data is the tour stores in local storage, but possibly there was a change made to the tour that has caused local storage to be interpreted in a way that it doesn't expect?

The last time I visited the tour was over 7 days ago, but less than 21 days ago, and in the last 7 days the following two commits were made, neither seem meaningful, except the second upgrading dependencies could suggest a change in dependency has subtly changed something.

  1. golang/tour@3891a3e
  2. golang/tour@fa9f4b9

It's also possible this is an isolated issue and for some reason my local storage was corrupt in some way.

@gopherbot gopherbot added this to the Unreleased milestone Jun 2, 2021
@leighmcculloch
Copy link
Contributor Author

Clearing local storage fixed the main problem, the page renders

I spoke too soon about this. Visiting the tour a second time after clearing local storage causes the problem to recur.

@ALTree ALTree added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Jun 2, 2021
@leighmcculloch
Copy link
Contributor Author

leighmcculloch commented Jun 5, 2021

This turned out to be a Firefox local storage corruption issue, unrelated to this specific website. The sqlite db that stores local storage data was corrupted.

@golang golang locked and limited conversation to collaborators Jun 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

3 participants