Added a comment
authorasakurareiko@f3d908c71c009580228b264f63f21c7274df7476 <asakurareiko@web>
Thu, 21 Oct 2021 02:06:50 +0000 (02:06 +0000)
committeradmin <admin@branchable.com>
Thu, 21 Oct 2021 02:06:50 +0000 (02:06 +0000)
doc/bugs/WSL_adjusted_braches__58___smudge_fails_with_sqlite_thread_crashed_-_locking_protocol/comment_11_94d00ed84dfebebd7889fa861172df61._comment [new file with mode: 0644]

diff --git a/doc/bugs/WSL_adjusted_braches__58___smudge_fails_with_sqlite_thread_crashed_-_locking_protocol/comment_11_94d00ed84dfebebd7889fa861172df61._comment b/doc/bugs/WSL_adjusted_braches__58___smudge_fails_with_sqlite_thread_crashed_-_locking_protocol/comment_11_94d00ed84dfebebd7889fa861172df61._comment
new file mode 100644 (file)
index 0000000..b01e115
--- /dev/null
@@ -0,0 +1,46 @@
+[[!comment format=mdwn
+ username="asakurareiko@f3d908c71c009580228b264f63f21c7274df7476"
+ nickname="asakurareiko"
+ avatar="http://cdn.libravatar.org/avatar/a865743e357add9d15081840179ce082"
+ subject="comment 11"
+ date="2021-10-21T02:06:50Z"
+ content="""
+I found a new type of failure which occurs when there are new unlocked files in the index.
+
+```
+git init
+git annex init
+git config annex.crippledfilesystem true
+git config annex.addunlocked true
+touch a
+git annex add . # OK
+touch b
+git annex add . # 1 error
+touch c
+git annex add . # 2 errors
+```
+
+Something is happening to the files already in the index and the error is triggered once per file in the index.
+
+```
+add c
+ok
+sqlite worker thread crashed: user error (SQLite3 returned ErrorProtocol while attempting to perform prepare \"SELECT null from content limit 1\": locking protocol(while opening database connection))
+git-annex: sqlite query crashed: thread blocked indefinitely in an MVar operation
+CallStack (from HasCallStack):
+  error, called at ./Database/Handle.hs:102:40 in main:Database.Handle
+error: external filter 'git-annex smudge --clean -- %f' failed 1
+error: external filter 'git-annex smudge --clean -- %f' failed
+add a
+ok
+sqlite worker thread crashed: user error (SQLite3 returned ErrorProtocol while attempting to perform prepare \"SELECT null from content limit 1\": locking protocol(while opening database connection))
+git-annex: sqlite query crashed: thread blocked indefinitely in an MVar operation
+CallStack (from HasCallStack):
+  error, called at ./Database/Handle.hs:102:40 in main:Database.Handle
+error: external filter 'git-annex smudge --clean -- %f' failed 1
+error: external filter 'git-annex smudge --clean -- %f' failed
+add b
+ok
+(recording state in git...)
+```
+"""]]