So, what seems to be happening on these drivers is that the hotplug-
unplug event comes in while the driver is doing work in hwc::set() with
an external list. Since the driver cannot post the list to the display
anymore (as its physically disconnected), hwc::set() returns -1. At that
point, mir throws up the compositor thread (which is trying to be shut
down anyways at this point), and the exception is caught, which
terminates the server. Given that the thread that gets the throw is
shutting down anyways, we can ignore the exception.


** Branch linked: lp:~kdub/mir/fix-1474891

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1474891

Title:
  USC crash on multimonitor unplug [std::exception::what: error during
  hwc prepare()]

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to