corretto / corretto-11

Amazon Corretto 11 is a no-cost, multi-platform, production-ready distribution of OpenJDK 11
GNU General Public License v2.0
672 stars 106 forks source link

Corretto (11.0.24.8.1) generates a SIGSEV error and kills the container. #371

Open srichekuri opened 3 months ago

srichekuri commented 3 months ago

Describe the bug

We have a Java application which runs under Kubernetes with OpenJDK Runtime Environment Corretto-11.0.24.8.1 (11.0.24+8) (build 11.0.24+8-LTS). System is abruptly getting killed and going in a crash back loop. It eventually starts after 2 or 3 attempts.

To Reproduce

There isn't any specific code causing the issue. Please see the dump.

Expected behavior

System shouldn't be terminated with SIGSEGV error

Screenshots

See attached log.

Platform information

OS: Alpine Linux v3.20
OpenJDK Runtime Environment Corretto-11.0.24.8.1 (11.0.24+8)

error7.log error7_old.log

See attached file generated.

andre-wenzel commented 3 months ago

We acounter the same problem using Java 11.0.8.24 in AWS EC2 instance. Bevor changing form 11.0.8.23 everything works fine.

Describe the bug Application runs in Wildfly cluster environment on Amazon AWS EC2 instance using OpenJDK Runtime Environment Corretto-11.0.24.8.1. The JVM randomly crashes and the whole service process stops working. Appeart 5 times on differnt days since upgrading to Corretto-11.0.24.8.1.

To Reproduce There isn't any specific code causing the issue. Please see the dump.

Expected behavior System shouldn't be terminated with SIGSEGV error

Screenshots hs_err_pid5337.log hs_err_pid5339_abn.log hs_err_pid5346.log

Platform information Amazon E2 with Wildfly server

olivergillespie commented 3 months ago

@andre-wenzel - I've created https://github.com/corretto/corretto-11/issues/372 for your report as it seems to be a different crash. Yours is always in G1 GC code, and this one is not. If they turn out to be related I'll de-dupe it.

@srichekuri - Thanks for the report. I'm taking a look but it might be hard to diagnose without a reproducer, the two crashes occurred in different places so it's not clear what links them. Please upload any further crash logs if they occur.

olivergillespie commented 3 months ago

@srichekuri I took a look but don't see any clear cause or link between the two crashes. Have you tried any other versions of Java?

srichekuri commented 3 months ago

Thanks for looking into this. We didn’t try with any other version of Java. Do you see it go away with a newer version?

Thanks

SRI CHEKURI Accenture Software for Insurance 5220 N O Connor Blvd, Irving, Texas 75039

Phone: 908-898-5297 Cell: 732-619-8417 Email: @.**@.>

From: olivergillespie @.> Sent: Wednesday, August 28, 2024 6:10 AM To: corretto/corretto-11 @.> Cc: Chekuri, Srinivasu @.>; Mention @.> Subject: [External] Re: [corretto/corretto-11] Corretto (11.0.24.8.1) generates a SIGSEV error and kills the container. (Issue #371)

CAUTION: External email. Be cautious with links and attachments.

@srichekurihttps://urldefense.com/v3/__https:/github.com/srichekuri__;!!OrxsNty6D4my!--XV2w0ihp-CjunQjNB6KMwgXh78R2WWRKDR2QTAE0Js87QCDumYWimWSzIvuI8TRbtlw_N4wWnEaXZthQAQgUTj_vqBxZMx$ I took a look but don't see any clear cause or link between the two crashes. Have you tried any other versions of Java?

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/corretto/corretto-11/issues/371*issuecomment-2315019912__;Iw!!OrxsNty6D4my!--XV2w0ihp-CjunQjNB6KMwgXh78R2WWRKDR2QTAE0Js87QCDumYWimWSzIvuI8TRbtlw_N4wWnEaXZthQAQgUTj_h3Pay6G$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/BKV3DZRZ2WVGFI6Z4VZN353ZTWV2DAVCNFSM6AAAAABM4JLSTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJVGAYTSOJRGI__;!!OrxsNty6D4my!--XV2w0ihp-CjunQjNB6KMwgXh78R2WWRKDR2QTAE0Js87QCDumYWimWSzIvuI8TRbtlw_N4wWnEaXZthQAQgUTj_uRjkBbd$. You are receiving this because you were mentioned.Message ID: @.**@.>>


This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security, AI-powered support capabilities, and assessment of internal compliance with Accenture policy. Your privacy is important to us. Accenture uses your personal data only in compliance with data protection laws. For further information on how Accenture processes your personal data, please see our privacy statement at https://www.accenture.com/us-en/privacy-policy.


www.accenture.com

olivergillespie commented 3 months ago

I have no idea what the issue is, so I can't tell if it would happen on other versions. But it would be a good thing to try. You can try the previous version of Corretto 11, or try upgrading to Corretto 17 (or any other JDK distro).

olivergillespie commented 3 months ago

Did it also happen on multiple hosts, or just one host?

srichekuri commented 3 months ago

It did happen on multiple hosts

Thanks

SRI CHEKURI Accenture Software for Insurance 5220 N O Connor Blvd, Irving, Texas 75039

Phone: 908-898-5297 Cell: 732-619-8417 Email: @.**@.>

From: olivergillespie @.> Sent: Wednesday, August 28, 2024 8:41 AM To: corretto/corretto-11 @.> Cc: Chekuri, Srinivasu @.>; Mention @.> Subject: [External] Re: [corretto/corretto-11] Corretto (11.0.24.8.1) generates a SIGSEV error and kills the container. (Issue #371)

CAUTION: External email. Be cautious with links and attachments.

Did it also happen on multiple hosts, or just one host?

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/corretto/corretto-11/issues/371*issuecomment-2315351196__;Iw!!OrxsNty6D4my!_bBlToj4RLv033eIm95zSNwNLRaKZ0dL40wyW5_-UxHvqoPEyzPrPiwI0fuRLcjAvmFav1DdfNmlNsrx_uG5SMRerllp-7PH$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/BKV3DZRR4GMNFRBC6ZURHOLZTXHNBAVCNFSM6AAAAABM4JLSTKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMJVGM2TCMJZGY__;!!OrxsNty6D4my!_bBlToj4RLv033eIm95zSNwNLRaKZ0dL40wyW5_-UxHvqoPEyzPrPiwI0fuRLcjAvmFav1DdfNmlNsrx_uG5SMRermm7TUrw$. You are receiving this because you were mentioned.Message ID: @.**@.>>


This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security, AI-powered support capabilities, and assessment of internal compliance with Accenture policy. Your privacy is important to us. Accenture uses your personal data only in compliance with data protection laws. For further information on how Accenture processes your personal data, please see our privacy statement at https://www.accenture.com/us-en/privacy-policy.


www.accenture.com