-
Notifications
You must be signed in to change notification settings - Fork 253
Open
Description
Which version of the AzCopy was used?
azcopy version 10.31.0 installed with dpkg -i (downloaded from Releases)
Which platform are you using? (ex: Windows, Mac, Linux)
Ubuntu 22.04 (Azure VM).
What command did you run?
GCP Cloud to Azure copy:
me@server1:~$ export GOOGLE_APPLICATION_CREDENTIALS=<path-to-downloaded-cred-json>
me@server1:~$ azcopy copy "https://storage.cloud.google.com/<ZZZZZZ>" "https://ZZZZZZZZZ.blob.core.windows.net/ZZZZZZZ" --recursive=true --overwrite=ifSourceNewer
INFO: Scanning...
INFO: Autologin not specified.
INFO: Authenticating to destination using Azure AD
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x135ad71]
goroutine 1 [running]:
github.com/Azure/azure-storage-azcopy/v10/common.(*ServiceClient).FileServiceClient(...)
/mnt/vss/_work/1/s/common/util.go:279
github.com/Azure/azure-storage-azcopy/v10/cmd.getShareProtocolType({0x1b85618, 0xc0000c7680}, 0x0, {{0xc00015f7c0, 0x33}, {0x0, 0x0}, {0x0, 0x0}}, 0x0)
/mnt/vss/_work/1/s/cmd/flagsValidation.go:364 +0x171
github.com/Azure/azure-storage-azcopy/v10/cmd.validateShareProtocolCompatibility({0x1b85618?, 0xc0000c7680?}, {{0xc00015f7c0, 0x33}, {0x0, 0x0}, {0x0, 0x0}}, 0x1915af5?, 0x1, ...)
/mnt/vss/_work/1/s/cmd/flagsValidation.go:323 +0x77
github.com/Azure/azure-storage-azcopy/v10/cmd.validateProtocolCompatibility({0x1b85618, 0xc0000c7680}, 0x803, {{0xc00015f7c0, 0x33}, {0x0, 0x0}, {0x0, 0x0}}, {{0xc00015f780, ...}, ...}, ...)
/mnt/vss/_work/1/s/cmd/flagsValidation.go:413 +0x128
github.com/Azure/azure-storage-azcopy/v10/cmd.(*CookedCopyCmdArgs).processCopyJobPartOrders(0xc0001b8a08)
/mnt/vss/_work/1/s/cmd/copy.go:1199 +0x118c
github.com/Azure/azure-storage-azcopy/v10/cmd.(*CookedCopyCmdArgs).process(0xc00050b000?)
/mnt/vss/_work/1/s/cmd/copy.go:798 +0x65
github.com/Azure/azure-storage-azcopy/v10/cmd.init.2.func2(0xc0005dc908, {0xc000445500?, 0x2?, 0x19150b5?})
/mnt/vss/_work/1/s/cmd/copy.go:1652 +0x292
github.com/spf13/cobra.(*Command).execute(0xc0005dc908, {0xc0004454c0, 0x4, 0x4})
/home/cloudtest/go/pkg/mod/github.com/spf13/[email protected]/command.go:989 +0xabb
github.com/spf13/cobra.(*Command).ExecuteC(0x286f000)
/home/cloudtest/go/pkg/mod/github.com/spf13/[email protected]/command.go:1117 +0x44f
github.com/spf13/cobra.(*Command).Execute(...)
/home/cloudtest/go/pkg/mod/github.com/spf13/[email protected]/command.go:1041
github.com/Azure/azure-storage-azcopy/v10/cmd.InitializeAndExecute()
/mnt/vss/_work/1/s/cmd/root.go:279 +0x1a
main.main()
/mnt/vss/_work/1/s/main.go:34 +0x2f
What problem was encountered?
Segmentation fault.
How can we reproduce the problem in the simplest way?
GCP->Azure copy
Have you found a mitigation/solution?
Downgrade to version 10.29.1.
Regression in #2683 is blocking use of 10.30.1.
This regression is blocking use of 10.31.1.
Metadata
Metadata
Assignees
Labels
No labels