Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error encountered when predicting with xgboost on Linux arm64 #3031

Open
nanxt0127 opened this issue Mar 18, 2024 · 2 comments
Open

Error encountered when predicting with xgboost on Linux arm64 #3031

nanxt0127 opened this issue Mar 18, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@nanxt0127
Copy link

nanxt0127 commented Mar 18, 2024

Description

When encountering an error while predicting with xgboost on Linux arm64, how should it be handled? The deployment environment is Linux aarch64, DJL xgboost version is 0.26.0,and the JDK version is 1.8.0_312. Interestingly, when switching to JDK 11.0.11, the error disappears and it can run normally.

The specific error is "# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000007fa4b04a4c, pid=545530, tid=0x0000007fbc4921e0
#
# JRE version: OpenJDK Runtime Environment (8.0_312-b07) (build 1.8.0_312-8u312-b07-0kylin1~20.04-b07)
# Java VM: OpenJDK 64-Bit Server VM (25.312-b07 mixed mode linux-aarch64 compressed oops)
# Problematic frame:
# C  [libxgboost4j7032141238325234706.so+0x205a4c]  std::filesystem::path::~path()+0xc
#
# Core dump written. Default location: /home/xgboostJava/core or core.545530
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.".

I kindly request assistance in resolving the error message. Could you please provide guidance on how to address this issue?

@nanxt0127 nanxt0127 added the bug Something isn't working label Mar 18, 2024
@frankfliu
Copy link
Contributor

Can your provide a minimal reproduce project?

JDK 1.8.0 is end of life already. It's better upgrade to JDK 17 if possible.

This is native crash, may you can post your question to: https://github.com/dmlc/xgboost

@nanxt0127
Copy link
Author

Thank you for your answer. As we further investigate, we found that the issue is with the JDK that comes with the Linux Kylin system. There is no such issue with the JDK 1.8 downloaded from the official website.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants