-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
cmd/link: sigbus/segfault on ARM using AzCopy #38331
Comments
Looking at the original issue, were you able to prove/disprove if alignment was a problem? It's not clear from the original thread, and seems easy enough to test by just checking alignment somewhere near https://github.com/Azure/azure-storage-azcopy/blob/master/common/atomicmorph.go#L16 Additionally, do you have a smaller repro case? |
I did try out their branch for alignment, it did not resolve the issue. Unfortunately I don't have a good repro case. AzCopy does work on some folders, and not on others. I can see if I can try to come up with some files that will fail consistently. |
This file (attached) seems to fail (no need to decompress). Note if you did decompress, the FLAC inside is also failing to upload. Pi/ARM:
|
I strongly suspect alignment issues. The address of the underlying structure is computed as:
I don't see any reason why
So I think a |
Thanks @randall77 . We (the AzCopy team) will look into that. |
What version of Go are you using (
go version
)?go version go1.14.2 linux/arm
Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?What did you do?
Compiled and used azcopy. azcopy will SOMETIMES segfault. Opened an issue ( Azure/azure-storage-azcopy#882 ) and developers suggest it is an issue with golang on ARM.
What did you expect to see?
Completed upload.
What did you see instead?
See attached for full trace.
azcopy-golang-seg.txt
The text was updated successfully, but these errors were encountered: