Skip to content
This repository has been archived by the owner on May 18, 2022. It is now read-only.

Uncaught RangeError: Trying to access beyond buffer length #317

Open
KyleMaas opened this issue Jul 9, 2021 · 7 comments
Open

Uncaught RangeError: Trying to access beyond buffer length #317

KyleMaas opened this issue Jul 9, 2021 · 7 comments
Labels
bug Something isn't working

Comments

@KyleMaas
Copy link
Collaborator

KyleMaas commented Jul 9, 2021

Error during sync, after previously refreshing the page mid-sync:

Uncaught RangeError: Trying to access beyond buffer length
    at checkOffset (bundle-ui.js:53264)
    at Uint8Array.readUInt16LE (bundle-ui.js:53306)
    at Object.getDataNextOffset (bundle-ui.js:25410)
    at Stream._handleBlock (bundle-ui.js:25674)
    at Stream._resumeCallback (bundle-ui.js:25745)
    at Object.getBlock (bundle-ui.js:25364)
    at Stream._resume (bundle-ui.js:25736)
    at Stream._next (bundle-ui.js:80406)
    at Stream.resume (bundle-ui.js:25756)
    at bundle-ui.js:25517
@KyleMaas KyleMaas added the bug Something isn't working label Jul 9, 2021
@KyleMaas
Copy link
Collaborator Author

KyleMaas commented Jul 9, 2021

Tried refreshing the page again. Same error.

@KyleMaas
Copy link
Collaborator Author

KyleMaas commented Jul 9, 2021

And I just got this alert() box:

An exception was encountered trying to read the messages database. Please report this so we can try to fix it: RangeError: Trying to access beyond buffer length

@KyleMaas
Copy link
Collaborator Author

KyleMaas commented Jul 9, 2021

Yep, that seems to have just completely broken that instance. Can't load the Public tab anymore. It just sits there with the loading indicator up and never goes anywhere.

@arj03 Is there anything in that instance you'd need to figure out what's going on, or is it safe to clear that one out and rebuild it?

@arj03
Copy link
Owner

arj03 commented Jul 9, 2021

oh that is pretty bad. I'll try and see if I can reproduce, sadly we don't have the option of extracting the db.

@KyleMaas
Copy link
Collaborator Author

KyleMaas commented Jul 9, 2021

I'll note that I still get EBT debugging messages logged to the console (I have that enabled). So that's at least still trying to operate. But I can't access any messages.

@KyleMaas
Copy link
Collaborator Author

Are we in a spot where I can wipe this instance or should I keep it around yet?

@arj03
Copy link
Owner

arj03 commented Jul 11, 2021

Wiping is fine

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants