(gdb) bt #0 0x0000007f70121eb0 in import_exynos_ion_handles(private_handle_t*) () from /android/vendor/lib64/hw/android.hardware.graphics.mapper@4.0-impl.so #1 0x0000007f7012054c in mali_gralloc_reference_retain(native_handle const*) () from /android/vendor/lib64/hw/android.hardware.graphics.mapper@4.0-impl.so #2 0x0000007f70113a38 in arm::mapper::common::importBuffer(android::hardware::hidl_handle const&, std::__1::function) () from /android/vendor/lib64/hw/android.hardware.graphics.mapper@4.0-impl.so #3 0x0000007f70112424 in arm::mapper::GrallocMapper::importBuffer(android::hardware::hidl_handle const&, std::__1::function) () from /android/vendor/lib64/hw/android.hardware.graphics.mapper@4.0-impl.so #4 0x0000007f73c9ccc0 in ?? () from /android/system/lib64/android.hardware.graphics.mapper@4.0.so #5 0x0000007f73bd2f9c in android::Gralloc4Mapper::importBuffer(android::hardware::hidl_handle const&, native_handle const**) const () from /android/system/lib64/libui.so #6 0x0000007f702e85b8 in graphic_buffer_mapper_import_buffer_no_size () from /android/system/lib64/libui_compat_layer.so #7 0x0000007f800dd2e0 in mir::graphics::android::HybrisGrallocImpl::importBuffer (out_handle=@0x7f808f6ca8: 0x0, raw_handle=0x7f6c004990, this=) at ./src/platforms/android/common/hybris_gralloc_impl.cpp:36 #8 mir::client::android::GrallocRegistrar::register_buffer (this=0x7f7c9afae0, package=..., pf=mir_pixel_format_abgr_8888) at ./src/platforms/android/client/gralloc_registrar.cpp:134 #9 0x0000007f800dc2b0 in mir::client::android::Buffer::Buffer (this=, registrar=..., package=..., pf=, this=, registrar=..., package=..., pf=) at /usr/include/c++/9/bits/shared_ptr_base.h:1020 #10 0x0000007f800dc438 in __gnu_cxx::new_allocator::construct const&, MirBufferPackage&, MirPixelFormat&> (this=, __p=0x7f6c004520) at /usr/include/c++/9/bits/shared_ptr_base.h:672 #11 std::allocator_traits >::construct const&, MirBufferPackage&, MirPixelFormat&> (__a=..., __p=0x7f6c004520) at /usr/include/c++/9/bits/alloc_traits.h:483 #12 std::_Sp_counted_ptr_inplace, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace const&, MirBufferPackage&, MirPixelFormat&> ( __a=..., this=0x7f6c004510) at /usr/include/c++/9/bits/shared_ptr_base.h:548 #13 std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count, std::shared_ptr const&, MirBufferPackage&, MirPixelFormat&> (__a=..., __p=, this=) at /usr/include/c++/9/bits/shared_ptr_base.h:679 #14 std::__shared_ptr::__shared_ptr, std::shared_ptr const&, MirBufferPackage&, MirPixelFormat&> (__tag=..., this=) at /usr/include/c++/9/bits/shared_ptr_base.h:1344 #15 std::shared_ptr::shared_ptr, std::shared_ptr const&, MirBufferPackage&, MirPixelFormat&> (__tag=..., this=) at /usr/include/c++/9/bits/shared_ptr.h:359 #16 std::allocate_shared, std::shared_ptr const&, MirBufferPackage&, MirPixelFormat&> (__a=...) at /usr/include/c++/9/bits/shared_ptr.h:702 #17 std::make_shared const&, MirBufferPackage&, MirPixelFormat&> () at /usr/include/c++/9/bits/shared_ptr.h:718 #18 mir::client::android::AndroidClientBufferFactory::create_buffer (this=0x7f7c9b0010, package=..., size=..., pf=mir_pixel_format_abgr_8888) at ./src/platforms/android/client/android_client_buffer_factory.cpp:39