Hello! I want to ask and report an issue I encountered during multi-thread upload of Boto3.
I can reproduce the crash consistently on my Mac environment, and also an Alpine 3.20 Docker container.
I have an individual Python script that tries to multi-part upload a large file to S3 THROUGH a proxy. The thread count is set to be 40, or any large number.
Regression Issue
[ ] Select this option if this issue appears to be a regression.
Expected Behavior
My python program would crash instantly.
zsh: segmentation fault python3 upload.py
Current Behavior
I used lldb to track down to the exact broken point. It looks like OPENSSL library that's used by Boto3 is freeing a memory location that has already be freed.
Hi @hjia97 thanks for reaching out. For further look, please include the full debug response from Mac and Alpine redacting any sensitive information. Thank you.
Describe the bug
Hello! I want to ask and report an issue I encountered during multi-thread upload of Boto3.
I can reproduce the crash consistently on my Mac environment, and also an Alpine 3.20 Docker container.
I have an individual Python script that tries to multi-part upload a large file to S3 THROUGH a proxy. The thread count is set to be 40, or any large number.
Regression Issue
Expected Behavior
My python program would crash instantly.
Current Behavior
I used lldb to track down to the exact broken point. It looks like OPENSSL library that's used by Boto3 is freeing a memory location that has already be freed.
Reproduction Steps
The code I used:
Possible Solution
No response
Additional Information/Context
The crash could be recreated consistently at my Mac, and a clean Alpine 3.20 Docker container.
SDK version used
boto3@1.35,
Environment details (OS name and version, etc.)
Alpine3.20, Mac