KnoooW / naclports

Automatically exported from code.google.com/p/naclports
0 stars 0 forks source link

sqlite port does not work due to file locking failures #94

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,

I have tried the sqlite port, but it does not work. sqlite_exec fails when it 
tries to lock the database file. The failure happens inside unixFileLock() at 
line sqlite-autoconf-3071601/sqlite3.c:24301.

rc = osFcntl(pFile->h, F_SETLK, pLock); 

This call returns -1. Unfortunately gdb could not print the errno value in 
order to see the actual error.

You can find the full backtrace attached. I use pepper_31/Chrome 31 running on 
ArchLinux.

Original issue reported on code.google.com by chilons...@gmail.com on 2 Dec 2013 at 10:44

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by bradnelson@google.com on 4 Dec 2014 at 6:13

GoogleCodeExporter commented 9 years ago
This issue has been fixed:
- use dot-file locking by default (https://codereview.chromium.org/766053012/)
- fix a bad error code in HTML5 filesystem

Now sqlite should work correctly. Reopen the bug if it is not the case.

Original comment by sleg...@chromium.org on 18 Feb 2015 at 10:38