Closed jeanbez closed 9 months ago
Can you provide the full code for a minimal sample that reproduces this?
Can you provide details on how you are configuring the client and what are the rough sizes of the data you are downloading. The assertion is triggered when client is trying to allocate a single buffer larger than the memory limit, which by default should be around 2 GB
The requests were very small, so they should not try to allocate more than the default memory limit in any way. I am unsure why this error got triggered, but multiple object keys I was working on had a ./
at the beginning of their names. After removing that and ensuring /
was only used in between, that error no longer occurred. tbh, I do not see how they could be related, but the error seems to have been solved with just this change.
I've tried a few combinations and so far I was not able to reproduce the error. As far as I can tell, having object keys start with "./" made no difference. Would it be possible to provide a full code sample to repro, including the sizes of objects causing the issue? Can you also provide crt trace logs? (setting SDK logging options to trace would also enable CRT logging)
Greetings! It looks like this issue hasn’t been active in longer than a week. We encourage you to check if this is still an issue in the latest release. Because it has been longer than a week since the last update on this, and in the absence of more information, we will be closing this issue soon. If you find that this is still a problem, please feel free to provide a comment or add an upvote to prevent automatic closure, or if the issue is already closed, please feel free to open a new one.
Describe the bug
While trying to read an object to a buffer with the CRT, the following internal buffer pool error occurs. The same code does not cause this error without using CRT.
Expected Behavior
Read to complete without a buffer error.
Current Behavior
Execution halts due to error.
Reproduction Steps
The error appears while trying to read a ranged request; in this case, it is the whole object.
Possible Solution
No response
Additional Information/Context
No response
AWS CPP SDK version used
1.11.239
Compiler and Version used
Apple clang version 15.0.0 (clang-1500.1.0.2.5)
Operating System and version
MacOs Sonoma 14.0 (23A344)