From ae80b1214ca8375e58e8206ba973a5239574d53c Mon Sep 17 00:00:00 2001 From: "asakurareiko@f3d908c71c009580228b264f63f21c7274df7476" Date: Thu, 21 Oct 2021 02:06:50 +0000 Subject: [PATCH] Added a comment --- ..._94d00ed84dfebebd7889fa861172df61._comment | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 doc/bugs/WSL_adjusted_braches__58___smudge_fails_with_sqlite_thread_crashed_-_locking_protocol/comment_11_94d00ed84dfebebd7889fa861172df61._comment 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 index 0000000000..b01e115845 --- /dev/null +++ b/doc/bugs/WSL_adjusted_braches__58___smudge_fails_with_sqlite_thread_crashed_-_locking_protocol/comment_11_94d00ed84dfebebd7889fa861172df61._comment @@ -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...) +``` +"""]] -- 2.30.2