Good morning,
Following the VTA MxNet tutorial, I get a segmentation fault.
The segmentation fault is produced during the execution of GraphRuntime::Run. More specifically, the loop that executes op_execs_[i]. The first three (of 100) are not executed and the fourth starts executing and generates a segmentation fault.
Could anyone help me with this? Os throw any light as why this is happening?
Thank you very much for your time.
Error trace:
Segmentation fault: 11
Segmentation fault: 11
Segmentation fault: 11
Stack trace:
[bt] (0) /home/mike/.local/lib/python3.5/site-packages/mxnet/libmxnet.so(+0x2b64150) [0x7eff5ff51150]
[bt] (1) /lib/x86_64-linux-gnu/libc.so.6(+0x354b0) [0x7eff7c2924b0]
[bt] (2) /tmp/tmptxfa_dss/graphlib.o.so(+0x174bf) [0x7eff7019e4bf]
[bt] (3) /scratch/mike/tvm/build/libtvm.so(tvm::runtime::ThreadPool::Launch(int ()(int, TVMParallelGroupEnv, void*), void*, int, int)+0xfd1) [0x7eff31d8d621]
[bt] (4) /scratch/mike/tvm/build/libtvm.so(TVMBackendParallelLaunch+0x63) [0x7eff31d8af03]
[bt] (5) /tmp/tmptxfa_dss/graphlib.o.so(+0x170eb) [0x7eff7019e0eb]
[bt] (6) /tmp/tmptxfa_dss/graphlib.o.so(fused_nn_conv2d_add_nn_relu+0x3bd) [0x7eff7019dcad]
[bt] (7) /scratch/mike/tvm/build/libtvm.so(+0xbea331) [0x7eff31d84331]
[bt] (8) /scratch/mike/tvm/build/libtvm.so(+0xc3f6a7) [0x7eff31dd96a7]
Stack trace:
[bt] (0) /home/mike/.local/lib/python3.5/site-packages/mxnet/libmxnet.so(+0x2b64150) [0x7eff5ff51150]
[bt] (1) /lib/x86_64-linux-gnu/libc.so.6(+0x354b0) [0x7eff7c2924b0]
[bt] (2) /tmp/tmptxfa_dss/graphlib.o.so(+0x174bf) [0x7eff7019e4bf]
[bt] (3) /scratch/mike/tvm/build/libtvm.so(tvm::runtime::ThreadPool::RunWorker(int)+0x1b9) [0x7eff31d8ba19]
[bt] (4) /scratch/mike/tvm/build/libtvm.so(std::_Impl<std::_Bind_simple<tvm::runtime::threading::ThreadGroup::Impl::Impl(int, std::function<void (int)>, bool)::{lambda()#1} ()> >::M_run()+0x31) [0x7eff31d812e1]
[bt] (5) /usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0xb8c80) [0x7eff755cfc80]
[bt] (6) /lib/x86_64-linux-gnu/libpthread.so.0(+0x76ba) [0x7eff7c62e6ba]
[bt] (7) /lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7eff7c36441d]
terminate called after throwing an instance of ‘dmlc::Error’
what(): [11:27:34] /scratch/mike/tvm/src/runtime/workspace_pool.cc:116: Check failed: allocated.size() == 1 (3 vs. 1) :
Stack trace:
[bt] (0) /scratch/mike/tvm/build/libtvm.so(tvm::runtime::WorkspacePool::Pool::Release(DLContext, tvm::runtime::DeviceAPI*)+0x652) [0x7eff31d9a1d2]
[bt] (1) /scratch/mike/tvm/build/libtvm.so(tvm::runtime::WorkspacePool::~WorkspacePool()+0x3f) [0x7eff31d9887f]
[bt] (2) /lib/x86_64-linux-gnu/libc.so.6(__call_tls_dtors+0x3f) [0x7eff7c2975ff]
[bt] (3) /lib/x86_64-linux-gnu/libc.so.6(+0x39f27) [0x7eff7c296f27]
[bt] (4) /lib/x86_64-linux-gnu/libc.so.6(+0x3a045) [0x7eff7c297045]
[bt] (5) /home/mike/.local/lib/python3.5/site-packages/mxnet/libmxnet.so(+0x2b64188) [0x7eff5ff51188]
[bt] (6) /lib/x86_64-linux-gnu/libc.so.6(+0x354b0) [0x7eff7c2924b0]
[bt] (7) /tmp/tmptxfa_dss/graphlib.o.so(+0x174bf) [0x7eff7019e4bf]
[bt] (8) /scratch/mike/tvm/build/libtvm.so(tvm::runtime::ThreadPool::Launch(int ()(int, TVMParallelGroupEnv, void*), void*, int, int)+0xfd1) [0x7eff31d8d621]