New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to create lock in backend: repository is already locked #1450

Closed
jobcespedes opened this Issue Nov 28, 2017 · 7 comments

Comments

Projects
None yet
4 participants
@jobcespedes
Copy link

jobcespedes commented Nov 28, 2017

Output of restic version

restic 0.8.0
compiled with go1.9 on linux/amd64

How did you run restic exactly?

restic -r /path/to/repository/external/drive backup "/path/to/source"
# crash after errors
restic -r /path/to/repository/external/drive backup "/path/to/source"
# success
restic -r /path/to/repository/external/drive check
# unable to create lock
restic -r /path/to/repository/external/drive check --no-lock
# Fatal: repository contains errors

What backend/server/service did you use to store the repository?

local to an external usb drive

Expected behavior

Restic to have error handling and correct previous backup.
After new successfully backup, no message of "unable to create lock in backend: repository is already locked by PID..."
A way to repair errors output by check --no-lock

Actual behavior

  • "unable to create lock in backend: repository is already locked by PID 11327"
  • "Fatal: repository contains errors"

Steps to reproduce the behavior

I ran a backup with:

restic -r /path/to/repository/external/drive backup "/path/to/source"

The backup failed (external drive seemed to be disconnected), so I ran the same command again, then it finished without errors. Now when I check the repository I get: "unable to create lock in backend: repository is already locked by PID 11327" There is no PID 11327 according to ps aux | grep 11327

restic -r /path/to/repository/external/drive check

If running check --no-lock there are some not referenced in any indexentries and Fatal: repository contains errors

restic -r /path/to/repository/external/drive check --no-lock

When I run

restic -r /path/to/repository/external/drive prune
restic -r /path/to/repository/external/drive rebuild-index

Both commands output "unable to create lock in backend: repository is already locked by PID 11327"

Do you have any idea what may have caused this?

Errors when first run backup?

Do you have an idea how to solve the issue?

No

@jobcespedes

This comment has been minimized.

Copy link

jobcespedes commented Nov 28, 2017

Hi,

I didn't know about unlock. After using it, I could run check, rebuild-index and prune. Maybe it is a good idea to have it in the doc. I still don’t know how to proceed with check errors. Should I forget the snapshot and run a backup again (150GB)?

When I run rebuild-index I still get errors when check

enter password for repository: 
password is correct
create exclusive lock for repository
load indexes
check all packs
pack 15e08d547c2e7c08f68500a8a9b1a9a19d56af4e5b1495a085fc0c7fa90e89bc: not referenced in any index
pack 3f500081f7b1d065db2c62c4326d4b2e2f7ad784761cf04dfa6b1b50d28fdc8e: not referenced in any index
pack 7c2e9c4cd4d0650b103e033f3b46a23d5ba3622b80ce5cce099e891ce00a3fb8: not referenced in any index
pack 7c5f29c0a52e365bb04501ed979df8affce55e39a417e80425af7d17a37fc7ba: not referenced in any index
pack d67fe6313fb94a299984afd54b4eaacdd49e2d58ddbc38a05619b7289f17df1b: not referenced in any index
pack edb04c119017a7aee442221dd8dc6ab5348f26a06dea1efdbb5491258e50d29f: not referenced in any index
check snapshots, trees and blobs
Fatal: repository contains errors
@jobcespedes

This comment has been minimized.

Copy link

jobcespedes commented Nov 28, 2017

prune took care of remain "not referenced in any index" when check. To sum up:

restic -r /path/to/repository/external/drive unlock
# release previous lock
restic -r /path/to/repository/external/drive check
# Return some "not referenced in any index"
restic -r /path/to/repository/external/drive rebuild-index
# rebuild index 
restic -r /path/to/repository/external/drive check
# return a few  "not referenced in any index"
restic -r /path/to/repository/external/drive prune
# remove those few incomplete packs
restic -r /path/to/repository/external/drive check
# no errors were found
@fd0

This comment has been minimized.

Copy link
Member

fd0 commented Nov 28, 2017

Hey, glad you figured it out. restic will hint at the unlock command when a stale (=old) lock is detected.

This was indeed caused by a lock left by the first run of restic, the one which was terminated by the disconnected drive. The "not referenced in index" messages were probably also caused by the unfinished backup.

@xikaos

This comment has been minimized.

Copy link

xikaos commented Jul 24, 2018

I'm developing a script to automate restic pushing to S3 and then mailing me if the push fails. To simulate a condition where it would fail on push/check, I deleted a random folder in the data directory in the S3 bucket and to my surprise, the out of memory error started to happen.

Since the bucket content was only for test purposes, I deleted everything in the bucket and re-initialized the repo. The error stopped. I'm running version 0.8.3+ds-1.

Anyway, here is the stacktrace from the error, maybe can be helpful:

runtime stack:
runtime.throw(0xac63e9, 0x16)
	/usr/lib/go-1.10/src/runtime/panic.go:619 +0x81
runtime.sysMap(0xc439e20000, 0x720000, 0x0, 0xe46278)
	/usr/lib/go-1.10/src/runtime/mem_linux.go:216 +0x20a
runtime.(*mheap).sysAlloc(0xe2cb00, 0x720000, 0x7ff9bbd561b0)
	/usr/lib/go-1.10/src/runtime/malloc.go:470 +0xd4
runtime.(*mheap).grow(0xe2cb00, 0x389, 0x0)
	/usr/lib/go-1.10/src/runtime/mheap.go:907 +0x60
runtime.(*mheap).allocSpanLocked(0xe2cb00, 0x389, 0xe46288, 0x7ffd3de035a0)
	/usr/lib/go-1.10/src/runtime/mheap.go:820 +0x301
runtime.(*mheap).alloc_m(0xe2cb00, 0x389, 0x410101, 0xc41ffe10ff)
	/usr/lib/go-1.10/src/runtime/mheap.go:686 +0x118
runtime.(*mheap).alloc.func1()
	/usr/lib/go-1.10/src/runtime/mheap.go:753 +0x4d
runtime.(*mheap).alloc(0xe2cb00, 0x389, 0x7ffd3d010101, 0x415d7c)
	/usr/lib/go-1.10/src/runtime/mheap.go:752 +0x8a
runtime.largeAlloc(0x7117c3, 0x450101, 0x7ff9bbda9000)
	/usr/lib/go-1.10/src/runtime/malloc.go:826 +0x94
runtime.mallocgc.func1()
	/usr/lib/go-1.10/src/runtime/malloc.go:721 +0x46
runtime.systemstack(0x0)
	/usr/lib/go-1.10/src/runtime/asm_amd64.s:409 +0x79
runtime.mstart()
	/usr/lib/go-1.10/src/runtime/proc.go:1170

goroutine 543 [running]:
runtime.systemstack_switch()
	/usr/lib/go-1.10/src/runtime/asm_amd64.s:363 fp=0xc420235798 sp=0xc420235790 pc=0x455ae0
runtime.mallocgc(0x7117c3, 0x9bba40, 0xc420586001, 0x1)
	/usr/lib/go-1.10/src/runtime/malloc.go:720 +0x8a2 fp=0xc420235838 sp=0xc420235798 pc=0x412352
runtime.makeslice(0x9bba40, 0x7117c3, 0x7117c3, 0x52fb01, 0xb38040, 0xc42007c210)
	/usr/lib/go-1.10/src/runtime/slice.go:61 +0x77 fp=0xc420235868 sp=0xc420235838 pc=0x441897
github.com/restic/restic/internal/crypto.sliceForAppend(...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/crypto/crypto.go:272
github.com/restic/restic/internal/crypto.(*Key).Seal(0xc420586000, 0xc422cac000, 0x10, 0x80000, 0xc4203d8780, 0x10, 0x10, 0xc425168000, 0x7117a3, 0x936000, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/crypto/crypto.go:303 +0x332 fp=0xc420235930 sp=0xc420235868 pc=0x6dba42
github.com/restic/restic/internal/repository.(*Repository).SaveAndEncrypt(0xc420156d20, 0xb3f580, 0xc420067380, 0xc420235a01, 0xc425168000, 0x7117a3, 0x936000, 0xc420235c10, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:224 +0x285 fp=0xc420235a98 sp=0xc420235930 pc=0x75b005
github.com/restic/restic/internal/repository.(*Repository).SaveBlob(0xc420156d20, 0xb3f580, 0xc420067380, 0x96603cbb8c7d4801, 0xc425168000, 0x7117a3, 0x936000, 0xde9297175f672a37, 0x9f98a2c5b3a09b27, 0x96603cbb8c7d4801, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:611 +0x154 fp=0xc420235bd8 sp=0xc420235a98 pc=0x75e244
github.com/restic/restic/internal/archiver.(*Archiver).Save(0xc4200685a0, 0xb3f580, 0xc420067380, 0xde9297175f672a01, 0xc425168000, 0x7117a3, 0x936000, 0xde9297175f672a37, 0x9f98a2c5b3a09b27, 0x96603cbb8c7d4801, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:105 +0x1e2 fp=0xc420235e08 sp=0xc420235bd8 pc=0x7065f2
github.com/restic/restic/internal/archiver.(*Archiver).saveChunk(0xc4200685a0, 0xb3f580, 0xc420067380, 0x5549ada, 0x7117a3, 0x1973440d900000, 0xc425168000, 0x7117a3, 0x936000, 0xc4200b6f20, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:170 +0x135 fp=0xc420235f78 sp=0xc420235e08 pc=0x707165
runtime.goexit()
	/usr/lib/go-1.10/src/runtime/asm_amd64.s:2361 +0x1 fp=0xc420235f80 sp=0xc420235f78 pc=0x458671
created by github.com/restic/restic/internal/archiver.(*Archiver).SaveFile
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:249 +0x3eb

goroutine 1 [semacquire]:
sync.runtime_Semacquire(0xc42064157c)
	/usr/lib/go-1.10/src/runtime/sema.go:56 +0x39
sync.(*WaitGroup).Wait(0xc420641570)
	/usr/lib/go-1.10/src/sync/waitgroup.go:129 +0x72
github.com/restic/restic/internal/archiver.(*Archiver).Snapshot(0xc4200685a0, 0xb3f580, 0xc420067380, 0xc4200b6f20, 0xc4201de0c0, 0x1, 0x1, 0x0, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:759 +0x790
main.runBackup(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/cmd/restic/cmd_backup.go:477 +0xa9a
main.glob..func2(0xe1d660, 0xc4201aeb70, 0x1, 0x3, 0x0, 0x0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/cmd/restic/cmd_backup.go:49 +0x17b
github.com/spf13/cobra.(*Command).execute(0xe1d660, 0xc420067500, 0x3, 0x4, 0xe1d660, 0xc420067500)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/spf13/cobra/command.go:698 +0x46d
github.com/spf13/cobra.(*Command).ExecuteC(0xe1e540, 0xc420197e00, 0x441b15, 0xc4201de020)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/spf13/cobra/command.go:783 +0x2e4
github.com/spf13/cobra.(*Command).Execute(0xe1e540, 0x24, 0xc420197eb8)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/spf13/cobra/command.go:736 +0x2b
main.main()
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/cmd/restic/main.go:69 +0x1d6

goroutine 5 [syscall]:
os/signal.signal_recv(0x0)
	/usr/lib/go-1.10/src/runtime/sigqueue.go:139 +0xa6
os/signal.loop()
	/usr/lib/go-1.10/src/os/signal/signal_unix.go:22 +0x22
created by os/signal.init.0
	/usr/lib/go-1.10/src/os/signal/signal_unix.go:28 +0x41

goroutine 6 [chan receive]:
github.com/restic/restic/internal/restic.init.0.func1.1()
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/restic/lock.go:266 +0xef
created by github.com/restic/restic/internal/restic.init.0.func1
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/restic/lock.go:263 +0x35

goroutine 7 [select, locked to thread]:
runtime.gopark(0xae7a70, 0x0, 0xab9c65, 0x6, 0x18, 0x1)
	/usr/lib/go-1.10/src/runtime/proc.go:291 +0x11a
runtime.selectgo(0xc420040f50, 0xc420072240)
	/usr/lib/go-1.10/src/runtime/select.go:392 +0xe50
runtime.ensureSigM.func1()
	/usr/lib/go-1.10/src/runtime/signal_unix.go:549 +0x1f4
runtime.goexit()
	/usr/lib/go-1.10/src/runtime/asm_amd64.s:2361 +0x1

goroutine 8 [chan receive]:
github.com/restic/restic/internal/restic.init.2.func1(0xc420072180)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/restic/progress_unix.go:17 +0xa3
created by github.com/restic/restic/internal/restic.init.2
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/restic/progress_unix.go:16 +0xab

goroutine 9 [chan receive]:
main.CleanupHandler(0xc4200724e0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/cmd/restic/cleanup.go:62 +0x5d
created by main.init.0
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/cmd/restic/cleanup.go:24 +0x6d

goroutine 48 [select]:
main.refreshLocks(0xe26080, 0xc4203e79e0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/cmd/restic/lock.go:72 +0x221
created by main.lockRepository
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/cmd/restic/lock.go:49 +0x373

goroutine 523 [semacquire]:
sync.runtime_SemacquireMutex(0xc42006691c, 0xc4203d8200)
	/usr/lib/go-1.10/src/runtime/sema.go:71 +0x3d
sync.(*Mutex).Lock(0xc420066918)
	/usr/lib/go-1.10/src/sync/mutex.go:134 +0x108
github.com/restic/restic/internal/repository.(*packerManager).findPacker(0xc420066900, 0x0, 0x0, 0x0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/packer_manager.go:54 +0x54
github.com/restic/restic/internal/repository.(*Repository).SaveAndEncrypt(0xc420156d20, 0xb3f580, 0xc420067380, 0x42aa01, 0xc422098000, 0x7118c1, 0x75e000, 0xc420051c10, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:238 +0x2da
github.com/restic/restic/internal/repository.(*Repository).SaveBlob(0xc420156d20, 0xb3f580, 0xc420067380, 0x3ba8feef111d6601, 0xc422098000, 0x7118c1, 0x75e000, 0x6f9ebdd94ca00895, 0x2fcc6820b5525884, 0x3ba8feef111d6614, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:611 +0x154
github.com/restic/restic/internal/archiver.(*Archiver).Save(0xc4200685a0, 0xb3f580, 0xc420067380, 0x6f9ebdd94ca00801, 0xc422098000, 0x7118c1, 0x75e000, 0x6f9ebdd94ca00895, 0x2fcc6820b5525884, 0x3ba8feef111d6614, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:105 +0x1e2
github.com/restic/restic/internal/archiver.(*Archiver).saveChunk(0xc4200685a0, 0xb3f580, 0xc420067380, 0x5549d83, 0x7118c1, 0x1973440d900000, 0xc422098000, 0x7118c1, 0x75e000, 0xc4200b6f20, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:170 +0x135
created by github.com/restic/restic/internal/archiver.(*Archiver).SaveFile
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:249 +0x3eb

goroutine 505 [select]:
net/http.(*persistConn).roundTrip(0xc4201f06c0, 0xc420242ff0, 0x0, 0x0, 0x0)
	/usr/lib/go-1.10/src/net/http/transport.go:2033 +0x5a7
net/http.(*Transport).RoundTrip(0xc42010b3b0, 0xc420120900, 0xb3c5e0, 0xc420648f80, 0xc420642a60)
	/usr/lib/go-1.10/src/net/http/transport.go:422 +0x8f2
github.com/restic/restic/internal/limiter.staticLimiter.roundTripper(0x0, 0x0, 0xb38b60, 0xc42010b3b0, 0xc420120900, 0x51866ef, 0xffffffffffffffff, 0x0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/limiter/static_limiter.go:59 +0x6b
github.com/restic/restic/internal/limiter.staticLimiter.Transport.func1(0xc420120900, 0x0, 0x0, 0x0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/limiter/static_limiter.go:74 +0x4f
github.com/restic/restic/internal/limiter.roundTripper.RoundTrip(0xc4201aec60, 0xc420120900, 0xc4201aec60, 0x0, 0x0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/limiter/static_limiter.go:48 +0x30
net/http.send(0xc420120900, 0xb39660, 0xc4201aec60, 0x0, 0x0, 0x0, 0xc42000e218, 0x0, 0xc42c037870, 0x1)
	/usr/lib/go-1.10/src/net/http/client.go:252 +0x185
net/http.(*Client).send(0xc4201aecf0, 0xc420120900, 0x0, 0x0, 0x0, 0xc42000e218, 0x0, 0x1, 0x0)
	/usr/lib/go-1.10/src/net/http/client.go:176 +0xfa
net/http.(*Client).Do(0xc4201aecf0, 0xc420120900, 0x0, 0x0, 0x0)
	/usr/lib/go-1.10/src/net/http/client.go:615 +0x28d
github.com/minio/minio-go.Client.do(0xc4200275a0, 0x5, 0x0, 0x0, 0x0, 0xc4200275a8, 0x10, 0x0, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/minio/minio-go/api.go:431 +0x50
github.com/minio/minio-go.Client.executeMethod(0xc4200275a0, 0x5, 0x0, 0x0, 0x0, 0xc4200275a8, 0x10, 0x0, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/minio/minio-go/api.go:545 +0x375
github.com/minio/minio-go.Client.putObjectDo(0xc4200275a0, 0x5, 0x0, 0x0, 0x0, 0xc4200275a8, 0x10, 0x0, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/minio/minio-go/api-put-object-streaming.go:397 +0x27a
github.com/minio/minio-go.Client.putObjectNoChecksum(0xc4200275a0, 0x5, 0x0, 0x0, 0x0, 0xc4200275a8, 0x10, 0x0, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/minio/minio-go/api-put-object-streaming.go:362 +0x1e1
github.com/minio/minio-go.Client.putObjectCommon(0xc4200275a0, 0x5, 0x0, 0x0, 0x0, 0xc4200275a8, 0x10, 0x0, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/minio/minio-go/api-put-object.go:148 +0x417
github.com/minio/minio-go.Client.PutObjectWithContext(0xc4200275a0, 0x5, 0x0, 0x0, 0x0, 0xc4200275a8, 0x10, 0x0, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/minio/minio-go/api-put-object-context.go:38 +0x2fc
github.com/restic/restic/internal/backend/s3.(*Backend).Save(0xc4201d1d60, 0xb3f580, 0xc420067380, 0xab7cd5, 0x4, 0xc4202c2a00, 0x40, 0xb38da0, 0xc42000e0e8, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/backend/s3/s3.go:258 +0x50d
github.com/restic/restic/internal/backend.(*RetryBackend).Save.func1(0xc420648da0, 0xc420648da0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/backend/backend_retry.go:71 +0x10a
github.com/cenkalti/backoff.RetryNotify(0xc42c0394f8, 0xb3a960, 0xc420648da0, 0xc42c039430, 0xc420648da0, 0xc420648da0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/cenkalti/backoff/retry.go:37 +0x88
github.com/restic/restic/internal/backend.(*RetryBackend).retry(0xc4203d5560, 0xb3f580, 0xc420067380, 0xc420644640, 0x17, 0xc4200a14f8, 0x17, 0x8)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/backend/backend_retry.go:37 +0x169
github.com/restic/restic/internal/backend.(*RetryBackend).Save(0xc4203d5560, 0xb3f580, 0xc420067380, 0xab7cd5, 0x4, 0xc4202c2a00, 0x40, 0xb38da0, 0xc42000e0e8, 0xc4202c2940, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/backend/backend_retry.go:65 +0x3fc
github.com/restic/restic/internal/cache.(*Backend).Save(0xc420622690, 0xb3f580, 0xc420067380, 0xab7cd5, 0x4, 0xc4202c2a00, 0x40, 0xb38da0, 0xc42000e0e8, 0x210c5e355cf86923, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/cache/backend.go:55 +0x661
github.com/restic/restic/internal/repository.(*Repository).savePacker(0xc420156d20, 0xb3f580, 0xc420067380, 0x6ac47c4dafbfeb01, 0xc420648820, 0x8b, 0xc430476000)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/packer_manager.go:107 +0x29d
github.com/restic/restic/internal/repository.(*Repository).SaveAndEncrypt(0xc420156d20, 0xb3f580, 0xc420067380, 0x42aa01, 0xc42cf48000, 0x800000, 0x936000, 0xc42c039c10, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:257 +0x4ba
github.com/restic/restic/internal/repository.(*Repository).SaveBlob(0xc420156d20, 0xb3f580, 0xc420067380, 0xf96ac47c4dafbf01, 0xc42cf48000, 0x800000, 0x936000, 0x2bdadf2d0daf20a6, 0xf8d929d1e319bd5, 0xf96ac47c4dafbfeb, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:611 +0x154
github.com/restic/restic/internal/archiver.(*Archiver).Save(0xc4200685a0, 0xb3f580, 0xc420067380, 0x2bdadf2d0daf2001, 0xc42cf48000, 0x800000, 0x936000, 0x2bdadf2d0daf20a6, 0xf8d929d1e319bd5, 0xf96ac47c4dafbfeb, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:105 +0x1e2
github.com/restic/restic/internal/archiver.(*Archiver).saveChunk(0xc4200685a0, 0xb3f580, 0xc420067380, 0x454a0a1, 0x800000, 0x3d325189da3fb, 0xc42cf48000, 0x800000, 0x936000, 0xc4200b6f20, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:170 +0x135
created by github.com/restic/restic/internal/archiver.(*Archiver).SaveFile
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:249 +0x3eb

goroutine 532 [runnable]:
github.com/restic/restic/internal/crypto.poly1305PrepareKey(0xc4203d8650, 0x10, 0x10, 0xc420586000, 0x0, 0x0, 0x0, 0x0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/crypto/crypto.go:103 +0x41
github.com/restic/restic/internal/crypto.poly1305MAC(0xc42ec4e010, 0x7119da, 0x7119ea, 0xc4203d8650, 0x10, 0x10, 0xc420586000, 0x10, 0x10, 0x10)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/crypto/crypto.go:73 +0x59
github.com/restic/restic/internal/crypto.(*Key).Seal(0xc420586000, 0xc427e6c000, 0x10, 0x80000, 0xc4203d8650, 0x10, 0x10, 0xc42c03e000, 0x7119da, 0x936000, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/crypto/crypto.go:312 +0x272
github.com/restic/restic/internal/repository.(*Repository).SaveAndEncrypt(0xc420156d20, 0xb3f580, 0xc420067380, 0xc420194a01, 0xc42c03e000, 0x7119da, 0x936000, 0xc420194c10, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:224 +0x285
github.com/restic/restic/internal/repository.(*Repository).SaveBlob(0xc420156d20, 0xb3f580, 0xc420067380, 0xef92189490387a01, 0xc42c03e000, 0x7119da, 0x936000, 0xcdd53407393f39a9, 0x561472c2b84ab6f6, 0xef92189490387aeb, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:611 +0x154
github.com/restic/restic/internal/archiver.(*Archiver).Save(0xc4200685a0, 0xb3f580, 0xc420067380, 0xcdd53407393f3901, 0xc42c03e000, 0x7119da, 0x936000, 0xcdd53407393f39a9, 0x561472c2b84ab6f6, 0xef92189490387aeb, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:105 +0x1e2
github.com/restic/restic/internal/archiver.(*Archiver).saveChunk(0xc4200685a0, 0xb3f580, 0xc420067380, 0x554a0a1, 0x7119da, 0x1973440d900000, 0xc42c03e000, 0x7119da, 0x936000, 0xc4200b6f20, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:170 +0x135
created by github.com/restic/restic/internal/archiver.(*Archiver).SaveFile
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:249 +0x3eb

goroutine 538 [runnable]:
strconv.bigFtoa(0xc4202f6068, 0x1, 0x44, 0x2, 0x4751515644590066, 0x1c0fcef398eb35, 0x5, 0xde7f20, 0x6b78575a705a6d63, 0x756832596c524649, ...)
	/usr/lib/go-1.10/src/strconv/ftoa.go:155 +0x3be
strconv.genericFtoa(0xc4202f6068, 0x1, 0x44, 0x404c0fcef398eb35, 0x66, 0x2, 0x40, 0xc4202f6240, 0x764d31724944764b, 0xc420130820)
	/usr/lib/go-1.10/src/strconv/ftoa.go:149 +0x3a9
strconv.AppendFloat(0xc4202f6068, 0x1, 0x44, 0x404c0fcef398eb35, 0x707365722f726966, 0x2, 0x40, 0x3249596b44743958, 0xc420192888, 0x4f88e5)
	/usr/lib/go-1.10/src/strconv/ftoa.go:51 +0x75
fmt.(*fmt).fmt_float(0xc4202f6040, 0x404c0fcef398eb35, 0x40, 0x7ff900000066, 0x6)
	/usr/lib/go-1.10/src/fmt/format.go:459 +0x9c
fmt.(*pp).fmtFloat(0xc4202f6000, 0x404c0fcef398eb35, 0x40, 0x66)
	/usr/lib/go-1.10/src/fmt/print.go:402 +0x6a
fmt.(*pp).printArg(0xc4202f6000, 0x9b6a00, 0xc4203d8768, 0x66)
	/usr/lib/go-1.10/src/fmt/print.go:643 +0x1ec
fmt.(*pp).doPrintf(0xc4202f6000, 0xab9f8f, 0x7, 0xc42005fb18, 0x1, 0x1)
	/usr/lib/go-1.10/src/fmt/print.go:1099 +0x3fa
fmt.Sprintf(0xab9f8f, 0x7, 0xc420192b18, 0x1, 0x1, 0xc420192b28, 0x942313)
	/usr/lib/go-1.10/src/fmt/print.go:203 +0x66
main.formatPercent(0x2677b6e6, 0x448a81cf, 0x4, 0xd59e574c8e83ded6)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/cmd/restic/format.go:52 +0xf1
main.newArchiveProgress.func1(0x0, 0x0, 0x2677b6e6, 0x0, 0x0, 0x0, 0x2e5869e9b, 0x2854e100)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/cmd/restic/cmd_backup.go:143 +0x142
github.com/restic/restic/internal/restic.(*Progress).updateProgress(0xc4200b6f20, 0x0, 0x0, 0x2677b6e6, 0x0, 0x0, 0x0, 0xa3f300)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/restic/progress.go:147 +0xa8
github.com/restic/restic/internal/restic.(*Progress).Report(0xc4200b6f20, 0x0, 0x0, 0x800000, 0x0, 0x0, 0x0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/restic/progress.go:136 +0x166
github.com/restic/restic/internal/archiver.(*Archiver).saveChunk(0xc4200685a0, 0xb3f580, 0xc420067380, 0x4d49d83, 0x800000, 0x13ab5921679820, 0xc435dba000, 0x800000, 0x936000, 0xc4200b6f20, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:178 +0x1a4
created by github.com/restic/restic/internal/archiver.(*Archiver).SaveFile
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:249 +0x3eb

goroutine 29 [IO wait]:
internal/poll.runtime_pollWait(0x7ff9bbd4dd60, 0x72, 0xc420052760)
	/usr/lib/go-1.10/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc420116a98, 0x72, 0xffffffffffffff00, 0xb39ca0, 0xde76f0)
	/usr/lib/go-1.10/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc420116a98, 0xc4200bec00, 0x400, 0x400)
	/usr/lib/go-1.10/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Read(0xc420116a80, 0xc4200bec00, 0x400, 0x400, 0x0, 0x0, 0x0)
	/usr/lib/go-1.10/src/internal/poll/fd_unix.go:157 +0x17d
net.(*netFD).Read(0xc420116a80, 0xc4200bec00, 0x400, 0x400, 0x0, 0xc4203d83cd, 0x1)
	/usr/lib/go-1.10/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc42000e068, 0xc4200bec00, 0x400, 0x400, 0x0, 0x0, 0x0)
	/usr/lib/go-1.10/src/net/net.go:176 +0x6a
crypto/tls.(*block).readFromUntil(0xc42007dbc0, 0x7ff9bbd520f8, 0xc42000e068, 0x5, 0xc42000e068, 0x4)
	/usr/lib/go-1.10/src/crypto/tls/conn.go:493 +0x96
crypto/tls.(*Conn).readRecord(0xc4200ce000, 0xae7b17, 0xc4200ce120, 0xc420052e58)
	/usr/lib/go-1.10/src/crypto/tls/conn.go:595 +0xe0
crypto/tls.(*Conn).Read(0xc4200ce000, 0xc4203ef000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/usr/lib/go-1.10/src/crypto/tls/conn.go:1156 +0x100
net/http.(*persistConn).Read(0xc4201f0900, 0xc4203ef000, 0x1000, 0x1000, 0xc42010b3b0, 0xc4201f0900, 0x0)
	/usr/lib/go-1.10/src/net/http/transport.go:1453 +0x136
bufio.(*Reader).fill(0xc4202865a0)
	/usr/lib/go-1.10/src/bufio/bufio.go:100 +0x11e
bufio.(*Reader).Peek(0xc4202865a0, 0x1, 0x0, 0x0, 0x0, 0xc4203e6a80, 0x0)
	/usr/lib/go-1.10/src/bufio/bufio.go:132 +0x3a
net/http.(*persistConn).readLoop(0xc4201f0900)
	/usr/lib/go-1.10/src/net/http/transport.go:1601 +0x185
created by net/http.(*Transport).dialConn
	/usr/lib/go-1.10/src/net/http/transport.go:1237 +0x95a

goroutine 30 [select]:
net/http.(*persistConn).writeLoop(0xc4201f0900)
	/usr/lib/go-1.10/src/net/http/transport.go:1822 +0x14b
created by net/http.(*Transport).dialConn
	/usr/lib/go-1.10/src/net/http/transport.go:1238 +0x97f

goroutine 544 [runnable]:
github.com/restic/restic/internal/repository.glob..func2(0xe15530, 0x0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/pool.go:11 +0x7b
sync.(*Pool).Get(0xe15530, 0x20, 0x20)
	/usr/lib/go-1.10/src/sync/pool.go:151 +0xab
github.com/restic/restic/internal/repository.getBuf(0xac8a62, 0x19, 0xc420233a58)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/pool.go:16 +0x2d
github.com/restic/restic/internal/repository.(*Repository).SaveAndEncrypt(0xc420156d20, 0xb3f580, 0xc420067380, 0xc420233a01, 0xc42a3d6000, 0x3fa54f, 0x4b6000, 0xc420233c10, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:216 +0x135
github.com/restic/restic/internal/repository.(*Repository).SaveBlob(0xc420156d20, 0xb3f580, 0xc420067380, 0xa6354d9027369501, 0xc42a3d6000, 0x3fa54f, 0x4b6000, 0x2329c5b95c820b0f, 0x6d57bc8d901603f9, 0xa6354d902736950b, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:611 +0x154
github.com/restic/restic/internal/archiver.(*Archiver).Save(0xc4200685a0, 0xb3f580, 0xc420067380, 0x2329c5b95c820b01, 0xc42a3d6000, 0x3fa54f, 0x4b6000, 0x2329c5b95c820b0f, 0x6d57bc8d901603f9, 0xa6354d902736950b, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:105 +0x1e2
github.com/restic/restic/internal/archiver.(*Archiver).saveChunk(0xc4200685a0, 0xb3f580, 0xc420067380, 0x68ffe15, 0x3fa54f, 0x14045499700000, 0xc42a3d6000, 0x3fa54f, 0x4b6000, 0xc4200b6f20, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:170 +0x135
created by github.com/restic/restic/internal/archiver.(*Archiver).SaveFile
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:249 +0x3eb

goroutine 515 [runnable]:
github.com/minio/minio-go.Client.putObjectNoChecksum(0xc4200275a0, 0x5, 0x0, 0x0, 0x0, 0xc4200275a8, 0x10, 0x0, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/minio/minio-go/api-put-object-streaming.go:331 +0x802
github.com/minio/minio-go.Client.putObjectCommon(0xc4200275a0, 0x5, 0x0, 0x0, 0x0, 0xc4200275a8, 0x10, 0x0, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/minio/minio-go/api-put-object.go:148 +0x417
github.com/minio/minio-go.Client.PutObjectWithContext(0xc4200275a0, 0x5, 0x0, 0x0, 0x0, 0xc4200275a8, 0x10, 0x0, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/minio/minio-go/api-put-object-context.go:38 +0x2fc
github.com/restic/restic/internal/backend/s3.(*Backend).Save(0xc4201d1d60, 0xb3f580, 0xc420067380, 0xab7cd5, 0x4, 0xc4202c2100, 0x40, 0xb38da0, 0xc42000e0f0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/backend/s3/s3.go:258 +0x50d
github.com/restic/restic/internal/backend.(*RetryBackend).Save.func1(0xc420648580, 0xc420648580)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/backend/backend_retry.go:71 +0x10a
github.com/cenkalti/backoff.RetryNotify(0xc43192b4f8, 0xb3a960, 0xc420648580, 0xc43192b430, 0xc420648580, 0xc420648580)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/cenkalti/backoff/retry.go:37 +0x88
github.com/restic/restic/internal/backend.(*RetryBackend).retry(0xc4203d5560, 0xb3f580, 0xc420067380, 0xc4206442e0, 0x17, 0xc4200654f8, 0x17, 0x8)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/backend/backend_retry.go:37 +0x169
github.com/restic/restic/internal/backend.(*RetryBackend).Save(0xc4203d5560, 0xb3f580, 0xc420067380, 0xab7cd5, 0x4, 0xc4202c2100, 0x40, 0xb38da0, 0xc42000e0f0, 0xc4202c20c0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/backend/backend_retry.go:65 +0x3fc
github.com/restic/restic/internal/cache.(*Backend).Save(0xc420622690, 0xb3f580, 0xc420067380, 0xab7cd5, 0x4, 0xc4202c2100, 0x40, 0xb38da0, 0xc42000e0f0, 0x9a78824ddf50a6f1, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/cache/backend.go:55 +0x661
github.com/restic/restic/internal/repository.(*Repository).savePacker(0xc420156d20, 0xb3f580, 0xc420067380, 0x519df62619fea901, 0xc420648a20, 0x41, 0xc423dee000)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/packer_manager.go:107 +0x29d
github.com/restic/restic/internal/repository.(*Repository).SaveAndEncrypt(0xc420156d20, 0xb3f580, 0xc420067380, 0x42aa01, 0xc4227f6000, 0x42a3ee, 0x4b6000, 0xc43192bc10, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:257 +0x4ba
github.com/restic/restic/internal/repository.(*Repository).SaveBlob(0xc420156d20, 0xb3f580, 0xc420067380, 0x52519df62619fe01, 0xc4227f6000, 0x42a3ee, 0x4b6000, 0x1a9399ea98369035, 0x63614ac7cfc68a9, 0x52519df62619fea9, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:611 +0x154
github.com/restic/restic/internal/archiver.(*Archiver).Save(0xc4200685a0, 0xb3f580, 0xc420067380, 0x1a9399ea98369001, 0xc4227f6000, 0x42a3ee, 0x4b6000, 0x1a9399ea98369035, 0x63614ac7cfc68a9, 0x52519df62619fea9, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:105 +0x1e2
github.com/restic/restic/internal/archiver.(*Archiver).saveChunk(0xc4200685a0, 0xb3f580, 0xc420067380, 0x5ff1382, 0x42a3ee, 0xb19b242900000, 0xc4227f6000, 0x42a3ee, 0x4b6000, 0xc4200b6f20, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:170 +0x135
created by github.com/restic/restic/internal/archiver.(*Archiver).SaveFile
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:249 +0x3eb

goroutine 528 [semacquire]:
sync.runtime_SemacquireMutex(0xc42006691c, 0xc4203d8500)
	/usr/lib/go-1.10/src/runtime/sema.go:71 +0x3d
sync.(*Mutex).Lock(0xc420066918)
	/usr/lib/go-1.10/src/sync/mutex.go:134 +0x108
github.com/restic/restic/internal/repository.(*packerManager).findPacker(0xc420066900, 0x0, 0x0, 0x0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/packer_manager.go:54 +0x54
github.com/restic/restic/internal/repository.(*Repository).SaveAndEncrypt(0xc420156d20, 0xb3f580, 0xc420067380, 0x42aa01, 0xc427c80000, 0x1cac57, 0x1ec000, 0xc420190c10, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:238 +0x2da
github.com/restic/restic/internal/repository.(*Repository).SaveBlob(0xc420156d20, 0xb3f580, 0xc420067380, 0xfc27f56c25704301, 0xc427c80000, 0x1cac57, 0x1ec000, 0x92929a130b5b1412, 0x4e528018ac49042f, 0xfc27f56c257043fe, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:611 +0x154
github.com/restic/restic/internal/archiver.(*Archiver).Save(0xc4200685a0, 0xb3f580, 0xc420067380, 0x92929a130b5b1401, 0xc427c80000, 0x1cac57, 0x1ec000, 0x92929a130b5b1412, 0x4e528018ac49042f, 0xfc27f56c257043fe, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:105 +0x1e2
github.com/restic/restic/internal/archiver.(*Archiver).saveChunk(0xc4200685a0, 0xb3f580, 0xc420067380, 0x5c5b644, 0x1cac57, 0x2b68f18500000, 0xc427c80000, 0x1cac57, 0x1ec000, 0xc4200b6f20, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:170 +0x135
created by github.com/restic/restic/internal/archiver.(*Archiver).SaveFile
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:249 +0x3eb

goroutine 514 [runnable]:
encoding/binary.Write(0xb37fa0, 0xc420176070, 0xb41880, 0xe44470, 0xa3f020, 0xc42055af00, 0x4344ab, 0x20)
	/usr/lib/go-1.10/src/encoding/binary/binary.go:260 +0x1373
github.com/restic/restic/internal/pack.(*Packer).writeHeader(0xc420326040, 0xb37fa0, 0xc420176070, 0xb5e78578c7cc8ffd, 0x2b5b92167959da95, 0x45b5d9f36160e247)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/pack/pack.go:129 +0x1dd
github.com/restic/restic/internal/pack.(*Packer).Finalize(0xc420326040, 0x0, 0x0, 0x0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/pack/pack.go:73 +0xe5
github.com/restic/restic/internal/repository.(*Repository).savePacker(0xc420156d20, 0xb3f580, 0xc420067380, 0x6e286da551d7a501, 0xc420648640, 0xbb, 0xc434570000)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/packer_manager.go:94 +0x149
github.com/restic/restic/internal/repository.(*Repository).SaveAndEncrypt(0xc420156d20, 0xb3f580, 0xc420067380, 0x42aa01, 0xc431930000, 0x800000, 0x936000, 0xc420063c10, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:257 +0x4ba
github.com/restic/restic/internal/repository.(*Repository).SaveBlob(0xc420156d20, 0xb3f580, 0xc420067380, 0xcc6e286da551d701, 0xc431930000, 0x800000, 0x936000, 0x3a1231273744b51, 0xf91c66002f416b13, 0xcc6e286da551d7a5, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:611 +0x154
github.com/restic/restic/internal/archiver.(*Archiver).Save(0xc4200685a0, 0xb3f580, 0xc420067380, 0x3a1231273744b01, 0xc431930000, 0x800000, 0x936000, 0x3a1231273744b51, 0xf91c66002f416b13, 0xcc6e286da551d7a5, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:105 +0x1e2
github.com/restic/restic/internal/archiver.(*Archiver).saveChunk(0xc4200685a0, 0xb3f580, 0xc420067380, 0x4d49ada, 0x800000, 0x6fd7b07d04b49, 0xc431930000, 0x800000, 0x936000, 0xc4200b6f20, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:170 +0x135
created by github.com/restic/restic/internal/archiver.(*Archiver).SaveFile
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:249 +0x3eb

goroutine 542 [semacquire]:
sync.runtime_SemacquireMutex(0xc4200b6f3c, 0x304f2300)
	/usr/lib/go-1.10/src/runtime/sema.go:71 +0x3d
sync.(*Mutex).Lock(0xc4200b6f38)
	/usr/lib/go-1.10/src/sync/mutex.go:134 +0x108
github.com/restic/restic/internal/restic.(*Progress).updateProgress(0xc4200b6f20, 0x0, 0x0, 0x26e8cf5c, 0x0, 0x0, 0x0, 0xa3f300)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/restic/progress.go:146 +0x45
github.com/restic/restic/internal/restic.(*Progress).Report(0xc4200b6f20, 0x0, 0x0, 0x711876, 0x0, 0x0, 0x0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/restic/progress.go:136 +0x166
github.com/restic/restic/internal/archiver.(*Archiver).saveChunk(0xc4200685a0, 0xb3f580, 0xc420067380, 0x5549d83, 0x711876, 0x1973440d900000, 0xc429aa0000, 0x711876, 0x936000, 0xc4200b6f20, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:178 +0x1a4
created by github.com/restic/restic/internal/archiver.(*Archiver).SaveFile
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:249 +0x3eb

goroutine 433 [IO wait]:
internal/poll.runtime_pollWait(0x7ff9bbd4da20, 0x72, 0xc420195760)
	/usr/lib/go-1.10/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc42b00ab98, 0x72, 0xffffffffffffff00, 0xb39ca0, 0xde76f0)
	/usr/lib/go-1.10/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc42b00ab98, 0xc420590c00, 0x400, 0x400)
	/usr/lib/go-1.10/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Read(0xc42b00ab80, 0xc420590c00, 0x400, 0x400, 0x0, 0x0, 0x0)
	/usr/lib/go-1.10/src/internal/poll/fd_unix.go:157 +0x17d
net.(*netFD).Read(0xc42b00ab80, 0xc420590c00, 0x400, 0x400, 0x7ff9bbd52248, 0xc420195888, 0x4f88e5)
	/usr/lib/go-1.10/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc42000e0e0, 0xc420590c00, 0x400, 0x400, 0x0, 0x0, 0x0)
	/usr/lib/go-1.10/src/net/net.go:176 +0x6a
crypto/tls.(*block).readFromUntil(0xc4202425a0, 0x7ff9bbd520f8, 0xc42000e0e0, 0x5, 0xc42000e0e0, 0x40435721937539cd)
	/usr/lib/go-1.10/src/crypto/tls/conn.go:493 +0x96
crypto/tls.(*Conn).readRecord(0xc4203c9880, 0xae7b17, 0xc4203c99a0, 0xc4203265a0)
	/usr/lib/go-1.10/src/crypto/tls/conn.go:595 +0xe0
crypto/tls.(*Conn).Read(0xc4203c9880, 0xc426c73000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/usr/lib/go-1.10/src/crypto/tls/conn.go:1156 +0x100
net/http.(*persistConn).Read(0xc4201f0c60, 0xc426c73000, 0x1000, 0x1000, 0x4050e6, 0xc420195b98, 0x42a1e9)
	/usr/lib/go-1.10/src/net/http/transport.go:1453 +0x136
bufio.(*Reader).fill(0xc4203f9080)
	/usr/lib/go-1.10/src/bufio/bufio.go:100 +0x11e
bufio.(*Reader).Peek(0xc4203f9080, 0x1, 0xc4203e7560, 0xc4201c8480, 0xe263a0, 0xbecdfc26a9cff2b0, 0x218467719)
	/usr/lib/go-1.10/src/bufio/bufio.go:132 +0x3a
net/http.(*persistConn).readLoop(0xc4201f0c60)
	/usr/lib/go-1.10/src/net/http/transport.go:1601 +0x185
created by net/http.(*Transport).dialConn
	/usr/lib/go-1.10/src/net/http/transport.go:1237 +0x95a

goroutine 380 [IO wait]:
internal/poll.runtime_pollWait(0x7ff9bbd4daf0, 0x72, 0xc420347760)
	/usr/lib/go-1.10/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc42b00a598, 0x72, 0xffffffffffffff00, 0xb39ca0, 0xde76f0)
	/usr/lib/go-1.10/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc42b00a598, 0xc420591800, 0x400, 0x400)
	/usr/lib/go-1.10/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Read(0xc42b00a580, 0xc420591800, 0x400, 0x400, 0x0, 0x0, 0x0)
	/usr/lib/go-1.10/src/internal/poll/fd_unix.go:157 +0x17d
net.(*netFD).Read(0xc42b00a580, 0xc420591800, 0x400, 0x400, 0xc420347870, 0x41fed6, 0xc420243380)
	/usr/lib/go-1.10/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc42000e338, 0xc420591800, 0x400, 0x400, 0x0, 0x0, 0x0)
	/usr/lib/go-1.10/src/net/net.go:176 +0x6a
crypto/tls.(*block).readFromUntil(0xc420242780, 0x7ff9bbd520f8, 0xc42000e338, 0x5, 0xc42000e338, 0x0)
	/usr/lib/go-1.10/src/crypto/tls/conn.go:493 +0x96
crypto/tls.(*Conn).readRecord(0xc4203c8e00, 0xae7b17, 0xc4203c8f20, 0xc420347e58)
	/usr/lib/go-1.10/src/crypto/tls/conn.go:595 +0xe0
crypto/tls.(*Conn).Read(0xc4203c8e00, 0xc4202c9000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/usr/lib/go-1.10/src/crypto/tls/conn.go:1156 +0x100
net/http.(*persistConn).Read(0xc4201f1320, 0xc4202c9000, 0x1000, 0x1000, 0x11, 0x11, 0xf1)
	/usr/lib/go-1.10/src/net/http/transport.go:1453 +0x136
bufio.(*Reader).fill(0xc4203f8300)
	/usr/lib/go-1.10/src/bufio/bufio.go:100 +0x11e
bufio.(*Reader).Peek(0xc4203f8300, 0x1, 0x0, 0x0, 0x0, 0xc4203e6600, 0x0)
	/usr/lib/go-1.10/src/bufio/bufio.go:132 +0x3a
net/http.(*persistConn).readLoop(0xc4201f1320)
	/usr/lib/go-1.10/src/net/http/transport.go:1601 +0x185
created by net/http.(*Transport).dialConn
	/usr/lib/go-1.10/src/net/http/transport.go:1237 +0x95a

goroutine 60 [semacquire]:
sync.runtime_SemacquireMutex(0xc4200b6f3c, 0xe32e00)
	/usr/lib/go-1.10/src/runtime/sema.go:71 +0x3d
sync.(*Mutex).Lock(0xc4200b6f38)
	/usr/lib/go-1.10/src/sync/mutex.go:134 +0x108
github.com/restic/restic/internal/restic.(*Progress).updateProgress(0xc4200b6f20, 0x0, 0x0, 0x2677b6e6, 0x0, 0x0, 0x0, 0xc420380901)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/restic/progress.go:146 +0x45
github.com/restic/restic/internal/restic.(*Progress).reporter.func1()
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/restic/progress.go:160 +0xab
github.com/restic/restic/internal/restic.(*Progress).reporter(0xc4200b6f20)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/restic/progress.go:171 +0x18f
created by github.com/restic/restic/internal/restic.(*Progress).Start
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/restic/progress.go:96 +0x132

goroutine 507 [select]:
net/http.(*persistConn).roundTrip(0xc4201f1320, 0xc420243620, 0x0, 0x0, 0x0)
	/usr/lib/go-1.10/src/net/http/transport.go:2033 +0x5a7
net/http.(*Transport).RoundTrip(0xc42010b3b0, 0xc420120d00, 0xb3c5e0, 0xc4206492e0, 0xc420642f10)
	/usr/lib/go-1.10/src/net/http/transport.go:422 +0x8f2
github.com/restic/restic/internal/limiter.staticLimiter.roundTripper(0x0, 0x0, 0xb38b60, 0xc42010b3b0, 0xc420120d00, 0x7fa32a39, 0xffffffffffffffff, 0x0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/limiter/static_limiter.go:59 +0x6b
github.com/restic/restic/internal/limiter.staticLimiter.Transport.func1(0xc420120d00, 0x0, 0x0, 0x0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/limiter/static_limiter.go:74 +0x4f
github.com/restic/restic/internal/limiter.roundTripper.RoundTrip(0xc4201aec60, 0xc420120d00, 0xc4201aec60, 0x0, 0x0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/limiter/static_limiter.go:48 +0x30
net/http.send(0xc420120d00, 0xb39660, 0xc4201aec60, 0x0, 0x0, 0x0, 0xc42000e280, 0x0, 0xc427041870, 0x1)
	/usr/lib/go-1.10/src/net/http/client.go:252 +0x185
net/http.(*Client).send(0xc4201aecf0, 0xc420120d00, 0x0, 0x0, 0x0, 0xc42000e280, 0x0, 0x1, 0x0)
	/usr/lib/go-1.10/src/net/http/client.go:176 +0xfa
net/http.(*Client).Do(0xc4201aecf0, 0xc420120d00, 0xc42010c1b0, 0x0, 0x42766e)
	/usr/lib/go-1.10/src/net/http/client.go:615 +0x28d
github.com/minio/minio-go.Client.do(0xc4200275a0, 0x5, 0x0, 0x0, 0x0, 0xc4200275a8, 0x10, 0x0, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/minio/minio-go/api.go:431 +0x50
github.com/minio/minio-go.Client.executeMethod(0xc4200275a0, 0x5, 0x0, 0x0, 0x0, 0xc4200275a8, 0x10, 0x0, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/minio/minio-go/api.go:545 +0x375
github.com/minio/minio-go.Client.putObjectDo(0xc4200275a0, 0x5, 0x0, 0x0, 0x0, 0xc4200275a8, 0x10, 0x0, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/minio/minio-go/api-put-object-streaming.go:397 +0x27a
github.com/minio/minio-go.Client.putObjectNoChecksum(0xc4200275a0, 0x5, 0x0, 0x0, 0x0, 0xc4200275a8, 0x10, 0x0, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/minio/minio-go/api-put-object-streaming.go:362 +0x1e1
github.com/minio/minio-go.Client.putObjectCommon(0xc4200275a0, 0x5, 0x0, 0x0, 0x0, 0xc4200275a8, 0x10, 0x0, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/minio/minio-go/api-put-object.go:148 +0x417
github.com/minio/minio-go.Client.PutObjectWithContext(0xc4200275a0, 0x5, 0x0, 0x0, 0x0, 0xc4200275a8, 0x10, 0x0, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/minio/minio-go/api-put-object-context.go:38 +0x2fc
github.com/restic/restic/internal/backend/s3.(*Backend).Save(0xc4201d1d60, 0xb3f580, 0xc420067380, 0xab7cd5, 0x4, 0xc4202c3200, 0x40, 0xb38da0, 0xc42000e1e0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/backend/s3/s3.go:258 +0x50d
github.com/restic/restic/internal/backend.(*RetryBackend).Save.func1(0xc420649140, 0xc420649140)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/backend/backend_retry.go:71 +0x10a
github.com/cenkalti/backoff.RetryNotify(0xc4270434f8, 0xb3a960, 0xc420649140, 0xc427043430, 0xc420649140, 0xc420649140)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/cenkalti/backoff/retry.go:37 +0x88
github.com/restic/restic/internal/backend.(*RetryBackend).retry(0xc4203d5560, 0xb3f580, 0xc420067380, 0xc4206449a0, 0x17, 0xc4200a14f8, 0x17, 0x8)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/backend/backend_retry.go:37 +0x169
github.com/restic/restic/internal/backend.(*RetryBackend).Save(0xc4203d5560, 0xb3f580, 0xc420067380, 0xab7cd5, 0x4, 0xc4202c3200, 0x40, 0xb38da0, 0xc42000e1e0, 0xc4202c31c0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/backend/backend_retry.go:65 +0x3fc
github.com/restic/restic/internal/cache.(*Backend).Save(0xc420622690, 0xb3f580, 0xc420067380, 0xab7cd5, 0x4, 0xc4202c3200, 0x40, 0xb38da0, 0xc42000e1e0, 0xd5a56e3c55c69ef3, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/cache/backend.go:55 +0x661
github.com/restic/restic/internal/repository.(*Repository).savePacker(0xc420156d20, 0xb3f580, 0xc420067380, 0xbbad13c3190b7001, 0xc420648b60, 0xa9, 0xc43112e000)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/packer_manager.go:107 +0x29d
github.com/restic/restic/internal/repository.(*Repository).SaveAndEncrypt(0xc420156d20, 0xb3f580, 0xc420067380, 0x42aa01, 0xc427048000, 0x800000, 0x936000, 0xc427043c10, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:257 +0x4ba
github.com/restic/restic/internal/repository.(*Repository).SaveBlob(0xc420156d20, 0xb3f580, 0xc420067380, 0xcbbad13c3190b01, 0xc427048000, 0x800000, 0x936000, 0xd8892ed8b26ac4b6, 0xad7e15e1e04b844d, 0xcbbad13c3190b70, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:611 +0x154
github.com/restic/restic/internal/archiver.(*Archiver).Save(0xc4200685a0, 0xb3f580, 0xc420067380, 0xd8892ed8b26ac401, 0xc427048000, 0x800000, 0x936000, 0xd8892ed8b26ac4b6, 0xad7e15e1e04b844d, 0xcbbad13c3190b70, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:105 +0x1e2
github.com/restic/restic/internal/archiver.(*Archiver).saveChunk(0xc4200685a0, 0xb3f580, 0xc420067380, 0x45499a6, 0x800000, 0x142cba0913f002, 0xc427048000, 0x800000, 0x936000, 0xc4200b6f20, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:170 +0x135
created by github.com/restic/restic/internal/archiver.(*Archiver).SaveFile
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:249 +0x3eb

goroutine 65 [runnable]:
os.(*File).Read(0xc42000e2d0, 0xc4207fc000, 0x80000, 0x80000, 0x452b40, 0xc420598150, 0x100)
	/usr/lib/go-1.10/src/os/file.go:103 +0x266
io.ReadAtLeast(0xb38da0, 0xc42000e2d0, 0xc4207fc000, 0x80000, 0x80000, 0x80000, 0x302000, 0x0, 0xc435484000)
	/usr/lib/go-1.10/src/io/io.go:309 +0x86
io.ReadFull(0xb38da0, 0xc42000e2d0, 0xc4207fc000, 0x80000, 0x80000, 0xc435484000, 0x205c9c, 0x302000)
	/usr/lib/go-1.10/src/io/io.go:327 +0x58
github.com/restic/chunker.(*Chunker).Next(0xc42012b900, 0xc435484000, 0x285c9c, 0x302000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/chunker/chunker.go:233 +0xaf4
github.com/restic/restic/internal/archiver.(*Archiver).SaveFile(0xc4200685a0, 0xb3f580, 0xc420067380, 0xc4200b6f20, 0xc4200c4640, 0x0, 0x0, 0x0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:239 +0x277
github.com/restic/restic/internal/archiver.(*Archiver).fileWorker(0xc4200685a0, 0xb3f580, 0xc420067380, 0xc420641570, 0xc4200b6f20, 0xc4203e7d40)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:324 +0xebe
created by github.com/restic/restic/internal/archiver.(*Archiver).Snapshot
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:747 +0x5fb

goroutine 66 [chan receive]:
github.com/restic/restic/internal/archiver.(*Archiver).dirWorker(0xc4200685a0, 0xb3f580, 0xc420067380, 0xc420641570, 0xc4200b6f20, 0xc4203e7da0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:376 +0x949
created by github.com/restic/restic/internal/archiver.(*Archiver).Snapshot
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:748 +0x661

goroutine 67 [chan receive]:
github.com/restic/restic/internal/archiver.(*Archiver).SaveFile(0xc4200685a0, 0xb3f580, 0xc420067380, 0xc4200b6f20, 0xc4200c48c0, 0x0, 0x0, 0x0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:249 +0x355
github.com/restic/restic/internal/archiver.(*Archiver).fileWorker(0xc4200685a0, 0xb3f580, 0xc420067380, 0xc420641570, 0xc4200b6f20, 0xc4203e7d40)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:324 +0xebe
created by github.com/restic/restic/internal/archiver.(*Archiver).Snapshot
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:747 +0x5fb

goroutine 68 [chan receive]:
github.com/restic/restic/internal/archiver.(*Archiver).dirWorker(0xc4200685a0, 0xb3f580, 0xc420067380, 0xc420641570, 0xc4200b6f20, 0xc4203e7da0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:376 +0x949
created by github.com/restic/restic/internal/archiver.(*Archiver).Snapshot
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:748 +0x661

goroutine 69 [runnable]:
github.com/restic/restic/internal/archiver.glob..func3(0xe154f0, 0x0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/buffer_pool.go:11 +0x7b
sync.(*Pool).Get(0xe154f0, 0x68, 0x70800b)
	/usr/lib/go-1.10/src/sync/pool.go:151 +0xab
github.com/restic/restic/internal/archiver.getBuf(0xc400000068, 0xae6cf8, 0xc4200685a0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/buffer_pool.go:16 +0x2d
github.com/restic/restic/internal/archiver.(*Archiver).SaveFile(0xc4200685a0, 0xb3f580, 0xc420067380, 0xc4200b6f20, 0xc4200c4780, 0x0, 0x0, 0x0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:239 +0x22e
github.com/restic/restic/internal/archiver.(*Archiver).fileWorker(0xc4200685a0, 0xb3f580, 0xc420067380, 0xc420641570, 0xc4200b6f20, 0xc4203e7d40)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:324 +0xebe
created by github.com/restic/restic/internal/archiver.(*Archiver).Snapshot
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:747 +0x5fb

goroutine 360 [select]:
net/http.(*persistConn).writeLoop(0xc4201f0ea0)
	/usr/lib/go-1.10/src/net/http/transport.go:1822 +0x14b
created by net/http.(*Transport).dialConn
	/usr/lib/go-1.10/src/net/http/transport.go:1238 +0x97f

goroutine 71 [runnable]:
github.com/restic/restic/internal/archiver.glob..func3(0xe154f0, 0x0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/buffer_pool.go:11 +0x7b
sync.(*Pool).Get(0xe154f0, 0x68, 0x70800b)
	/usr/lib/go-1.10/src/sync/pool.go:151 +0xab
github.com/restic/restic/internal/archiver.getBuf(0xc400000068, 0xae6cf8, 0xc4200685a0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/buffer_pool.go:16 +0x2d
github.com/restic/restic/internal/archiver.(*Archiver).SaveFile(0xc4200685a0, 0xb3f580, 0xc420067380, 0xc4200b6f20, 0xc4200c4b40, 0x0, 0x0, 0x0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:239 +0x22e
github.com/restic/restic/internal/archiver.(*Archiver).fileWorker(0xc4200685a0, 0xb3f580, 0xc420067380, 0xc420641570, 0xc4200b6f20, 0xc4203e7d40)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:324 +0xebe
created by github.com/restic/restic/internal/archiver.(*Archiver).Snapshot
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:747 +0x5fb

goroutine 503 [runnable]:
os.(*File).Close(0xc42000e0c8, 0xb, 0xc42703f860)
	/usr/lib/go-1.10/src/os/file_unix.go:199 +0x78
github.com/restic/restic/internal/repository.(*Repository).savePacker(0xc420156d20, 0xb3f580, 0xc420067380, 0xe91157b55caa3501, 0xc4206484a0, 0xc7, 0xc423136000)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/packer_manager.go:129 +0x488
github.com/restic/restic/internal/repository.(*Repository).SaveAndEncrypt(0xc420156d20, 0xb3f580, 0xc420067380, 0x42aa01, 0xc42de62000, 0x800000, 0x936000, 0xc42703fc10, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:257 +0x4ba
github.com/restic/restic/internal/repository.(*Repository).SaveBlob(0xc420156d20, 0xb3f580, 0xc420067380, 0x2fe91157b55caa01, 0xc42de62000, 0x800000, 0x936000, 0x7b6efdcc21af7f55, 0x4493c4ee02a5dbac, 0x2fe91157b55caa35, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:611 +0x154
github.com/restic/restic/internal/archiver.(*Archiver).Save(0xc4200685a0, 0xb3f580, 0xc420067380, 0x7b6efdcc21af7f01, 0xc42de62000, 0x800000, 0x936000, 0x7b6efdcc21af7f55, 0x4493c4ee02a5dbac, 0x2fe91157b55caa35, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:105 +0x1e2
github.com/restic/restic/internal/archiver.(*Archiver).saveChunk(0xc4200685a0, 0xb3f580, 0xc420067380, 0x4549d83, 0x800000, 0x91fd0d973694b, 0xc42de62000, 0x800000, 0x936000, 0xc4200b6f20, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:170 +0x135
created by github.com/restic/restic/internal/archiver.(*Archiver).SaveFile
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:249 +0x3eb

goroutine 73 [runnable]:
io.ReadFull(0xb38da0, 0xc42000e050, 0xc420a7c000, 0x80000, 0x80000, 0xc435786000, 0x10e504, 0x1ec000)
	/usr/lib/go-1.10/src/io/io.go:326 +0x8e
github.com/restic/chunker.(*Chunker).Next(0xc420097300, 0xc435786000, 0x18e504, 0x1ec000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/chunker/chunker.go:233 +0xaf4
github.com/restic/restic/internal/archiver.(*Archiver).SaveFile(0xc4200685a0, 0xb3f580, 0xc420067380, 0xc4200b6f20, 0xc4200c4c80, 0x0, 0x0, 0x0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:239 +0x277
github.com/restic/restic/internal/archiver.(*Archiver).fileWorker(0xc4200685a0, 0xb3f580, 0xc420067380, 0xc420641570, 0xc4200b6f20, 0xc4203e7d40)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:324 +0xebe
created by github.com/restic/restic/internal/archiver.(*Archiver).Snapshot
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:747 +0x5fb

goroutine 500 [semacquire]:
sync.runtime_Semacquire(0xc4201afe20)
	/usr/lib/go-1.10/src/runtime/sema.go:56 +0x39
sync.(*RWMutex).Lock(0xc4201afe18)
	/usr/lib/go-1.10/src/sync/rwmutex.go:98 +0x6e
github.com/restic/restic/internal/repository.(*MasterIndex).Store(0xc4201afe00, 0x1, 0x800020, 0x5b1e3e582787ebe5, 0xf80688ef061036a6, 0x3c06098b2f1b17b8, 0xc120ea335df2cc9, 0x0, 0x3f2fb2ce4e2b0873, 0x35dd8355b09edf42, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/master_index.go:118 +0x4e
github.com/restic/restic/internal/repository.(*Repository).savePacker(0xc420156d20, 0xb3f580, 0xc420067380, 0x6098b2f1b17b801, 0xc420648400, 0xc, 0xc422098000)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/packer_manager.go:142 +0x737
github.com/restic/restic/internal/repository.(*Repository).SaveAndEncrypt(0xc420156d20, 0xb3f580, 0xc420067380, 0x42aa01, 0xc426242000, 0x800000, 0x936000, 0xc4205ebc10, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:257 +0x4ba
github.com/restic/restic/internal/repository.(*Repository).SaveBlob(0xc420156d20, 0xb3f580, 0xc420067380, 0x3c06098b2f1b1701, 0xc426242000, 0x800000, 0x936000, 0x5b1e3e582787ebe5, 0xf80688ef061036a6, 0x3c06098b2f1b17b8, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:611 +0x154
github.com/restic/restic/internal/archiver.(*Archiver).Save(0xc4200685a0, 0xb3f580, 0xc420067380, 0x5b1e3e582787eb01, 0xc426242000, 0x800000, 0x936000, 0x5b1e3e582787ebe5, 0xf80688ef061036a6, 0x3c06098b2f1b17b8, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:105 +0x1e2
github.com/restic/restic/internal/archiver.(*Archiver).saveChunk(0xc4200685a0, 0xb3f580, 0xc420067380, 0x4549d83, 0x800000, 0x1b7999d97c1601, 0xc426242000, 0x800000, 0x936000, 0xc4200b6f20, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:170 +0x135
created by github.com/restic/restic/internal/archiver.(*Archiver).SaveFile
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:249 +0x3eb

goroutine 75 [runnable]:
github.com/restic/restic/internal/archiver.glob..func3(0xe154f0, 0x0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/buffer_pool.go:11 +0x7b
sync.(*Pool).Get(0xe154f0, 0x68, 0x70800b)
	/usr/lib/go-1.10/src/sync/pool.go:151 +0xab
github.com/restic/restic/internal/archiver.getBuf(0xc400000068, 0xae6cf8, 0xc4200685a0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/buffer_pool.go:16 +0x2d
github.com/restic/restic/internal/archiver.(*Archiver).SaveFile(0xc4200685a0, 0xb3f580, 0xc420067380, 0xc4200b6f20, 0xc4200c4000, 0x0, 0x0, 0x0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:239 +0x22e
github.com/restic/restic/internal/archiver.(*Archiver).fileWorker(0xc4200685a0, 0xb3f580, 0xc420067380, 0xc420641570, 0xc4200b6f20, 0xc4203e7d40)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:324 +0xebe
created by github.com/restic/restic/internal/archiver.(*Archiver).Snapshot
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:747 +0x5fb

goroutine 77 [runnable]:
io.ReadFull(0xb38da0, 0xc42000e060, 0xc420b7c000, 0x80000, 0x80000, 0xc435972000, 0xe3b4c, 0x188000)
	/usr/lib/go-1.10/src/io/io.go:326 +0x8e
github.com/restic/chunker.(*Chunker).Next(0xc420098600, 0xc435972000, 0x163b4c, 0x188000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/chunker/chunker.go:233 +0xaf4
github.com/restic/restic/internal/archiver.(*Archiver).SaveFile(0xc4200685a0, 0xb3f580, 0xc420067380, 0xc4200b6f20, 0xc4200c4dc0, 0x0, 0x0, 0x0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:239 +0x277
github.com/restic/restic/internal/archiver.(*Archiver).fileWorker(0xc4200685a0, 0xb3f580, 0xc420067380, 0xc420641570, 0xc4200b6f20, 0xc4203e7d40)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:324 +0xebe
created by github.com/restic/restic/internal/archiver.(*Archiver).Snapshot
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:747 +0x5fb

goroutine 547 [runnable]:
github.com/restic/restic/internal/repository.(*Index).Has(0xc420116d00, 0x9a5fad4f6ccea43c, 0xff634c6dcdb90fc4, 0xf6f7d1272de7e564, 0x2dd5f3cbd350471d, 0xc420237b01, 0xb1e85600)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/index.go:173 +0xfd
github.com/restic/restic/internal/repository.(*MasterIndex).Has(0xc4201afe00, 0x9a5fad4f6ccea43c, 0xff634c6dcdb90fc4, 0xf6f7d1272de7e564, 0x2dd5f3cbd350471d, 0x307f413c25b2801, 0xf87368c12ab3c600)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/master_index.go:74 +0xe3
github.com/restic/restic/internal/archiver.(*Archiver).isKnownBlob(0xc4200685a0, 0x9a5fad4f6ccea43c, 0xff634c6dcdb90fc4, 0xf6f7d1272de7e564, 0x2dd5f3cbd350471d, 0xc420237c01, 0x4b7800)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:89 +0x1c6
github.com/restic/restic/internal/archiver.(*Archiver).Save(0xc4200685a0, 0xb3f580, 0xc420067380, 0x9a5fad4f6ccea401, 0xc42b00c000, 0x1cac57, 0x1ec000, 0x9a5fad4f6ccea43c, 0xff634c6dcdb90fc4, 0xf6f7d1272de7e564, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:100 +0x14c
github.com/restic/restic/internal/archiver.(*Archiver).saveChunk(0xc4200685a0, 0xb3f580, 0xc420067380, 0x5c5af12, 0x1cac57, 0x2b68f18500000, 0xc42b00c000, 0x1cac57, 0x1ec000, 0xc4200b6f20, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:170 +0x135
created by github.com/restic/restic/internal/archiver.(*Archiver).SaveFile
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:249 +0x3eb

goroutine 79 [runnable]:
io.ReadFull(0xb38da0, 0xc42000e070, 0xc420c7c000, 0x80000, 0x80000, 0xc42472c000, 0x7ffc0, 0xc8000)
	/usr/lib/go-1.10/src/io/io.go:326 +0x8e
github.com/restic/chunker.(*Chunker).Next(0xc420099900, 0xc42472c000, 0xa4542, 0xc8000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/chunker/chunker.go:233 +0xaf4
github.com/restic/restic/internal/archiver.(*Archiver).SaveFile(0xc4200685a0, 0xb3f580, 0xc420067380, 0xc4200b6f20, 0xc4200c4f00, 0x0, 0x0, 0x0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:239 +0x277
github.com/restic/restic/internal/archiver.(*Archiver).fileWorker(0xc4200685a0, 0xb3f580, 0xc420067380, 0xc420641570, 0xc4200b6f20, 0xc4203e7d40)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:324 +0xebe
created by github.com/restic/restic/internal/archiver.(*Archiver).Snapshot
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:747 +0x5fb

goroutine 509 [runnable]:
github.com/restic/restic/internal/hashing.NewWriter(0xb38de0, 0xc42000e128, 0xb40000, 0xc4203ce180, 0xc42000e128)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/hashing/writer.go:15 +0x146
github.com/restic/restic/internal/repository.(*packerManager).findPacker(0xc420066900, 0x0, 0x0, 0x0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/packer_manager.go:71 +0x19d
github.com/restic/restic/internal/repository.(*Repository).SaveAndEncrypt(0xc420156d20, 0xb3f580, 0xc420067380, 0x42aa01, 0xc425a9e000, 0x7114df, 0x75e000, 0xc420053c10, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:238 +0x2da
github.com/restic/restic/internal/repository.(*Repository).SaveBlob(0xc420156d20, 0xb3f580, 0xc420067380, 0x30ca26c24161e401, 0xc425a9e000, 0x7114df, 0x75e000, 0xab49420c4fef772, 0x634ba68b334f985c, 0x30ca26c24161e477, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:611 +0x154
github.com/restic/restic/internal/archiver.(*Archiver).Save(0xc4200685a0, 0xb3f580, 0xc420067380, 0xab49420c4fef701, 0xc425a9e000, 0x7114df, 0x75e000, 0xab49420c4fef772, 0x634ba68b334f985c, 0x30ca26c24161e477, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:105 +0x1e2
github.com/restic/restic/internal/archiver.(*Archiver).saveChunk(0xc4200685a0, 0xb3f580, 0xc420067380, 0x55499a0, 0x7114df, 0x1973440d900000, 0xc425a9e000, 0x7114df, 0x75e000, 0xc4200b6f20, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:170 +0x135
created by github.com/restic/restic/internal/archiver.(*Archiver).SaveFile
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:249 +0x3eb

goroutine 539 [semacquire]:
sync.runtime_SemacquireMutex(0xc42006691c, 0xc4203d8700)
	/usr/lib/go-1.10/src/runtime/sema.go:71 +0x3d
sync.(*Mutex).Lock(0xc420066918)
	/usr/lib/go-1.10/src/sync/mutex.go:134 +0x108
github.com/restic/restic/internal/repository.(*packerManager).findPacker(0xc420066900, 0x0, 0x0, 0x0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/packer_manager.go:54 +0x54
github.com/restic/restic/internal/repository.(*Repository).SaveAndEncrypt(0xc420156d20, 0xb3f580, 0xc420067380, 0x42aa01, 0xc42e798000, 0x42a483, 0x4b6000, 0xc420346c10, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:238 +0x2da
github.com/restic/restic/internal/repository.(*Repository).SaveBlob(0xc420156d20, 0xb3f580, 0xc420067380, 0x2bb151b9c34fd501, 0xc42e798000, 0x42a483, 0x4b6000, 0x19f5f6c86778c8e1, 0x6c9fe3da2e48d261, 0x2bb151b9c34fd50b, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:611 +0x154
github.com/restic/restic/internal/archiver.(*Archiver).Save(0xc4200685a0, 0xb3f580, 0xc420067380, 0x19f5f6c86778c801, 0xc42e798000, 0x42a483, 0x4b6000, 0x19f5f6c86778c8e1, 0x6c9fe3da2e48d261, 0x2bb151b9c34fd50b, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:105 +0x1e2
github.com/restic/restic/internal/archiver.(*Archiver).saveChunk(0xc4200685a0, 0xb3f580, 0xc420067380, 0x5ff1b47, 0x42a483, 0xb19b242900000, 0xc42e798000, 0x42a483, 0x4b6000, 0xc4200b6f20, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:170 +0x135
created by github.com/restic/restic/internal/archiver.(*Archiver).SaveFile
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:249 +0x3eb

goroutine 541 [runnable]:
crypto/aes.(*aesCipherAsm).Encrypt(0xc4202432c0, 0xc4203de170, 0x90, 0x90, 0xc4203d8790, 0x10, 0x10)
	/usr/lib/go-1.10/src/crypto/aes/cipher_amd64.go:48 +0xc3
crypto/cipher.(*ctr).refill(0xc4202f33b0)
	/usr/lib/go-1.10/src/crypto/cipher/ctr.go:58 +0x15e
crypto/cipher.(*ctr).XORKeyStream(0xc4202f33b0, 0xc42400c410, 0x59d17c, 0x59d17c, 0xc431240400, 0x59d16c, 0x5e9c00)
	/usr/lib/go-1.10/src/crypto/cipher/ctr.go:76 +0x1db
github.com/restic/restic/internal/crypto.(*Key).Seal(0xc420586000, 0xc423ace000, 0x10, 0x80000, 0xc4203d8710, 0x10, 0x10, 0xc4310cc000, 0x71156c, 0x75e000, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/crypto/crypto.go:310 +0x20d
github.com/restic/restic/internal/repository.(*Repository).SaveAndEncrypt(0xc420156d20, 0xb3f580, 0xc420067380, 0xc42004da01, 0xc4310cc000, 0x71156c, 0x75e000, 0xc42004dc10, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:224 +0x285
github.com/restic/restic/internal/repository.(*Repository).SaveBlob(0xc420156d20, 0xb3f580, 0xc420067380, 0x9332f74b92311401, 0xc4310cc000, 0x71156c, 0x75e000, 0x3535b739638fb8f6, 0xffca5095abaae8d6, 0x9332f74b9231144f, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:611 +0x154
github.com/restic/restic/internal/archiver.(*Archiver).Save(0xc4200685a0, 0xb3f580, 0xc420067380, 0x3535b739638fb801, 0xc4310cc000, 0x71156c, 0x75e000, 0x3535b739638fb8f6, 0xffca5095abaae8d6, 0x9332f74b9231144f, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:105 +0x1e2
github.com/restic/restic/internal/archiver.(*Archiver).saveChunk(0xc4200685a0, 0xb3f580, 0xc420067380, 0x55499a6, 0x71156c, 0x1973440d900000, 0xc4310cc000, 0x71156c, 0x75e000, 0xc4200b6f20, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:170 +0x135
created by github.com/restic/restic/internal/archiver.(*Archiver).SaveFile
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:249 +0x3eb

goroutine 85 [select]:
github.com/restic/restic/internal/archiver.(*Archiver).saveIndexes(0xc4200685a0, 0xb3f580, 0xc420067380, 0xb3f580, 0xc420327940, 0xc420641580)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:630 +0x1c0
created by github.com/restic/restic/internal/archiver.(*Archiver).Snapshot
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:755 +0x755

goroutine 551 [runnable]:
crypto/sha256.(*digest).checkSum(0xc420349d18, 0xc437c9a000, 0x35efa3, 0x3c0000, 0x35efa3)
	/usr/lib/go-1.10/src/crypto/sha256/sha256.go:228 +0x27b
crypto/sha256.Sum256(0xc437c9a000, 0x35efa3, 0x3c0000, 0x0, 0x0, 0x0, 0x0)
	/usr/lib/go-1.10/src/crypto/sha256/sha256.go:271 +0xb8
github.com/restic/restic/internal/restic.Hash(0xc437c9a000, 0x35efa3, 0x3c0000, 0x0, 0x0, 0x0, 0x0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/restic/id.go:15 +0x56
github.com/restic/restic/internal/archiver.(*Archiver).saveChunk(0xc4200685a0, 0xb3f580, 0xc420067380, 0x641bfca, 0x35efa3, 0x3f5b2e5c00000, 0xc437c9a000, 0x35efa3, 0x3c0000, 0xc4200b6f20, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:169 +0xa4
created by github.com/restic/restic/internal/archiver.(*Archiver).SaveFile
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:249 +0x3eb

goroutine 346 [IO wait]:
internal/poll.runtime_pollWait(0x7ff9bbd4dc90, 0x72, 0xc420348760)
	/usr/lib/go-1.10/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc420117d98, 0x72, 0xffffffffffffff00, 0xb39ca0, 0xde76f0)
	/usr/lib/go-1.10/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc420117d98, 0xc420361800, 0x400, 0x400)
	/usr/lib/go-1.10/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Read(0xc420117d80, 0xc420361800, 0x400, 0x400, 0x0, 0x0, 0x0)
	/usr/lib/go-1.10/src/internal/poll/fd_unix.go:157 +0x17d
net.(*netFD).Read(0xc420117d80, 0xc420361800, 0x400, 0x400, 0x0, 0xc4203d8568, 0x1)
	/usr/lib/go-1.10/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc42000e310, 0xc420361800, 0x400, 0x400, 0x0, 0x0, 0x0)
	/usr/lib/go-1.10/src/net/net.go:176 +0x6a
crypto/tls.(*block).readFromUntil(0xc4206230b0, 0x7ff9bbd520f8, 0xc42000e310, 0x5, 0xc42000e310, 0x5)
	/usr/lib/go-1.10/src/crypto/tls/conn.go:493 +0x96
crypto/tls.(*Conn).readRecord(0xc4200cf180, 0xae7b17, 0xc4200cf2a0, 0xc420348e58)
	/usr/lib/go-1.10/src/crypto/tls/conn.go:595 +0xe0
crypto/tls.(*Conn).Read(0xc4200cf180, 0xc420300000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/usr/lib/go-1.10/src/crypto/tls/conn.go:1156 +0x100
net/http.(*persistConn).Read(0xc4201f10e0, 0xc420300000, 0x1000, 0x1000, 0xc42010b3b0, 0xc4201f10e0, 0x0)
	/usr/lib/go-1.10/src/net/http/transport.go:1453 +0x136
bufio.(*Reader).fill(0xc4203f8180)
	/usr/lib/go-1.10/src/bufio/bufio.go:100 +0x11e
bufio.(*Reader).Peek(0xc4203f8180, 0x1, 0x0, 0x0, 0x0, 0xc4203e6480, 0x0)
	/usr/lib/go-1.10/src/bufio/bufio.go:132 +0x3a
net/http.(*persistConn).readLoop(0xc4201f10e0)
	/usr/lib/go-1.10/src/net/http/transport.go:1601 +0x185
created by net/http.(*Transport).dialConn
	/usr/lib/go-1.10/src/net/http/transport.go:1237 +0x95a

goroutine 525 [semacquire]:
sync.runtime_SemacquireMutex(0xc42006691c, 0xc4203d8500)
	/usr/lib/go-1.10/src/runtime/sema.go:71 +0x3d
sync.(*Mutex).Lock(0xc420066918)
	/usr/lib/go-1.10/src/sync/mutex.go:134 +0x108
github.com/restic/restic/internal/repository.(*packerManager).findPacker(0xc420066900, 0x0, 0x0, 0x0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/packer_manager.go:54 +0x54
github.com/restic/restic/internal/repository.(*Repository).SaveAndEncrypt(0xc420156d20, 0xb3f580, 0xc420067380, 0x42aa01, 0xc433c3a000, 0x800000, 0x936000, 0xc420191c10, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:238 +0x2da
github.com/restic/restic/internal/repository.(*Repository).SaveBlob(0xc420156d20, 0xb3f580, 0xc420067380, 0x2bb07f7baf74a701, 0xc433c3a000, 0x800000, 0x936000, 0x743cc64e0d7b888f, 0xe9b43995e003a9f8, 0x2bb07f7baf74a76f, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:611 +0x154
github.com/restic/restic/internal/archiver.(*Archiver).Save(0xc4200685a0, 0xb3f580, 0xc420067380, 0x743cc64e0d7b8801, 0xc433c3a000, 0x800000, 0x936000, 0x743cc64e0d7b888f, 0xe9b43995e003a9f8, 0x2bb07f7baf74a76f, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:105 +0x1e2
github.com/restic/restic/internal/archiver.(*Archiver).saveChunk(0xc4200685a0, 0xb3f580, 0xc420067380, 0x4d499a6, 0x800000, 0x1256a5cd36ab93, 0xc433c3a000, 0x800000, 0x936000, 0xc4200b6f20, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:170 +0x135
created by github.com/restic/restic/internal/archiver.(*Archiver).SaveFile
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:249 +0x3eb

goroutine 517 [semacquire]:
sync.runtime_SemacquireMutex(0xc42006691c, 0xc4203d8600)
	/usr/lib/go-1.10/src/runtime/sema.go:71 +0x3d
sync.(*Mutex).Lock(0xc420066918)
	/usr/lib/go-1.10/src/sync/mutex.go:134 +0x108
github.com/restic/restic/internal/repository.(*packerManager).findPacker(0xc420066900, 0x0, 0x0, 0x0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/packer_manager.go:54 +0x54
github.com/restic/restic/internal/repository.(*Repository).SaveAndEncrypt(0xc420156d20, 0xb3f580, 0xc420067380, 0x42aa01, 0xc432266000, 0x800000, 0x936000, 0xc42004fc10, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:238 +0x2da
github.com/restic/restic/internal/repository.(*Repository).SaveBlob(0xc420156d20, 0xb3f580, 0xc420067380, 0xd59e574c8e83de01, 0xc432266000, 0x800000, 0x936000, 0xdd377d73baf7e027, 0x29c567ba9da16d6c, 0xd59e574c8e83ded6, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:611 +0x154
github.com/restic/restic/internal/archiver.(*Archiver).Save(0xc4200685a0, 0xb3f580, 0xc420067380, 0xdd377d73baf7e001, 0xc432266000, 0x800000, 0x936000, 0xdd377d73baf7e027, 0x29c567ba9da16d6c, 0xd59e574c8e83ded6, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:105 +0x1e2
github.com/restic/restic/internal/archiver.(*Archiver).saveChunk(0xc4200685a0, 0xb3f580, 0xc420067380, 0x4d49d83, 0x800000, 0x13ab5921679820, 0xc432266000, 0x800000, 0x936000, 0xc4200b6f20, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:170 +0x135
created by github.com/restic/restic/internal/archiver.(*Archiver).SaveFile
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:249 +0x3eb

goroutine 519 [semacquire]:
sync.runtime_SemacquireMutex(0xc42006691c, 0xc4203d8600)
	/usr/lib/go-1.10/src/runtime/sema.go:71 +0x3d
sync.(*Mutex).Lock(0xc420066918)
	/usr/lib/go-1.10/src/sync/mutex.go:134 +0x108
github.com/restic/restic/internal/repository.(*packerManager).findPacker(0xc420066900, 0x0, 0x0, 0x0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/packer_manager.go:54 +0x54
github.com/restic/restic/internal/repository.(*Repository).SaveAndEncrypt(0xc420156d20, 0xb3f580, 0xc420067380, 0x42aa01, 0xc432b9c000, 0x800000, 0x940000, 0xc42034ac10, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:238 +0x2da
github.com/restic/restic/internal/repository.(*Repository).SaveBlob(0xc420156d20, 0xb3f580, 0xc420067380, 0x3b6737bc3c7d2d01, 0xc432b9c000, 0x800000, 0x940000, 0xd5e649a3c2a97fed, 0x1243e275d210bf6c, 0x3b6737bc3c7d2dd6, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:611 +0x154
github.com/restic/restic/internal/archiver.(*Archiver).Save(0xc4200685a0, 0xb3f580, 0xc420067380, 0xd5e649a3c2a97f01, 0xc432b9c000, 0x800000, 0x940000, 0xd5e649a3c2a97fed, 0x1243e275d210bf6c, 0x3b6737bc3c7d2dd6, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:105 +0x1e2
github.com/restic/restic/internal/archiver.(*Archiver).saveChunk(0xc4200685a0, 0xb3f580, 0xc420067380, 0x4d4a0a1, 0x800000, 0x108d994e0f1e45, 0xc432b9c000, 0x800000, 0x940000, 0xc4200b6f20, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:170 +0x135
created by github.com/restic/restic/internal/archiver.(*Archiver).SaveFile
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:249 +0x3eb

goroutine 359 [IO wait]:
internal/poll.runtime_pollWait(0x7ff9bbd4dbc0, 0x72, 0xc42004c760)
	/usr/lib/go-1.10/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc420117f18, 0x72, 0xffffffffffffff00, 0xb39ca0, 0xde76f0)
	/usr/lib/go-1.10/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc420117f18, 0xc420590800, 0x400, 0x400)
	/usr/lib/go-1.10/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Read(0xc420117f00, 0xc420590800, 0x400, 0x400, 0x0, 0x0, 0x0)
	/usr/lib/go-1.10/src/internal/poll/fd_unix.go:157 +0x17d
net.(*netFD).Read(0xc420117f00, 0xc420590800, 0x400, 0x400, 0x0, 0xc4203d85d0, 0x1)
	/usr/lib/go-1.10/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc42000e328, 0xc420590800, 0x400, 0x400, 0x0, 0x0, 0x0)
	/usr/lib/go-1.10/src/net/net.go:176 +0x6a
crypto/tls.(*block).readFromUntil(0xc420623d10, 0x7ff9bbd520f8, 0xc42000e328, 0x5, 0xc42000e328, 0x6)
	/usr/lib/go-1.10/src/crypto/tls/conn.go:493 +0x96
crypto/tls.(*Conn).readRecord(0xc4203c8700, 0xae7b17, 0xc4203c8820, 0xc42004ce58)
	/usr/lib/go-1.10/src/crypto/tls/conn.go:595 +0xe0
crypto/tls.(*Conn).Read(0xc4203c8700, 0xc420173000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/usr/lib/go-1.10/src/crypto/tls/conn.go:1156 +0x100
net/http.(*persistConn).Read(0xc4201f0ea0, 0xc420173000, 0x1000, 0x1000, 0xc42010b3b0, 0xc4201f0ea0, 0x0)
	/usr/lib/go-1.10/src/net/http/transport.go:1453 +0x136
bufio.(*Reader).fill(0xc4203f8fc0)
	/usr/lib/go-1.10/src/bufio/bufio.go:100 +0x11e
bufio.(*Reader).Peek(0xc4203f8fc0, 0x1, 0x0, 0x0, 0x0, 0xc4203e6d80, 0x0)
	/usr/lib/go-1.10/src/bufio/bufio.go:132 +0x3a
net/http.(*persistConn).readLoop(0xc4201f0ea0)
	/usr/lib/go-1.10/src/net/http/transport.go:1601 +0x185
created by net/http.(*Transport).dialConn
	/usr/lib/go-1.10/src/net/http/transport.go:1237 +0x95a

goroutine 550 [semacquire]:
sync.runtime_SemacquireMutex(0xc4200685bc, 0x92722c8581c2c900)
	/usr/lib/go-1.10/src/runtime/sema.go:71 +0x3d
sync.(*Mutex).Lock(0xc4200685b8)
	/usr/lib/go-1.10/src/sync/mutex.go:134 +0x108
github.com/restic/restic/internal/archiver.(*Archiver).isKnownBlob(0xc4200685a0, 0x9a5fad4f6ccea43c, 0xff634c6dcdb90fc4, 0xf6f7d1272de7e564, 0x2dd5f3cbd350471d, 0xc42062bc01, 0x4b7800)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:80 +0x56
github.com/restic/restic/internal/archiver.(*Archiver).Save(0xc4200685a0, 0xb3f580, 0xc420067380, 0x9a5fad4f6ccea401, 0xc42abec000, 0x1cac57, 0x1ec000, 0x9a5fad4f6ccea43c, 0xff634c6dcdb90fc4, 0xf6f7d1272de7e564, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:100 +0x14c
github.com/restic/restic/internal/archiver.(*Archiver).saveChunk(0xc4200685a0, 0xb3f580, 0xc420067380, 0x5c5b27d, 0x1cac57, 0x2b68f18500000, 0xc42abec000, 0x1cac57, 0x1ec000, 0xc4200b6f20, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:170 +0x135
created by github.com/restic/restic/internal/archiver.(*Archiver).SaveFile
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:249 +0x3eb

goroutine 327 [runnable]:
io.(*LimitedReader).Read(0xc420648fc0, 0xc4204f1000, 0x1000, 0x1000, 0x1000, 0x0, 0x0)
	/usr/lib/go-1.10/src/io/io.go:439 +0xd0
bufio.(*Writer).ReadFrom(0xc420326d00, 0xb388a0, 0xc420648fc0, 0x7ff9bbd6a3d8, 0xc420326d00, 0x1)
	/usr/lib/go-1.10/src/bufio/bufio.go:703 +0xcd
io.copyBuffer(0xb37f60, 0xc420326d00, 0xb388a0, 0xc420648fc0, 0x0, 0x0, 0x0, 0xa27500, 0xc420642c01, 0xc420648fc0)
	/usr/lib/go-1.10/src/io/io.go:386 +0x31a
io.Copy(0xb37f60, 0xc420326d00, 0xb388a0, 0xc420648fc0, 0xc4204f1232, 0xab7294, 0x2)
	/usr/lib/go-1.10/src/io/io.go:362 +0x5a
net/http.(*transferWriter).WriteBody(0xc420087400, 0xb37f60, 0xc420326d00, 0x2, 0x2)
	/usr/lib/go-1.10/src/net/http/transfer.go:337 +0x5fa
net/http.(*Request).write(0xc420120900, 0xb37f60, 0xc420326d00, 0x0, 0xc4202431d0, 0x0, 0x0, 0x0)
	/usr/lib/go-1.10/src/net/http/request.go:622 +0x6b2
net/http.(*persistConn).writeLoop(0xc4201f06c0)
	/usr/lib/go-1.10/src/net/http/transport.go:1825 +0x1ea
created by net/http.(*Transport).dialConn
	/usr/lib/go-1.10/src/net/http/transport.go:1238 +0x97f

goroutine 347 [select]:
net/http.(*persistConn).writeLoop(0xc4201f10e0)
	/usr/lib/go-1.10/src/net/http/transport.go:1822 +0x14b
created by net/http.(*Transport).dialConn
	/usr/lib/go-1.10/src/net/http/transport.go:1238 +0x97f

goroutine 502 [runnable]:
io.Copy(0xb397c0, 0xe442c8, 0xb39640, 0xc420648980, 0xc420648980, 0xc42055a630, 0xc42c03bfb8)
	/usr/lib/go-1.10/src/io/io.go:361 +0x90
github.com/minio/minio-go.closeResponse(0xc42010c900)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/minio/minio-go/utils.go:110 +0x8c
github.com/minio/minio-go.Client.putObjectDo(0xc4200275a0, 0x5, 0x0, 0x0, 0x0, 0xc4200275a8, 0x10, 0x0, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/minio/minio-go/api-put-object-streaming.go:416 +0x447
github.com/minio/minio-go.Client.putObjectNoChecksum(0xc4200275a0, 0x5, 0x0, 0x0, 0x0, 0xc4200275a8, 0x10, 0x0, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/minio/minio-go/api-put-object-streaming.go:362 +0x1e1
github.com/minio/minio-go.Client.putObjectCommon(0xc4200275a0, 0x5, 0x0, 0x0, 0x0, 0xc4200275a8, 0x10, 0x0, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/minio/minio-go/api-put-object.go:148 +0x417
github.com/minio/minio-go.Client.PutObjectWithContext(0xc4200275a0, 0x5, 0x0, 0x0, 0x0, 0xc4200275a8, 0x10, 0x0, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/minio/minio-go/api-put-object-context.go:38 +0x2fc
github.com/restic/restic/internal/backend/s3.(*Backend).Save(0xc4201d1d60, 0xb3f580, 0xc420067380, 0xab7cd5, 0x4, 0xc4202c3040, 0x40, 0xb38da0, 0xc42000e0c0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/backend/s3/s3.go:258 +0x50d
github.com/restic/restic/internal/backend.(*RetryBackend).Save.func1(0xc420648be0, 0xc420648be0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/backend/backend_retry.go:71 +0x10a
github.com/cenkalti/backoff.RetryNotify(0xc42c03d4f8, 0xb3a960, 0xc420648be0, 0xc42c03d430, 0xc420648be0, 0xc420648be0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/cenkalti/backoff/retry.go:37 +0x88
github.com/restic/restic/internal/backend.(*RetryBackend).retry(0xc4203d5560, 0xb3f580, 0xc420067380, 0xc4206448a0, 0x17, 0xc4200654f8, 0x17, 0x8)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/backend/backend_retry.go:37 +0x169
github.com/restic/restic/internal/backend.(*RetryBackend).Save(0xc4203d5560, 0xb3f580, 0xc420067380, 0xab7cd5, 0x4, 0xc4202c3040, 0x40, 0xb38da0, 0xc42000e0c0, 0xc4202c3000, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/backend/backend_retry.go:65 +0x3fc
github.com/restic/restic/internal/cache.(*Backend).Save(0xc420622690, 0xb3f580, 0xc420067380, 0xab7cd5, 0x4, 0xc4202c3040, 0x40, 0xb38da0, 0xc42000e0c0, 0xbe10420e8bf75d97, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/cache/backend.go:55 +0x661
github.com/restic/restic/internal/repository.(*Repository).savePacker(0xc420156d20, 0xb3f580, 0xc420067380, 0xe011e816728bab01, 0xc4206482a0, 0x7c, 0xc423e04000)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/packer_manager.go:107 +0x29d
github.com/restic/restic/internal/repository.(*Repository).SaveAndEncrypt(0xc420156d20, 0xb3f580, 0xc420067380, 0x42aa01, 0xc421762000, 0x800000, 0x936000, 0xc42c03dc10, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:257 +0x4ba
github.com/restic/restic/internal/repository.(*Repository).SaveBlob(0xc420156d20, 0xb3f580, 0xc420067380, 0x52e011e816728b01, 0xc421762000, 0x800000, 0x936000, 0x9045d8451c7020ea, 0x50686fe5c2e2e5f1, 0x52e011e816728bab, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:611 +0x154
github.com/restic/restic/internal/archiver.(*Archiver).Save(0xc4200685a0, 0xb3f580, 0xc420067380, 0x9045d8451c702001, 0xc421762000, 0x800000, 0x936000, 0x9045d8451c7020ea, 0x50686fe5c2e2e5f1, 0x52e011e816728bab, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:105 +0x1e2
github.com/restic/restic/internal/archiver.(*Archiver).saveChunk(0xc4200685a0, 0xb3f580, 0xc420067380, 0x4549ada, 0x800000, 0x1ceaa23ba3e64b, 0xc421762000, 0x800000, 0x936000, 0xc4200b6f20, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:170 +0x135
created by github.com/restic/restic/internal/archiver.(*Archiver).SaveFile
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:249 +0x3eb

goroutine 553 [runnable]:
crypto/sha256.(*digest).checkSum(0xc420231d18, 0xc4334dc000, 0x7119da, 0x75e000, 0x7119da)
	/usr/lib/go-1.10/src/crypto/sha256/sha256.go:228 +0x27b
crypto/sha256.Sum256(0xc4334dc000, 0x7119da, 0x75e000, 0x0, 0x0, 0x0, 0x0)
	/usr/lib/go-1.10/src/crypto/sha256/sha256.go:271 +0xb8
github.com/restic/restic/internal/restic.Hash(0xc4334dc000, 0x7119da, 0x75e000, 0x0, 0x0, 0x0, 0x0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/restic/id.go:15 +0x56
github.com/restic/restic/internal/archiver.(*Archiver).saveChunk(0xc4200685a0, 0xb3f580, 0xc420067380, 0x554a0e4, 0x7119da, 0x1973440d900000, 0xc4334dc000, 0x7119da, 0x75e000, 0xc4200b6f20, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:169 +0xa4
created by github.com/restic/restic/internal/archiver.(*Archiver).SaveFile
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:249 +0x3eb

goroutine 326 [IO wait]:
internal/poll.runtime_pollWait(0x7ff9bbd4de30, 0x72, 0xc42034b760)
	/usr/lib/go-1.10/src/runtime/netpoll.go:173 +0x57
internal/poll.(*pollDesc).wait(0xc420117598, 0x72, 0xffffffffffffff00, 0xb39ca0, 0xde76f0)
	/usr/lib/go-1.10/src/internal/poll/fd_poll_runtime.go:85 +0x9b
internal/poll.(*pollDesc).waitRead(0xc420117598, 0xc4202ffc00, 0x400, 0x400)
	/usr/lib/go-1.10/src/internal/poll/fd_poll_runtime.go:90 +0x3d
internal/poll.(*FD).Read(0xc420117580, 0xc4202ffc00, 0x400, 0x400, 0x0, 0x0, 0x0)
	/usr/lib/go-1.10/src/internal/poll/fd_unix.go:157 +0x17d
net.(*netFD).Read(0xc420117580, 0xc4202ffc00, 0x400, 0x400, 0x0, 0xc4203d804a, 0x1)
	/usr/lib/go-1.10/src/net/fd_unix.go:202 +0x4f
net.(*conn).Read(0xc42000e298, 0xc4202ffc00, 0x400, 0x400, 0x0, 0x0, 0x0)
	/usr/lib/go-1.10/src/net/net.go:176 +0x6a
crypto/tls.(*block).readFromUntil(0xc420622990, 0x7ff9bbd520f8, 0xc42000e298, 0x5, 0xc42000e298, 0x6)
	/usr/lib/go-1.10/src/crypto/tls/conn.go:493 +0x96
crypto/tls.(*Conn).readRecord(0xc4200cee00, 0xae7b17, 0xc4200cef20, 0xc42034be58)
	/usr/lib/go-1.10/src/crypto/tls/conn.go:595 +0xe0
crypto/tls.(*Conn).Read(0xc4200cee00, 0xc4203ee000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/usr/lib/go-1.10/src/crypto/tls/conn.go:1156 +0x100
net/http.(*persistConn).Read(0xc4201f06c0, 0xc4203ee000, 0x1000, 0x1000, 0xc42010b3b0, 0xc4201f06c0, 0x0)
	/usr/lib/go-1.10/src/net/http/transport.go:1453 +0x136
bufio.(*Reader).fill(0xc4203f91a0)
	/usr/lib/go-1.10/src/bufio/bufio.go:100 +0x11e
bufio.(*Reader).Peek(0xc4203f91a0, 0x1, 0x0, 0x0, 0x0, 0xc4203e6720, 0x0)
	/usr/lib/go-1.10/src/bufio/bufio.go:132 +0x3a
net/http.(*persistConn).readLoop(0xc4201f06c0)
	/usr/lib/go-1.10/src/net/http/transport.go:1601 +0x185
created by net/http.(*Transport).dialConn
	/usr/lib/go-1.10/src/net/http/transport.go:1237 +0x95a

goroutine 552 [semacquire]:
sync.runtime_SemacquireMutex(0xc4200685bc, 0x92722c8581c2c900)
	/usr/lib/go-1.10/src/runtime/sema.go:71 +0x3d
sync.(*Mutex).Lock(0xc4200685b8)
	/usr/lib/go-1.10/src/sync/mutex.go:134 +0x108
github.com/restic/restic/internal/archiver.(*Archiver).isKnownBlob(0xc4200685a0, 0x25db34e42c71ca83, 0x4b336a92ef52a29f, 0x1871d0e215300aef, 0x719a1e16273d90fe, 0xc420230c01, 0x4b7800)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:80 +0x56
github.com/restic/restic/internal/archiver.(*Archiver).Save(0xc4200685a0, 0xb3f580, 0xc420067380, 0x25db34e42c71ca01, 0xc4375e0000, 0xcd40c, 0x1ec000, 0x25db34e42c71ca83, 0x4b336a92ef52a29f, 0x1871d0e215300aef, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:100 +0x14c
github.com/restic/restic/internal/archiver.(*Archiver).saveChunk(0xc4200685a0, 0xb3f580, 0xc420067380, 0x677af6d, 0xcd40c, 0x17713052500000, 0xc4375e0000, 0xcd40c, 0x1ec000, 0xc4200b6f20, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:170 +0x135
created by github.com/restic/restic/internal/archiver.(*Archiver).SaveFile
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:249 +0x3eb

goroutine 549 [semacquire]:
sync.runtime_SemacquireMutex(0xc4200685bc, 0x92722c8581c2c900)
	/usr/lib/go-1.10/src/runtime/sema.go:71 +0x3d
sync.(*Mutex).Lock(0xc4200685b8)
	/usr/lib/go-1.10/src/sync/mutex.go:134 +0x108
github.com/restic/restic/internal/archiver.(*Archiver).isKnownBlob(0xc4200685a0, 0x5714104fa4b03d37, 0xe3ae57c5fc42bbf5, 0x7e4d611d21988f53, 0xb21d7743efbacbb2, 0xc420626c01, 0x4b7800)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:80 +0x56
github.com/restic/restic/internal/archiver.(*Archiver).Save(0xc4200685a0, 0xb3f580, 0xc420067380, 0x5714104fa4b03d01, 0xc430c78000, 0xe4847, 0x1ec000, 0x5714104fa4b03d37, 0xe3ae57c5fc42bbf5, 0x7e4d611d21988f53, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:100 +0x14c
github.com/restic/restic/internal/archiver.(*Archiver).saveChunk(0xc4200685a0, 0xb3f580, 0xc420067380, 0x5e25b69, 0xe4847, 0x5377d55700000, 0xc430c78000, 0xe4847, 0x1ec000, 0xc4200b6f20, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:170 +0x135
created by github.com/restic/restic/internal/archiver.(*Archiver).SaveFile
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:249 +0x3eb

goroutine 554 [runnable]:
crypto/sha256.block(0xc420192d18, 0xc423836000, 0x1cac40, 0x1ec000)
	/usr/lib/go-1.10/src/crypto/sha256/sha256block_amd64.s:553 +0x388d
crypto/sha256.(*digest).Write(0xc420192d18, 0xc423836000, 0x1cac57, 0x1ec000, 0xc420116100, 0x6, 0x10)
	/usr/lib/go-1.10/src/crypto/sha256/sha256.go:209 +0x12d
crypto/sha256.Sum256(0xc423836000, 0x1cac57, 0x1ec000, 0x0, 0x0, 0x0, 0x0)
	/usr/lib/go-1.10/src/crypto/sha256/sha256.go:270 +0xaa
github.com/restic/restic/internal/restic.Hash(0xc423836000, 0x1cac57, 0x1ec000, 0x0, 0x0, 0x0, 0x0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/restic/id.go:15 +0x56
github.com/restic/restic/internal/archiver.(*Archiver).saveChunk(0xc4200685a0, 0xb3f580, 0xc420067380, 0x5c5b5f9, 0x1cac57, 0x2b68f18500000, 0xc423836000, 0x1cac57, 0x1ec000, 0xc4200b6f20, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:169 +0xa4
created by github.com/restic/restic/internal/archiver.(*Archiver).SaveFile
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:249 +0x3eb

goroutine 381 [runnable]:
crypto/tls.(*Conn).writeRecordLocked(0xc4203c8e00, 0xae7b17, 0xc420172000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/usr/lib/go-1.10/src/crypto/tls/conn.go:886 +0x4e8
crypto/tls.(*Conn).Write(0xc4203c8e00, 0xc420172000, 0x1000, 0x1000, 0x0, 0x0, 0x0)
	/usr/lib/go-1.10/src/crypto/tls/conn.go:1090 +0x188
net/http.persistConnWriter.Write(0xc4201f1320, 0xc420172000, 0x1000, 0x1000, 0xc4200879a0, 0xc420172000, 0x1000)
	/usr/lib/go-1.10/src/net/http/transport.go:1253 +0x52
bufio.(*Writer).Flush(0xc420326240, 0xc420172000, 0x1000)
	/usr/lib/go-1.10/src/bufio/bufio.go:573 +0x7e
bufio.(*Writer).ReadFrom(0xc420326240, 0xb388a0, 0xc420649360, 0x7ff9bbd6a3d8, 0xc420326240, 0x1)
	/usr/lib/go-1.10/src/bufio/bufio.go:697 +0x26f
io.copyBuffer(0xb37f60, 0xc420326240, 0xb388a0, 0xc420649360, 0x0, 0x0, 0x0, 0xa27500, 0x13, 0x18)
	/usr/lib/go-1.10/src/io/io.go:386 +0x31a
io.Copy(0xb37f60, 0xc420326240, 0xb388a0, 0xc420649360, 0xc420172232, 0xab7294, 0x2)
	/usr/lib/go-1.10/src/io/io.go:362 +0x5a
net/http.(*transferWriter).WriteBody(0xc4200879a0, 0xb37f60, 0xc420326240, 0x2, 0x2)
	/usr/lib/go-1.10/src/net/http/transfer.go:337 +0x5fa
net/http.(*Request).write(0xc420120d00, 0xb37f60, 0xc420326240, 0x0, 0xc420243680, 0x0, 0x0, 0x0)
	/usr/lib/go-1.10/src/net/http/request.go:622 +0x6b2
net/http.(*persistConn).writeLoop(0xc4201f1320)
	/usr/lib/go-1.10/src/net/http/transport.go:1825 +0x1ea
created by net/http.(*Transport).dialConn
	/usr/lib/go-1.10/src/net/http/transport.go:1238 +0x97f

goroutine 531 [semacquire]:
sync.runtime_SemacquireMutex(0xc42006691c, 0xc4203d8600)
	/usr/lib/go-1.10/src/runtime/sema.go:71 +0x3d
sync.(*Mutex).Lock(0xc420066918)
	/usr/lib/go-1.10/src/sync/mutex.go:134 +0x108
github.com/restic/restic/internal/repository.(*packerManager).findPacker(0xc420066900, 0x0, 0x0, 0x0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/packer_manager.go:54 +0x54
github.com/restic/restic/internal/repository.(*Repository).SaveAndEncrypt(0xc420156d20, 0xb3f580, 0xc420067380, 0xc420236a01, 0xc436e82000, 0x711876, 0x75e000, 0xc420236c10, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:238 +0x2da
github.com/restic/restic/internal/repository.(*Repository).SaveBlob(0xc420156d20, 0xb3f580, 0xc420067380, 0x2c825174bc305901, 0xc436e82000, 0x711876, 0x75e000, 0x6742ca0bb09aaf6, 0xb685c5dcb98c872, 0x2c825174bc3059f1, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:611 +0x154
github.com/restic/restic/internal/archiver.(*Archiver).Save(0xc4200685a0, 0xb3f580, 0xc420067380, 0x6742ca0bb09aa01, 0xc436e82000, 0x711876, 0x75e000, 0x6742ca0bb09aaf6, 0xb685c5dcb98c872, 0x2c825174bc3059f1, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:105 +0x1e2
github.com/restic/restic/internal/archiver.(*Archiver).saveChunk(0xc4200685a0, 0xb3f580, 0xc420067380, 0x5549d83, 0x711876, 0x1973440d900000, 0xc436e82000, 0x711876, 0x75e000, 0xc4200b6f20, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:170 +0x135
created by github.com/restic/restic/internal/archiver.(*Archiver).SaveFile
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:249 +0x3eb

goroutine 522 [semacquire]:
sync.runtime_SemacquireMutex(0xc42006691c, 0xc4203d8100)
	/usr/lib/go-1.10/src/runtime/sema.go:71 +0x3d
sync.(*Mutex).Lock(0xc420066918)
	/usr/lib/go-1.10/src/sync/mutex.go:134 +0x108
github.com/restic/restic/internal/repository.(*packerManager).findPacker(0xc420066900, 0x0, 0x0, 0x0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/packer_manager.go:54 +0x54
github.com/restic/restic/internal/repository.(*Repository).SaveAndEncrypt(0xc420156d20, 0xb3f580, 0xc420067380, 0x42aa01, 0xc428264000, 0x35ef3d, 0x3c4000, 0xc420197c10, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:238 +0x2da
github.com/restic/restic/internal/repository.(*Repository).SaveBlob(0xc420156d20, 0xb3f580, 0xc420067380, 0x1b8556d0d3bbfe01, 0xc428264000, 0x35ef3d, 0x3c4000, 0x547106d9b039b065, 0x657db1b13765bbc3, 0x1b8556d0d3bbfe37, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:611 +0x154
github.com/restic/restic/internal/archiver.(*Archiver).Save(0xc4200685a0, 0xb3f580, 0xc420067380, 0x547106d9b039b001, 0xc428264000, 0x35ef3d, 0x3c4000, 0x547106d9b039b065, 0x657db1b13765bbc3, 0x1b8556d0d3bbfe37, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:105 +0x1e2
github.com/restic/restic/internal/archiver.(*Archiver).saveChunk(0xc4200685a0, 0xb3f580, 0xc420067380, 0x641b770, 0x35ef3d, 0x3f5b2e5c00000, 0xc428264000, 0x35ef3d, 0x3c4000, 0xc4200b6f20, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:170 +0x135
created by github.com/restic/restic/internal/archiver.(*Archiver).SaveFile
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:249 +0x3eb

goroutine 434 [select]:
net/http.(*persistConn).writeLoop(0xc4201f0c60)
	/usr/lib/go-1.10/src/net/http/transport.go:1822 +0x14b
created by net/http.(*Transport).dialConn
	/usr/lib/go-1.10/src/net/http/transport.go:1238 +0x97f

goroutine 513 [runnable]:
github.com/restic/restic/internal/backend/s3.(*Backend).Save(0xc4201d1d60, 0xb3f580, 0xc420067380, 0xab7cd5, 0x4, 0xc4202c2240, 0x40, 0xb38da0, 0xc42000e0f8, 0x4dcb76, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/backend/s3/s3.go:226 +0x761
github.com/restic/restic/internal/backend.(*RetryBackend).Save.func1(0xc420648aa0, 0xc420648aa0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/backend/backend_retry.go:71 +0x10a
github.com/cenkalti/backoff.RetryNotify(0xc42009d4f8, 0xb3a960, 0xc420648aa0, 0xc42009d430, 0xc420648aa0, 0xc420648aa0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/cenkalti/backoff/retry.go:37 +0x88
github.com/restic/restic/internal/backend.(*RetryBackend).retry(0xc4203d5560, 0xb3f580, 0xc420067380, 0xc4206444e0, 0x17, 0xc42009d4f8, 0x17, 0x8)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/backend/backend_retry.go:37 +0x169
github.com/restic/restic/internal/backend.(*RetryBackend).Save(0xc4203d5560, 0xb3f580, 0xc420067380, 0xab7cd5, 0x4, 0xc4202c2240, 0x40, 0xb38da0, 0xc42000e0f8, 0xc4202c21c0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/backend/backend_retry.go:65 +0x3fc
github.com/restic/restic/internal/cache.(*Backend).Save(0xc420622690, 0xb3f580, 0xc420067380, 0xab7cd5, 0x4, 0xc4202c2240, 0x40, 0xb38da0, 0xc42000e0f8, 0xb454b5b20d127ed1, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/cache/backend.go:55 +0x661
github.com/restic/restic/internal/repository.(*Repository).savePacker(0xc420156d20, 0xb3f580, 0xc420067380, 0x22aee45304655701, 0xc420648c60, 0x10, 0xc42ed7c000)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/packer_manager.go:107 +0x29d
github.com/restic/restic/internal/repository.(*Repository).SaveAndEncrypt(0xc420156d20, 0xb3f580, 0xc420067380, 0x42aa01, 0xc42b498000, 0x800000, 0x936000, 0xc42009dc10, 0x0, 0x0, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:257 +0x4ba
github.com/restic/restic/internal/repository.(*Repository).SaveBlob(0xc420156d20, 0xb3f580, 0xc420067380, 0xa022aee453046501, 0xc42b498000, 0x800000, 0x936000, 0xd9d1f354829413bd, 0xde3e677792f9283e, 0xa022aee453046557, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/repository/repository.go:611 +0x154
github.com/restic/restic/internal/archiver.(*Archiver).Save(0xc4200685a0, 0xb3f580, 0xc420067380, 0xd9d1f35482941301, 0xc42b498000, 0x800000, 0x936000, 0xd9d1f354829413bd, 0xde3e677792f9283e, 0xa022aee453046557, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:105 +0x1e2
github.com/restic/restic/internal/archiver.(*Archiver).saveChunk(0xc4200685a0, 0xb3f580, 0xc420067380, 0x4d49d83, 0x800000, 0xef3c447c6a12f, 0xc42b498000, 0x800000, 0x936000, 0xc4200b6f20, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:170 +0x135
created by github.com/restic/restic/internal/archiver.(*Archiver).SaveFile
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:249 +0x3eb

goroutine 548 [semacquire]:
sync.runtime_SemacquireMutex(0xc4200685bc, 0x92722c8581c2c900)
	/usr/lib/go-1.10/src/runtime/sema.go:71 +0x3d
sync.(*Mutex).Lock(0xc4200685b8)
	/usr/lib/go-1.10/src/sync/mutex.go:134 +0x108
github.com/restic/restic/internal/archiver.(*Archiver).isKnownBlob(0xc4200685a0, 0x59b3d390e46e876, 0x356e0635d6ca0c6a, 0xe9caa7f8ed2710b1, 0x9baebf189fcb5c19, 0xc42062ac01, 0x4b7800)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:80 +0x56
github.com/restic/restic/internal/archiver.(*Archiver).Save(0xc4200685a0, 0xb3f580, 0xc420067380, 0x59b3d390e46e801, 0xc42c974000, 0x42a536, 0x4b6000, 0x59b3d390e46e876, 0x356e0635d6ca0c6a, 0xe9caa7f8ed2710b1, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:100 +0x14c
github.com/restic/restic/internal/archiver.(*Archiver).saveChunk(0xc4200685a0, 0xb3f580, 0xc420067380, 0x5ff1f7e, 0x42a536, 0xb19b242900000, 0xc42c974000, 0x42a536, 0x4b6000, 0xc4200b6f20, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:170 +0x135
created by github.com/restic/restic/internal/archiver.(*Archiver).SaveFile
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:249 +0x3eb

goroutine 546 [runnable]:
github.com/restic/restic/internal/restic.(*Progress).Report(0xc4200b6f20, 0x0, 0x0, 0xe7065, 0x0, 0x0, 0x0)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/restic/progress.go:116 +0x249
github.com/restic/restic/internal/archiver.(*Archiver).saveChunk(0xc4200685a0, 0xb3f580, 0xc420067380, 0x5f0aa97, 0xe7065, 0xa50104d700000, 0xc426b78000, 0xe7065, 0xfa000, 0xc4200b6f20, ...)
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:178 +0x1a4
created by github.com/restic/restic/internal/archiver.(*Archiver).SaveFile
	/build/restic-4SDbaH/restic-0.8.3+ds/obj-x86_64-linux-gnu/src/github.com/restic/restic/internal/archiver/archiver.go:249 +0x3eb

@fd0

This comment has been minimized.

Copy link
Member

fd0 commented Jul 25, 2018

Thanks for reporting this, the stack trace isn't that helpful unfortunately. Can you please test with restic 0.9.1? 0.8.3 is quite old, and we've since replaced the archiver code completely...

If the issue persists, please open a new bug report (ideally with instructions on how to reproduce). Thank you!

@xikaos

This comment has been minimized.

Copy link

xikaos commented Jul 26, 2018

@fd0 Upgrading to 0.9.1 solved the issue in the conditions I described. Thanks for the awesome work building and mantaining restic.

@prosoitos

This comment has been minimized.

Copy link
Contributor

prosoitos commented Oct 15, 2018

Hey, glad you figured it out. restic will hint at the unlock command when a stale (=old) lock is detected.

I ran into a similar issue after a computer crash in a middle of a restic operation. But restic was not hinting at the unlock command in my case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment