You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
crash info :
*** Error in `/usr/lib/jvm/jdk1.8.0_152/bin/java': corrupted size vs. prev_size: 0x00007f3158022d00 ***
Environment info
Operating System: Ubuntu 14.04 LTS
Compiler: gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)
Package used (python/R/jvm/C++): jvm
xgboost version used: v0.60
If installing from source, please provide
The commit hash (git rev-parse HEAD)
'4a8d63b6c8711fb839c71e26c659936252df1eb5'
Logs will be helpful (If logs are large, please upload as attachment).
(gdb) bt
#0 0x00007f0e36a7ac37 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 #1 0x00007f0e36a7e028 in __GI_abort () at abort.c:89 #2 0x00007f0e36ab72a4 in __libc_message (do_abort=do_abort@entry=1,
fmt=fmt@entry=0x7f0e36bc9310 "*** Error in `%s': %s: 0x%s \n") at ../sysdeps/posix/libc_fatal.c:175 #3 0x00007f0e36ac382e in malloc_printerr (ptr=, str=0x7f0e36bc94d8 "double free or corruption (fasttop)", action=1)
at malloc.c:4998 #4 _int_free (av=, p=, have_lock=0) at malloc.c:3842 #5 0x00007f0dfde2fa4b in void std::vector<XGBAPIThreadLocalEntry, std::allocator<XGBAPIThreadLocalEntry> >::_M_emplace_back_aux<XGBAPIThreadLocalEntry const&>(XGBAPIThreadLocalEntry* const&) () from /tmp/libxgboost4j8492379076807211327.so #6 0x00007f0dfde250c6 in XGBoosterPredict () from /tmp/libxgboost4j8492379076807211327.so #7 0x00007f0dfde08566 in Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGBoosterPredict () from /tmp/libxgboost4j8492379076807211327.so #8 0x00007f0e21017a34 in ?? () #9 0x00007f0e09941120 in ?? () #10 0x0000000409941110 in ?? () #11 0x00007f0e184a7000 in ?? () #12 0x0000000000000000 in ?? ()
Steps to reproduce
write a java project with a multi-thread
each thread new ml.dmlc.xgboost4j.java.XGBoost.loadModel(dataInStream);
then call Booster.predict(DMatrix data, boolean outputMargin, int treeLimit)
crash info :
*** Error in `/usr/lib/jvm/jdk1.8.0_152/bin/java': corrupted size vs. prev_size: 0x00007f3158022d00 ***
Environment info
Operating System: Ubuntu 14.04 LTS
Compiler: gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)
Package used (python/R/jvm/C++): jvm
xgboost
version used: v0.60If installing from source, please provide
git rev-parse HEAD
)'4a8d63b6c8711fb839c71e26c659936252df1eb5'
(gdb) bt
#0 0x00007f0e36a7ac37 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007f0e36a7e028 in __GI_abort () at abort.c:89
#2 0x00007f0e36ab72a4 in __libc_message (do_abort=do_abort@entry=1,
fmt=fmt@entry=0x7f0e36bc9310 "*** Error in `%s': %s: 0x%s \n") at ../sysdeps/posix/libc_fatal.c:175
#3 0x00007f0e36ac382e in malloc_printerr (ptr=, str=0x7f0e36bc94d8 "double free or corruption (fasttop)", action=1)
at malloc.c:4998
#4 _int_free (av=, p=, have_lock=0) at malloc.c:3842
#5 0x00007f0dfde2fa4b in void std::vector<XGBAPIThreadLocalEntry, std::allocator<XGBAPIThreadLocalEntry> >::_M_emplace_back_aux<XGBAPIThreadLocalEntry const&>(XGBAPIThreadLocalEntry* const&) () from /tmp/libxgboost4j8492379076807211327.so
#6 0x00007f0dfde250c6 in XGBoosterPredict () from /tmp/libxgboost4j8492379076807211327.so
#7 0x00007f0dfde08566 in Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGBoosterPredict () from /tmp/libxgboost4j8492379076807211327.so
#8 0x00007f0e21017a34 in ?? ()
#9 0x00007f0e09941120 in ?? ()
#10 0x0000000409941110 in ?? ()
#11 0x00007f0e184a7000 in ?? ()
#12 0x0000000000000000 in ?? ()
Steps to reproduce
write a java project with a multi-thread
each thread new ml.dmlc.xgboost4j.java.XGBoost.loadModel(dataInStream);
then call Booster.predict(DMatrix data, boolean outputMargin, int treeLimit)
What have you tried?
2.gdb java core,then bt
#0 0x00007f0e36a7ac37 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
2.0 version, lots of changes #1 0x00007f0e36a7e028 in __GI_abort () at abort.c:89
fix loss_type #2 0x00007f0e36ab72a4 in __libc_message (do_abort=do_abort@entry=1,
fmt=fmt@entry=0x7f0e36bc9310 "*** Error in `%s': %s: 0x%s \n") at ../sysdeps/posix/libc_fatal.c:175
Missing -lgomp when installing #3 0x00007f0e36ac382e in malloc_printerr (ptr=, str=0x7f0e36bc94d8 "double free or corruption (fasttop)", action=1)
at malloc.c:4998
Python Module in Mac #4 _int_free (av=, p=, have_lock=0) at malloc.c:3842
add return type for xgboost, don't know if it is mac problem #5 0x00007f0dfde2fa4b in void std::vector<XGBAPIThreadLocalEntry, std::allocator<XGBAPIThreadLocalEntry> >::_M_emplace_back_aux<XGBAPIThreadLocalEntry const&>(XGBAPIThreadLocalEntry* const&) () from /tmp/libxgboost4j8492379076807211327.so
Fix the bug in MAC #6 0x00007f0dfde250c6 in XGBoosterPredict () from /tmp/libxgboost4j8492379076807211327.so
Compatibility with both Python 2(.7) and 3 #7 0x00007f0dfde08566 in Java_ml_dmlc_xgboost4j_java_XGBoostJNI_XGBoosterPredict () from /tmp/libxgboost4j8492379076807211327.so
xgboost generates root-only trees for python example #8 0x00007f0e21017a34 in ?? ()
Reproducible random seeds #9 0x00007f0e09941120 in ?? ()
Error:buffer_indexexceed num_pbuffer #10 0x0000000409941110 in ?? ()
Determine feature importances #11 0x00007f0e184a7000 in ?? ()
evalutating only the first n classifiers in an ensemble #12 0x0000000000000000 in ?? ()
The text was updated successfully, but these errors were encountered: