First a surface containing a TimeoutFrameDroppingPolicy is destroyed:
==1490== Address 0xd08d538 is 24 bytes inside a block of size 32 free'd ... ==1490== by 0x50C6D4B: mir::frontend::SessionMediator::release_surface(google::protobuf::RpcController*, mir::protobuf::SurfaceId const*, mir::protobuf::Void*, google::protobuf::Closure*) (session_mediator.cpp:266)
Then an alarm fires that tries to execute the lambda created in the TimeoutFrameDroppingPolicy constructor...
BANG!
First a surface containing a TimeoutFrameDro ppingPolicy is destroyed:
==1490== Address 0xd08d538 is 24 bytes inside a block of size 32 free'd :SessionMediato r::release_ surface( google: :protobuf: :RpcController* , mir::protobuf: :SurfaceId const*, mir::protobuf: :Void*, google: :protobuf: :Closure* ) (session_ mediator. cpp:266)
...
==1490== by 0x50C6D4B: mir::frontend:
Then an alarm fires that tries to execute the lambda created in the TimeoutFrameDro ppingPolicy constructor...
BANG!