Skip to content

Instantly share code, notes, and snippets.

@bjacob
Created October 30, 2020 19:56
Show Gist options
  • Save bjacob/7c1c1ac19923a1740539f91fdae3e3c4 to your computer and use it in GitHub Desktop.
Save bjacob/7c1c1ac19923a1740539f91fdae3e3c4 to your computer and use it in GitHub Desktop.
WRITE of size 8 at 0x0065720656c0 thread T0
#0 /usr/local/google/home/benoitjacob/iree/iree/hal/dylib/dylib_executable.cc:93:21 iree::hal::dylib::DyLibExecutable::Initialize(iree::hal::ExecutableSpec)
#1 /usr/local/google/home/benoitjacob/iree/iree/hal/dylib/dylib_executable.cc:28:3 iree::hal::dylib::DyLibExecutable::Load(iree::hal::ExecutableSpec)
#2 /usr/local/google/home/benoitjacob/iree/iree/hal/dylib/dylib_executable_cache.cc:46:10 iree::hal::dylib::DyLibExecutableCache::PrepareExecutable(iree::hal::ExecutableLayout*, iree::hal::ExecutableCachingMode, iree::hal::ExecutableSpec const&)
#3 /usr/local/google/home/benoitjacob/iree/iree/hal/api.cc:1970:3 iree_hal_executable_cache_prepare_executable
#4 /usr/local/google/home/benoitjacob/iree/iree/modules/hal/hal_module.cc:667:5 iree::hal::(anonymous namespace)::HALModuleState::ExecutableCachePrepare(iree::vm::ref<iree_hal_executable_cache> const&, iree::vm::ref<iree_hal_executable_layout> const&, unsigned int, iree::vm::ref<iree_vm_ro_byte_buffer_t> const&)
#5 /usr/local/google/home/benoitjacob/iree/iree/vm/module_abi_packing.h:563:0 iree::StatusOr<iree::vm::ref<iree_hal_executable> > iree::vm::packing::DispatchFunctor<iree::hal::(anonymous namespace)::HALModuleState, iree::vm::ref<iree_hal_executable>, iree::vm::ref<iree_hal_executable_cache> const&, iree::vm::ref<iree_hal_executable_layout> const&, unsigned int, iree::vm::ref<iree_vm_ro_byte_buffer_t> const&>::ApplyFn<std::__ndk1::tuple<iree::vm::ref<iree_hal_executable_cache>, iree::vm::ref<iree_hal_executable_layout>, unsigned int, iree::vm::ref<iree_vm_ro_byte_buffer_t> >, 0ul, 1ul, 2ul, 3ul>(iree::StatusOr<iree::vm::ref<iree_hal_executable> > (iree::hal::(anonymous namespace)::HALModuleState::*)(iree::vm::ref<iree_hal_executable_cache> const&, iree::vm::ref<iree_hal_executable_layout> const&, unsigned int, iree::vm::ref<iree_vm_ro_byte_buffer_t> const&), iree::hal::(anonymous namespace)::HALModuleState*, std::__ndk1::tuple<iree::vm::ref<iree_hal_executable_cache>, iree::vm::ref<iree_hal_executable_layout>, unsigned int, iree::vm::ref<iree_vm_ro_byte_buffer_t> >&&, std::__ndk1::integer_sequence<unsigned long, 0ul, 1ul, 2ul, 3ul>)
#6 /usr/local/google/home/benoitjacob/iree/iree/vm/native_module_cc.h:238:5 iree::vm::NativeModule<iree::hal::(anonymous namespace)::HALModuleState>::ModuleBeginCall(void*, iree_vm_stack*, iree_vm_function_call_t const*, iree_vm_execution_result_t*)
#7 /usr/local/google/home/benoitjacob/iree/iree/vm/bytecode_dispatch.c:479:31 iree_vm_bytecode_issue_import_call
#8 /usr/local/google/home/benoitjacob/iree/iree/vm/bytecode_dispatch.c:560:10 iree_vm_bytecode_call_import
#9 /usr/local/google/home/benoitjacob/iree/iree/vm/bytecode_dispatch.c:1134:5 iree_vm_bytecode_dispatch
#10 /usr/local/google/home/benoitjacob/iree/iree/vm/bytecode_module.c:713:26 iree_vm_bytecode_module_begin_call
#11 /usr/local/google/home/benoitjacob/iree/iree/vm/context.c:62:12 iree_vm_context_run_function
#12 /usr/local/google/home/benoitjacob/iree/iree/vm/context.c:411:14 iree_vm_context_register_modules
#13 /usr/local/google/home/benoitjacob/iree/iree/vm/context.c:240:7 iree_vm_context_create_with_modules
#14 /usr/local/google/home/benoitjacob/iree/iree/tools/iree-benchmark-module-main.cc:147:0 iree::(anonymous namespace)::IREEBenchmark::Init()
#15 /usr/local/google/home/benoitjacob/iree/iree/tools/iree-benchmark-module-main.cc:298:32 main
#16 ??:0:0 __libc_init
0x0065720656c0 is located 0 bytes to the right of 128-byte region [0x006572065640,0x0065720656c0)
allocated by thread T0 here:
#0 /toolchain/llvm-project/compiler-rt/lib/asan/asan_malloc_linux.cc:145:3 malloc
#1 /buildbot/src/android/ndk-release-r21/external/libcxx/src/new.cpp:67:17 operator new(unsigned long)
#2 /usr/local/google/home/benoitjacob/iree/iree/hal/dylib/dylib_executable.cc:27:0 iree::ref_ptr<iree::hal::dylib::DyLibExecutable> iree::make_ref<iree::hal::dylib::DyLibExecutable>()
#3 /usr/local/google/home/benoitjacob/iree/iree/hal/dylib/dylib_executable_cache.cc:46:10 iree::hal::dylib::DyLibExecutableCache::PrepareExecutable(iree::hal::ExecutableLayout*, iree::hal::ExecutableCachingMode, iree::hal::ExecutableSpec const&)
#4 /usr/local/google/home/benoitjacob/iree/iree/hal/api.cc:1970:3 iree_hal_executable_cache_prepare_executable
#5 /usr/local/google/home/benoitjacob/iree/iree/modules/hal/hal_module.cc:667:5 iree::hal::(anonymous namespace)::HALModuleState::ExecutableCachePrepare(iree::vm::ref<iree_hal_executable_cache> const&, iree::vm::ref<iree_hal_executable_layout> const&, unsigned int, iree::vm::ref<iree_vm_ro_byte_buffer_t> const&)
#6 /usr/local/google/home/benoitjacob/iree/iree/vm/module_abi_packing.h:563:0 iree::StatusOr<iree::vm::ref<iree_hal_executable> > iree::vm::packing::DispatchFunctor<iree::hal::(anonymous namespace)::HALModuleState, iree::vm::ref<iree_hal_executable>, iree::vm::ref<iree_hal_executable_cache> const&, iree::vm::ref<iree_hal_executable_layout> const&, unsigned int, iree::vm::ref<iree_vm_ro_byte_buffer_t> const&>::ApplyFn<std::__ndk1::tuple<iree::vm::ref<iree_hal_executable_cache>, iree::vm::ref<iree_hal_executable_layout>, unsigned int, iree::vm::ref<iree_vm_ro_byte_buffer_t> >, 0ul, 1ul, 2ul, 3ul>(iree::StatusOr<iree::vm::ref<iree_hal_executable> > (iree::hal::(anonymous namespace)::HALModuleState::*)(iree::vm::ref<iree_hal_executable_cache> const&, iree::vm::ref<iree_hal_executable_layout> const&, unsigned int, iree::vm::ref<iree_vm_ro_byte_buffer_t> const&), iree::hal::(anonymous namespace)::HALModuleState*, std::__ndk1::tuple<iree::vm::ref<iree_hal_executable_cache>, iree::vm::ref<iree_hal_executable_layout>, unsigned int, iree::vm::ref<iree_vm_ro_byte_buffer_t> >&&, std::__ndk1::integer_sequence<unsigned long, 0ul, 1ul, 2ul, 3ul>)
#7 /usr/local/google/home/benoitjacob/iree/iree/vm/native_module_cc.h:238:5 iree::vm::NativeModule<iree::hal::(anonymous namespace)::HALModuleState>::ModuleBeginCall(void*, iree_vm_stack*, iree_vm_function_call_t const*, iree_vm_execution_result_t*)
#8 /usr/local/google/home/benoitjacob/iree/iree/vm/bytecode_dispatch.c:479:31 iree_vm_bytecode_issue_import_call
#9 /usr/local/google/home/benoitjacob/iree/iree/vm/bytecode_dispatch.c:560:10 iree_vm_bytecode_call_import
#10 /usr/local/google/home/benoitjacob/iree/iree/vm/bytecode_dispatch.c:1134:5 iree_vm_bytecode_dispatch
#11 /usr/local/google/home/benoitjacob/iree/iree/vm/bytecode_module.c:713:26 iree_vm_bytecode_module_begin_call
#12 /usr/local/google/home/benoitjacob/iree/iree/vm/context.c:62:12 iree_vm_context_run_function
#13 /usr/local/google/home/benoitjacob/iree/iree/vm/context.c:411:14 iree_vm_context_register_modules
#14 /usr/local/google/home/benoitjacob/iree/iree/vm/context.c:240:7 iree_vm_context_create_with_modules
#15 /usr/local/google/home/benoitjacob/iree/iree/tools/iree-benchmark-module-main.cc:147:0 iree::(anonymous namespace)::IREEBenchmark::Init()
#16 /usr/local/google/home/benoitjacob/iree/iree/tools/iree-benchmark-module-main.cc:298:32 main
#17 ??:0:0 __libc_init
#18 ??:0:0 _start_main
#19 ??:0:0 ??
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment