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
xgboost==1.3.0 fails at import: Segmentation Fault #6480
Comments
Thanks for reporting the issue. Can you try it within a GDB session and obtain a stack trace?
|
Also please share the OS. Is it RHEL or CentOS? XGBoost has been compiled using CentOS 6 Docker image. |
@hamzamohdzubair For now, you can install XGBoost from the source package:
|
Thanks for the quick response. OS: CentOS Linux 7 (Core) Output from gdb:
|
@hamzamohdzubair Thanks, I'll try to create a CentOS 7 Docker container and reproduce the issue there. As for the GDB log, the log suggests that the process exited normally without any stack trace. Did XGBoost not crash when inside the GDB session? |
@hcho3 Sorry my bad, I was running I reinstalled Output of gdb:
Sorry for the extremely long outputs, i am not sure what all is irrelevant. Thanks |
@hamzamohdzubair Please run |
|
@hamzamohdzubair I managed to reproduce the segmentation fault on my end, using the container |
Is there any change in toolchain? |
@hamzamohdzubair @harupy I managed to find a quick fix for the segfault. Can you please try this new wheel? https://xgboost-examples.s3-us-west-2.amazonaws.com/xgboost-1.3.0-py3-none-manylinux2010_x86_64.whl I tried it using both @trivialfis No, it had to do with #6461. I was using an incorrect container to perform |
Awesome that you can root the issue. |
The |
I just downloaded the latest
xgboost==1.3.0
import xgboost
throws Segmentation FaultI tried in
I had to downgrade to
xgboost==1.2.1
for it to workThe text was updated successfully, but these errors were encountered: