Rclone does not end after finishing an sftp copy

What is the problem you are having with rclone?

I'm using rclone to sync from an sftp service to my local drive; everything is copied, all checks pass, and rclone reports that sub-processes are closed but the rclone process itself remains open.

An important piece of context is that I am actually in the process of implementing this SFTP service, and thoguh I believe it is following the documented protocol / it works with other clients that is a possible source of the issue. Either way it is unexpected to have rclone hang in this way even if something is wrong on the server.

Run the command 'rclone version' and share the full output of the command.

rclone v1.59.1

  • os/version: darwin 12.6 (64 bit)
  • os/kernel: 21.6.0 (arm64)
  • os/type: darwin
  • os/arch: arm64
  • go/version: go1.19
  • go/linking: dynamic
  • go/tags: none

Which cloud storage system are you using? (eg Google Drive)

SFTP

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone copy permanent-dev:/ ~/demo -vv

The rclone config contents with secrets removed.

[permanent-dev]
type = sftp
host = ###
pass = ###
user = ###
shell_type = unix
md5sum_command = none
sha1sum_command = none

A log from the command with the -vv flag

rclone copy permanent-dev:/ ~/demo -vv
2022/11/10 10:28:24 DEBUG : rclone: Version "v1.59.1" starting with parameters ["rclone" "copy" "permanent-dev:/" "/Users/slifty/demo" "-vv"]
2022/11/10 10:28:24 DEBUG : Creating backend with remote "permanent-dev:/"
2022/11/10 10:28:24 DEBUG : Using config file from "/Users/slifty/.config/rclone/rclone.conf"
2022/11/10 10:28:24 DEBUG : sftp://cecilia+sftpdemo@permanent.org@54.234.31.239:22//: Keyboard interactive auth requested
2022/11/10 10:28:24 DEBUG : sftp://cecilia+sftpdemo@permanent.org@54.234.31.239:22//: New connection 192.168.1.113:59681->54.234.31.239:22 to "SSH-2.0-ssh2js1.11.0"
2022/11/10 10:28:24 DEBUG : sftp://cecilia+sftpdemo@permanent.org@54.234.31.239:22//: Shell type "unix" from config
2022/11/10 10:28:24 DEBUG : sftp://cecilia+sftpdemo@permanent.org@54.234.31.239:22//: Using root directory "/"
2022/11/10 10:28:24 DEBUG : Creating backend with remote "/Users/slifty/demo"
2022/11/10 10:28:26 DEBUG : sftp://cecilia+sftpdemo@permanent.org@54.234.31.239:22//: Keyboard interactive auth requested
2022/11/10 10:28:26 DEBUG : sftp://cecilia+sftpdemo@permanent.org@54.234.31.239:22//: Keyboard interactive auth requested
2022/11/10 10:28:26 DEBUG : sftp://cecilia+sftpdemo@permanent.org@54.234.31.239:22//: New connection 192.168.1.113:59682->54.234.31.239:22 to "SSH-2.0-ssh2js1.11.0"
2022/11/10 10:28:26 DEBUG : sftp://cecilia+sftpdemo@permanent.org@54.234.31.239:22//: New connection 192.168.1.113:59683->54.234.31.239:22 to "SSH-2.0-ssh2js1.11.0"
2022/11/10 10:28:28 DEBUG : archives/SFTP Demo (10409)/My Files/signup-archive-page.jpg: Size and modification time the same (differ by 0s, within tolerance 1s)
2022/11/10 10:28:28 DEBUG : archives/SFTP Demo (10409)/My Files/signup-archive-page.jpg: Unchanged skipping
2022/11/10 10:28:28 DEBUG : archives/SFTP Demo (10409)/My Files/test-email-screenshot (1).png: Size and modification time the same (differ by 0s, within tolerance 1s)
2022/11/10 10:28:28 DEBUG : archives/SFTP Demo (10409)/My Files/test-email-screenshot (1).png: Unchanged skipping
2022/11/10 10:28:28 DEBUG : archives/SFTP Demo (10409)/My Files/stash.jpg: Size and modification time the same (differ by 0s, within tolerance 1s)
2022/11/10 10:28:28 DEBUG : archives/SFTP Demo (10409)/My Files/stash.jpg: Unchanged skipping
2022/11/10 10:28:28 DEBUG : archives/SFTP Demo (10409)/My Files/test-email-screenshot.png: Size and modification time the same (differ by 0s, within tolerance 1s)
2022/11/10 10:28:28 DEBUG : archives/SFTP Demo (10409)/My Files/test-email-screenshot.png: Unchanged skipping
2022/11/10 10:28:28 DEBUG : archives/SFTP Demo (10409)/My Files/permanent-weather.png: Size and modification time the same (differ by 0s, within tolerance 1s)
2022/11/10 10:28:28 DEBUG : archives/SFTP Demo (10409)/My Files/permanent-weather.png: Unchanged skipping
2022/11/10 10:28:30 DEBUG : archives/SFTP Demo (10409)/My Files/pdfs/Storage to the People.pdf: Size and modification time the same (differ by 0s, within tolerance 1s)
2022/11/10 10:28:30 DEBUG : archives/SFTP Demo (10409)/My Files/pdfs/Storage to the People.pdf: Unchanged skipping
2022/11/10 10:28:30 DEBUG : archives/SFTP Demo (10409)/My Files/pdfs/Marketing_Site_Redesign_Personas__1_.pdf: Size and modification time the same (differ by 0s, within tolerance 1s)
2022/11/10 10:28:30 DEBUG : archives/SFTP Demo (10409)/My Files/pdfs/Marketing_Site_Redesign_Personas__1_.pdf: Unchanged skipping
2022/11/10 10:28:30 DEBUG : archives/SFTP Demo (10409)/My Files/pdfs/System Generated Emails - Mobile Pre Release Notification List.pdf: Size and modification time the same (differ by 0s, within tolerance 1s)
2022/11/10 10:28:30 DEBUG : archives/SFTP Demo (10409)/My Files/pdfs/System Generated Emails - Mobile Pre Release Notification List.pdf: Unchanged skipping
2022/11/10 10:28:33 NOTICE: archives/SFTP Demo (10409)/My Files/astronomy photos/20191011_2019-08-08-JMT19_1521-Pano-Edit.jpg: Duplicate object found in source - ignoring
2022/11/10 10:28:33 NOTICE: archives/SFTP Demo (10409)/My Files/astronomy photos/20191011_2019-08-08-JMT19_1521-Pano-Edit.jpg: Duplicate object found in source - ignoring
2022/11/10 10:28:33 NOTICE: archives/SFTP Demo (10409)/My Files/astronomy photos/20191011_2019-08-08-JMT19_1521-Pano-Edit.jpg: Duplicate object found in source - ignoring
2022/11/10 10:28:33 NOTICE: archives/SFTP Demo (10409)/My Files/astronomy photos/20191011_2019-08-08-JMT19_1521-Pano-Edit.jpg: Duplicate object found in source - ignoring
2022/11/10 10:28:33 NOTICE: archives/SFTP Demo (10409)/My Files/astronomy photos/20191011_2019-08-08-JMT19_1521-Pano-Edit.jpg: Duplicate object found in source - ignoring
2022/11/10 10:28:33 DEBUG : archives/SFTP Demo (10409)/My Files/astronomy photos/20191004_PIA23180_raw.gif: Size and modification time the same (differ by 0s, within tolerance 1s)
2022/11/10 10:28:33 DEBUG : archives/SFTP Demo (10409)/My Files/astronomy photos/20191004_PIA23180_raw.gif: Unchanged skipping
2022/11/10 10:28:33 DEBUG : archives/SFTP Demo (10409)/My Files/astronomy photos/20191010_MWBolideEricWagner2400.jpg: Size and modification time the same (differ by 0s, within tolerance 1s)
2022/11/10 10:28:33 DEBUG : archives/SFTP Demo (10409)/My Files/astronomy photos/20191013_Ngc290_HubbleOlszewski_1701.jpg: Size and modification time the same (differ by 0s, within tolerance 1s)
2022/11/10 10:28:33 DEBUG : archives/SFTP Demo (10409)/My Files/astronomy photos/20191015_MilkyWayAbove_Guerra_3952.jpg: Size and modification time the same (differ by 0s, within tolerance 1s)
2022/11/10 10:28:33 DEBUG : Local file system at /Users/slifty/demo: Waiting for checks to finish
2022/11/10 10:28:33 DEBUG : archives/SFTP Demo (10409)/My Files/astronomy photos/20191014_M31Before_Scherer_4298.jpg: Size and modification time the same (differ by 0s, within tolerance 1s)
2022/11/10 10:28:33 DEBUG : archives/SFTP Demo (10409)/My Files/astronomy photos/20191020_PIA20727PlutoNight.jpg: Size and modification time the same (differ by 0s, within tolerance 1s)
2022/11/10 10:28:33 DEBUG : archives/SFTP Demo (10409)/My Files/astronomy photos/20191015_MilkyWayAbove_Guerra_3952.jpg: Unchanged skipping
2022/11/10 10:28:33 DEBUG : archives/SFTP Demo (10409)/My Files/astronomy photos/20191022_MilkyWaySaltFlat_Huerta_2048.jpg: Size and modification time the same (differ by 0s, within tolerance 1s)
2022/11/10 10:28:33 DEBUG : archives/SFTP Demo (10409)/My Files/astronomy photos/20191022_MilkyWaySaltFlat_Huerta_2048.jpg: Unchanged skipping
2022/11/10 10:28:33 DEBUG : archives/SFTP Demo (10409)/My Files/astronomy photos/20191024_Barnard150Seahorse.jpg: Size and modification time the same (differ by 0s, within tolerance 1s)
2022/11/10 10:28:33 DEBUG : archives/SFTP Demo (10409)/My Files/astronomy photos/20191024_Barnard150Seahorse.jpg: Unchanged skipping
2022/11/10 10:28:33 DEBUG : archives/SFTP Demo (10409)/My Files/astronomy photos/20191025_IC59IC63TheGhostsOfCassiopeiaTommasoStella2019.jpg: Size and modification time the same (differ by 0s, within tolerance 1s)
2022/11/10 10:28:33 DEBUG : archives/SFTP Demo (10409)/My Files/astronomy photos/20191025_IC59IC63TheGhostsOfCassiopeiaTommasoStella2019.jpg: Unchanged skipping
2022/11/10 10:28:33 DEBUG : archives/SFTP Demo (10409)/My Files/astronomy photos/20191026_cheshirecat_chandra_complg.jpg: Size and modification time the same (differ by 0s, within tolerance 1s)
2022/11/10 10:28:33 DEBUG : archives/SFTP Demo (10409)/My Files/astronomy photos/20191026_cheshirecat_chandra_complg.jpg: Unchanged skipping
2022/11/10 10:28:33 DEBUG : archives/SFTP Demo (10409)/My Files/astronomy photos/20191028_IssTransit_Poupeau_2406.jpg: Size and modification time the same (differ by 0s, within tolerance 1s)
2022/11/10 10:28:33 DEBUG : archives/SFTP Demo (10409)/My Files/astronomy photos/20191028_IssTransit_Poupeau_2406.jpg: Unchanged skipping
2022/11/10 10:28:33 DEBUG : archives/SFTP Demo (10409)/My Files/astronomy photos/20191029_ClayCache_Curiosity_9990.jpg: Size and modification time the same (differ by 0s, within tolerance 1s)
2022/11/10 10:28:33 DEBUG : archives/SFTP Demo (10409)/My Files/astronomy photos/20191029_ClayCache_Curiosity_9990.jpg: Unchanged skipping
2022/11/10 10:28:33 DEBUG : archives/SFTP Demo (10409)/My Files/astronomy photos/20191014_M31Before_Scherer_4298.jpg: Unchanged skipping
2022/11/10 10:28:33 DEBUG : archives/SFTP Demo (10409)/My Files/astronomy photos/20191031_ghostlyVeilNebula.jpg: Size and modification time the same (differ by 0s, within tolerance 1s)
2022/11/10 10:28:33 DEBUG : archives/SFTP Demo (10409)/My Files/astronomy photos/20191031_ghostlyVeilNebula.jpg: Unchanged skipping
2022/11/10 10:28:33 DEBUG : archives/SFTP Demo (10409)/My Files/astronomy photos/20191013_Ngc290_HubbleOlszewski_1701.jpg: Unchanged skipping
2022/11/10 10:28:33 DEBUG : archives/SFTP Demo (10409)/My Files/astronomy photos/20191010_MWBolideEricWagner2400.jpg: Unchanged skipping
2022/11/10 10:28:33 DEBUG : archives/SFTP Demo (10409)/My Files/astronomy photos/20191003_M33-Subaru-Gendler-LL.jpg: Size and modification time the same (differ by 0s, within tolerance 1s)
2022/11/10 10:28:33 DEBUG : archives/SFTP Demo (10409)/My Files/astronomy photos/20191003_M33-Subaru-Gendler-LL.jpg: Unchanged skipping
2022/11/10 10:28:33 DEBUG : archives/SFTP Demo (10409)/My Files/astronomy photos/20191011_2019-08-08-JMT19_1521-Pano-Edit.jpg: Size and modification time the same (differ by 0s, within tolerance 1s)
2022/11/10 10:28:33 DEBUG : archives/SFTP Demo (10409)/My Files/astronomy photos/20191011_2019-08-08-JMT19_1521-Pano-Edit.jpg: Unchanged skipping
2022/11/10 10:28:33 DEBUG : archives/SFTP Demo (10409)/My Files/astronomy photos/20191020_PIA20727PlutoNight.jpg: Unchanged skipping
2022/11/10 10:28:33 DEBUG : archives/SFTP Demo (10409)/My Files/astronomy photos/20191006_HorseFlame_Priego_3252.jpg: Size and modification time the same (differ by 0s, within tolerance 1s)
2022/11/10 10:28:33 DEBUG : archives/SFTP Demo (10409)/My Files/astronomy photos/20191006_HorseFlame_Priego_3252.jpg: Unchanged skipping
2022/11/10 10:28:33 DEBUG : archives/SFTP Demo (10409)/My Files/astronomy photos/20191030_M42Detailed_DrudisGoldman_8150.jpg: Size and modification time the same (differ by 0s, within tolerance 1s)
2022/11/10 10:28:33 DEBUG : archives/SFTP Demo (10409)/My Files/astronomy photos/20191030_M42Detailed_DrudisGoldman_8150.jpg: Unchanged skipping
2022/11/10 10:28:33 DEBUG : Local file system at /Users/slifty/demo: Waiting for transfers to finish
2022/11/10 10:28:33 INFO  : There was nothing to transfer
2022/11/10 10:28:33 INFO  :
Transferred:   	          0 B / 0 B, -, 0 B/s, ETA -
Checks:                25 / 25, 100%
Elapsed time:         9.4s

2022/11/10 10:28:33 DEBUG : 31 go routines active
2022/11/10 10:28:33 DEBUG : sftp://cecilia+sftpdemo@permanent.org@54.234.31.239:22//: Closing 3 unused connections

I couldn't post this in the OP, and have to truncate the output here as well since it is so long, but I also tried running kill -QUIT on the process and this was the resulting output:

SIGQUIT: quit
PC=0x1a167e270 m=0 sigcode=0

goroutine 0 [idle]:
runtime.pthread_cond_wait(0x1059d5b20, 0x1059d5ae0)
	runtime/sys_darwin.go:449 +0x20 fp=0x16cf42b60 sp=0x16cf42b30 pc=0x102f1a160
runtime.semasleep(0xffffffffffffffff)
	runtime/os_darwin.go:66 +0x78 fp=0x16cf42bc0 sp=0x16cf42b60 pc=0x102ef65e8
runtime.notesleep(0x1059d58e8)
	runtime/lock_sema.go:181 +0xc0 fp=0x16cf42c00 sp=0x16cf42bc0 pc=0x102eca220
runtime.mPark()
	runtime/proc.go:1457 +0x20 fp=0x16cf42c20 sp=0x16cf42c00 pc=0x102efedd0
runtime.stoplockedm()
	runtime/proc.go:2440 +0x50 fp=0x16cf42c70 sp=0x16cf42c20 pc=0x102f00e00
runtime.schedule()
	runtime/proc.go:3185 +0x34 fp=0x16cf42cb0 sp=0x16cf42c70 pc=0x102f02dd4
runtime.park_m(0x110?)
	runtime/proc.go:3355 +0x138 fp=0x16cf42ce0 sp=0x16cf42cb0 pc=0x102f03388
runtime.mcall()
	runtime/asm_arm64.s:192 +0x54 fp=0x16cf42cf0 sp=0x16cf42ce0 pc=0x102f2cbf4

goroutine 1 [semacquire]:
runtime.gopark(0x1059dca20?, 0x10489c3c0?, 0xc0?, 0xc6?, 0x102ecdbdc?)
	runtime/proc.go:363 +0xe4 fp=0x14000dc17c0 sp=0x14000dc17a0 pc=0x102efc424
runtime.goparkunlock(...)
	runtime/proc.go:369
runtime.semacquire1(0x1400063d2c8, 0x20?, 0x1, 0x0)
	runtime/sema.go:150 +0x20c fp=0x14000dc1820 sp=0x14000dc17c0 pc=0x102f0e22c
sync.runtime_Semacquire(0x14000dc1898?)
	runtime/sema.go:62 +0x28 fp=0x14000dc1850 sp=0x14000dc1820 pc=0x102f2a7b8
sync.(*WaitGroup).Wait(0x1400063d2c0)
	sync/waitgroup.go:139 +0x80 fp=0x14000dc1870 sp=0x14000dc1850 pc=0x102f3dfa0
github.com/pkg/sftp.(*clientConn).Close.func1()
	github.com/pkg/sftp@v1.13.5-0.20211228200725-31aac3e1878d/conn.go:60 +0x28 fp=0x14000dc1890 sp=0x14000dc1870 pc=0x103d53db8
github.com/pkg/sftp.(*clientConn).Close(0x14000dc1908?)
	github.com/pkg/sftp@v1.13.5-0.20211228200725-31aac3e1878d/conn.go:61 +0x6c fp=0x14000dc18e0 sp=0x14000dc1890 pc=0x103d53d4c
github.com/rclone/rclone/backend/sftp.(*conn).close(0x14000950138)
	github.com/rclone/rclone/backend/sftp/sftp.go:454 +0x2c fp=0x14000dc1910 sp=0x14000dc18e0 pc=0x103d749fc
github.com/rclone/rclone/backend/sftp.(*Fs).drainPool(0x140008b1680, {0x104b27620?, 0x104810a01?})
	github.com/rclone/rclone/backend/sftp/sftp.go:652 +0x258 fp=0x14000dc19f0 sp=0x14000dc1910 pc=0x103d76198
github.com/rclone/rclone/backend/sftp.(*Fs).Shutdown(0x14000dc1a58?, {0x104b7eac8?, 0x14000120000?})
	github.com/rclone/rclone/backend/sftp/sftp.go:1518 +0x24 fp=0x14000dc1a20 sp=0x14000dc19f0 pc=0x103d7c3e4
github.com/rclone/rclone/fs/cache.createOnFirstUse.func1.1({0x104b27620?, 0x140008b1680?})
	github.com/rclone/rclone/fs/cache/cache.go:30 +0x58 fp=0x14000dc1a60 sp=0x14000dc1a20 pc=0x1032336c8
github.com/rclone/rclone/lib/cache.(*Cache).Clear(0x14000c0e6c0)
	github.com/rclone/rclone/lib/cache/cache.go:235 +0xd8 fp=0x14000dc1b00 sp=0x14000dc1a60 pc=0x103233268
github.com/rclone/rclone/fs/cache.Clear()
	github.com/rclone/rclone/fs/cache/cache.go:167 +0x2c fp=0x14000dc1b20 sp=0x14000dc1b00 pc=0x10323468c
github.com/rclone/rclone/cmd.Run(0x1, 0x1, 0x2?, 0x14000dc1d20)
	github.com/rclone/rclone/cmd/cmd.go:325 +0x968 fp=0x14000dc1ce0 sp=0x14000dc1b20 pc=0x103fb94b8
github.com/rclone/rclone/cmd/copy.glob..func1(0x1059b6f80?, {0x14000c0e5d0, 0x2, 0x3})
	github.com/rclone/rclone/cmd/copy/copy.go:89 +0x9c fp=0x14000dc1d60 sp=0x14000dc1ce0 pc=0x10400ca6c
github.com/spf13/cobra.(*Command).execute(0x1059b6f80, {0x14000c0e5a0, 0x3, 0x3})
	github.com/spf13/cobra@v1.4.0/command.go:860 +0x4ac fp=0x14000dc1e40 sp=0x14000dc1d60 pc=0x103f9173c
github.com/spf13/cobra.(*Command).ExecuteC(0x1059b2700)
	github.com/spf13/cobra@v1.4.0/command.go:974 +0x354 fp=0x14000dc1f00 sp=0x14000dc1e40 pc=0x103f91db4
github.com/spf13/cobra.(*Command).Execute(...)
	github.com/spf13/cobra@v1.4.0/command.go:902
github.com/rclone/rclone/cmd.Main()
	github.com/rclone/rclone/cmd/cmd.go:559 +0x74 fp=0x14000dc1f60 sp=0x14000dc1f00 pc=0x103fba824
main.main()
	github.com/rclone/rclone/rclone.go:14 +0x1c fp=0x14000dc1f70 sp=0x14000dc1f60 pc=0x10412316c
runtime.main()
	runtime/proc.go:250 +0x24c fp=0x14000dc1fd0 sp=0x14000dc1f70 pc=0x102efc05c
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x14000dc1fd0 sp=0x14000dc1fd0 pc=0x102f2f294

goroutine 2 [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:363 +0xe4 fp=0x140000a2fa0 sp=0x140000a2f80 pc=0x102efc424
runtime.goparkunlock(...)
	runtime/proc.go:369
runtime.forcegchelper()
	runtime/proc.go:302 +0xac fp=0x140000a2fd0 sp=0x140000a2fa0 pc=0x102efc2bc
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x140000a2fd0 sp=0x140000a2fd0 pc=0x102f2f294
created by runtime.init.6
	runtime/proc.go:290 +0x24

goroutine 3 [GC sweep wait]:
runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:363 +0xe4 fp=0x140000a3770 sp=0x140000a3750 pc=0x102efc424
runtime.goparkunlock(...)
	runtime/proc.go:369
runtime.bgsweep(0x0?)
	runtime/mgcsweep.go:297 +0x10c fp=0x140000a37b0 sp=0x140000a3770 pc=0x102ee5cfc
runtime.gcenable.func1()
	runtime/mgc.go:178 +0x28 fp=0x140000a37d0 sp=0x140000a37b0 pc=0x102eda148
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x140000a37d0 sp=0x140000a37d0 pc=0x102f2f294
created by runtime.gcenable
	runtime/mgc.go:178 +0x74

goroutine 4 [GC scavenge wait]:
runtime.gopark(0x140000d4000?, 0x1045a9bc0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:363 +0xe4 fp=0x140000a3f50 sp=0x140000a3f30 pc=0x102efc424
runtime.goparkunlock(...)
	runtime/proc.go:369
runtime.(*scavengerState).park(0x1059d4720)
	runtime/mgcscavenge.go:389 +0x5c fp=0x140000a3f80 sp=0x140000a3f50 pc=0x102ee3b7c
runtime.bgscavenge(0x0?)
	runtime/mgcscavenge.go:622 +0xac fp=0x140000a3fb0 sp=0x140000a3f80 pc=0x102ee41ac
runtime.gcenable.func2()
	runtime/mgc.go:179 +0x28 fp=0x140000a3fd0 sp=0x140000a3fb0 pc=0x102eda0e8
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x140000a3fd0 sp=0x140000a3fd0 pc=0x102f2f294
created by runtime.gcenable
	runtime/mgc.go:179 +0xb8

goroutine 18 [finalizer wait]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:363 +0xe4 fp=0x1400009e580 sp=0x1400009e560 pc=0x102efc424
runtime.goparkunlock(...)
	runtime/proc.go:369
runtime.runfinq()
	runtime/mfinal.go:180 +0x120 fp=0x1400009e7d0 sp=0x1400009e580 pc=0x102ed9370
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x1400009e7d0 sp=0x1400009e7d0 pc=0x102f2f294
created by runtime.createfing
	runtime/mfinal.go:157 +0x84

goroutine 5 [GC worker (idle)]:
runtime.gopark(0x1400012c780?, 0x140002da1a0?, 0x98?, 0xef?, 0x1033d0678?)
	runtime/proc.go:363 +0xe4 fp=0x1400009ef40 sp=0x1400009ef20 pc=0x102efc424
runtime.gcBgMarkWorker()
	runtime/mgc.go:1235 +0xec fp=0x1400009efd0 sp=0x1400009ef40 pc=0x102edc52c
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x1400009efd0 sp=0x1400009efd0 pc=0x102f2f294
created by runtime.gcBgMarkStartWorkers
	runtime/mgc.go:1159 +0x28

goroutine 34 [GC worker (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:363 +0xe4 fp=0x14000314740 sp=0x14000314720 pc=0x102efc424
runtime.gcBgMarkWorker()
	runtime/mgc.go:1235 +0xec fp=0x140003147d0 sp=0x14000314740 pc=0x102edc52c
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x140003147d0 sp=0x140003147d0 pc=0x102f2f294
created by runtime.gcBgMarkStartWorkers
	runtime/mgc.go:1159 +0x28

goroutine 6 [GC worker (idle)]:
runtime.gopark(0x0?, 0x2?, 0xe0?, 0xb7?, 0x140000d4000?)
	runtime/proc.go:363 +0xe4 fp=0x140000a2740 sp=0x140000a2720 pc=0x102efc424
runtime.gcBgMarkWorker()
	runtime/mgc.go:1235 +0xec fp=0x140000a27d0 sp=0x140000a2740 pc=0x102edc52c
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x140000a27d0 sp=0x140000a27d0 pc=0x102f2f294
created by runtime.gcBgMarkStartWorkers
	runtime/mgc.go:1159 +0x28

goroutine 7 [GC worker (idle)]:
runtime.gopark(0xeac12b4761c35?, 0x1?, 0x23?, 0xe0?, 0x0?)
	runtime/proc.go:363 +0xe4 fp=0x140000a4740 sp=0x140000a4720 pc=0x102efc424
runtime.gcBgMarkWorker()
	runtime/mgc.go:1235 +0xec fp=0x140000a47d0 sp=0x140000a4740 pc=0x102edc52c
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x140000a47d0 sp=0x140000a47d0 pc=0x102f2f294
created by runtime.gcBgMarkStartWorkers
	runtime/mgc.go:1159 +0x28

goroutine 35 [GC worker (idle)]:
runtime.gopark(0xeac12b474a99a?, 0x3?, 0xb7?, 0x60?, 0x0?)
	runtime/proc.go:363 +0xe4 fp=0x14000314f40 sp=0x14000314f20 pc=0x102efc424
runtime.gcBgMarkWorker()
	runtime/mgc.go:1235 +0xec fp=0x14000314fd0 sp=0x14000314f40 pc=0x102edc52c
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x14000314fd0 sp=0x14000314fd0 pc=0x102f2f294
created by runtime.gcBgMarkStartWorkers
	runtime/mgc.go:1159 +0x28

goroutine 21 [GC worker (idle)]:
runtime.gopark(0xeac12b4735281?, 0x1?, 0xd7?, 0xd8?, 0x0?)
	runtime/proc.go:363 +0xe4 fp=0x1400009f740 sp=0x1400009f720 pc=0x102efc424
runtime.gcBgMarkWorker()
	runtime/mgc.go:1235 +0xec fp=0x1400009f7d0 sp=0x1400009f740 pc=0x102edc52c
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x1400009f7d0 sp=0x1400009f7d0 pc=0x102f2f294
created by runtime.gcBgMarkStartWorkers
	runtime/mgc.go:1159 +0x28

goroutine 8 [GC worker (idle)]:
runtime.gopark(0xeac12b46e1dd2?, 0x3?, 0xa2?, 0x5c?, 0x0?)
	runtime/proc.go:363 +0xe4 fp=0x140000a4f40 sp=0x140000a4f20 pc=0x102efc424
runtime.gcBgMarkWorker()
	runtime/mgc.go:1235 +0xec fp=0x140000a4fd0 sp=0x140000a4f40 pc=0x102edc52c
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x140000a4fd0 sp=0x140000a4fd0 pc=0x102f2f294
created by runtime.gcBgMarkStartWorkers
	runtime/mgc.go:1159 +0x28

goroutine 36 [GC worker (idle)]:
runtime.gopark(0xeac12b470c9bd?, 0x3?, 0x82?, 0xd6?, 0x0?)
	runtime/proc.go:363 +0xe4 fp=0x14000315740 sp=0x14000315720 pc=0x102efc424
runtime.gcBgMarkWorker()
	runtime/mgc.go:1235 +0xec fp=0x140003157d0 sp=0x14000315740 pc=0x102edc52c
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x140003157d0 sp=0x140003157d0 pc=0x102f2f294
created by runtime.gcBgMarkStartWorkers
	runtime/mgc.go:1159 +0x28

goroutine 37 [GC worker (idle)]:
runtime.gopark(0xeac12b473aef3?, 0x1?, 0xc2?, 0xb7?, 0x0?)
	runtime/proc.go:363 +0xe4 fp=0x14000315f40 sp=0x14000315f20 pc=0x102efc424
runtime.gcBgMarkWorker()
	runtime/mgc.go:1235 +0xec fp=0x14000315fd0 sp=0x14000315f40 pc=0x102edc52c
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x14000315fd0 sp=0x14000315fd0 pc=0x102f2f294
created by runtime.gcBgMarkStartWorkers
	runtime/mgc.go:1159 +0x28

goroutine 9 [GC worker (idle)]:
runtime.gopark(0xeac12b46e3900?, 0x3?, 0x57?, 0xc?, 0x0?)
	runtime/proc.go:363 +0xe4 fp=0x140000a5740 sp=0x140000a5720 pc=0x102efc424
runtime.gcBgMarkWorker()
	runtime/mgc.go:1235 +0xec fp=0x140000a57d0 sp=0x140000a5740 pc=0x102edc52c
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x140000a57d0 sp=0x140000a57d0 pc=0x102f2f294
created by runtime.gcBgMarkStartWorkers
	runtime/mgc.go:1159 +0x28

goroutine 50 [GC worker (idle)]:
runtime.gopark(0xeac12b471ef5c?, 0x1?, 0x67?, 0x57?, 0x0?)
	runtime/proc.go:363 +0xe4 fp=0x14000310740 sp=0x14000310720 pc=0x102efc424
runtime.gcBgMarkWorker()
	runtime/mgc.go:1235 +0xec fp=0x140003107d0 sp=0x14000310740 pc=0x102edc52c
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x140003107d0 sp=0x140003107d0 pc=0x102f2f294
created by runtime.gcBgMarkStartWorkers
	runtime/mgc.go:1159 +0x28

goroutine 51 [GC worker (idle)]:
runtime.gopark(0xeac12b46e3cbf?, 0x1?, 0xe6?, 0x26?, 0x0?)
	runtime/proc.go:363 +0xe4 fp=0x14000310f40 sp=0x14000310f20 pc=0x102efc424
runtime.gcBgMarkWorker()
	runtime/mgc.go:1235 +0xec fp=0x14000310fd0 sp=0x14000310f40 pc=0x102edc52c
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x14000310fd0 sp=0x14000310fd0 pc=0x102f2f294
created by runtime.gcBgMarkStartWorkers
	runtime/mgc.go:1159 +0x28

goroutine 52 [GC worker (idle)]:
runtime.gopark(0xeac12b46c8521?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:363 +0xe4 fp=0x140000b0f40 sp=0x140000b0f20 pc=0x102efc424
runtime.gcBgMarkWorker()
	runtime/mgc.go:1235 +0xec fp=0x140000b0fd0 sp=0x140000b0f40 pc=0x102edc52c
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x140000b0fd0 sp=0x140000b0fd0 pc=0x102f2f294
created by runtime.gcBgMarkStartWorkers
	runtime/mgc.go:1159 +0x28

goroutine 53 [GC worker (idle)]:
runtime.gopark(0xeac12b4757efb?, 0x1?, 0xc?, 0x53?, 0x0?)
	runtime/proc.go:363 +0xe4 fp=0x14000311f40 sp=0x14000311f20 pc=0x102efc424
runtime.gcBgMarkWorker()
	runtime/mgc.go:1235 +0xec fp=0x14000311fd0 sp=0x14000311f40 pc=0x102edc52c
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x14000311fd0 sp=0x14000311fd0 pc=0x102f2f294
created by runtime.gcBgMarkStartWorkers
	runtime/mgc.go:1159 +0x28

goroutine 54 [GC worker (idle)]:
runtime.gopark(0xeac12b46e1dd2?, 0x3?, 0xf9?, 0x85?, 0x0?)
	runtime/proc.go:363 +0xe4 fp=0x140000b7f40 sp=0x140000b7f20 pc=0x102efc424
runtime.gcBgMarkWorker()
	runtime/mgc.go:1235 +0xec fp=0x140000b7fd0 sp=0x140000b7f40 pc=0x102edc52c
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x140000b7fd0 sp=0x140000b7fd0 pc=0x102f2f294
created by runtime.gcBgMarkStartWorkers
	runtime/mgc.go:1159 +0x28

goroutine 38 [GC worker (idle)]:
runtime.gopark(0x105a07360?, 0x3?, 0x1?, 0x31?, 0x0?)
	runtime/proc.go:363 +0xe4 fp=0x14000316740 sp=0x14000316720 pc=0x102efc424
runtime.gcBgMarkWorker()
	runtime/mgc.go:1235 +0xec fp=0x140003167d0 sp=0x14000316740 pc=0x102edc52c
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x140003167d0 sp=0x140003167d0 pc=0x102f2f294
created by runtime.gcBgMarkStartWorkers
	runtime/mgc.go:1159 +0x28

goroutine 10 [GC worker (idle)]:
runtime.gopark(0x105a07360?, 0x3?, 0x33?, 0xff?, 0x0?)
	runtime/proc.go:363 +0xe4 fp=0x14000965f40 sp=0x14000965f20 pc=0x102efc424
runtime.gcBgMarkWorker()
	runtime/mgc.go:1235 +0xec fp=0x14000965fd0 sp=0x14000965f40 pc=0x102edc52c
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x14000965fd0 sp=0x14000965fd0 pc=0x102f2f294
created by runtime.gcBgMarkStartWorkers
	runtime/mgc.go:1159 +0x28

goroutine 11 [GC worker (idle)]:
runtime.gopark(0xeac12b46de940?, 0x1?, 0xa?, 0x1c?, 0x0?)
	runtime/proc.go:363 +0xe4 fp=0x14000564740 sp=0x14000564720 pc=0x102efc424
runtime.gcBgMarkWorker()
	runtime/mgc.go:1235 +0xec fp=0x140005647d0 sp=0x14000564740 pc=0x102edc52c
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x140005647d0 sp=0x140005647d0 pc=0x102f2f294
created by runtime.gcBgMarkStartWorkers
	runtime/mgc.go:1159 +0x28

goroutine 12 [GC worker (idle)]:
runtime.gopark(0xeac12b470054a?, 0x1?, 0xda?, 0x55?, 0x0?)
	runtime/proc.go:363 +0xe4 fp=0x14000564f40 sp=0x14000564f20 pc=0x102efc424
runtime.gcBgMarkWorker()
	runtime/mgc.go:1235 +0xec fp=0x14000564fd0 sp=0x14000564f40 pc=0x102edc52c
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x14000564fd0 sp=0x14000564fd0 pc=0x102f2f294
created by runtime.gcBgMarkStartWorkers
	runtime/mgc.go:1159 +0x28

goroutine 55 [GC worker (idle)]:
runtime.gopark(0xeac12b4753eda?, 0x3?, 0x7f?, 0xa0?, 0x0?)
	runtime/proc.go:363 +0xe4 fp=0x14000312f40 sp=0x14000312f20 pc=0x102efc424
runtime.gcBgMarkWorker()
	runtime/mgc.go:1235 +0xec fp=0x14000312fd0 sp=0x14000312f40 pc=0x102edc52c
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x14000312fd0 sp=0x14000312fd0 pc=0x102f2f294
created by runtime.gcBgMarkStartWorkers
	runtime/mgc.go:1159 +0x28

goroutine 13 [select]:
runtime.gopark(0x140000a1778?, 0x3?, 0x0?, 0x0?, 0x140000a1762?)
	runtime/proc.go:363 +0xe4 fp=0x140000a1600 sp=0x140000a15e0 pc=0x102efc424
runtime.selectgo(0x140000a1778, 0x140000a175c, 0x1400018e000?, 0x0, 0x0?, 0x1)
	runtime/select.go:328 +0x688 fp=0x140000a1720 sp=0x140000a1600 pc=0x102f0d158
go.opencensus.io/stats/view.(*worker).start(0x1400018e000)
	go.opencensus.io@v0.23.0/stats/view/worker.go:276 +0x88 fp=0x140000a17b0 sp=0x140000a1720 pc=0x103746028
go.opencensus.io/stats/view.init.0.func1()
	go.opencensus.io@v0.23.0/stats/view/worker.go:34 +0x28 fp=0x140000a17d0 sp=0x140000a17b0 pc=0x1037453a8
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x140000a17d0 sp=0x140000a17d0 pc=0x102f2f294
created by go.opencensus.io/stats/view.init.0
	go.opencensus.io@v0.23.0/stats/view/worker.go:34 +0xa4

goroutine 57 [select]:
runtime.gopark(0x14000d17f88?, 0x2?, 0x60?, 0xb8?, 0x14000d17f2c?)
	runtime/proc.go:363 +0xe4 fp=0x14000922db0 sp=0x14000922d90 pc=0x102efc424
runtime.selectgo(0x14000922f88, 0x14000d17f28, 0x383?, 0x0, 0x1400010e240?, 0x1)
	runtime/select.go:328 +0x688 fp=0x14000922ed0 sp=0x14000922db0 pc=0x102f0d158
golang.org/x/crypto/ssh.(*handshakeTransport).kexLoop(0x14000650420)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/handshake.go:268 +0x4a0 fp=0x14000922fb0 sp=0x14000922ed0 pc=0x103d1cac0
golang.org/x/crypto/ssh.newClientTransport.func2()
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/handshake.go:135 +0x28 fp=0x14000922fd0 sp=0x14000922fb0 pc=0x103d1b878
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x14000922fd0 sp=0x14000922fd0 pc=0x102f2f294
created by golang.org/x/crypto/ssh.newClientTransport
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/handshake.go:135 +0x204

goroutine 56 [IO wait]:
runtime.gopark(0xffffffffffffffff?, 0xffffffffffffffff?, 0x23?, 0x0?, 0x102f479e0?)
	runtime/proc.go:363 +0xe4 fp=0x14000927b10 sp=0x14000927af0 pc=0x102efc424
runtime.netpollblock(0x0?, 0x0?, 0x0?)
	runtime/netpoll.go:526 +0x158 fp=0x14000927b50 sp=0x14000927b10 pc=0x102ef5628
internal/poll.runtime_pollWait(0x12dbd4ef8, 0x72)
	runtime/netpoll.go:305 +0xa0 fp=0x14000927b80 sp=0x14000927b50 pc=0x102f28220
internal/poll.(*pollDesc).wait(0x14000639f00?, 0x14000d02000?, 0x0)
	internal/poll/fd_poll_runtime.go:84 +0x28 fp=0x14000927bb0 sp=0x14000927b80 pc=0x102fa5288
internal/poll.(*pollDesc).waitRead(...)
	internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0x14000639f00, {0x14000d02000, 0x1000, 0x1000})
	internal/poll/fd_unix.go:167 +0x1e0 fp=0x14000927c30 sp=0x14000927bb0 pc=0x102fa6700
net.(*netFD).Read(0x14000639f00, {0x14000d02000?, 0x14000927cc8?, 0x10340609c?})
	net/fd_posix.go:55 +0x28 fp=0x14000927c80 sp=0x14000927c30 pc=0x103016e58
net.(*conn).Read(0x14000010010, {0x14000d02000?, 0x14000927d68?, 0x20?})
	net/net.go:183 +0x34 fp=0x14000927cd0 sp=0x14000927c80 pc=0x1030291d4
github.com/rclone/rclone/fs/fshttp.(*timeoutConn).Read(0x14000128168, {0x14000d02000?, 0x20?, 0x10?})
	github.com/rclone/rclone/fs/fshttp/dialer.go:104 +0x34 fp=0x14000927d20 sp=0x14000927cd0 pc=0x103406044
bufio.(*Reader).Read(0x1400078e120, {0x14000d08150, 0x4, 0x100000048e59dc4?})
	bufio/bufio.go:237 +0x1e0 fp=0x14000927d60 sp=0x14000927d20 pc=0x103043320
io.ReadAtLeast({0x104b648a0, 0x1400078e120}, {0x14000d08150, 0x4, 0x4}, 0x4)
	io/io.go:332 +0xa0 fp=0x14000927db0 sp=0x14000927d60 pc=0x102f5ff70
io.ReadFull(...)
	io/io.go:351
golang.org/x/crypto/ssh.(*gcmCipher).readCipherPacket(0x14000d08140, 0x2efc4f0?, {0x104b648a0, 0x1400078e120})
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/cipher.go:373 +0x50 fp=0x14000927e50 sp=0x14000927db0 pc=0x103d13df0
golang.org/x/crypto/ssh.(*connectionState).readPacket(0x14000240240, 0x1400078e300?)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/transport.go:130 +0x44 fp=0x14000927ed0 sp=0x14000927e50 pc=0x103d39a34
golang.org/x/crypto/ssh.(*transport).readPacket(0x14000240240)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/transport.go:114 +0x2c fp=0x14000927ef0 sp=0x14000927ed0 pc=0x103d399ac
golang.org/x/crypto/ssh.(*handshakeTransport).readOnePacket(0x14000650420, 0x0)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/handshake.go:374 +0x38 fp=0x14000927f70 sp=0x14000927ef0 pc=0x103d1ce18
golang.org/x/crypto/ssh.(*handshakeTransport).readLoop(0x14000650420)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/handshake.go:197 +0x38 fp=0x14000927fb0 sp=0x14000927f70 pc=0x103d1bfb8
golang.org/x/crypto/ssh.newClientTransport.func1()
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/handshake.go:134 +0x28 fp=0x14000927fd0 sp=0x14000927fb0 pc=0x103d1b8d8
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x14000927fd0 sp=0x14000927fd0 pc=0x102f2f294
created by golang.org/x/crypto/ssh.newClientTransport
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/handshake.go:134 +0x1c0

goroutine 24 [chan receive]:
runtime.gopark(0x1?, 0x0?, 0x88?, 0x3e?, 0x140003f4f58?)
	runtime/proc.go:363 +0xe4 fp=0x14000923e00 sp=0x14000923de0 pc=0x102efc424
runtime.chanrecv(0x1400078e240, 0x14000923ee0, 0x1)
	runtime/chan.go:583 +0x454 fp=0x14000923e90 sp=0x14000923e00 pc=0x102ec4f04
runtime.chanrecv2(0x14000960090?, 0x14000c08080?)
	runtime/chan.go:447 +0x14 fp=0x14000923ec0 sp=0x14000923e90 pc=0x102ec4a94
golang.org/x/crypto/ssh.(*handshakeTransport).readPacket(0x14000650420)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/handshake.go:187 +0x34 fp=0x14000923f00 sp=0x14000923ec0 pc=0x103d1bf14
golang.org/x/crypto/ssh.(*mux).onePacket(0x14000272460)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/mux.go:215 +0x30 fp=0x14000923f70 sp=0x14000923f00 pc=0x103d2e610
golang.org/x/crypto/ssh.(*mux).loop(0x14000272460)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/mux.go:190 +0x2c fp=0x14000923fb0 sp=0x14000923f70 pc=0x103d2e4ac
golang.org/x/crypto/ssh.newMux.func1()
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/mux.go:128 +0x28 fp=0x14000923fd0 sp=0x14000923fb0 pc=0x103d2dd88
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x14000923fd0 sp=0x14000923fd0 pc=0x102f2f294
created by golang.org/x/crypto/ssh.newMux
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/mux.go:128 +0x18c

goroutine 25 [chan receive]:
runtime.gopark(0x105a07d60?, 0x140000a6d80?, 0x18?, 0x27?, 0x103d0ffa8?)
	runtime/proc.go:363 +0xe4 fp=0x140006abea0 sp=0x140006abe80 pc=0x102efc424
runtime.chanrecv(0x140003f4f00, 0x140006abfa0, 0x1)
	runtime/chan.go:583 +0x454 fp=0x140006abf30 sp=0x140006abea0 pc=0x102ec4f04
runtime.chanrecv2(0x0?, 0x0?)
	runtime/chan.go:447 +0x14 fp=0x140006abf60 sp=0x140006abf30 pc=0x102ec4a94
golang.org/x/crypto/ssh.(*Client).handleGlobalRequests(0x140004ac680?, 0x14000074000?)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/client.go:142 +0x50 fp=0x140006abfb0 sp=0x140006abf60 pc=0x103d16cb0
golang.org/x/crypto/ssh.NewClient.func2()
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/client.go:59 +0x2c fp=0x140006abfd0 sp=0x140006abfb0 pc=0x103d1645c
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x140006abfd0 sp=0x140006abfd0 pc=0x102f2f294
created by golang.org/x/crypto/ssh.NewClient
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/client.go:59 +0xe0

goroutine 26 [chan receive]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:363 +0xe4 fp=0x14000316df0 sp=0x14000316dd0 pc=0x102efc424
runtime.chanrecv(0x140003f4e40, 0x14000316f18, 0x1)
	runtime/chan.go:583 +0x454 fp=0x14000316e80 sp=0x14000316df0 pc=0x102ec4f04
runtime.chanrecv2(0x0?, 0x0?)
	runtime/chan.go:447 +0x14 fp=0x14000316eb0 sp=0x14000316e80 pc=0x102ec4a94
golang.org/x/crypto/ssh.(*Client).handleChannelOpens(0x1400004f0e0, 0x0?)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/client.go:151 +0x40 fp=0x14000316fb0 sp=0x14000316eb0 pc=0x103d16d20
golang.org/x/crypto/ssh.NewClient.func3()
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/client.go:60 +0x2c fp=0x14000316fd0 sp=0x14000316fb0 pc=0x103d163fc
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x14000316fd0 sp=0x14000316fd0 pc=0x102f2f294
created by golang.org/x/crypto/ssh.NewClient
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/client.go:60 +0x138

goroutine 27 [sync.Cond.Wait]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:363 +0xe4 fp=0x140003176d0 sp=0x140003176b0 pc=0x102efc424
runtime.goparkunlock(...)
	runtime/proc.go:369
sync.runtime_notifyListWait(0x140005e8290, 0x0)
	runtime/sema.go:517 +0x16c fp=0x14000317720 sp=0x140003176d0 pc=0x102f2aadc
sync.(*Cond).Wait(0x140005e8280)
	sync/cond.go:70 +0xd0 fp=0x14000317760 sp=0x14000317720 pc=0x102f3a0e0
golang.org/x/crypto/ssh.(*mux).Wait(0x14000272460)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/mux.go:110 +0x8c fp=0x140003177b0 sp=0x14000317760 pc=0x103d2dabc
golang.org/x/crypto/ssh.NewClient.func1()
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/client.go:62 +0x30 fp=0x140003177d0 sp=0x140003177b0 pc=0x103d163a0
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x140003177d0 sp=0x140003177d0 pc=0x102f2f294
created by golang.org/x/crypto/ssh.NewClient
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/client.go:61 +0x17c


goroutine 82 [chan receive]:
runtime.gopark(0x14000565ef8?, 0x103d2e68c?, 0x0?, 0xc0?, 0x11?)
	runtime/proc.go:363 +0xe4 fp=0x14000565e30 sp=0x14000565e10 pc=0x102efc424
runtime.chanrecv(0x140003f4f60, 0x14000565f40, 0x1)
	runtime/chan.go:583 +0x454 fp=0x14000565ec0 sp=0x14000565e30 pc=0x102ec4f04
runtime.chanrecv2(0x14000565f68?, 0x103d2e4ac?)
	runtime/chan.go:447 +0x14 fp=0x14000565ef0 sp=0x14000565ec0 pc=0x102ec4a94
golang.org/x/crypto/ssh.(*Session).wait(0x0?, 0x0?)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/session.go:424 +0x50 fp=0x14000565f90 sp=0x14000565ef0 pc=0x103d34b20
golang.org/x/crypto/ssh.newSession.func1()
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/session.go:594 +0x28 fp=0x14000565fd0 sp=0x14000565f90 pc=0x103d35be8
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x14000565fd0 sp=0x14000565fd0 pc=0x102f2f294
created by golang.org/x/crypto/ssh.newSession
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/session.go:593 +0x100

goroutine 83 [sync.Cond.Wait]:
runtime.gopark(0x140003f5080?, 0x400?, 0xe0?, 0x1?, 0x0?)
	runtime/proc.go:363 +0xe4 fp=0x14000928bf0 sp=0x14000928bd0 pc=0x102efc424
runtime.goparkunlock(...)
	runtime/proc.go:369
sync.runtime_notifyListWait(0x140005e8310, 0x1d)
	runtime/sema.go:517 +0x16c fp=0x14000928c40 sp=0x14000928bf0 pc=0x102f2aadc
sync.(*Cond).Wait(0x140005e8300)
	sync/cond.go:70 +0xd0 fp=0x14000928c80 sp=0x14000928c40 pc=0x102f3a0e0
golang.org/x/crypto/ssh.(*buffer).Read(0x140000c2340, {0x14000b2a2e0, 0x4, 0x4})
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/buffer.go:94 +0x1fc fp=0x14000928d10 sp=0x14000928c80 pc=0x103d0d1dc
golang.org/x/crypto/ssh.(*channel).ReadExtended(0x14000192000, {0x14000b2a2e0?, 0x14000928df8?, 0x102f126dc?}, 0x60bba0?)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/channel.go:351 +0x98 fp=0x14000928d70 sp=0x14000928d10 pc=0x103d10f48
golang.org/x/crypto/ssh.(*channel).Read(0x1009606a0?, {0x14000b2a2e0?, 0x1064fd878?, 0x10?})
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/channel.go:528 +0x2c fp=0x14000928db0 sp=0x14000928d70 pc=0x103d11f1c
github.com/pkg/sftp.(*conn).Read(0x0?, {0x14000b2a2e0?, 0x14000928e28?, 0x103d5842c?})
	<autogenerated>:1 +0x34 fp=0x14000928de0 sp=0x14000928db0 pc=0x103d68cf4
io.ReadAtLeast({0x104b6b300, 0x1400081e090}, {0x14000b2a2e0, 0x4, 0x4}, 0x4)
	io/io.go:332 +0xa0 fp=0x14000928e30 sp=0x14000928de0 pc=0x102f5ff70
io.ReadFull(...)
	io/io.go:351
github.com/pkg/sftp.recvPacket({0x104b6b300, 0x1400081e090}, 0x0, 0x0?)
	github.com/pkg/sftp@v1.13.5-0.20211228200725-31aac3e1878d/packet.go:268 +0x84 fp=0x14000928ea0 sp=0x14000928e30 pc=0x103d58464
github.com/pkg/sftp.(*conn).recvPacket(...)
	github.com/pkg/sftp@v1.13.5-0.20211228200725-31aac3e1878d/conn.go:23
github.com/pkg/sftp.(*clientConn).recv(0x1400081e090)
	github.com/pkg/sftp@v1.13.5-0.20211228200725-31aac3e1878d/conn.go:78 +0xac fp=0x14000928f60 sp=0x14000928ea0 pc=0x103d53fac
github.com/pkg/sftp.(*clientConn).loop(0x1400081e090)
	github.com/pkg/sftp@v1.13.5-0.20211228200725-31aac3e1878d/conn.go:66 +0x54 fp=0x14000928fb0 sp=0x14000928f60 pc=0x103d53e44
github.com/pkg/sftp.NewClientPipe.func1()
	github.com/pkg/sftp@v1.13.5-0.20211228200725-31aac3e1878d/client.go:237 +0x28 fp=0x14000928fd0 sp=0x14000928fb0 pc=0x103d49ef8
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x14000928fd0 sp=0x14000928fd0 pc=0x102f2f294
created by github.com/pkg/sftp.NewClientPipe
	github.com/pkg/sftp@v1.13.5-0.20211228200725-31aac3e1878d/client.go:237 +0x224
............... More in next post

Here is the rest of the sigterm output:

goroutine 84 [sync.Cond.Wait]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:363 +0xe4 fp=0x14000560ea0 sp=0x14000560e80 pc=0x102efc424
runtime.goparkunlock(...)
	runtime/proc.go:369
sync.runtime_notifyListWait(0x140005e8290, 0x1)
	runtime/sema.go:517 +0x16c fp=0x14000560ef0 sp=0x14000560ea0 pc=0x102f2aadc
sync.(*Cond).Wait(0x140005e8280)
	sync/cond.go:70 +0xd0 fp=0x14000560f30 sp=0x14000560ef0 pc=0x102f3a0e0
golang.org/x/crypto/ssh.(*mux).Wait(0x14000272460)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/mux.go:110 +0x8c fp=0x14000560f80 sp=0x14000560f30 pc=0x103d2dabc
github.com/rclone/rclone/backend/sftp.(*conn).wait(0x1400024b470)
	github.com/rclone/rclone/backend/sftp/sftp.go:423 +0x34 fp=0x14000560fb0 sp=0x14000560f80 pc=0x103d74694
github.com/rclone/rclone/backend/sftp.(*Fs).sftpConnection.func1()
	github.com/rclone/rclone/backend/sftp/sftp.go:504 +0x28 fp=0x14000560fd0 sp=0x14000560fb0 pc=0x103d74e28
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x14000560fd0 sp=0x14000560fd0 pc=0x102f2f294
created by github.com/rclone/rclone/backend/sftp.(*Fs).sftpConnection
	github.com/rclone/rclone/backend/sftp/sftp.go:504 +0x25c

goroutine 86 [select, locked to thread]:
runtime.gopark(0x14000561fa0?, 0x2?, 0x88?, 0x1e?, 0x14000561f9c?)
	runtime/proc.go:363 +0xe4 fp=0x14000561e30 sp=0x14000561e10 pc=0x102efc424
runtime.selectgo(0x14000561fa0, 0x14000561f98, 0x0?, 0x0, 0x0?, 0x1)
	runtime/select.go:328 +0x688 fp=0x14000561f50 sp=0x14000561e30 pc=0x102f0d158
runtime.ensureSigM.func1()
	runtime/signal_unix.go:991 +0x190 fp=0x14000561fd0 sp=0x14000561f50 pc=0x102f117b0
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x14000561fd0 sp=0x14000561fd0 pc=0x102f2f294
created by runtime.ensureSigM
	runtime/signal_unix.go:974 +0xf4

goroutine 41 [syscall]:
runtime.sigNoteSleep(0x0)
	runtime/os_darwin.go:123 +0x20 fp=0x14000566790 sp=0x14000566750 pc=0x102ef6840
os/signal.signal_recv()
	runtime/sigqueue.go:149 +0x2c fp=0x140005667b0 sp=0x14000566790 pc=0x102f2af5c
os/signal.loop()
	os/signal/signal_unix.go:23 +0x1c fp=0x140005667d0 sp=0x140005667b0 pc=0x10324767c
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x140005667d0 sp=0x140005667d0 pc=0x102f2f294
created by os/signal.Notify.func1.1
	os/signal/signal.go:151 +0x2c

goroutine 42 [chan receive]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:363 +0xe4 fp=0x14000566eb0 sp=0x14000566e90 pc=0x102efc424
runtime.chanrecv(0x1400069c1e0, 0x14000566fa8, 0x1)
	runtime/chan.go:583 +0x454 fp=0x14000566f40 sp=0x14000566eb0 pc=0x102ec4f04
runtime.chanrecv2(0x0?, 0x0?)
	runtime/chan.go:447 +0x14 fp=0x14000566f70 sp=0x14000566f40 pc=0x102ec4a94
github.com/rclone/rclone/cmd.SigInfoHandler.func1()
	github.com/rclone/rclone/cmd/siginfo_darwin.go:20 +0x8c fp=0x14000566fd0 sp=0x14000566f70 pc=0x103fbd3cc
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x14000566fd0 sp=0x14000566fd0 pc=0x102f2f294
created by github.com/rclone/rclone/cmd.SigInfoHandler
	github.com/rclone/rclone/cmd/siginfo_darwin.go:19 +0x9c

goroutine 120 [select]:
runtime.gopark(0x14000d13f88?, 0x2?, 0x20?, 0xb5?, 0x14000d13f2c?)
	runtime/proc.go:363 +0xe4 fp=0x140000b5db0 sp=0x140000b5d90 pc=0x102efc424
runtime.selectgo(0x140000b5f88, 0x14000d13f28, 0x383?, 0x0, 0x10482e360?, 0x1)
	runtime/select.go:328 +0x688 fp=0x140000b5ed0 sp=0x140000b5db0 pc=0x102f0d158
golang.org/x/crypto/ssh.(*handshakeTransport).kexLoop(0x14000944000)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/handshake.go:268 +0x4a0 fp=0x140000b5fb0 sp=0x140000b5ed0 pc=0x103d1cac0
golang.org/x/crypto/ssh.newClientTransport.func2()
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/handshake.go:135 +0x28 fp=0x140000b5fd0 sp=0x140000b5fb0 pc=0x103d1b878
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x140000b5fd0 sp=0x140000b5fd0 pc=0x102f2f294
created by golang.org/x/crypto/ssh.newClientTransport
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/handshake.go:135 +0x204

goroutine 119 [IO wait]:
runtime.gopark(0xffffffffffffffff?, 0xffffffffffffffff?, 0x23?, 0x0?, 0x102f479e0?)
	runtime/proc.go:363 +0xe4 fp=0x14000737b10 sp=0x14000737af0 pc=0x102efc424
runtime.netpollblock(0x0?, 0x0?, 0x0?)
	runtime/netpoll.go:526 +0x158 fp=0x14000737b50 sp=0x14000737b10 pc=0x102ef5628
internal/poll.runtime_pollWait(0x12dbd4e08, 0x72)
	runtime/netpoll.go:305 +0xa0 fp=0x14000737b80 sp=0x14000737b50 pc=0x102f28220
internal/poll.(*pollDesc).wait(0x1400084e000?, 0x14000942000?, 0x0)
	internal/poll/fd_poll_runtime.go:84 +0x28 fp=0x14000737bb0 sp=0x14000737b80 pc=0x102fa5288
internal/poll.(*pollDesc).waitRead(...)
	internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0x1400084e000, {0x14000942000, 0x1000, 0x1000})
	internal/poll/fd_unix.go:167 +0x1e0 fp=0x14000737c30 sp=0x14000737bb0 pc=0x102fa6700
net.(*netFD).Read(0x1400084e000, {0x14000942000?, 0x14000737cc8?, 0x10340609c?})
	net/fd_posix.go:55 +0x28 fp=0x14000737c80 sp=0x14000737c30 pc=0x103016e58
net.(*conn).Read(0x14000215a40, {0x14000942000?, 0x14000737d68?, 0x20?})
	net/net.go:183 +0x34 fp=0x14000737cd0 sp=0x14000737c80 pc=0x1030291d4
github.com/rclone/rclone/fs/fshttp.(*timeoutConn).Read(0x140001cdce0, {0x14000942000?, 0x20?, 0x10?})
	github.com/rclone/rclone/fs/fshttp/dialer.go:104 +0x34 fp=0x14000737d20 sp=0x14000737cd0 pc=0x103406044
bufio.(*Reader).Read(0x14000940420, {0x1400004f2d0, 0x4, 0x100000094c22657?})
	bufio/bufio.go:237 +0x1e0 fp=0x14000737d60 sp=0x14000737d20 pc=0x103043320
io.ReadAtLeast({0x104b648a0, 0x14000940420}, {0x1400004f2d0, 0x4, 0x4}, 0x4)
	io/io.go:332 +0xa0 fp=0x14000737db0 sp=0x14000737d60 pc=0x102f5ff70
io.ReadFull(...)
	io/io.go:351
golang.org/x/crypto/ssh.(*gcmCipher).readCipherPacket(0x1400004f2c0, 0x2efc4f0?, {0x104b648a0, 0x14000940420})
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/cipher.go:373 +0x50 fp=0x14000737e50 sp=0x14000737db0 pc=0x103d13df0
golang.org/x/crypto/ssh.(*connectionState).readPacket(0x14000812240, 0x14000b26120?)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/transport.go:130 +0x44 fp=0x14000737ed0 sp=0x14000737e50 pc=0x103d39a34
golang.org/x/crypto/ssh.(*transport).readPacket(0x14000812240)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/transport.go:114 +0x2c fp=0x14000737ef0 sp=0x14000737ed0 pc=0x103d399ac
golang.org/x/crypto/ssh.(*handshakeTransport).readOnePacket(0x14000944000, 0x0)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/handshake.go:374 +0x38 fp=0x14000737f70 sp=0x14000737ef0 pc=0x103d1ce18
golang.org/x/crypto/ssh.(*handshakeTransport).readLoop(0x14000944000)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/handshake.go:197 +0x38 fp=0x14000737fb0 sp=0x14000737f70 pc=0x103d1bfb8
golang.org/x/crypto/ssh.newClientTransport.func1()
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/handshake.go:134 +0x28 fp=0x14000737fd0 sp=0x14000737fb0 pc=0x103d1b8d8
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x14000737fd0 sp=0x14000737fd0 pc=0x102f2f294
created by golang.org/x/crypto/ssh.newClientTransport
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/handshake.go:134 +0x1c0

goroutine 90 [IO wait]:
runtime.gopark(0xffffffffffffffff?, 0xffffffffffffffff?, 0x23?, 0x0?, 0x102f479e0?)
	runtime/proc.go:363 +0xe4 fp=0x14000736b10 sp=0x14000736af0 pc=0x102efc424
runtime.netpollblock(0x0?, 0x0?, 0x0?)
	runtime/netpoll.go:526 +0x158 fp=0x14000736b50 sp=0x14000736b10 pc=0x102ef5628
internal/poll.runtime_pollWait(0x12dbd4d18, 0x72)
	runtime/netpoll.go:305 +0xa0 fp=0x14000736b80 sp=0x14000736b50 pc=0x102f28220
internal/poll.(*pollDesc).wait(0x1400018f700?, 0x14000850000?, 0x0)
	internal/poll/fd_poll_runtime.go:84 +0x28 fp=0x14000736bb0 sp=0x14000736b80 pc=0x102fa5288
internal/poll.(*pollDesc).waitRead(...)
	internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0x1400018f700, {0x14000850000, 0x1000, 0x1000})
	internal/poll/fd_unix.go:167 +0x1e0 fp=0x14000736c30 sp=0x14000736bb0 pc=0x102fa6700
net.(*netFD).Read(0x1400018f700, {0x14000850000?, 0x14000736cc8?, 0x10340609c?})
	net/fd_posix.go:55 +0x28 fp=0x14000736c80 sp=0x14000736c30 pc=0x103016e58
net.(*conn).Read(0x140006340f0, {0x14000850000?, 0x14000736d68?, 0x20?})
	net/net.go:183 +0x34 fp=0x14000736cd0 sp=0x14000736c80 pc=0x1030291d4
github.com/rclone/rclone/fs/fshttp.(*timeoutConn).Read(0x1400000f188, {0x14000850000?, 0x20?, 0x10?})
	github.com/rclone/rclone/fs/fshttp/dialer.go:104 +0x34 fp=0x14000736d20 sp=0x14000736cd0 pc=0x103406044
bufio.(*Reader).Read(0x1400069c7e0, {0x1400013a4c0, 0x4, 0x1000000f34b12c5?})
	bufio/bufio.go:237 +0x1e0 fp=0x14000736d60 sp=0x14000736d20 pc=0x103043320
io.ReadAtLeast({0x104b648a0, 0x1400069c7e0}, {0x1400013a4c0, 0x4, 0x4}, 0x4)
	io/io.go:332 +0xa0 fp=0x14000736db0 sp=0x14000736d60 pc=0x102f5ff70
io.ReadFull(...)
	io/io.go:351
golang.org/x/crypto/ssh.(*gcmCipher).readCipherPacket(0x1400013a4b0, 0x2efc4f0?, {0x104b648a0, 0x1400069c7e0})
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/cipher.go:373 +0x50 fp=0x14000736e50 sp=0x14000736db0 pc=0x103d13df0
golang.org/x/crypto/ssh.(*connectionState).readPacket(0x140002c5320, 0x1400069c9c0?)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/transport.go:130 +0x44 fp=0x14000736ed0 sp=0x14000736e50 pc=0x103d39a34
golang.org/x/crypto/ssh.(*transport).readPacket(0x140002c5320)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/transport.go:114 +0x2c fp=0x14000736ef0 sp=0x14000736ed0 pc=0x103d399ac
golang.org/x/crypto/ssh.(*handshakeTransport).readOnePacket(0x1400085e000, 0x0)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/handshake.go:374 +0x38 fp=0x14000736f70 sp=0x14000736ef0 pc=0x103d1ce18
golang.org/x/crypto/ssh.(*handshakeTransport).readLoop(0x1400085e000)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/handshake.go:197 +0x38 fp=0x14000736fb0 sp=0x14000736f70 pc=0x103d1bfb8
golang.org/x/crypto/ssh.newClientTransport.func1()
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/handshake.go:134 +0x28 fp=0x14000736fd0 sp=0x14000736fb0 pc=0x103d1b8d8
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x14000736fd0 sp=0x14000736fd0 pc=0x102f2f294
created by golang.org/x/crypto/ssh.newClientTransport
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/handshake.go:134 +0x1c0

goroutine 91 [select]:
runtime.gopark(0x14000d8ff88?, 0x2?, 0x20?, 0x28?, 0x14000d8ff2c?)
	runtime/proc.go:363 +0xe4 fp=0x1400084bdb0 sp=0x1400084bd90 pc=0x102efc424
runtime.selectgo(0x1400084bf88, 0x14000d8ff28, 0x383?, 0x0, 0x10482e360?, 0x1)
	runtime/select.go:328 +0x688 fp=0x1400084bed0 sp=0x1400084bdb0 pc=0x102f0d158
golang.org/x/crypto/ssh.(*handshakeTransport).kexLoop(0x1400085e000)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/handshake.go:268 +0x4a0 fp=0x1400084bfb0 sp=0x1400084bed0 pc=0x103d1cac0
golang.org/x/crypto/ssh.newClientTransport.func2()
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/handshake.go:135 +0x28 fp=0x1400084bfd0 sp=0x1400084bfb0 pc=0x103d1b878
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x1400084bfd0 sp=0x1400084bfd0 pc=0x102f2f294
created by golang.org/x/crypto/ssh.newClientTransport
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/handshake.go:135 +0x204

goroutine 123 [chan receive]:
runtime.gopark(0x1?, 0x0?, 0x88?, 0x4e?, 0x14000940a18?)
	runtime/proc.go:363 +0xe4 fp=0x14000934e00 sp=0x14000934de0 pc=0x102efc424
runtime.chanrecv(0x14000940540, 0x14000934ee0, 0x1)
	runtime/chan.go:583 +0x454 fp=0x14000934e90 sp=0x14000934e00 pc=0x102ec4f04
runtime.chanrecv2(0x140009600c0?, 0x14000c080c0?)
	runtime/chan.go:447 +0x14 fp=0x14000934ec0 sp=0x14000934e90 pc=0x102ec4a94
golang.org/x/crypto/ssh.(*handshakeTransport).readPacket(0x14000944000)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/handshake.go:187 +0x34 fp=0x14000934f00 sp=0x14000934ec0 pc=0x103d1bf14
golang.org/x/crypto/ssh.(*mux).onePacket(0x140002725b0)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/mux.go:215 +0x30 fp=0x14000934f70 sp=0x14000934f00 pc=0x103d2e610
golang.org/x/crypto/ssh.(*mux).loop(0x140002725b0)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/mux.go:190 +0x2c fp=0x14000934fb0 sp=0x14000934f70 pc=0x103d2e4ac
golang.org/x/crypto/ssh.newMux.func1()
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/mux.go:128 +0x28 fp=0x14000934fd0 sp=0x14000934fb0 pc=0x103d2dd88
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x14000934fd0 sp=0x14000934fd0 pc=0x102f2f294
created by golang.org/x/crypto/ssh.newMux
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/mux.go:128 +0x18c

goroutine 124 [chan receive]:
runtime.gopark(0x105a07d60?, 0xc?, 0x18?, 0x7f?, 0x103d0ffa8?)
	runtime/proc.go:363 +0xe4 fp=0x14000739ea0 sp=0x14000739e80 pc=0x102efc424
runtime.chanrecv(0x140009409c0, 0x14000739fa0, 0x1)
	runtime/chan.go:583 +0x454 fp=0x14000739f30 sp=0x14000739ea0 pc=0x102ec4f04
runtime.chanrecv2(0x0?, 0x0?)
	runtime/chan.go:447 +0x14 fp=0x14000739f60 sp=0x14000739f30 pc=0x102ec4a94
golang.org/x/crypto/ssh.(*Client).handleGlobalRequests(0x0?, 0x0?)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/client.go:142 +0x50 fp=0x14000739fb0 sp=0x14000739f60 pc=0x103d16cb0
golang.org/x/crypto/ssh.NewClient.func2()
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/client.go:59 +0x2c fp=0x14000739fd0 sp=0x14000739fb0 pc=0x103d1645c
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x14000739fd0 sp=0x14000739fd0 pc=0x102f2f294
created by golang.org/x/crypto/ssh.NewClient
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/client.go:59 +0xe0

goroutine 125 [chan receive]:
runtime.gopark(0x14000560628?, 0x103d5842c?, 0x4?, 0x0?, 0x104729940?)
	runtime/proc.go:363 +0xe4 fp=0x140005605f0 sp=0x140005605d0 pc=0x102efc424
runtime.chanrecv(0x14000940900, 0x14000560718, 0x1)
	runtime/chan.go:583 +0x454 fp=0x14000560680 sp=0x140005605f0 pc=0x102ec4f04
runtime.chanrecv2(0x0?, 0x0?)
	runtime/chan.go:447 +0x14 fp=0x140005606b0 sp=0x14000560680 pc=0x102ec4a94
golang.org/x/crypto/ssh.(*Client).handleChannelOpens(0x1400004f4f0, 0x0?)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/client.go:151 +0x40 fp=0x140005607b0 sp=0x140005606b0 pc=0x103d16d20
golang.org/x/crypto/ssh.NewClient.func3()
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/client.go:60 +0x2c fp=0x140005607d0 sp=0x140005607b0 pc=0x103d163fc
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x140005607d0 sp=0x140005607d0 pc=0x102f2f294
created by golang.org/x/crypto/ssh.NewClient
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/client.go:60 +0x138

goroutine 126 [sync.Cond.Wait]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:363 +0xe4 fp=0x14000317ed0 sp=0x14000317eb0 pc=0x102efc424
runtime.goparkunlock(...)
	runtime/proc.go:369
sync.runtime_notifyListWait(0x140005e8cd0, 0x0)
	runtime/sema.go:517 +0x16c fp=0x14000317f20 sp=0x14000317ed0 pc=0x102f2aadc
sync.(*Cond).Wait(0x140005e8cc0)
	sync/cond.go:70 +0xd0 fp=0x14000317f60 sp=0x14000317f20 pc=0x102f3a0e0
golang.org/x/crypto/ssh.(*mux).Wait(0x140002725b0)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/mux.go:110 +0x8c fp=0x14000317fb0 sp=0x14000317f60 pc=0x103d2dabc
golang.org/x/crypto/ssh.NewClient.func1()
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/client.go:62 +0x30 fp=0x14000317fd0 sp=0x14000317fb0 pc=0x103d163a0
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x14000317fd0 sp=0x14000317fd0 pc=0x102f2f294
created by golang.org/x/crypto/ssh.NewClient
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/client.go:61 +0x17c

goroutine 127 [chan receive]:
runtime.gopark(0x14000cecef8?, 0x103d2e68c?, 0x90?, 0xa3?, 0x11?)
	runtime/proc.go:363 +0xe4 fp=0x14000cece30 sp=0x14000cece10 pc=0x102efc424
runtime.chanrecv(0x14000940a20, 0x14000cecf40, 0x1)
	runtime/chan.go:583 +0x454 fp=0x14000cecec0 sp=0x14000cece30 pc=0x102ec4f04
runtime.chanrecv2(0x14000cecf68?, 0x103d2e4ac?)
	runtime/chan.go:447 +0x14 fp=0x14000cecef0 sp=0x14000cecec0 pc=0x102ec4a94
golang.org/x/crypto/ssh.(*Session).wait(0x0?, 0x0?)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/session.go:424 +0x50 fp=0x14000cecf90 sp=0x14000cecef0 pc=0x103d34b20
golang.org/x/crypto/ssh.newSession.func1()
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/session.go:594 +0x28 fp=0x14000cecfd0 sp=0x14000cecf90 pc=0x103d35be8
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x14000cecfd0 sp=0x14000cecfd0 pc=0x102f2f294
created by golang.org/x/crypto/ssh.newSession
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/session.go:593 +0x100

goroutine 128 [chan receive]:
runtime.gopark(0x1?, 0x0?, 0x88?, 0x6e?, 0x14000940cb8?)
	runtime/proc.go:363 +0xe4 fp=0x14000926e00 sp=0x14000926de0 pc=0x102efc424
runtime.chanrecv(0x1400069c900, 0x14000926ee0, 0x1)
	runtime/chan.go:583 +0x454 fp=0x14000926e90 sp=0x14000926e00 pc=0x102ec4f04
runtime.chanrecv2(0x140009600f0?, 0x14000c08100?)
	runtime/chan.go:447 +0x14 fp=0x14000926ec0 sp=0x14000926e90 pc=0x102ec4a94
golang.org/x/crypto/ssh.(*handshakeTransport).readPacket(0x1400085e000)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/handshake.go:187 +0x34 fp=0x14000926f00 sp=0x14000926ec0 pc=0x103d1bf14
golang.org/x/crypto/ssh.(*mux).onePacket(0x14000272620)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/mux.go:215 +0x30 fp=0x14000926f70 sp=0x14000926f00 pc=0x103d2e610
golang.org/x/crypto/ssh.(*mux).loop(0x14000272620)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/mux.go:190 +0x2c fp=0x14000926fb0 sp=0x14000926f70 pc=0x103d2e4ac
golang.org/x/crypto/ssh.newMux.func1()
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/mux.go:128 +0x28 fp=0x14000926fd0 sp=0x14000926fb0 pc=0x103d2dd88
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x14000926fd0 sp=0x14000926fd0 pc=0x102f2f294
created by golang.org/x/crypto/ssh.newMux
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/mux.go:128 +0x18c

goroutine 129 [chan receive]:
runtime.gopark(0x105a07d60?, 0x0?, 0x18?, 0x3f?, 0x103d0ffa8?)
	runtime/proc.go:363 +0xe4 fp=0x14000d85ea0 sp=0x14000d85e80 pc=0x102efc424
runtime.chanrecv(0x14000940c60, 0x14000d85fa0, 0x1)
	runtime/chan.go:583 +0x454 fp=0x14000d85f30 sp=0x14000d85ea0 pc=0x102ec4f04
runtime.chanrecv2(0x0?, 0x0?)
	runtime/chan.go:447 +0x14 fp=0x14000d85f60 sp=0x14000d85f30 pc=0x102ec4a94
golang.org/x/crypto/ssh.(*Client).handleGlobalRequests(0x0?, 0x0?)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/client.go:142 +0x50 fp=0x14000d85fb0 sp=0x14000d85f60 pc=0x103d16cb0
golang.org/x/crypto/ssh.NewClient.func2()
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/client.go:59 +0x2c fp=0x14000d85fd0 sp=0x14000d85fb0 pc=0x103d1645c
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x14000d85fd0 sp=0x14000d85fd0 pc=0x102f2f294
created by golang.org/x/crypto/ssh.NewClient
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/client.go:59 +0xe0

goroutine 146 [chan receive]:
runtime.gopark(0x14000311678?, 0x102f0e0b8?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:363 +0xe4 fp=0x140003115f0 sp=0x140003115d0 pc=0x102efc424
runtime.chanrecv(0x14000940ba0, 0x14000311718, 0x1)
	runtime/chan.go:583 +0x454 fp=0x14000311680 sp=0x140003115f0 pc=0x102ec4f04
runtime.chanrecv2(0x140003116e8?, 0x102ef6724?)
	runtime/chan.go:447 +0x14 fp=0x140003116b0 sp=0x14000311680 pc=0x102ec4a94
golang.org/x/crypto/ssh.(*Client).handleChannelOpens(0x1400004f540, 0x14000078a00?)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/client.go:151 +0x40 fp=0x140003117b0 sp=0x140003116b0 pc=0x103d16d20
golang.org/x/crypto/ssh.NewClient.func3()
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/client.go:60 +0x2c fp=0x140003117d0 sp=0x140003117b0 pc=0x103d163fc
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x140003117d0 sp=0x140003117d0 pc=0x102f2f294
created by golang.org/x/crypto/ssh.NewClient
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/client.go:60 +0x138

goroutine 147 [sync.Cond.Wait]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:363 +0xe4 fp=0x14000cf46d0 sp=0x14000cf46b0 pc=0x102efc424
runtime.goparkunlock(...)
	runtime/proc.go:369
sync.runtime_notifyListWait(0x140005e8e50, 0x0)
	runtime/sema.go:517 +0x16c fp=0x14000cf4720 sp=0x14000cf46d0 pc=0x102f2aadc
sync.(*Cond).Wait(0x140005e8e40)
	sync/cond.go:70 +0xd0 fp=0x14000cf4760 sp=0x14000cf4720 pc=0x102f3a0e0
golang.org/x/crypto/ssh.(*mux).Wait(0x14000272620)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/mux.go:110 +0x8c fp=0x14000cf47b0 sp=0x14000cf4760 pc=0x103d2dabc
golang.org/x/crypto/ssh.NewClient.func1()
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/client.go:62 +0x30 fp=0x14000cf47d0 sp=0x14000cf47b0 pc=0x103d163a0
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x14000cf47d0 sp=0x14000cf47d0 pc=0x102f2f294
created by golang.org/x/crypto/ssh.NewClient
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/client.go:61 +0x17c

goroutine 148 [chan receive]:
runtime.gopark(0x140003136f8?, 0x103d2e68c?, 0x8?, 0xa4?, 0x11?)
	runtime/proc.go:363 +0xe4 fp=0x14000313630 sp=0x14000313610 pc=0x102efc424
runtime.chanrecv(0x14000940cc0, 0x14000313740, 0x1)
	runtime/chan.go:583 +0x454 fp=0x140003136c0 sp=0x14000313630 pc=0x102ec4f04
runtime.chanrecv2(0x14000313768?, 0x103d2e4ac?)
	runtime/chan.go:447 +0x14 fp=0x140003136f0 sp=0x140003136c0 pc=0x102ec4a94
golang.org/x/crypto/ssh.(*Session).wait(0x0?, 0x0?)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/session.go:424 +0x50 fp=0x14000313790 sp=0x140003136f0 pc=0x103d34b20
golang.org/x/crypto/ssh.newSession.func1()
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/session.go:594 +0x28 fp=0x140003137d0 sp=0x14000313790 pc=0x103d35be8
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x140003137d0 sp=0x140003137d0 pc=0x102f2f294
created by golang.org/x/crypto/ssh.newSession
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/session.go:593 +0x100

goroutine 112 [sync.Cond.Wait]:
runtime.gopark(0x1400078ee40?, 0x102ecbbdc?, 0x60?, 0x73?, 0x0?)
	runtime/proc.go:363 +0xe4 fp=0x14000848bf0 sp=0x14000848bd0 pc=0x102efc424
runtime.goparkunlock(...)
	runtime/proc.go:369
sync.runtime_notifyListWait(0x140005e8d50, 0xa)
	runtime/sema.go:517 +0x16c fp=0x14000848c40 sp=0x14000848bf0 pc=0x102f2aadc
sync.(*Cond).Wait(0x140005e8d40)
	sync/cond.go:70 +0xd0 fp=0x14000848c80 sp=0x14000848c40 pc=0x102f3a0e0
golang.org/x/crypto/ssh.(*buffer).Read(0x140000c38c0, {0x1400040a168, 0x4, 0x4})
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/buffer.go:94 +0x1fc fp=0x14000848d10 sp=0x14000848c80 pc=0x103d0d1dc
golang.org/x/crypto/ssh.(*channel).ReadExtended(0x140001920c0, {0x1400040a168?, 0x14000848df8?, 0x102f126dc?}, 0x30fd40?)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/channel.go:351 +0x98 fp=0x14000848d70 sp=0x14000848d10 pc=0x103d10f48
golang.org/x/crypto/ssh.(*channel).Read(0x1049606a0?, {0x1400040a168?, 0x1064fc108?, 0x1400030fd40?})
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/channel.go:528 +0x2c fp=0x14000848db0 sp=0x14000848d70 pc=0x103d11f1c
github.com/pkg/sftp.(*conn).Read(0x0?, {0x1400040a168?, 0x14000848e28?, 0x103d5842c?})
	<autogenerated>:1 +0x34 fp=0x14000848de0 sp=0x14000848db0 pc=0x103d68cf4
io.ReadAtLeast({0x104b6b300, 0x140006997a0}, {0x1400040a168, 0x4, 0x4}, 0x4)
	io/io.go:332 +0xa0 fp=0x14000848e30 sp=0x14000848de0 pc=0x102f5ff70
io.ReadFull(...)
	io/io.go:351
github.com/pkg/sftp.recvPacket({0x104b6b300, 0x140006997a0}, 0x0, 0x0?)
	github.com/pkg/sftp@v1.13.5-0.20211228200725-31aac3e1878d/packet.go:268 +0x84 fp=0x14000848ea0 sp=0x14000848e30 pc=0x103d58464
github.com/pkg/sftp.(*conn).recvPacket(...)
	github.com/pkg/sftp@v1.13.5-0.20211228200725-31aac3e1878d/conn.go:23
github.com/pkg/sftp.(*clientConn).recv(0x140006997a0)
	github.com/pkg/sftp@v1.13.5-0.20211228200725-31aac3e1878d/conn.go:78 +0xac fp=0x14000848f60 sp=0x14000848ea0 pc=0x103d53fac
github.com/pkg/sftp.(*clientConn).loop(0x140006997a0)
	github.com/pkg/sftp@v1.13.5-0.20211228200725-31aac3e1878d/conn.go:66 +0x54 fp=0x14000848fb0 sp=0x14000848f60 pc=0x103d53e44
github.com/pkg/sftp.NewClientPipe.func1()
	github.com/pkg/sftp@v1.13.5-0.20211228200725-31aac3e1878d/client.go:237 +0x28 fp=0x14000848fd0 sp=0x14000848fb0 pc=0x103d49ef8
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x14000848fd0 sp=0x14000848fd0 pc=0x102f2f294
created by github.com/pkg/sftp.NewClientPipe
	github.com/pkg/sftp@v1.13.5-0.20211228200725-31aac3e1878d/client.go:237 +0x224

goroutine 113 [sync.Cond.Wait]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:363 +0xe4 fp=0x14000cf96a0 sp=0x14000cf9680 pc=0x102efc424
runtime.goparkunlock(...)
	runtime/proc.go:369
sync.runtime_notifyListWait(0x140005e8cd0, 0x1)
	runtime/sema.go:517 +0x16c fp=0x14000cf96f0 sp=0x14000cf96a0 pc=0x102f2aadc
sync.(*Cond).Wait(0x140005e8cc0)
	sync/cond.go:70 +0xd0 fp=0x14000cf9730 sp=0x14000cf96f0 pc=0x102f3a0e0
golang.org/x/crypto/ssh.(*mux).Wait(0x140002725b0)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/mux.go:110 +0x8c fp=0x14000cf9780 sp=0x14000cf9730 pc=0x103d2dabc
github.com/rclone/rclone/backend/sftp.(*conn).wait(0x1400000f170)
	github.com/rclone/rclone/backend/sftp/sftp.go:423 +0x34 fp=0x14000cf97b0 sp=0x14000cf9780 pc=0x103d74694
github.com/rclone/rclone/backend/sftp.(*Fs).sftpConnection.func1()
	github.com/rclone/rclone/backend/sftp/sftp.go:504 +0x28 fp=0x14000cf97d0 sp=0x14000cf97b0 pc=0x103d74e28
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x14000cf97d0 sp=0x14000cf97d0 pc=0x102f2f294
created by github.com/rclone/rclone/backend/sftp.(*Fs).sftpConnection
	github.com/rclone/rclone/backend/sftp/sftp.go:504 +0x25c

goroutine 131 [sync.Cond.Wait]:
runtime.gopark(0x1400012da40?, 0x0?, 0x0?, 0x0?, 0x0?)
	runtime/proc.go:363 +0xe4 fp=0x14000847bf0 sp=0x14000847bd0 pc=0x102efc424
runtime.goparkunlock(...)
	runtime/proc.go:369
sync.runtime_notifyListWait(0x140005e8ed0, 0x3)
	runtime/sema.go:517 +0x16c fp=0x14000847c40 sp=0x14000847bf0 pc=0x102f2aadc
sync.(*Cond).Wait(0x140005e8ec0)
	sync/cond.go:70 +0xd0 fp=0x14000847c80 sp=0x14000847c40 pc=0x102f3a0e0
golang.org/x/crypto/ssh.(*buffer).Read(0x140000c3980, {0x14000b2a200, 0x4, 0x4})
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/buffer.go:94 +0x1fc fp=0x14000847d10 sp=0x14000847c80 pc=0x103d0d1dc
golang.org/x/crypto/ssh.(*channel).ReadExtended(0x14000192180, {0x14000b2a200?, 0x14000847df8?, 0x102f126dc?}, 0x30fd40?)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/channel.go:351 +0x98 fp=0x14000847d70 sp=0x14000847d10 pc=0x103d10f48
golang.org/x/crypto/ssh.(*channel).Read(0x1009606a0?, {0x14000b2a200?, 0x1064fd878?, 0x10?})
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/channel.go:528 +0x2c fp=0x14000847db0 sp=0x14000847d70 pc=0x103d11f1c
github.com/pkg/sftp.(*conn).Read(0x0?, {0x14000b2a200?, 0x14000847e28?, 0x103d5842c?})
	<autogenerated>:1 +0x34 fp=0x14000847de0 sp=0x14000847db0 pc=0x103d68cf4
io.ReadAtLeast({0x104b6b300, 0x1400063d290}, {0x14000b2a200, 0x4, 0x4}, 0x4)
	io/io.go:332 +0xa0 fp=0x14000847e30 sp=0x14000847de0 pc=0x102f5ff70
io.ReadFull(...)
	io/io.go:351
github.com/pkg/sftp.recvPacket({0x104b6b300, 0x1400063d290}, 0x0, 0x820478?)
	github.com/pkg/sftp@v1.13.5-0.20211228200725-31aac3e1878d/packet.go:268 +0x84 fp=0x14000847ea0 sp=0x14000847e30 pc=0x103d58464
github.com/pkg/sftp.(*conn).recvPacket(...)
	github.com/pkg/sftp@v1.13.5-0.20211228200725-31aac3e1878d/conn.go:23
github.com/pkg/sftp.(*clientConn).recv(0x1400063d290)
	github.com/pkg/sftp@v1.13.5-0.20211228200725-31aac3e1878d/conn.go:78 +0xac fp=0x14000847f60 sp=0x14000847ea0 pc=0x103d53fac
github.com/pkg/sftp.(*clientConn).loop(0x1400063d290)
	github.com/pkg/sftp@v1.13.5-0.20211228200725-31aac3e1878d/conn.go:66 +0x54 fp=0x14000847fb0 sp=0x14000847f60 pc=0x103d53e44
github.com/pkg/sftp.NewClientPipe.func1()
	github.com/pkg/sftp@v1.13.5-0.20211228200725-31aac3e1878d/client.go:237 +0x28 fp=0x14000847fd0 sp=0x14000847fb0 pc=0x103d49ef8
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x14000847fd0 sp=0x14000847fd0 pc=0x102f2f294
created by github.com/pkg/sftp.NewClientPipe
	github.com/pkg/sftp@v1.13.5-0.20211228200725-31aac3e1878d/client.go:237 +0x224

goroutine 132 [sync.Cond.Wait]:
runtime.gopark(0x21?, 0x103230b94?, 0x60?, 0xe3?, 0x1046ad080?)
	runtime/proc.go:363 +0xe4 fp=0x14000cf16a0 sp=0x14000cf1680 pc=0x102efc424
runtime.goparkunlock(...)
	runtime/proc.go:369
sync.runtime_notifyListWait(0x140005e8e50, 0x1)
	runtime/sema.go:517 +0x16c fp=0x14000cf16f0 sp=0x14000cf16a0 pc=0x102f2aadc
sync.(*Cond).Wait(0x140005e8e40)
	sync/cond.go:70 +0xd0 fp=0x14000cf1730 sp=0x14000cf16f0 pc=0x102f3a0e0
golang.org/x/crypto/ssh.(*mux).Wait(0x14000272620)
	golang.org/x/crypto@v0.0.0-20220525230936-793ad666bf5e/ssh/mux.go:110 +0x8c fp=0x14000cf1780 sp=0x14000cf1730 pc=0x103d2dabc
github.com/rclone/rclone/backend/sftp.(*conn).wait(0x14000950138)
	github.com/rclone/rclone/backend/sftp/sftp.go:423 +0x34 fp=0x14000cf17b0 sp=0x14000cf1780 pc=0x103d74694
github.com/rclone/rclone/backend/sftp.(*Fs).sftpConnection.func1()
	github.com/rclone/rclone/backend/sftp/sftp.go:504 +0x28 fp=0x14000cf17d0 sp=0x14000cf17b0 pc=0x103d74e28
runtime.goexit()
	runtime/asm_arm64.s:1165 +0x4 fp=0x14000cf17d0 sp=0x14000cf17d0 pc=0x102f2f294
created by github.com/rclone/rclone/backend/sftp.(*Fs).sftpConnection
	github.com/rclone/rclone/backend/sftp/sftp.go:504 +0x25c

r0      0x104
r1      0x0
r2      0x4400
r3      0x0
r4      0x0
r5      0xa0
r6      0x0
r7      0x0
r8      0x16cf42a48
r9      0x4401
r10     0x1059d5af8
r11     0x2
r12     0x0
r13     0x0
r14     0x0
r15     0x0
r16     0x131
r17     0x1fb7db638
r18     0x0
r19     0x1059d5ae0
r20     0x1059d5b20
r21     0x106720660
r22     0x0
r23     0x0
r24     0x4400
r25     0x4401
r26     0x4500
r27     0x20
r28     0x1059d4d20
r29     0x16cf42ac0
lr      0x1a16b883c
sp      0x16cf42a30
pc      0x1a167e270
fault   0x1a167e270

This looked like it is blocked closing the ssh handles.

This is confirmed by the log

And also by your backtrace - search for ssh and sftp and you'll see what I mean.

Not sure exactly why, but if you are looking for bugs in your implementation that's where I'd start looking!

Note that rclone will timeout eventually (hopefully).

1 Like

Thank you so much and so sorry for accidentally getting you to help debug an issue I caused :sweat_smile:

ALSO thank you for rclone (I should have led with this). I'm working on building rclone support for Permanent.org (we decided that supporting SFTP would be the best way to support rclone!)

No worries. It wouldn't surprise me to learn that there are bugs in the SFTP backend!

Permanent.org looks very complimentary to rclone - I like it.

When you've got your sftp server working to your satisfaction, you could submit permanent as a backend if you want. Follow the entry for "rsync.net" off the rclone home page rclone.org to see how it would look. If you feel able, please make a PR otherwise I can do it.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.