#0 0x00007ffff6be2a50 in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6 #1 0x00007ffff79a263e in boost::throw_exception (e=...) at /usr/include/boost/throw_exception.hpp:67 #2 0x00007ffff799c7c1 in boost::asio::detail::do_throw_error (err=..., location=0x7ffff7ab322d "write") at /usr/include/boost/asio/detail/impl/throw_error.ipp:38 #3 0x00007ffff799c557 in boost::asio::detail::throw_error (err=..., location=0x7ffff7ab322d "write") at /usr/include/boost/asio/detail/throw_error.hpp:42 #4 0x00007ffff79cee63 in boost::asio::write >, boost::asio::mutable_buffers_1> (s=..., buffers=...) at /usr/include/boost/asio/impl/write.hpp:62 #5 0x00007ffff79cd69a in mir::frontend::detail::SocketMessenger::send (this=0x7fffe0043018, body=...) at /home/dan/bzr/mir/pipe/src/server/frontend/socket_messenger.cpp:62 #6 0x00007ffff79d2cd2 in mir::frontend::detail::EventSender::send_event_sequence (this=0x7fffe0016d88, seq=...) at /home/dan/bzr/mir/pipe/src/server/frontend/event_sender.cpp:83 #7 0x00007ffff79d2ac3 in mir::frontend::detail::EventSender::handle_event (this=0x7fffe0016d88, e=...) at /home/dan/bzr/mir/pipe/src/server/frontend/event_sender.cpp:48 #8 0x00007ffff7a29696 in mir::shell::Surface::notify_change (this=0x7fffe00806a8, attrib=mir_surface_attrib_focus, value=0) at /home/dan/bzr/mir/pipe/src/server/shell/surface.cpp:317 #9 0x00007ffff7a293e0 in mir::shell::Surface::configure (this=0x7fffe00806a8, attrib=mir_surface_attrib_focus, value=0) at /home/dan/bzr/mir/pipe/src/server/shell/surface.cpp:246 #10 0x00007ffff7a25ec9 in mir::shell::DefaultFocusMechanism::set_focus_to (this=0xad73c8, focus_session=...) at /home/dan/bzr/mir/pipe/src/server/shell/default_focus_mechanism.cpp:51 #11 0x00007ffff7a234cb in mir::shell::SessionManager::set_focus_to_locked (this=0xae4a78, shell_session=...) at /home/dan/bzr/mir/pipe/src/server/shell/session_manager.cpp:101 #12 0x00007ffff7a22ac3 in mir::shell::SessionManager::close_session (this=0xae4a78, session=...) at /home/dan/bzr/mir/pipe/src/server/shell/session_manager.cpp:130 #13 0x00007ffff79c1002 in mir::frontend::SessionMediator::~SessionMediator (this=0x7fffe00794b8, __in_chrg=) at /home/dan/bzr/mir/pipe/src/server/frontend/session_mediator.cpp:79 #14 0x00007ffff7998fd9 in __gnu_cxx::new_allocator::destroy (this=0x7fffe00794b0, __p=0x7fffe00794b8) at /usr/include/c++/4.8/ext/new_allocator.h:124 #15 0x00007ffff7997709 in std::allocator_traits >::_S_destroy (__a=..., __p=0x7fffe00794b8) at /usr/include/c++/4.8/bits/alloc_traits.h:281 #16 0x00007ffff799605e in std::allocator_traits >::destroy (__a=..., __p=0x7fffe00794b8) at /usr/include/c++/4.8/bits/alloc_traits.h:405 #17 0x00007ffff7993ce7 in std::_Sp_counted_ptr_inplace, (__gnu_cxx::_Lock_policy)2>::_M_dispose (this=0x7fffe00794a0) at /usr/include/c++/4.8/bits/shared_ptr_base.h:407 #18 0x000000000045315a in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release (this=0x7fffe00794a0) at /usr/include/c++/4.8/bits/shared_ptr_base.h:144 #19 0x0000000000452a8d in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count (this=0x7fffe00778f8, __in_chrg=) at /usr/include/c++/4.8/bits/shared_ptr_base.h:553 #20 0x00007ffff79c5e1a in std::__shared_ptr::~__shared_ptr (this=0x7fffe00778f0, __in_chrg=) at /usr/include/c++/4.8/bits/shared_ptr_base.h:810 #21 0x00007ffff79c5e34 in std::shared_ptr::~shared_ptr (this=0x7fffe00778f0, __in_chrg=) at /usr/include/c++/4.8/bits/shared_ptr.h:93 #22 0x00007ffff79c5ea4 in mir::frontend::detail::ProtobufMessageProcessor::~ProtobufMessageProcessor (this=0x7fffe00778d8, __in_chrg=) at /home/dan/bzr/mir/pipe/src/server/frontend/protobuf_message_processor.h:56 #23 0x00007ffff79e0325 in __gnu_cxx::new_allocator::destroy ( this=0x7fffe00778d0, __p=0x7fffe00778d8) at /usr/include/c++/4.8/ext/new_allocator.h:124 #24 0x00007ffff79e0173 in std::allocator_traits >::_S_destroy (__a=..., __p=0x7fffe00778d8) at /usr/include/c++/4.8/bits/alloc_traits.h:281 #25 0x00007ffff79dffb7 in std::allocator_traits >::destroy (__a=..., __p=0x7fffe00778d8) at /usr/include/c++/4.8/bits/alloc_traits.h:405 #26 0x00007ffff79df98b in std::_Sp_counted_ptr_inplace, (__gnu_cxx::_Lock_policy)2>::_M_dispose (this=0x7fffe00778c0) at /usr/include/c++/4.8/bits/shared_ptr_base.h:407