← Back to team overview

touch-packages team mailing list archive

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

 

The trigger is the X server resetting - this occurs when the last X
client disconnects. This causes the root window to be destroyed and re-
created. Thus the Mir surface is destroyed and then (attempted to be)
recreated.

This occurs when running XMir inside a Unity 8 session, other cases that were tested were:
 - Running XMir inside mir_demo_server (works fine)
 - Running Unity 8 directly inside mir_demo_server (works fine)

In the normal use case the X server doesn't reset until you have
completed using it - the window manager is constantly connected so the
reset does not occur. For this reason this bug is not critical but worth
investigating when we have the time.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to mir in Ubuntu.
https://bugs.launchpad.net/bugs/1481330

Title:
  Xmir crashes when client closes display

Status in Mir:
  New
Status in mir package in Ubuntu:
  Confirmed
Status in xorg-server package in Ubuntu:
  Triaged

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