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

NS_ERROR_STORAGE_IOERR: Component returned failure code: 0x80630002 #637

Open
maxlath opened this issue Apr 15, 2014 · 3 comments
Open

NS_ERROR_STORAGE_IOERR: Component returned failure code: 0x80630002 #637

maxlath opened this issue Apr 15, 2014 · 3 comments

Comments

@maxlath
Copy link

maxlath commented Apr 15, 2014

Using Litewrite, remotestorage was without reason in Offline mode. I clicked the widget to trigger a reconnection and this triggered an error message on the widget (sorry I didn't take a capture) : something like "an error occur" with a button "get me out of here". This last "get me out of here" button triggers a prompt asking if it should erase all the data, an offer I promptly declined.

Then, all remote storage apps seem to suddenly have the same issues with the widget:
on litewrite.net and remotestorage-browser.5apps.com

NS_ERROR_STORAGE_IOERR: SQLite encountered an IO error remotestorage.js:2
NS_ERROR_STORAGE_IOERR: Component returned failure code: 0x80630002 (NS_ERROR_STORAGE_IOERR) [nsIDOMStorage.getItem] backbone.localstorage.js:23

on sharedstuff.org

Exception {message: "Component returned failure code: 0x80630002 (NS_ERROR_STORAGE_IOERR) [nsIDOMStorage.getItem]", result: 2153971714, name: "NS_ERROR_STORAGE_IOERR", filename: "http://sharedstuff.org/js/shared-stuff.min.js?version=8", lineNumber: 52, columnNumber: 0, inner: null, data: null} local-libs.min.js:91

Reloading, emptying the cache or restarting firefox doesn't fix the issue but everything is normal when I use another browser instance.

config: Firefox 29.0 (beta), Ubuntu 12.04 64-bit

any idea what it could be?

Edit: everything back to normal after a reboot. I had unusual disk (i-nodes) issues during the reboot but I don't see how it could relate.

@maxlath maxlath changed the title NS_ERROR_STORAGE_IOERR: Component returned failure code: 0x80630002 (NS_ERROR_STORAGE_IOERR) [nsIDOMStorage.getItem] NS_ERROR_STORAGE_IOERR: Component returned failure code: 0x80630002 Apr 15, 2014
@raucao
Copy link
Member

raucao commented Apr 15, 2014

Apparently Firefox's IndexedDB implementation on Linux is not very fault-tolerant. Not sure if we can do anything about that, because we already check for a working IndexedDB on load, and if it's there but throws errors like these, there's not so much we can do. :(

@michielbdejong
Copy link
Member

@maxlath the inodes issue will be what manifested itself as the SQLite I/O errors. The same would probably happen if the disk is full, or if hardware errors occur.

We should try to change the 'an error occurred' message to something mentioning the device hard disk in this case.

Thanks for reporting!

@raucao
Copy link
Member

raucao commented Apr 16, 2014

We should try to change the 'an error occurred' message to something mentioning the device hard disk in this case.

I don't think that's possible when Firefox craps out with native exceptions. Would be cool if we could catch it, but if it doesn't throw an appropriate JS exception, we're out of luck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants