Comment 0 for bug 1454142

Revision history for this message
Daniel van Vugt (vanvugt) wrote : [regression] mirscreencast on trunk lp:mir doesn't work at all (std::exception::what: Failed to mmap buffer 13, "Permission denied")

[regression] mirscreencast on trunk lp:mir doesn't work at all ...

# bin/mirscreencast -n1
MIR_CLIENT_PLATFORM_PATH=bin/../lib/client-modules/
MIR_SERVER_PLATFORM_PATH=bin/../lib/server-modules/
MIR_SERVER_PLATFORM_INPUT_LIB=bin/../lib/server-modules/input-stub.so
LD_LIBRARY_PATH=bin/../lib
exec=bin/.mirscreencast-uninstalled
[1431419911.659329] <ERROR> MirBufferStreamAPI: Caught exception at client library boundary (in mir_buffer_stream_get_graphics_region): /home/dan/bzr/mir/dev/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: N5boost16exception_detail10clone_implINS0_19error_info_injectorISt13runtime_errorEEEE
std::exception::what: Failed to mmap buffer
13, "Permission denied"

And that's running as root(!)

Workaround: Use the installed version 0.12.1 of mirscreencast on vivid, which works still.