SIGSEGV caused by compiled Java code
Reto Merz
reto.merz at abacus.ch
Sat Oct 14 17:12:44 UTC 2023
Hello,
We can always reproduce a JVM crash SIGSEGV caused by compiled Java code.
At the moment we can it only reproduce on Linux system (Ubuntu 22.04.3 LTS), and not on Windows.
First we have seen it with version
OpenJDK Runtime Environment Temurin-17.0.4.1+1 (17.0.4.1+1) (build 17.0.4.1+1)
After that we updatet to the latest 17 LTS Temurin release
OpenJDK Runtime Environment Temurin-17.0.8.1+1 (17.0.8.1+1) (build 17.0.8.1+1)
but we can still reproduce it.
Here is the content of the full hs_err_pid*.log:
https://github.com/retomerz/pasetbin/blob/main/hs_err_pid215731.log
The Java code of the mentioned method (ch.abacus.abareport.Logger.logOldImpl(Level,String,Throwable))
is below [1].
Is this a known problem or should we report this via bugreport.java.com?
In case we should report it, what exact info should be provided?
Thanks
Regards
Reto
[1]
private static void logOldImpl(Level level, String message, Throwable throwable){
if (LOG_TO_SYSTEM_OUT){
System.out.println(/*NlsIgnore*/"LOG: " + level + " -> " + message);
} else {
try {
if (ULCParams.hasULCParams()){
message = ((AVSystem)((WeakReference)ULCParams.currentULCParams().properties().get(AVSystem.PARAM_STRING)).get()).getReport().getFile().getURL().toString() + " - " + message;
}
} catch (Exception e){
message = /*NlsIgnore*/"no system - " + message;
}
getLogger().log(level, message, throwable);
}
if (throwable != null){
throwable.printStackTrace();
}
}
More information about the discuss
mailing list