Please describe the problem.
git-annex dies of signal 11 when syncing content with Box.
I noticed that the assistant stopped syncing after a few files, so I tried to sync manually through the terminal and saw the error.
What steps will reproduce the problem?
$ git annex sync box.com --content
commit ok
copy myfile1 (checking box.com...) (to box.com...)
ok
copy myfile2 (checking box.com...) (to box.com...)
ok
copy myfile3 (checking box.com...) (to box.com...)
ok
copy myfile4 (checking box.com...) (to box.com...)
ok
copy myfile5 (checking box.com...) error: git-annex died of signal 11
The number of files that are copied correctly is quite random, some times it syncs 200 files and other times only 2 or 3.
What version of git-annex are you using? On what operating system?
5.20141125 on Debian Sid (everything install from official packages)
Please provide any additional information below.
I don't know how to get more details of the problem, I haven't manage to get a more precise error activating logs or verbose mode, if there's anything I can do to debug the problem I'll be more than willing.
Well, a signal 11 can be caused by several different things, including some messed up pointer stuff in a C library, or just bad memory on your computer. I think a memory test would be a good first step.
If the memory checks clean, running git-annex in gdb and getting a stack trace after a crash may help.
I have exactly the same problem with Debian 11 and git-annex 8.20210223. In kernel.log I can see
I've done a memtest86 on my memory and nothing appended.
Oddly, I have another machin with same versions of OS and git-annex, but it does not reproduce the problem. The bigger difference between the two machines is that machine with problem run on ZFS. Is it possible that the problem comes from that?
Since the vast number of places git-annex runs do not have this problem, I don't think we can draw any conclusions about differences between your 2 machines.
Memory issue still seems like the most likely bet.
Are you able to reproduce the problem repeatedly?
Yes the problem occurs each time I want to do git annex get . on a repository with about 20 000 files.
As i say, I've perfom memtest86 (several times) and memtester (several times) without any problem. Do you think it could be hardware problem despite these results ?
You suggest using gdb. I get
Thread 1 "git-annex" received signal SIGSEGV, Segmentation fault. 0x0000000003c6be67 in ?? ()
(gdb) backtrace
0 0x0000000003c6be67 in ?? ()
1 0x0000000000000000 in ?? ()
which is not very helpful. Do you have any advices to investigate?