(gdb) bt #0 0x00039a90 in ?? () #1 0xb55b4a3e in mir::graphics::android::ResourceFactory::::operator()(framebuffer_device_t *) const (__closure=0x39ab4, fbdevice=0xbeffec38) at /home/kdub/source/mir/mir/src/platforms/android/server/resource_factory.cpp:53 #2 0xb55b56dc in std::_Sp_counted_deleter, std::allocator, (__gnu_cxx::_Lock_policy)2u>::_M_dispose(void) (this=0x39aa8) at /usr/arm-linux-gnueabihf/include/c++/4.9.3/bits/shared_ptr_base.h:463 #3 0xb557a786 in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release (this=0x39aa8) at /usr/arm-linux-gnueabihf/include/c++/4.9.3/bits/shared_ptr_base.h:149 #4 0xb5578f5a in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count (this=0xbeffec40, __in_chrg=) at /usr/arm-linux-gnueabihf/include/c++/4.9.3/bits/shared_ptr_base.h:666 #5 0xb55a1762 in std::__shared_ptr::~__shared_ptr ( this=0xbeffec3c, __in_chrg=) at /usr/arm-linux-gnueabihf/include/c++/4.9.3/bits/shared_ptr_base.h:914 #6 0xb55a1b70 in std::__shared_ptr::reset ( this=0x57740) at /usr/arm-linux-gnueabihf/include/c++/4.9.3/bits/shared_ptr_base.h:1015 #7 0xb55a0c18 in mir::graphics::android::HalComponentFactory::HalComponentFactory (this=0x5770c, res_factory=std::shared_ptr (count 3, weak 0) 0x39a9c, hwc_report=std::shared_ptr (count 3, weak 0) 0x39a84, quirks=std::shared_ptr (count 1, weak 0) 0x3d9b4) at /home/kdub/source/mir/mir/src/platforms/android/server/hal_component_factory.cpp:90 #8 0xb558147c in __gnu_cxx::new_allocator::construct&, std::shared_ptr&, std::shared_ptr&> > (this=0xbeffed80, __p=0x5770c) at /usr/arm-linux-gnueabihf/include/c++/4.9.3/ext/new_allocator.h:120 #9 0xb5580c54 in std::allocator_traits >::construct&, std::shared_ptr&, std::shared_ptr&> > (__a=..., __p=0x5770c) at /usr/arm-linux-gnueabihf/include/c++/4.9.3/bits/alloc_traits.h:527 #10 0xb5580408 in std::_Sp_counted_ptr_inplace, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace&, std::shared_ptr&, std::shared_ptr&> (this=0x57700, __a=...) at /usr/arm-linux-gnueabihf/include/c++/4.9.3/bits/shared_ptr_base.h:515 #11 0xb557f680 in __gnu_cxx::new_allocator, (__gnu_cxx::_Lock_policy)2> >::construct, (__gnu_cxx::_Lock_policy)2> const, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&> > ( this=0xbeffee0c, __p=0x57700) at /usr/arm-linux-gnueabihf/include/c++/4.9.3/ext/new_allocator.h:120 #12 0xb557e916 in std::allocator_traits, (__gnu_cxx::_Lock_policy)2> > >::construct, (__gnu_cxx::_Lock_policy)2> const, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&> > (__a=..., __p=0x57700) at /usr/arm-linux-gnueabihf/include/c++/4.9.3/bits/alloc_traits.h:527 #13 0xb557dbf4 in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&> (this=0xbeffef64, __a=...) at /usr/arm-linux-gnueabihf/include/c++/4.9.3/bits/shared_ptr_base.h:619 #14 0xb557cd62 in std::__shared_ptr::__shared_ptr, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&> (this=0xbeffef60, __tag=..., __a=...) at /usr/arm-linux-gnueabihf/include/c++/4.9.3/bits/shared_ptr_base.h:1090 #15 0xb557c072 in std::shared_ptr::shared_ptr, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&> (this=0xbeffef60, __tag=..., __a=...) at /usr/arm-linux-gnueabihf/include/c++/4.9.3/bits/shared_ptr.h:316 #16 0xb557b238 in std::allocate_shared to continue, or q to quit--- graphics::android::HalComponentFactory>, std::shared_ptr&, std::shared_ptr&, std::shared_ptr&> (__a=...) at /usr/arm-linux-gnueabihf/include/c++/4.9.3/bits/shared_ptr.h:594 #17 0xb5579d58 in std::make_shared&, std::shared_ptr&, std::shared_ptr&> () at /usr/arm-linux-gnueabihf/include/c++/4.9.3/bits/shared_ptr.h:610 #18 0xb5576a14 in create_host_platform (options=std::shared_ptr (count 2, weak 1) 0x3f64c, display_report=std::shared_ptr (count 1, weak 1) 0x44c64) at /home/kdub/source/mir/mir/src/platforms/android/server/platform.cpp:167 #19 0xb62e69e0 in mir::DefaultServerConfiguration::::operator()(void) const ( __closure=0x3f960) at /home/kdub/source/mir/mir/src/server/graphics/default_configuration.cpp:123 #20 0xb62e7f70 in std::_Function_handler(), mir::DefaultServerConfiguration::the_graphics_platform():: >::_M_invoke(const std::_Any_data &) (__functor=...) at /usr/arm-linux-gnueabihf/include/c++/4.9.3/functional:2025 #21 0xb62ea9a0 in std::function ()>::operator()() const ( this=0xbefff19c) at /usr/arm-linux-gnueabihf/include/c++/4.9.3/functional:2440 #22 0xb62e9bd6 in mir::CachedPtr::operator()(std::function ()>) (this=0x3f460, make=...) at /home/kdub/source/mir/mir/include/common/mir/cached_ptr.h:41 #23 0xb62e6d20 in mir::DefaultServerConfiguration::the_graphics_platform (this=0x3f3cc) at /home/kdub/source/mir/mir/src/server/graphics/default_configuration.cpp:132 #24 0xb61c05cc in mir::DisplayServer::Private::Private (this=0x44c70, config=...) at /home/kdub/source/mir/mir/src/server/display_server.cpp:58 #25 0xb61c00e4 in mir::DisplayServer::DisplayServer (this=0xbefff250, config=...) at /home/kdub/source/mir/mir/src/server/display_server.cpp:189 #26 0xb61bc2e0 in mir::run_mir(mir::ServerConfiguration&, std::function, std::function const&) (config=..., init=..., terminator=...) at /home/kdub/source/mir/mir/src/server/run_mir.cpp:98 #27 0xb61e4ee0 in mir::Server::run (this=0xbefff2f8) at /home/kdub/source/mir/mir/src/server/server.cpp:454 #28 0xb6502048 in main (argc=1, argv=0xbefff4d4) at /home/kdub/source/mir/mir/examples/server_example.cpp:177 #29 0x0001229e in main (argc=1, argv=0xbefff4d4) at /home/kdub/source/mir/mir/examples/mir_demo_server_loader.cpp:54