corretto / corretto-21 Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v2.0
License: GNU General Public License v2.0
APT repositories should have a release file with properties decribing them.
apt.corretto.aws
repository has Origin
and Label
properties as . stable
which look like typos and/or placeholder values.
This can be seen by running apt-cache policy
or by downloading the Release file.
Sensible values may be Amazon as Origin
and Corretto as Label
.
Having . stable
doesn't allow proper disambiguation when adding the repository to something like unattended-upgrades.
Origin: . stable
Label: . stable
Suite: stable
Codename: stable
Date: Tue, 17 Oct 2023 17:02:31 UTC
Architectures: amd64 arm64 i386
Components: main
Description: Generated by aptly
[...]
It seems that 21.0.0.35.1 is used on the download links on the amazon website, but the release here is still marked as pre-release. (Build 35 was candidate then got GA since there were no P1 bugs)
https://github.com/corretto/corretto-21/releases/tag/21.0.0.35.1
"21": {
"pkg": {
"checksum": "760d89e954093c43907454120eef3c1f",
"checksum_sha256": "4a877d133a3c2c524947a53f5f031cb87264c18c97c858acb084bbf8bf4e476c",
"resource": "/downloads/resources/21.0.0.35.1/amazon-corretto-21.0.0.35.1-macosx-aarch64.pkg"
},
Hello,
we got the following crash:
Current thread (0x0000ffff801f7df0): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=37, stack(0x0000ffff846b7000,0x0000ffff848b5000) (2040K)]
Current CompileTask:
C2: 58449 13223 4 kotlinx.coroutines.scheduling.CoroutineScheduler$Worker::findTask (18 bytes)
Stack: [0x0000ffff846b7000,0x0000ffff848b5000], sp=0x0000ffff848b0d00, free space=2023k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x2ff0bc] unnecessary_acquire(Node const*)+0x3c
V [libjvm.so+0x6683b8] State::DFA(int, Node const*)+0x1d40
V [libjvm.so+0xad0384] Matcher::Label_Root(Node const*, State*, Node*, Node*&)+0x3f4
V [libjvm.so+0xad0f58] Matcher::match_tree(Node const*)+0xa8
V [libjvm.so+0xad5004] Matcher::xform(Node*, int)+0x77c
V [libjvm.so+0xad7ae8] Matcher::match()+0x740
V [libjvm.so+0x5b601c] Compile::Code_Gen()+0x9c
V [libjvm.so+0x5b9528] Compile::Compile(ciEnv*, ciMethod*, int, Options, DirectiveSet*)+0x10c8
V [libjvm.so+0x4f1d74] C2Compiler::compile_method(ciEnv*, ciMethod*, int, bool, DirectiveSet*)+0x114
V [libjvm.so+0x5be800] CompileBroker::invoke_compiler_on_method(CompileTask*)+0x9b0
V [libjvm.so+0x5c158c] CompileBroker::compiler_thread_loop()+0x574
V [libjvm.so+0x814bdc] JavaThread::thread_main_inner() [clone .part.0]+0xa4
V [libjvm.so+0xd87d68] Thread::call_run()+0xa8
V [libjvm.so+0xb7d7cc] thread_native_entry(Thread*)+0xdc
C [libc.so.6+0x7ee58]
siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000000000000000
we attach logs for details.
The class kotlinx.coroutines.scheduling.CoroutineScheduler$Worker
is in the maven package org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.7.3
.
After this error, server crash. There is a workaround?
Logs:
Thank you for taking the time to help improve OpenJDK and Corretto.
If your request concerns a security vulnerability then please report it by email to [email protected] instead of here. (You can find more information regarding security issues at https://aws.amazon.com/security/vulnerability-reporting/.)
Otherwise, if your issue concerns OpenJDK and is not specific to Corretto we ask that you raise it to the OpenJDK community. Depending on your contributor status for OpenJDK, please use the JDK bug system or the appropriate mailing list for the given problem area or update project.
If your issue is specific to Corretto, then you are in the right place. Please proceed with the following.
When profiling an app in IntelliJ Idea (Spring boot app) at some point an error crashes the execution.
Java version: "21.0.2" 2024-01-16 LTS
Steps and (source) code to reproduce the behavior.
A clear and concise description of what you expected to happen.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (sharedRuntime.cpp:560), pid=26737, tid=142351
# guarantee(cb != nullptr && cb->is_compiled()) failed: safepoint polling: pc must refer to an nmethod
#
# JRE version: OpenJDK Runtime Environment Corretto-21.0.2.13.1 (21.0.2+13) (build 21.0.2+13-LTS)
# Java VM: OpenJDK 64-Bit Server VM Corretto-21.0.2.13.1 (21.0.2+13-LTS, mixed mode, emulated-client, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, bsd-amd64)
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# JFR recording file will be written. Location: /Users/tabo/workspace/XXXXXX/hs_err_pid26737.jfr
#
# An error report file with more information is saved as:
# /Users/tabo/workspace/XXXXXXXXX/hs_err_pid26737.log
#
# If you would like to submit a bug report, please visit:
# https://github.com/corretto/corretto-21/issues/
OS: [e.g. Amazon Linux 2]
Version [e.g. "Corretto-15.0.1.9.1" (output from "java -version")]
Add any other context about the problem here.
For VM crashes, please attach the error report file. By default the file name is hs_err_pidpid.log
, where pid is the process ID of the process.
With INSTALLDIR="C:\Program Files\Amazon Corretto" MSI installs Java to path like "C:\Program Files\Amazon Corretto\jdk21.0.0_35".
Because of this minor upgrades require JAVA_HOME and PATH change.
Respect INSTALLDIR property as full path or add possibility to use major version path like INSTALLDIR\jdk21.
When try to use the flag -XX:+UseGraalJIT the JVM crashes
Just add the flag. The error message received is: JVMCI compiler 'graal' specified by jvmci.Compiler not found
My expectation is that it should work, since in Java 21 the Graal JIT is an alternative to the original JVM JIT. If I'm wrong, what's the rationale to Corretto do not support the Graal JIT?
I use Corretto 21 within a docker environment and my server crashed with the following error:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007ffa5a51fb09, pid=1, tid=51
#
# JRE version: OpenJDK Runtime Environment Corretto-21.0.2.13.1 (21.0.2+13) (build 21.0.2+13-LTS)
# Java VM: OpenJDK 64-Bit Server VM Corretto-21.0.2.13.1 (21.0.2+13-LTS, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# V [libjvm.so+0xf66b09] ThreadSnapshot::initialize(ThreadsList*, JavaThread*)+0x179
#
# Core dump will be written. Default location: //core
#
# If you would like to submit a bug report, please visit:
# https://github.com/corretto/corretto-21/issues/
#
Unfortunately, it crashed rarely (first occurrence for ~20 servers that use the same docker image).
Moreover, there were no end-user activity at the time of the crash.
Thanks.
I got this crash when running our loadtest code. I don't have exact steps to reproduce as this happened in 1 of 30 servers running same code
OS: Amazon linux 2 (4.14.334-252.552.amzn2.x86_64)
Version openjdk version "21.0.2" 2024-01-16 LTS OpenJDK Runtime Environment Corretto-21.0.2.13.1 (build 21.0.2+13-LTS)
I use Corretto 21 within a docker environment for running a server for Minecraft, I don't know much on java so I'm unsure how to explain what is happening or even how to recreate this. I try to start the server, and it crashes with a given stack trace error for libjvm.so, but will generate different problematic frames each crash.
This Corretto 21 image is used within alpine 3.4 in docker in order to run a Minecraft server within Pterodactyl Panel Software, unsure how to reproduce this in any since
I use this script provided by myself EpicPlayzGames on GitHub in order to create the image and use Corretto 21 provided by Software-Noob on GitHub specifically for the Pterodactyl Panel Software
OS: Amazon Linux 2
Version Corretto-21.0.2.13.1
Gladly will provide more content as needed, I'm not sure if all the info is here as I was unsure how to report this
hs_err_pid1.log
JRE crashes with EXCEPTION_ACCESS_VIOLATION after closing a dialog in JavaFX.
Just open a dialog in JavaFX and close(interrupt) the dialog from the IDE.
Note: it doesn't happen with all dialogs just this one
For the dialog and the app to stop and return code 130 (since it's an interruption of the running process ) without the JRE throwing an exception
OS: Windows 11
Version : corretto-21.0.2
Available upon request if there is an issue with JRE and the code might help.
Note: This app is only a basic GUI for interacting with a database for a database course at the university.
Examination of the RPM for Amazon Corretto 21 hosted here:
https://corretto.aws/downloads/latest/amazon-corretto-21-x64-linux-jdk.rpm
shows that when installed, the dependency is provided under a range of names, most of which start with a java-21
prefix:
sh-4.2$ rpm -qp amazon-corretto-21-x64-linux-jdk.rpm --provides
java-21-amazon-corretto-devel = 1:21.0.1.12-1
java-21-devel = 1:21.0.1.12
java-21-openjdk-devel = 1:21.0.1.12-1
java-sdk-21 = 1:21.0.1.12
java-sdk-21-openjdk = 1:21.0.1.12-1
java-21 = 1:21.0.1.12
java-21-openjdk = 1:21.0.1.12
jre = 1:21.0.1.12
jre-21 = 1:21.0.1.12
jre-21-openjdk = 1:21.0.1.12
However, java
is missing from the list meaning any other RPM package which declares a dependency like so:
java >= 1:1.8.0
cannot be satisfied by the Amazon Corretto 21 RPM dependency. This results in older Java versions being installed.
Can the RPM configuration be updated to include java
in the Provides
section?
Hi there โ
You will release the jre tar.gz file in this repo too?
Thanks!
I am running a minecraft server that use amazon corretto 21, suddenly , it crash and have a hs_err_pid, I haven't see such report when i was using openjdk. I use amazon corretto because it is recommended by server community.
run Minecraft server, wait.
Server run normally
No screenshot
OS: Ubuntu 22.04.3 LTS
Version OpenJDK Runtime Environment Corretto-21.0.2.14.1 (build 21.0.2+14-LTS)
hs_err_pid:
link: https://paste.denizenscript.com/View/122028
file: hs_err_pid27351.log
with
java -Xms24576M -Xmx24576M --add-modules=jdk.incubator.vector -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -XX:G1NewSizePercent=40 -XX:G1MaxNewSizePercent=50 -XX:G1HeapRegionSize=16M -XX:G1ReservePercent=15 -jar luminol-1.20.4-bundler.jar --nogui
We are committed to running Corretto LTS in production, but hit this bug consistently. Requesting a backport of the fix from JDK 23 branch
The following crash happens at least once a day in an active production environment and always in the same place.
SoftReference.get call I assume. The library used is a very popular PDF lib; here is the source: https://github.com/apache/pdfbox/blob/2.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/graphics/image/PDImageXObject.java
Here's is the hs_error file:
hs_err_pid8_corretto21.log
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.