PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace. #0 0x00000000036370c3 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) /usr/local/google/home/hanchung/test_github/iree/build-tracy/../third_party/llvm-project/llvm/lib/Support/Unix/Signals.inc:565:13 #1 0x0000000003635370 llvm::sys::RunSignalHandlers() /usr/local/google/home/hanchung/test_github/iree/build-tracy/../third_party/llvm-project/llvm/lib/Support/Signals.cpp:77:18 #2 0x000000000363742f SignalHandler(int) /usr/local/google/home/hanchung/test_github/iree/build-tracy/../third_party/llvm-project/llvm/lib/Support/Unix/Signals.inc:407:1 #3 0x00007f7aaf45b140 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x14140) #4 0x0000000003667964 tracy::_memory_allocate(tracy::heap_t*, unsigned long) /usr/local/google/home/hanchung/test_github/iree/build-tracy/../third_party/tracy/client/tracy_rpmalloc.cpp:0:0 #5 0x000000000367053a tracy::rpmalloc(unsigned long) /usr/local/google/home/hanchung/test_github/iree/build-tracy/../third_party/tracy/client/tracy_rpmalloc.cpp:2135:9 #6 0x000000000367053a tracy::tracy_malloc(unsigned long) /usr/local/google/home/hanchung/test_github/iree/build-tracy/../third_party/tracy/client/../libbacktrace/../common/TracyAlloc.hpp:16:12 #7 0x000000000367053a tracy::Profiler::AllocSourceLocation(unsigned int, char const*, unsigned long, char const*, unsigned long, char const*, unsigned long) /usr/local/google/home/hanchung/test_github/iree/build-tracy/../third_party/tracy/client/TracyProfiler.hpp:626:27 #8 0x000000000367053a iree_tracing_zone_begin_external_impl /usr/local/google/home/hanchung/test_github/iree/build-tracy/../iree/base/tracing.cc:93:22 #9 0x000000000212909b mlir::iree_compiler::PassTracing::runBeforePass(mlir::Pass*, mlir::Operation*) /usr/local/google/home/hanchung/test_github/iree/build-tracy/../iree/compiler/Utils/TracingUtils.h:29:5 #10 0x0000000002fe775f __gnu_cxx::__normal_iterator >*, std::vector >, std::allocator > > > >::operator++() /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/stl_iterator.h:1005:2 #11 0x0000000002fe775f mlir::PassInstrumentor::runBeforePass(mlir::Pass*, mlir::Operation*) /usr/local/google/home/hanchung/test_github/iree/build-tracy/../third_party/llvm-project/mlir/lib/Pass/Pass.cpp:810:20 #12 0x0000000002fe7583 mlir::Pass::getTypeID() const /usr/local/google/home/hanchung/test_github/iree/build-tracy/../third_party/llvm-project/mlir/include/mlir/Pass/Pass.h:56:37 #13 0x0000000002fe7583 mlir::PassWrapper >::classof(mlir::Pass const*) /usr/local/google/home/hanchung/test_github/iree/build-tracy/../third_party/llvm-project/mlir/include/mlir/Pass/Pass.h:409:18 #14 0x0000000002fe7583 llvm::isa_impl::doit(mlir::Pass const&) /usr/local/google/home/hanchung/test_github/iree/build-tracy/../third_party/llvm-project/llvm/include/llvm/Support/Casting.h:58:12 #15 0x0000000002fe7583 llvm::isa_impl_cl::doit(mlir::Pass const*) /usr/local/google/home/hanchung/test_github/iree/build-tracy/../third_party/llvm-project/llvm/include/llvm/Support/Casting.h:105:12 #16 0x0000000002fe7583 llvm::isa_impl_wrap::doit(mlir::Pass const* const&) /usr/local/google/home/hanchung/test_github/iree/build-tracy/../third_party/llvm-project/llvm/include/llvm/Support/Casting.h:131:12 #17 0x0000000002fe7583 llvm::isa_impl_wrap::doit(mlir::Pass* const&) /usr/local/google/home/hanchung/test_github/iree/build-tracy/../third_party/llvm-project/llvm/include/llvm/Support/Casting.h:121:12 #18 0x0000000002fe7583 bool llvm::isa(mlir::Pass* const&) /usr/local/google/home/hanchung/test_github/iree/build-tracy/../third_party/llvm-project/llvm/include/llvm/Support/Casting.h:142:10 #19 0x0000000002fe7583 llvm::cast_retty::ret_type llvm::dyn_cast(mlir::Pass*) /usr/local/google/home/hanchung/test_github/iree/build-tracy/../third_party/llvm-project/llvm/include/llvm/Support/Casting.h:345:10 #20 0x0000000002fe7583 mlir::detail::OpToOpPassAdaptor::run(mlir::Pass*, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int) /usr/local/google/home/hanchung/test_github/iree/build-tracy/../third_party/llvm-project/mlir/lib/Pass/Pass.cpp:382:23 #21 0x0000000002fe79b5 mlir::LogicalResult::succeeded() const /usr/local/google/home/hanchung/test_github/iree/build-tracy/../third_party/llvm-project/mlir/include/mlir/Support/LogicalResult.h:41:35 #22 0x0000000002fe79b5 mlir::LogicalResult::failed() const /usr/local/google/home/hanchung/test_github/iree/build-tracy/../third_party/llvm-project/mlir/include/mlir/Support/LogicalResult.h:44:33 #23 0x0000000002fe79b5 mlir::failed(mlir::LogicalResult) /usr/local/google/home/hanchung/test_github/iree/build-tracy/../third_party/llvm-project/mlir/include/mlir/Support/LogicalResult.h:72:58 #24 0x0000000002fe79b5 mlir::detail::OpToOpPassAdaptor::runPipeline(llvm::iterator_range >*, mlir::Pass> >, mlir::Operation*, mlir::AnalysisManager, bool, unsigned int, mlir::PassInstrumentor*, mlir::PassInstrumentation::PipelineParentInfo const*) /usr/local/google/home/hanchung/test_github/iree/build-tracy/../third_party/llvm-project/mlir/lib/Pass/Pass.cpp:445:9 #25 0x0000000002feb8be auto mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::$_8::operator() >(std::pair&) const /usr/local/google/home/hanchung/test_github/iree/build-tracy/../third_party/llvm-project/mlir/lib/Pass/Pass.cpp:608:9 #26 0x0000000002feb93d mlir::LogicalResult::succeeded() const /usr/local/google/home/hanchung/test_github/iree/build-tracy/../third_party/llvm-project/mlir/include/mlir/Support/LogicalResult.h:41:35 #27 0x0000000002feb93d mlir::LogicalResult::failed() const /usr/local/google/home/hanchung/test_github/iree/build-tracy/../third_party/llvm-project/mlir/include/mlir/Support/LogicalResult.h:44:33 #28 0x0000000002feb93d mlir::failed(mlir::LogicalResult) /usr/local/google/home/hanchung/test_github/iree/build-tracy/../third_party/llvm-project/mlir/include/mlir/Support/LogicalResult.h:72:58 #29 0x0000000002feb93d mlir::LogicalResult mlir::failableParallelForEach<__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::$_8&>(mlir::MLIRContext*, __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::$_8&)::'lambda'()::operator()() const /usr/local/google/home/hanchung/test_github/iree/build-tracy/../third_party/llvm-project/mlir/include/mlir/IR/Threading.h:65:11 #30 0x0000000002feb93d __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > > std::__invoke_impl*, std::vector, std::allocator > > >, mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::$_8&>(mlir::MLIRContext*, __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::$_8&)::'lambda'()&>(std::__invoke_other, mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::$_8&, mlir::LogicalResult mlir::failableParallelForEach<__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::$_8&>(mlir::MLIRContext*, __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::$_8&)::'lambda'()&...) /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/invoke.h:60:14 #31 0x0000000002feb93d std::enable_if<__and_*, std::vector, std::allocator > > > >, std::__is_invocable*, std::vector, std::allocator > > >, mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::$_8&>(mlir::MLIRContext*, __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::$_8&)::'lambda'()&...> >::value, __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > > >::type std::__invoke_r*, std::vector, std::allocator > > >, mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::$_8&>(mlir::MLIRContext*, __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::$_8&)::'lambda'()&>(mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::$_8&, mlir::LogicalResult mlir::failableParallelForEach<__gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::$_8&>(mlir::MLIRContext*, __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::$_8&)::'lambda'()&...) /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/invoke.h:153:7 #32 0x0000000002feb93d std::_Function_handler*, std::vector, std::allocator > > >, mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::$_8&>(mlir::MLIRContext*, __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, __gnu_cxx::__normal_iterator*, std::vector, std::allocator > > >, mlir::detail::OpToOpPassAdaptor::runOnOperationAsyncImpl(bool)::$_8&)::'lambda'()>::_M_invoke(std::_Any_data const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/std_function.h:291:9 #33 0x00000000035e5b7f std::__future_base::_Task_setter, std::__future_base::_Result_base::_Deleter>, std::__future_base::_Task_state, std::allocator, void ()>::_M_run()::'lambda'(), void>::operator()() const /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/future:1383:20 #34 0x00000000035e5b7f std::function std::__invoke_impl, std::__future_base::_Result_base::_Deleter>, std::__future_base::_Task_setter, std::__future_base::_Result_base::_Deleter>, std::__future_base::_Task_state, std::allocator, void ()>::_M_run()::'lambda'(), void>&>(std::__invoke_other, std::allocator&&, void (&&)()...) /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/invoke.h:60:14 #35 0x00000000035e5b7f std::enable_if<__and_ > >, std::is_convertible, void ()...>::type, std::function > >::value, std::function >::type std::__invoke_r, std::__future_base::_Task_setter, std::__future_base::_Result_base::_Deleter>, std::__future_base::_Task_state, std::allocator, void ()>::_M_run()::'lambda'(), void>&>(std::allocator&&, void (&&)()...) /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/invoke.h:141:14 #36 0x00000000035e5b7f std::_Function_handler (), std::__future_base::_Task_setter, std::__future_base::_Result_base::_Deleter>, std::__future_base::_Task_state, std::allocator, void ()>::_M_run()::'lambda'(), void> >::_M_invoke(std::_Any_data const&) /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/std_function.h:291:9 #37 0x00000000035e5ad7 std::__future_base::_State_baseV2::_M_do_set(std::function ()>*, bool*) /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/future:576:13 #38 0x00007f7aaf45834f __pthread_once_slow ./nptl/pthread_once.c:118:7 #39 0x00000000035e5a70 void std::call_once ()>*, bool*), std::__future_base::_State_baseV2*, std::function ()>*, bool*>(std::once_flag&, void (std::__future_base::_State_baseV2::*&&)(std::function ()>*, bool*), std::__future_base::_State_baseV2*&&, std::function ()>*&&, bool*&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/mutex:742:11 #40 0x00000000035e5a70 std::__future_base::_State_baseV2::_M_set_result(std::function ()>, bool) /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/future:412:2 #41 0x00000000035e571d std::_Function_base::~_Function_base() /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/std_function.h:244:11 #42 0x00000000035e571d std::__future_base::_Task_state, std::allocator, void ()>::_M_run() /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/future:1435:2 #43 0x00000000035e51ce __gthread_mutex_lock(pthread_mutex_t*) /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/x86_64-linux-gnu/c++/10/bits/gthr-default.h:748:7 #44 0x00000000035e51ce std::mutex::lock() /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/std_mutex.h:100:17 #45 0x00000000035e51ce std::lock_guard::lock_guard(std::mutex&) /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/std_mutex.h:159:19 #46 0x00000000035e51ce llvm::ThreadPool::ThreadPool(llvm::ThreadPoolStrategy)::$_0::operator()() const /usr/local/google/home/hanchung/test_github/iree/build-tracy/../third_party/llvm-project/llvm/lib/Support/ThreadPool.cpp:56:39 #47 0x00000000035e51ce void std::__invoke_impl(std::__invoke_other, llvm::ThreadPool::ThreadPool(llvm::ThreadPoolStrategy)::$_0&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/invoke.h:60:14 #48 0x00000000035e51ce std::__invoke_result::type std::__invoke(llvm::ThreadPool::ThreadPool(llvm::ThreadPoolStrategy)::$_0&&) /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/bits/invoke.h:95:14 #49 0x00000000035e51ce void std::thread::_Invoker >::_M_invoke<0ul>(std::_Index_tuple<0ul>) /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/thread:264:13 #50 0x00000000035e51ce std::thread::_Invoker >::operator()() /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/thread:271:11 #51 0x00000000035e51ce std::thread::_State_impl > >::_M_run() /usr/bin/../lib/gcc/x86_64-linux-gnu/10/../../../../include/c++/10/thread:215:13 #52 0x00007f7aaf2e9ed0 (/lib/x86_64-linux-gnu/libstdc++.so.6+0xceed0) #53 0x00007f7aaf44fea7 start_thread ./nptl/pthread_create.c:478:7 #54 0x00007f7aaf139def clone ./misc/../sysdeps/unix/sysv/linux/x86_64/clone.S:97:0