** 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/1550432

Title:
  NBS (--nbuffers=0) causes software clients to crash with
  std::exception::what: Failed to mmap buffer 13, "Permission denied")

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

Bug description:
  with both mesa-x11 and mesa-kms:

  $ bin/mir_demo_server --nbuffers=0 --test-client bin/mir_demo_client_multiwin
  ...
  [2016-02-26 17:30:14.600378] <ERROR> MirBufferStreamAPI: Caught exception at 
client library boundary (in mir_buffer_stream_get_graphics_region): 
/home/alan/display_server/mir3/src/platforms/mesa/client/client_buffer.cpp(63): 
Throw in function {anonymous}::ShmMemoryRegion::ShmMemoryRegion(const 
std::shared_ptr<mir::client::mesa::BufferFileOps>&, int, const 
mir::geometry::Size&, mir::geometry::Stride, MirPixelFormat)
  Dynamic exception type: 
boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::runtime_error>
 >
  std::exception::what: Failed to mmap buffer
  13, "Permission denied"
  [2016-02-26 17:30:14.600724] <ERROR> MirBufferStreamAPI: Caught exception at 
client library boundary (in mir_buffer_stream_get_graphics_region): 
/home/alan/display_server/mir3/src/platforms/mesa/client/client_buffer.cpp(63): 
Throw in function {anonymous}::ShmMemoryRegion::ShmMemoryRegion(const 
std::shared_ptr<mir::client::mesa::BufferFileOps>&, int, const 
mir::geometry::Size&, mir::geometry::Stride, MirPixelFormat)
  Dynamic exception type: 
boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::runtime_error>
 >
  std::exception::what: Failed to mmap buffer
  13, "Permission denied"
  [2016-02-26 17:30:14.601024] <ERROR> MirBufferStreamAPI: Caught exception at 
client library boundary (in mir_buffer_stream_get_graphics_region): 
/home/alan/display_server/mir3/src/platforms/mesa/client/client_buffer.cpp(63): 
Throw in function {anonymous}::ShmMemoryRegion::ShmMemoryRegion(const 
std::shared_ptr<mir::client::mesa::BufferFileOps>&, int, const 
mir::geometry::Size&, mir::geometry::Stride, MirPixelFormat)
  Dynamic exception type: 
boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::runtime_error>
 >
  std::exception::what: Failed to mmap buffer
  13, "Permission denied"

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to