Comment 9 for bug 1668466

Revision history for this message
Alan Griffiths (alan-griffiths) wrote : Re: Mir servers crash when right clicking in GTK apps [terminate called after throwing an instance of 'std::out_of_range' what(): map::at]

It took several attempts to reproduce a problem with mir_demo_server. It is easy to reproduce in mir_proving_server.

I suspect the mir_proving_server problem is manifesting in msh::BasicWindowManager::info_for() - probably an attempt to "window manage" a surface that has been deleted (this is what QtMir was doing in bug 1656727). As the resulting exception is allowed to propagate we don't see that stack trace on the crash dump.

This code isn't quite the same in mir_demo_server - which may be why it is harder to reproduce there.

The corresponding code in libmiral is what we're planning to use going forwards. We've done a lot more work on getting that right. As I can't reproduce the problem there I suspect it has been fixed as part of this work.

Reducing the priority as it only affects non-production code.