Indeed the cause is again valgrind errors in NestedServer tests. But should we be reusing the same bug? Just search for "==12777==":
20:13:30 9: [----------] 25 tests from NestedServer 20:13:30 9: [ RUN ] NestedServer.nested_platform_connects_and_disconnects 20:13:31 9: [2016-11-02 20:13:31.685261] mirserver: Starting 20:13:31 9: [2016-11-02 20:13:31.689667] mirserver: Selected driver: mir:stub-graphics (version 0.25.0) 20:13:31 9: [2016-11-02 20:13:31.733003] mirserver: Using software cursor 20:13:32 9: [2016-11-02 20:13:32.118804] mirserver: Selected input driver: mir:stub-input (version: 0.25.0) 20:13:32 9: [2016-11-02 20:13:32.128108] mirserver: Mir version 0.25.0 20:13:32 9: [2016-11-02 20:13:32.211391] mirserver: Starting 20:13:34 9: [2016-11-02 20:13:34.070068] mirserver: Using nested cursor 20:13:34 9: ==12777== Thread 9: 20:13:34 9: ==12777== Invalid read of size 4 20:13:34 9: ==12777== at 0x540688F: MirWaitHandle::wait_for_all()::$_0::operator()() const (mir_wait_handle.cpp:53) 20:13:34 9: ==12777== by 0x5406401: void std::condition_variable::wait<MirWaitHandle::wait_for_all()::$_0>(std::unique_lock<std::mutex>&, MirWaitHandle::wait_for_all()::$_0) (condition_variable:98) 20:13:34 9: ==12777== by 0x5406376: MirWaitHandle::wait_for_all() (mir_wait_handle.cpp:53) 20:13:34 9: ==12777== by 0x54774D9: mir_connection_create_buffer_stream_sync (mir_buffer_stream_api.cpp:76) 20:13:34 9: ==12777== by 0x517576D: (anonymous namespace)::MirClientHostSurface::set_cursor_image(mir::graphics::CursorImage const&) (mir_client_host_connection.cpp:168) 20:13:34 9: ==12777== by 0x5175D95: mir::graphics::nested::MirClientHostConnection::set_cursor_image(mir::graphics::CursorImage const&) (mir_client_host_connection.cpp:430) ....
Indeed the cause is again valgrind errors in NestedServer tests. But should we be reusing the same bug? Just search for "==12777==":
20:13:30 9: [----------] 25 tests from NestedServer nested_ platform_ connects_ and_disconnects :wait_for_ all():: $_0::operator( )() const (mir_wait_ handle. cpp:53) variable: :wait<MirWaitHa ndle::wait_ for_all( )::$_0> (std::unique_ lock<std: :mutex> &, MirWaitHandle: :wait_for_ all():: $_0) (condition_ variable: 98) :wait_for_ all() (mir_wait_ handle. cpp:53) create_ buffer_ stream_ sync (mir_buffer_ stream_ api.cpp: 76) ::MirClientHost Surface: :set_cursor_ image(mir: :graphics: :CursorImage const&) (mir_client_ host_connection .cpp:168) :nested: :MirClientHostC onnection: :set_cursor_ image(mir: :graphics: :CursorImage const&) (mir_client_ host_connection .cpp:430)
20:13:30 9: [ RUN ] NestedServer.
20:13:31 9: [2016-11-02 20:13:31.685261] mirserver: Starting
20:13:31 9: [2016-11-02 20:13:31.689667] mirserver: Selected driver: mir:stub-graphics (version 0.25.0)
20:13:31 9: [2016-11-02 20:13:31.733003] mirserver: Using software cursor
20:13:32 9: [2016-11-02 20:13:32.118804] mirserver: Selected input driver: mir:stub-input (version: 0.25.0)
20:13:32 9: [2016-11-02 20:13:32.128108] mirserver: Mir version 0.25.0
20:13:32 9: [2016-11-02 20:13:32.211391] mirserver: Starting
20:13:34 9: [2016-11-02 20:13:34.070068] mirserver: Using nested cursor
20:13:34 9: ==12777== Thread 9:
20:13:34 9: ==12777== Invalid read of size 4
20:13:34 9: ==12777== at 0x540688F: MirWaitHandle:
20:13:34 9: ==12777== by 0x5406401: void std::condition_
20:13:34 9: ==12777== by 0x5406376: MirWaitHandle:
20:13:34 9: ==12777== by 0x54774D9: mir_connection_
20:13:34 9: ==12777== by 0x517576D: (anonymous namespace)
20:13:34 9: ==12777== by 0x5175D95: mir::graphics:
....