# \[app\]\[bundle\_deploy\] got segmentation fault

**URL:** <https://discuss.tvm.apache.org/t/app-bundle-deploy-got-segmentation-fault/1519>\
**Category:** Questions\
**Created:** [January 19, 2019, 6:43pm UTC](https://discuss.tvm.apache.org/t/app-bundle-deploy-got-segmentation-fault/1519 "2019-01-19T18:43:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zakk0610](https://discuss.tvm.apache.org/user_avatar/discuss.tvm.apache.org/zakk0610/32/360_2.png) [@zakk0610](https://discuss.tvm.apache.org/u/zakk0610)\
**Post date:** [January 19, 2019, 6:43pm UTC](https://discuss.tvm.apache.org/t/app-bundle-deploy-got-segmentation-fault/1519/1 "2019-01-19T18:43:21Z")

</div>

Hi all,  
I’m trying to run this app on Linux and I have modified source ([https://github.com/zakk0610/tvm/commit/33a3760932fbdf73aed5b1b60cd1bf8500e10121](https://github.com/zakk0610/tvm/commit/33a3760932fbdf73aed5b1b60cd1bf8500e10121)) to pass compilation,  
but I got the seg fault when running “./build/demo ./build/bundle.so”  
Am I missing anything?

Stack trace returned 7 entries

`#0 0x0000000000000000 in ?? ()`  
`#1 0x00007ffff7909dc3 in std::thread::_M_start_thread(std::shared_ptr<std::thread::_Impl_base>, void (*)()) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6`  
`#2 0x00007ffff6b1a5f4 in std::thread::thread<tvm::runtime::threading::ThreadGroup::Impl::Impl(int, std::function<void (int)>, bool)::{lambda()#1}>(tvm::runtime::threading::ThreadGroup::Impl::Impl(int, std:: function<void (int)>, bool)::{lambda()#1}&&) (this=0x61a820, __f=<unknown type in ./build/bundle.so, CU 0x11c15, DIE 0xbdd7a>) at /usr/include/c++/5/thread:137`  
`#3 0x00007ffff6b11858 in __gnu_cxx::new_allocator<std::thread>::construct<std::thread, tvm::runtime::threading::ThreadGroup::Impl::Impl(int, std::function<void (int)>, bool)::{lambda()#1}>(std::thread*, tvm ::runtime::threading::ThreadGroup::Impl::Impl(int, std::function<void (int)>, bool)::{lambda()#1}&&) (this=0x63a488,__p=0x61a820) at /usr/include/c++/5/ext/new_allocator.h:120`  
`#4 0x00007ffff6b08ae9 in std::allocator_traits<std::allocator<std::thread> >::construct<std::thread, tvm::runtime::threading::ThreadGroup::Impl::Impl(int, std::function<void (int)>, bool)::{lambda()#1}>(std ::allocator<std::thread>&, std::thread*, tvm::runtime::threading::ThreadGroup::Impl::Impl(int, std::function<void (int)>, bool)::{lambda()#1}&&) ( __a=...,__ p=0x61a820) at /usr/include/c++/5/bits/alloc_traits.h:530`  
`#5 0x00007ffff6b08b75 in std::vector<std::thread, std::allocator<std::thread> >::_M_emplace_back_aux<tvm::runtime::threading::ThreadGroup::Impl::Impl(int, std::function<void (int)>, bool)::{lambda()#1}>(tvm ::runtime::threading::ThreadGroup::Impl::Impl(int, std::function<void (int)>, bool)::{lambda()#1}&&) (this=0x63a488) at /usr/include/c++/5/bits/vector.tcc:416`  
`#6 0x00007ffff6b004ef in std::vector<std::thread, std::allocator<std::thread> >::emplace_back<tvm::runtime::threading::ThreadGroup::Impl::Impl(int, std::function<void (int)>, bool)::{lambda()#1}>(tvm::runti me::threading::ThreadGroup::Impl::Impl(int, std::function<void (int)>, bool)::{lambda()#1}&&) (this=0x63a488) at /usr/include/c++/5/bits/vector.tcc:101`  
`#7 0x00007ffff6af5fba in tvm::runtime::threading::ThreadGroup::Impl::Impl(int, std::function<void (int)>, bool) (this=0x63a480, num_workers=12, worker_callback=..., exclude_worker0=true) at ../../src/runtime/threading_backend.cc:31`

Environment details:  
tvm: 237dbf230  
docker: tvm.ci\_cpu  
with “pip2 install mxnet-mkl && apt-get install vim-common”

---

<div class="post-metadata">

**Author:** ![tianxingyzxq](https://discuss.tvm.apache.org/user_avatar/discuss.tvm.apache.org/tianxingyzxq/32/165_2.png) [@tianxingyzxq](https://discuss.tvm.apache.org/u/tianxingyzxq)\
**Post date:** [June 13, 2019, 9:38am UTC](https://discuss.tvm.apache.org/t/app-bundle-deploy-got-segmentation-fault/1519/2 "2019-06-13T09:38:21Z")

</div>

I have the same problem, did you solve it?

---

<div class="post-metadata">

**Author:** ![zakk0610](https://discuss.tvm.apache.org/user_avatar/discuss.tvm.apache.org/zakk0610/32/360_2.png) [@zakk0610](https://discuss.tvm.apache.org/u/zakk0610)\
**Post date:** [June 13, 2019, 1:12pm UTC](https://discuss.tvm.apache.org/t/app-bundle-deploy-got-segmentation-fault/1519/3 "2019-06-13T13:12:56Z")

</div>

No…  
I didn’t solve it.
