Hello,
I’ve recently run into the same issue with a script that hasn’t changed in a few years.
when I abort the task as per instructions above, I get the following:
SIGABRT: abort
PC=0x55d4711ed621 m=0 sigcode=0
goroutine 0 [idle]:
runtime.futex(0x55d4727a9888, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ffc22012da8, 0x55d471191f83, ...)
runtime/sys_linux_amd64.s:567 +0x21
runtime.futexsleep(0x55d4727a9888, 0x0, 0xffffffffffffffff)
runtime/os_linux.go:45 +0x46
runtime.notesleep(0x55d4727a9888)
runtime/lock_futex.go:151 +0xa3
runtime.stopm()
runtime/proc.go:1860 +0xc4
runtime.findrunnable(0xc00003a800, 0x0)
runtime/proc.go:2407 +0xa13
runtime.schedule()
runtime/proc.go:2567 +0x300
runtime.park_m(0xc0004b8d80)
runtime/proc.go:2737 +0xa3
runtime.mcall(0x55d471aab720)
runtime/asm_amd64.s:318 +0x53
goroutine 1 [select]:
net/http.(*Transport).getConn(0xc00041de00, 0xc000294000, 0x0, 0xc000090d90, 0x5, 0xc0000366c0, 0x21, 0x0, 0x0, 0x0, ...)
net/http/transport.go:1350 +0x587
net/http.(*Transport).roundTrip(0xc00041de00, 0xc0004cf000, 0xc00067c060, 0xc00067c060, 0x55d471fc9c20)
net/http/transport.go:569 +0x76d
net/http.(*Transport).RoundTrip(0xc00041de00, 0xc0004cf000, 0x55d4720be6e0, 0xc00067c060, 0xc000760010)
net/http/roundtrip.go:17 +0x37
github.com/restic/restic/internal/limiter.staticLimiter.roundTripper(0x0, 0x0, 0x55d4720b28e0, 0xc00041de00, 0xc0004cf000, 0x2b2f819402bc1, 0xc031a1a7d8, 0x31a1a7d800725e78)
github.com/restic/restic/internal/limiter/static_limiter.go:67 +0x69
github.com/restic/restic/internal/limiter.staticLimiter.Transport.func1(0xc0004cf000, 0x61040b1f, 0x31a1a7d8, 0x2b2f819402bc1)
github.com/restic/restic/internal/limiter/static_limiter.go:82 +0x51
github.com/restic/restic/internal/limiter.roundTripper.RoundTrip(0xc0004b1ce0, 0xc0004cf000, 0x55d4727a8120, 0x55d471ab61b6, 0xe)
github.com/restic/restic/internal/limiter/static_limiter.go:56 +0x32
github.com/kurin/blazer/b2.(*clientTransport).RoundTrip(0xc0004b72a0, 0xc0004cf000, 0xc000726020, 0x55d47164a71e, 0x55d471fe2c60)
github.com/kurin/blazer@v0.5.3/b2/b2.go:159 +0xe7
github.com/kurin/blazer/base.makeNetRequest(0x55d4720c8c20, 0xc0034382c0, 0xc0004ce100, 0x55d4720b0ec0, 0xc0004b72a0, 0xc000678028, 0x4, 0xc000512fc0)
github.com/kurin/blazer@v0.5.3/base/base.go:292 +0xfe
github.com/kurin/blazer/base.(*b2Options).makeRequest(0xc000500140, 0x55d4720c8c20, 0xc0034382c0, 0x55d471ab61b6, 0xe, 0x55d471aac42b, 0x4, 0xc000090d90, 0x6a, 0x0, ...)
github.com/kurin/blazer@v0.5.3/base/base.go:392 +0x6e9
github.com/kurin/blazer/base.(*URL).UploadFile(0xc003367e30, 0x55d4720c8c20, 0xc0034382c0, 0x55d4720b0ee0, 0xc000512fc0, 0x2a2, 0xc000aa1b90, 0x62, 0x55d471ac03fa, 0x18, ...)
github.com/kurin/blazer@v0.5.3/base/base.go:730 +0x570
github.com/kurin/blazer/b2.(*b2URL).uploadFile(0xc00000fab8, 0x55d4720c8c20, 0xc0034382c0, 0x55d4720b0ee0, 0xc000512fc0, 0x2a2, 0xc000aa1b90, 0x62, 0x55d471ac03fa, 0x18, ...)
github.com/kurin/blazer@v0.5.3/b2/baseline.go:404 +0xe1
github.com/kurin/blazer/b2.(*beURL).uploadFile.func1(0xc000726710, 0xc0007266f8)
github.com/kurin/blazer@v0.5.3/b2/backend.go:510 +0x1df
github.com/kurin/blazer/b2.withBackoff(0x55d4720c8c20, 0xc0034382c0, 0x55d4720d3080, 0xc0000aecf0, 0xc0007267b8, 0xc0007267d8, 0x20)
github.com/kurin/blazer@v0.5.3/b2/backend.go:747 +0x4f
github.com/kurin/blazer/b2.(*beURL).uploadFile(0xc00075cc40, 0x55d4720c8c20, 0xc0034382c0, 0x55d4720bb960, 0xc000512fc0, 0x2a2, 0xc000aa1b90, 0x62, 0x55d471ac03fa, 0x18, ...)
github.com/kurin/blazer@v0.5.3/b2/backend.go:521 +0x15f
github.com/kurin/blazer/b2.(*Writer).simpleWriteFile(0xc000342420, 0x0, 0x0)
github.com/kurin/blazer@v0.5.3/b2/writer.go:307 +0x362
github.com/kurin/blazer/b2.(*Writer).Close.func1()
github.com/kurin/blazer@v0.5.3/b2/writer.go:497 +0x251
sync.(*Once).doSlow(0xc0003424cc, 0xc000726a68)
sync/once.go:66 +0xee
sync.(*Once).Do(...)
sync/once.go:57
github.com/kurin/blazer/b2.(*Writer).Close(0xc000342420, 0x27a, 0x7fc9957a0388)
github.com/kurin/blazer@v0.5.3/b2/writer.go:483 +0x8e
github.com/restic/restic/internal/backend/b2.(*b2Backend).Save(0xc000128b80, 0x55d4720c8c20, 0xc003438280, 0x55d471aac66b, 0x4, 0xc000baa200, 0x40, 0x55d4720c4460, 0xc000260480, 0x0, ...)
github.com/restic/restic/internal/backend/b2/b2.go:216 +0x4ed
github.com/restic/restic/internal/backend.(*RetryBackend).Save.func1(0xc0002604e0, 0xc0002604e0)
github.com/restic/restic/internal/backend/backend_retry.go:66 +0xfa
github.com/cenkalti/backoff/v4.RetryNotifyWithTimer(0xc000726de8, 0x7fc995b92eb8, 0xc0002604e0, 0xc000726d48, 0x55d4720c3f60, 0xc00000e370, 0x0, 0x0)
github.com/cenkalti/backoff/v4@v4.0.2/retry.go:52 +0xfa
github.com/cenkalti/backoff/v4.RetryNotify(...)
github.com/cenkalti/backoff/v4@v4.0.2/retry.go:31
github.com/restic/restic/internal/backend.(*RetryBackend).retry(0xc0001aa040, 0x55d4720c8c20, 0xc000033f40, 0xc000685260, 0x17, 0xc000726de8, 0x17, 0x55d472097220)
github.com/restic/restic/internal/backend/backend_retry.go:46 +0x1ac
github.com/restic/restic/internal/backend.(*RetryBackend).Save(0xc0001aa040, 0x55d4720c8c20, 0xc000033f40, 0x55d471aac66b, 0x4, 0xc000baa200, 0x40, 0x55d4720c4460, 0xc000260480, 0x0, ...)
github.com/restic/restic/internal/backend/backend_retry.go:60 +0x1b9
github.com/restic/restic/internal/cache.(*Backend).Save(0xc00069e6f0, 0x55d4720c8c20, 0xc000033f40, 0x55d471aac66b, 0x4, 0xc000baa200, 0x40, 0x55d4720c4460, 0xc000260480, 0xc000678220, ...)
github.com/restic/restic/internal/cache/backend.go:54 +0x31d
github.com/restic/restic/internal/repository.(*Repository).savePacker(0xc00076ca80, 0x55d4720c8c20, 0xc000033f40, 0x2, 0xc000260460, 0x0, 0x0)
github.com/restic/restic/internal/repository/packer_manager.go:110 +0x1fc
github.com/restic/restic/internal/repository.(*Repository).FlushPacks(0xc00076ca80, 0x55d4720c8c20, 0xc000033f40, 0x211, 0x313c08f2)
github.com/restic/restic/internal/repository/repository.go:357 +0xe8
github.com/restic/restic/internal/repository.(*Repository).Flush(0xc00076ca80, 0x55d4720c8c20, 0xc000033f40, 0x0, 0x0)
github.com/restic/restic/internal/repository/repository.go:331 +0x45
github.com/restic/restic/internal/archiver.(*Archiver).Snapshot(0xc0002001b0, 0x55d4720c8c20, 0xc000033f40, 0xc000443e30, 0x1, 0x1, 0x55d4727d36a0, 0x0, 0x0, 0xc0004cc1d9, ...)
github.com/restic/restic/internal/archiver/archiver.go:824 +0x35e
main.runBackup(0x0, 0x0, 0x0, 0xc0004b7180, 0x2, 0x2, 0x0, 0x0, 0x0, 0x0, ...)
github.com/restic/restic/cmd/restic/cmd_backup.go:710 +0x1097
main.glob..func2(0x55d472733880, 0xc0000b4f00, 0x1, 0x8, 0x0, 0x0)
github.com/restic/restic/cmd/restic/cmd_backup.go:62 +0x182
github.com/spf13/cobra.(*Command).execute(0x55d472733880, 0xc0004ae1c0, 0x8, 0xe, 0x55d472733880, 0xc0004ae1c0)
github.com/spf13/cobra@v0.0.5/command.go:826 +0x455
github.com/spf13/cobra.(*Command).ExecuteC(0x55d472736800, 0xc000443d80, 0x2, 0x8)
github.com/spf13/cobra@v0.0.5/command.go:914 +0x2fd
github.com/spf13/cobra.(*Command).Execute(...)
github.com/spf13/cobra@v0.0.5/command.go:864
main.main()
github.com/restic/restic/cmd/restic/main.go:98 +0x41
goroutine 18 [chan receive, 917 minutes]:
github.com/restic/restic/internal/restic.init.0.func1.1()
github.com/restic/restic/internal/restic/lock.go:254 +0xb5
created by github.com/restic/restic/internal/restic.init.0.func1
github.com/restic/restic/internal/restic/lock.go:251 +0x37
goroutine 33 [syscall, 917 minutes]:
os/signal.signal_recv(0x0)
runtime/sigqueue.go:147 +0x9e
os/signal.loop()
os/signal/signal_unix.go:23 +0x24
created by os/signal.Notify.func1
os/signal/signal.go:127 +0x46
goroutine 5 [select]:
go.opencensus.io/stats/view.(*worker).start(0xc0000b4300)
go.opencensus.io@v0.22.4/stats/view/worker.go:276 +0x102
created by go.opencensus.io/stats/view.init.0
go.opencensus.io@v0.22.4/stats/view/worker.go:34 +0x6a
goroutine 6 [chan receive, 917 minutes]:
main.CleanupHandler(0xc000093680)
github.com/restic/restic/cmd/restic/cleanup.go:59 +0x4e
created by main.init.0
github.com/restic/restic/cmd/restic/cleanup.go:21 +0x69
goroutine 7 [select, 862 minutes]:
github.com/restic/restic/internal/ui/termstatus.(*Terminal).runWithoutStatus(0xc000093ce0, 0x55d4720c8c20, 0xc000144180)
github.com/restic/restic/internal/ui/termstatus/status.go:185 +0x141
github.com/restic/restic/internal/ui/termstatus.(*Terminal).Run(0xc000093ce0, 0x55d4720c8c20, 0xc000144180)
github.com/restic/restic/internal/ui/termstatus/status.go:95 +0xac
main.glob..func2.1(0x0, 0x0)
github.com/restic/restic/cmd/restic/cmd_backup.go:60 +0x6f
gopkg.in/tomb%2ev2.(*Tomb).run(0xc0000aafa0, 0xc0004b71e0)
gopkg.in/tomb.v2@v2.0.0-20161208151619-d5d1b5820637/tomb.go:163 +0x3a
created by gopkg.in/tomb%2ev2.(*Tomb).Go
gopkg.in/tomb.v2@v2.0.0-20161208151619-d5d1b5820637/tomb.go:159 +0xbc
goroutine 82 [select]:
github.com/restic/restic/internal/ui.(*Backup).Run(0xc000387930, 0x55d4720c8c20, 0xc0034384c0, 0x0, 0x0)
github.com/restic/restic/internal/ui/backup.go:102 +0x353
main.runBackup.func2(0x0, 0xc0001262a0)
github.com/restic/restic/cmd/restic/cmd_backup.go:566 +0x86
gopkg.in/tomb%2ev2.(*Tomb).run(0xc0000aaff0, 0xc003367c80)
gopkg.in/tomb.v2@v2.0.0-20161208151619-d5d1b5820637/tomb.go:163 +0x3a
created by gopkg.in/tomb%2ev2.(*Tomb).Go
gopkg.in/tomb.v2@v2.0.0-20161208151619-d5d1b5820637/tomb.go:159 +0xbc
goroutine 2261 [select, 4 minutes]:
main.refreshLocks(0x55d4727a7b60, 0xc00034b440)
github.com/restic/restic/cmd/restic/lock.go:70 +0x1c2
created by main.lockRepository
github.com/restic/restic/cmd/restic/lock.go:47 +0x269
goroutine 39827 [IO wait]:
internal/poll.runtime_pollWait(0x7fc995b40f18, 0x72, 0xffffffffffffffff)
runtime/netpoll.go:203 +0x57
internal/poll.(*pollDesc).wait(0xc000128518, 0x72, 0x200, 0x205, 0xffffffffffffffff)
internal/poll/fd_poll_runtime.go:87 +0x47
internal/poll.(*pollDesc).waitRead(...)
internal/poll/fd_poll_runtime.go:92
internal/poll.(*FD).Read(0xc000128500, 0xc0003a2240, 0x205, 0x205, 0x0, 0x0, 0x0)
internal/poll/fd_unix.go:169 +0x19d
net.(*netFD).Read(0xc000128500, 0xc0003a2240, 0x205, 0x205, 0x203000, 0xc000100e00, 0x7fc9bcc5c7d0)
net/fd_unix.go:202 +0x51
net.(*conn).Read(0xc0002e8008, 0xc0003a2240, 0x205, 0x205, 0x0, 0x0, 0x0)
net/net.go:184 +0x90
crypto/tls.(*atLeastReader).Read(0xc000772040, 0xc0003a2240, 0x205, 0x205, 0xc0003a2240, 0x0, 0xc0001919b0)
crypto/tls/conn.go:760 +0x62
bytes.(*Buffer).ReadFrom(0xc0004d7e58, 0x55d4720b0400, 0xc000772040, 0x55d471191437, 0x55d471f56c80, 0x55d47205dd20)
bytes/buffer.go:204 +0xb3
crypto/tls.(*Conn).readFromUntil(0xc0004d7c00, 0x55d4720b2860, 0xc0002e8008, 0x5, 0xc0002e8008, 0xc000191a98)
crypto/tls/conn.go:782 +0xee
crypto/tls.(*Conn).readRecordOrCCS(0xc0004d7c00, 0x100, 0x126, 0x0)
crypto/tls/conn.go:589 +0x117
crypto/tls.(*Conn).readRecord(...)
crypto/tls/conn.go:557
crypto/tls.(*Conn).readHandshake(0xc0004d7c00, 0xc00016c016, 0xc00016c000, 0x126, 0x180)
crypto/tls/conn.go:973 +0x6f
crypto/tls.(*Conn).clientHandshake(0xc0004d7c00, 0x0, 0x0)
crypto/tls/handshake_client.go:172 +0x27b
crypto/tls.(*Conn).Handshake(0xc0004d7c00, 0x0, 0x0)
crypto/tls/conn.go:1340 +0xce
net/http.(*persistConn).addTLS.func2(0x0, 0xc0004d7c00, 0xc000642050, 0xc00019a420)
net/http/transport.go:1512 +0x44
created by net/http.(*persistConn).addTLS
net/http/transport.go:1508 +0x1ac
goroutine 39786 [chan receive]:
net/http.(*persistConn).addTLS(0xc0005e6120, 0xc0000366c0, 0x1d, 0x0, 0xc0000366de, 0x3)
net/http/transport.go:1518 +0x1d5
net/http.(*Transport).dialConn(0xc00041de00, 0x55d4720c8c20, 0xc0034382c0, 0x0, 0xc000090d90, 0x5, 0xc0000366c0, 0x21, 0x0, 0xc0005e6120, ...)
net/http/transport.go:1588 +0x1c5f
net/http.(*Transport).dialConnFor(0xc00041de00, 0xc0001c22c0)
net/http/transport.go:1424 +0xc8
created by net/http.(*Transport).queueForDial
net/http/transport.go:1393 +0x400
rax 0xca
rbx 0x55d4727a9740
rcx 0x55d4711ed623
rdx 0x0
rdi 0x55d4727a9888
rsi 0x80
rbp 0x7ffc22012d70
rsp 0x7ffc22012d28
r8 0x0
r9 0x0
r10 0x0
r11 0x286
r12 0x3
r13 0x55d4727a8fa0
r14 0x0
r15 0x0
rip 0x55d4711ed621
rflags 0x286
cs 0x33
fs 0x0
gs 0x0
Can anyone shed some insight as to what this might mean?