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
Segmentation fault in CLI binary classification demo #2638
Comments
Adding the following line at the end of
|
core dump on predicting
Environment infoubuntu16.04 Step to reproduce
|
I am getting this error as well on running the binary_classification demo. Stack trace Thread 1 "xgboost" received signal SIGSEGV, Segmentation fault. init=, fini=, rtld_fini=, stack_end=0x7fffffffe4f8) at ../csu/libc-start.c:291 #6 0x000000000040c729 in _start () |
@eroicaleo - I can confirm that this solution also worked for me, although I have no idea what it is actually doing. I was running this from my macbook with macOS Sierra. The only thing I want to add is that I had to re-run the make -j4 command for the solution to work. UPDATE |
I also have this error. Here is my system infomation: $ gcc -v Then run demo: $ ./runexp.sh Here is gdb output: |
Ping? We're seeing the same issue. Just changing @eroicaleo 's comment above seems reasonable, esp given this comment above the block he's noting: @tqchen this looks like some pretty long-standing code... is the fix just @eroicaleo 's suggestion? Seems troubling for classification/ranking to be broken in this way. |
But does anyone care enough to submit a PR? :) |
@suntzu86 I cannot seem to reproduce the issue with the latest |
For bugs or installation issues, please provide the following information.
The more information you provide, the more easily we will be able to offer
help and advice.
Environment info
Operating System: OS X El Capitan Version 10.11.6
Compiler: clang-800.0.42.1
Package used (python/R/jvm/C++): C++
xgboost
version used: 0.6If installing from source, please provide
git rev-parse HEAD
): 70071fcSteps to reproduce
git clone --recursive https://github.com/dmlc/xgboost xgboost
cd xgboost; cp make/minimum.mk ./config.mk; make -j4
cd demo/binary_classification/
./runexp.sh
logs:
The text was updated successfully, but these errors were encountered: