SIGSEGV AWSCRT_12530715878252778108libaws-crt-jni.so+0x10a8dc aws_s3_client_make_meta_request+0x10c #5597
Labels
bug
This issue is a bug.
crt-client
p2
This is a standard priority issue
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 10 days.
Describe the bug
Getting this crash invoking
.getObject
onGetObjectRequest
.Expected Behavior
No crash
Current Behavior
In the file above, top of the thread contained these frames:
Here are other details from the crash file:
Here are tops of other threads in the same crash report:
Is there anything else in the crash report that could be of the interest to diagnose the issue?
Reproduction Steps
This is roughly what the code was doing (converted from Clojure into Java by chatGPT).
On top of this, this code used a single S3AsyncClient instance from a multiple threads. It was also consuming the InputStream using Channels.newChannel and invoking
.read
on it once and then closing it (often times not reading the input stream fully). It was then throwing and exception (due to premature EOF) and closing the input stream. When I fixed the code to invoke.read
until the content is fully read, these crashes stopped.Possible Solution
No response
Additional Information/Context
AWS Java SDK version used
2.20.117
JDK version used
Corretto-17.0.9.8.1
Operating System and version
Ubuntu 22.04.4 LTS
The text was updated successfully, but these errors were encountered: