When I debug XGBoost using gdb, I get the ‘Thread 2 received signal SIGABRT, Aborted’ error. Below is the error position and my envs.
Error position
data.cc/return data::CreateParser_<uint32_t, real_t>(uri_, part_index, num_parts, type);
Error Info
My environments
OS: macOS High Sierra 10.13.6
gcc-6: gcc-6 (Homebrew GCC 6.4.0_2) 6.4.0
g+±6: g+±6 (Homebrew GCC 6.4.0_2) 6.4.0
gdb: GNU gdb (GDB) 8.0
XGBoost: commit 42200ec03ec6f2593c2a930bd9f3ce38fa11be5e
I alse use the d9d5293cdbbbf67dc8ff9d4a3f171d0990fdd1ee, but get the same error.
Can you help me? Thanks a lot!
Here is my build process.
cp make/config.mk ./config.mk
vim ./config.mk
# update the config.mk
export CC = gcc-6
export CXX = g++-6
# make
grep '\-O3' -rl -R . |xargs sed -i '' 's/-O3/-O0 -g -gdwarf-3/g'
sed -i '' 's/crv/crvs/g' Makefile
make -j4