← Back to team overview

desktop-packages team mailing list archive

[Bug 1481330] Re: Xmir crashes when client closes display

 

Xmir (through no choice of its own) is told to destroy all resources
(destroy xmir_screen) when the last client disconnects. We could make
Xmir leak its resources (including the connection to the Mir server)...
that would also solve some annoying flickering but I'm not sure it's the
right answer.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1481330

Title:
  Xmir crashes when client closes display

Status in Mir:
  Incomplete
Status in mir package in Ubuntu:
  Incomplete
Status in xorg-server package in Ubuntu:
  Incomplete

Bug description:
  Xmir crashes when a client loses its connection to Xmir, either
  through XCloseDisplay, or by normal program termination. This affects
  xprop and GTK applications (they temporarily open a connection to the
  X server to obtain the value of the AT_SPI_BUS property on the root
  window).

  This is what is printed in application's upstart log:

  (EE)
  Fatal server error:
  (EE) Failed to connect to Mir: Failed to process connect response: /build/mir-3eDTxk/mir-0.14.0+15.10.20150723.1/src/client/probing_client_platform_factory.cpp(37): Throw in function virtual std::shared_ptr<mir::client::ClientPlatform> mir::client::ProbingClientPlatformFactory::create_client_platform(mir::client::ClientContext*)
  Dynamic exception type: N5boost16exception_detail10clone_implINS0_19error_info_injectorISt13runtime_errorEEEE
  std::exception::what: No appropriate client platform module found

  (EE)

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


References