-
Notifications
You must be signed in to change notification settings - Fork 350
Description
binary: duplicacy_linux_x64_3.2.4
command: duplicacy -log check -storage default -r 80 -chunks -stats -threads 3 -persist
background: I'm attempting to verify chunks where I know data corruption has occurred. I planned to identify the chunks, delete them, and then copy the revision from another storage. Duplicacy fails after finding ~10 of the corrupted chunks.
log output
2025-03-26 06:10:55.181 INFO VERIFY_PROGRESS Verified chunk f28cfaf5e5f5696d73e36acb74da664a8ef6af87d2afd18765ad8a04aa4e6f4b (176676/1763138), 31.49MB/s 2 days 21:04:40 10.0%
2025-03-26 06:10:55.307 WARN DOWNLOAD_RETRY Failed to decrypt the chunk e4328aa7c472aed57c594687a60c37cfa711d5bc008e755bb9b88661276a0603: The storage doesn't seem to be encrypted; retrying
2025-03-26 06:10:55.318 INFO VERIFY_PROGRESS Verified chunk 1751fd7d401eac4bc4f4eb9950f6ef2b89823bfc7838abcf3a25ee29b28bd6fe (176677/1763138), 31.49MB/s 2 days 21:04:39 10.0%
runtime error: invalid memory address or nil pointer dereference
goroutine 9 [running]:
runtime/debug.Stack()
/usr/local/go/src/runtime/debug/stack.go:24 +0x5e
runtime/debug.PrintStack()
/usr/local/go/src/runtime/debug/stack.go:16 +0x13
github.com/gilbertchen/duplicacy/src.CatchLogException()
/Users/gchen/zincbox/duplicacy/src/duplicacy_log.go:233 +0xad
panic({0x10bde60?, 0x1cab260?})
/usr/local/go/src/runtime/panic.go:914 +0x21f
github.com/gilbertchen/duplicacy/src.(*Chunk).GetID(0xc00015c300)
/Users/gchen/zincbox/duplicacy/src/duplicacy_chunk.go:171 +0x31
github.com/gilbertchen/duplicacy/src.(*ChunkOperator).DownloadChunk(0xc00047c460, 0x51cf80?, {0x0, {0xc000e27300, 0x40}, {0xc01a78a2c0, 0x20}, 0x2b226, {0x0, 0x0}, ...})
/Users/gchen/zincbox/duplicacy/src/duplicacy_chunkoperator.go:435 +0xa16
github.com/gilbertchen/duplicacy/src.(*ChunkOperator).Run(0xc00047c460?, 0x1?, {0x0, {0xc000e27300, 0x40}, {0xc01a78a2c0, 0x20}, 0x2b226, {0x0, 0x0}, ...})
/Users/gchen/zincbox/duplicacy/src/duplicacy_chunkoperator.go:184 +0x1065
github.com/gilbertchen/duplicacy/src.CreateChunkOperator.func1(0x0?)
/Users/gchen/zincbox/duplicacy/src/duplicacy_chunkoperator.go:92 +0x91
created by github.com/gilbertchen/duplicacy/src.CreateChunkOperator in goroutine 1
/Users/gchen/zincbox/duplicacy/src/duplicacy_chunkoperator.go:87 +0x209
2025-03-26 06:10:55.438 WARN DOWNLOAD_RETRY Failed to decrypt the chunk 6f919f87d34771f7ae1ab2ca467f014a3f6eeffed86b29110ff8b719d39150a6: The storage doesn't seem to be encrypted; retrying
2025-03-26 06:10:55.442 WARN DOWNLOAD_RETRY The chunk 6f919f87d34771f7ae1ab2ca467f014a3f6eeffed86b29110ff8b719d39150a6 has a hash id of 907db7e77235b003ecbd28c7023ae3fa6f14652d2a50213dac57244cb9821e9a; retrying
2025-03-26 06:10:55.529 WARN DOWNLOAD_RETRY Failed to decrypt the chunk f1d9cd10e9642d0824c6b7bba73bd7b55597a705c1b91a83145f3817dd7cd266: The storage doesn't seem to be encrypted; retrying