summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-11-07 14:05:06 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-11-07 14:05:06 -0400
commit119fe5b931153a46a6d09356eb522195ea73e554 (patch)
tree82979e16ca8d28f7779a0d04ffc42084b4502a60
parent5433a5bb3093fe4d454a9fb58e29be0fd020d00e (diff)
respond; retitle
-rw-r--r--doc/bugs/Massive_git_add_produces_sqlite_crashes.mdwn1
-rw-r--r--doc/bugs/Massive_git_add_produces_sqlite_crashes/comment_1_6f4179fe22d85b4a51e4aad60c4ff00d._comment27
2 files changed, 28 insertions, 0 deletions
diff --git a/doc/bugs/Massive_git_add_produces_sqlite_crashes.mdwn b/doc/bugs/Massive_git_add_produces_sqlite_crashes.mdwn
index 8a18fe441..3e3d749a1 100644
--- a/doc/bugs/Massive_git_add_produces_sqlite_crashes.mdwn
+++ b/doc/bugs/Massive_git_add_produces_sqlite_crashes.mdwn
@@ -59,3 +59,4 @@ Oh yeah, I am still discovering this powerfull git annex tool.
In fact, collegues and I are forming a group during the process to exchange about different use cases, encountered problems and help each other.
+[[!meta title="sqlite crash on Windows running linux binary via WSL"]]
diff --git a/doc/bugs/Massive_git_add_produces_sqlite_crashes/comment_1_6f4179fe22d85b4a51e4aad60c4ff00d._comment b/doc/bugs/Massive_git_add_produces_sqlite_crashes/comment_1_6f4179fe22d85b4a51e4aad60c4ff00d._comment
new file mode 100644
index 000000000..e22ea1d93
--- /dev/null
+++ b/doc/bugs/Massive_git_add_produces_sqlite_crashes/comment_1_6f4179fe22d85b4a51e4aad60c4ff00d._comment
@@ -0,0 +1,27 @@
+[[!comment format=mdwn
+ username="joey"
+ subject="""comment 1"""
+ date="2017-11-07T17:48:28Z"
+ content="""
+There have been several bug reports with that same error message
+and different causes (permissions problems; filesystems on which sqlite
+doesn't work etc). So all that I know from the error is something went
+wrong with the sqlite database, which causes queries of it to fail.
+
+Using the linux version of git-annex on Winows via the (misleadingly named)
+"bash for windows" is pretty unusual. I have never seen it work; Microsoft
+were still adding missing linux system calls to their emulation layer the
+last time I tried it. It's quite possible that there remains a bug in that
+emulation layer, that prevents sqlite from working, or makes it unreliable,
+etc. I cannot reproduce the problem running git-annex on Linux.
+
+Note that since it's a v6 repository, running `git add` actually adds the
+files to git-annex. `git add` unfortunately runs `git-annex smudge` once
+per file. As you note, this is slow; this is one of the several reasons
+documented in [[todo/smudge]] why v6 mode is still considered experimental;
+and it will need changes in git to improve the speed).
+
+It would be useful to know if it's failing on the first file,
+or if several files get processed ok before it begins to fail.
+You could set `GIT_TRACE=1` in the environment to find out.
+"""]]