Closed kubrickfr closed 1 month ago
After having encountered other issues related to encryption on the same device, I do not believe it to be a aws cli issue.
This issue is now closed. Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one.
Describe the bug
Uploading thousands of 512MiB files to S3 by piping them to the aws cli always eventually crashes.
Expected Behavior
Uploads should complete, or, if something bad happens, return an error code and not crash.
Current Behavior
If doing it thousands of time (which is costing me a fortune btw), aws cli crashes with segmentation fault, sometimes printing:
An error occurred (BadDigest) when calling the UploadPart operation: The Content-MD5 you specified did not match what we received.
but not always.Here's a backtrace:
Sadly, I do not have the debug symbols, if you do, I can send you the core dump in private.
Reproduction Steps
Inside for loop: <something producing 512MiB of output> | aws s3 cp - s3://bucket/xx/xx/xx/$FILE --storage-class STANDARD
(also tried with GLACIER)
Possible Solution
No response
Additional Information/Context
No response
CLI version used
2.15.58
Environment details (OS name and version, etc.)
Ubuntu 22.04 on raspberry pi 5