Still the same error....
rclone-v1.62.0-beta.6724.0f9ed7a4e.fix-tree-crash-windows-386\rclone --config AZ_aws.conf -v tree --dirs-only AZ_AWS:az-eu-decision-fabric2-dev-output/ panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x0 addr=0x1c pc=0x17f5549] goroutine 1 [running]: github.com/a8m/tree.NameSort({0x2195fd0, 0xdcf5dc8}, {0x0, 0x0}) github.com/a8m/tree@v0.0.0-20230204152422-53dd42c535e0/sort.go:32 +0x39 github.com/a8m/tree.ByFunc.Less(...) github.com/a8m/tree@v0.0.0-20230204152422-53dd42c535e0/sort.go:14 sort.order2(...) sort/zsortinterface.go:299 sort.median({0x2191a24, 0xe27acd0}, 0x3, 0x6, 0x9, 0xeb3bbc4) sort/zsortinterface.go:308 +0x39 sort.choosePivot({0x2191a24, 0xe27acd0}, 0x0, 0xd) sort/zsortinterface.go:284 +0x152 sort.pdqsort({0x2191a24, 0xe27acd0}, 0x0, 0xd, 0x4) sort/zsortinterface.go:89 +0xd3 sort.Sort({0x2191a24, 0xe27acd0}) sort/sort.go:48 +0x8f github.com/a8m/tree.(*Node).sort(0xe0e9080, 0x2fadf40) github.com/a8m/tree@v0.0.0-20230204152422-53dd42c535e0/node.go:214 +0x17c github.com/a8m/tree.(*Node).Visit(0xe0e9080, 0x2fadf40) github.com/a8m/tree@v0.0.0-20230204152422-53dd42c535e0/node.go:174 +0x6ca github.com/rclone/rclone/cmd/tree.Tree({0x219be9c, 0xd805500}, {0x2188800, 0xd80a030}, 0x2fadf40) github.com/rclone/rclone/cmd/tree/tree.go:139 +0x128 github.com/rclone/rclone/cmd/tree.glob..func1.1() github.com/rclone/rclone/cmd/tree/tree.go:123 +0x42 github.com/rclone/rclone/cmd.Run(0x0, 0x0, 0x2fa46e0, 0xeb3be84) github.com/rclone/rclone/cmd/cmd.go:257 +0xf8 github.com/rclone/rclone/cmd/tree.glob..func1(0x2fa46e0, {0xd8740f0, 0x1, 0x5}) github.com/rclone/rclone/cmd/tree/tree.go:122 +0x2dc github.com/spf13/cobra.(*Command).execute(0x2fa46e0, {0xd8740c0, 0x5, 0x6}) github.com/spf13/cobra@v1.6.1/command.go:916 +0x7e6 github.com/spf13/cobra.(*Command).ExecuteC(0x2f9c8e0) github.com/spf13/cobra@v1.6.1/command.go:1044 +0x412 github.com/spf13/cobra.(*Command).Execute(...) github.com/spf13/cobra@v1.6.1/command.go:968 github.com/rclone/rclone/cmd.Main() github.com/rclone/rclone/cmd/cmd.go:561 +0x9a main.main() github.com/rclone/rclone/rclone.go:14 +0x17
I believe the issue is with specific files already uploaded in AWS that has the full path in the file name with special characters (this came out with the --version option) - here are these file names (there are hidden non-printable chars in between the slashes). Somehow rclone is uanble to handle them
C:\Users\kzqm438\Desktop\test_run\DF_SRC_BOX\Docs\Aditya_test_file.pdf
C:\Users\kzqm438\Desktop\test_run\DF_SRC_BOX\Docs\Sample_rave_S3_bucket_tesst.pdf
C:\Users\kzqm438\Desktop\test_run\DF_SRC_BOX\Priority\Initial_12-Aug-2021_D967MC00001_01_re.pdf
C:\Users\kzqm438\Desktop\test_run\DF_SRC_BOX\Priority\Jasper_DF_2188836.xml
Before it was crashing at the first of these files. Now it is passing that point, but failing here... the bottom of the verbose log below...
2023/02/05 11:16:08 DEBUG : Stat: filePath="\\xml_dtd_parser_daemon_out.log" 2023/02/05 11:16:08 DEBUG : >Stat: fi=xml_dtd_parser_daemon_out.log, err= panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x0 addr=0x1c pc=0x17f5529] goroutine 1 [running]: github.com/a8m/tree.NameSort({0x0, 0x0}, {0x2195fd0, 0xe3e0218}) github.com/a8m/tree@v0.0.0-20230204152422-53dd42c535e0/sort.go:32 +0x19 github.com/a8m/tree.ByFunc.Less(...) github.com/a8m/tree@v0.0.0-20230204152422-53dd42c535e0/sort.go:14