trivialfis commented on issue #4953:
URL: https://github.com/apache/incubator-tvm/issues/4953#issuecomment-618368767


   Somehow the `dmlc::LogMessageFatal` constructor is a plt function, but the 
one in tvm is not plt, and calling it in XGBoost got resolved into the one in 
tvm.
   
   ```
   Thread 1 "python" hit Breakpoint 1, 0x00007fffb952ac60 in 
dmlc::LogMessageFatal::LogMessageFatal(char const*, int)@plt ()
      from 
/home/fis/Workspace/XGBoost/lib/python3.6/site-packages/xgboost/./lib/libxgboost.so
   (gdb) bt
   #0  0x00007fffb952ac60 in dmlc::LogMessageFatal::LogMessageFatal(char 
const*, int)@plt ()
      from 
/home/fis/Workspace/XGBoost/lib/python3.6/site-packages/xgboost/./lib/libxgboost.so
   #1  0x00007fffb971b49c in dh::ThrowOnCudaError 
(code=cudaErrorInsufficientDriver, file=0x7fffb9a82278 
"/workspace/src/common/common.cu", line=14)
       at /workspace/src/c_api/../data/../common/common.h:41
   #2  0x00007fffb972ac75 in xgboost::common::AllVisibleGPUs () at 
/workspace/src/common/common.cu:14
   #3  0x00007fffb961496e in xgboost::gbm::GBTree::Configure (this=0xc41b70, 
cfg=std::vector of length 12, capacity 12 = {...})
       at /workspace/src/gbm/gbtree.cc:54
   #4  0x00007fffb9643985 in xgboost::LearnerImpl::ConfigureGBM 
(this=0x1397db0, old=..., args=std::vector of length 12, capacity 12 = {...})
       at /workspace/src/learner.cc:925
   #5  0x00007fffb963aeaf in xgboost::LearnerImpl::Configure (this=0x1397db0) 
at /workspace/src/learner.cc:252
   #6  0x00007fffb9641649 in xgboost::LearnerImpl::UpdateOneIter 
(this=0x1397db0, iter=0, train=0x12282e0) at /workspace/src/learner.cc:722
   #7  0x00007fffb9561414 in XGBoosterUpdateOneIter (handle=0x1397db0, iter=0, 
dtrain=0x13856e0) at /workspace/src/c_api/c_api.cc:501
   #8  0x00007ffff5092dae in ffi_call_unix64 () from 
/usr/lib/x86_64-linux-gnu/libffi.so.6
   #9  0x00007ffff509271f in ffi_call () from 
/usr/lib/x86_64-linux-gnu/libffi.so.6
   #10 0x00007ffff52a65c4 in _ctypes_callproc () from 
/usr/lib/python3.6/lib-dynload/_ctypes.cpython-36m-x86_64-linux-gnu.so
   #11 0x00007ffff52a6c33 in ?? () from 
/usr/lib/python3.6/lib-dynload/_ctypes.cpython-36m-x86_64-linux-gnu.so
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to