-
Notifications
You must be signed in to change notification settings - Fork 102
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
Segfault when loading model from XGBoost binary format #210
Comments
Should have posted this here rather than on the PR: Backtrace:
|
@hcho3 Unfortunately, it looks like updating the dmlc-core reference did not do the trick. I'm trying to confirm the dmlc-core commit for our current xgboost version now. |
@wphicks Related issue: apache/tvm#4953. This was fixed by dmlc/xgboost#5590 by hiding all C++ symbols in libxgboost.so. It appears that the fix was not complete. |
@wphicks Indeed, dmlc/xgboost#5590 was incomplete and fails to hide C++ symbols from dmlc-core:
|
I submitted dmlc/xgboost#6188 to hide C++ symbols from dmlc-core. XGBoost 1.3.0 won't be out until October, so in the meanwhile we can work around the issue by using the standard C++ function for file I/O and doing away with |
@wphicks I've verified that dmlc/xgboost#6188 fixes this issue. |
Wonderful! Thanks, @hcho3. Looks like that PR ran up against a spending limit for Jenkins, but I'll review tomorrow. |
Fixed by #211 |
Treelite segfaults when attempting to load a model from XGBoost binary format, as demonstrated here with this test case. I'm working on tracking down the exact circumstances under which this segfault is encountered and will update as I discover more.
The text was updated successfully, but these errors were encountered: