← Back to team overview

touch-packages team mailing list archive

[Bug 1513901] Re: Segmentation fault on server shutdown with mesa-kms

 

** Also affects: mir (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mir in Ubuntu.
https://bugs.launchpad.net/bugs/1513901

Title:
  Segmentation fault on server shutdown with mesa-kms

Status in Mir:
  Fix Committed
Status in mir package in Ubuntu:
  New

Bug description:
  When the server shuts down we get a crash in the
  DefaultEmergencyCleanup destructor:

  #0  0x00007ffff0bca81e in ?? ()
  #1  0x00007ffff63e8c7d in std::_Function_base::~_Function_base (this=0x7054d0, 
      __in_chrg=<optimized out>) at /usr/include/c++/5/functional:1830
  #2  0x00007ffff63edef6 in std::function<void ()>::~function() (this=0x7054d0, 
      __in_chrg=<optimized out>) at /usr/include/c++/5/functional:1974
  #3  0x00007ffff6419714 in mir::DefaultEmergencyCleanup::ListItem::~ListItem (this=0x7054d0, 
      __in_chrg=<optimized out>) at /storage/work/mir/src/server/default_emergency_cleanup.h:38
  #4  0x00007ffff641973a in std::default_delete<mir::DefaultEmergencyCleanup::ListItem>::operator() (
      this=0x63e738, __ptr=0x7054d0) at /usr/include/c++/5/bits/unique_ptr.h:76
  #5  0x00007ffff6419553 in std::unique_ptr<mir::DefaultEmergencyCleanup::ListItem, std::default_delete<mir::DefaultEmergencyCleanup::ListItem> >::~unique_ptr (this=0x63e738, __in_chrg=<optimized out>)
      at /usr/include/c++/5/bits/unique_ptr.h:236
  #6  0x00007ffff6419708 in mir::DefaultEmergencyCleanup::ListItem::~ListItem (this=0x63e718, 
      __in_chrg=<optimized out>) at /storage/work/mir/src/server/default_emergency_cleanup.h:38
  #7  0x00007ffff64198d8 in mir::DefaultEmergencyCleanup::~DefaultEmergencyCleanup (this=0x63e710, 
      __in_chrg=<optimized out>) at /storage/work/mir/src/server/default_emergency_cleanup.h:31
  #8  0x00007ffff6404753 in __gnu_cxx::new_allocator<mir::DefaultEmergencyCleanup>::destroy<mir::DefaultEmergencyCleanup> (this=0x63e710, __p=0x63e710) at /usr/include/c++/5/ext/new_allocator.h:124
  #9  0x00007ffff6404572 in std::allocator_traits<std::allocator<mir::DefaultEmergencyCleanup> >::_S_destroy<mir::DefaultEmergencyCleanup> (__a=..., __p=0x63e710) at /usr/include/c++/5/bits/alloc_traits.h:285
  #10 0x00007ffff6404245 in std::allocator_traits<std::allocator<mir::DefaultEmergencyCleanup> >::destroy<mir::DefaultEmergencyCleanup> (__a=..., __p=0x63e710) at /usr/include/c++/5/bits/alloc_traits.h:414
  #11 0x00007ffff6403417 in std::_Sp_counted_ptr_inplace<mir::DefaultEmergencyCleanup, std::allocator<mir::DefaultEmergencyCleanup>, (__gnu_cxx::_Lock_policy)2>::_M_dispose (this=0x63e700)
      at /usr/include/c++/5/bits/shared_ptr_base.h:531
  #12 0x00007ffff63e92e0 in std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release (this=0x63e700)
      at /usr/include/c++/5/bits/shared_ptr_base.h:150
  #13 0x00007ffff63e8f83 in std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count (
      this=0x7fffffffe228, __in_chrg=<optimized out>) at /usr/include/c++/5/bits/shared_ptr_base.h:659
  #14 0x00007ffff63e8dfc in std::__shared_ptr<mir::EmergencyCleanup, (__gnu_cxx::_Lock_policy)2>::~__shared_ptr (this=0x7fffffffe220, __in_chrg=<optimized out>) at /usr/include/c++/5/bits/shared_ptr_base.h:925
  #15 0x00007ffff63e8e18 in std::shared_ptr<mir::EmergencyCleanup>::~shared_ptr (this=0x7fffffffe220, 
      __in_chrg=<optimized out>) at /usr/include/c++/5/bits/shared_ptr.h:93
  #16 0x00007ffff641a6bc in mir::Server::run (this=0x7fffffffe290)
      at /storage/work/mir/src/server/server.cpp:382
  #17 0x00007ffff6ad2993 in main (argc=1, argv=0x7fffffffe478)
      at /storage/work/mir/examples/server_example.cpp:110
  #18 0x000000000040106a in main (argc=1, argv=0x7fffffffe478)
      at /storage/work/mir/examples/mir_demo_server_loader.cpp:40

To manage notifications about this bug go to:
https://bugs.launchpad.net/mir/+bug/1513901/+subscriptions