← Back to team overview

touch-packages team mailing list archive

[Bug 1481330] Re: Reading/setting xprop on Xmir causes it to crash

 

GTK apps are breaking this because at-spi2-core is calling
XCloseDisplay, not because of XGetWindowProperty.

I tried commenting (https://git.gnome.org/browse/at-spi2-core/tree/atspi
/atspi-misc.c#n1456, XGetWindowProperty call) and this bug still
occurred. Then I tried commenting (https://git.gnome.org/browse/at-
spi2-core/tree/atspi/atspi-misc.c#n1462, XCloseDisplay call) and it
allows GTK apps to run without crashing XMir.

Aside, to run GTK apps under XMir, pass the display name as a command
line argument (--display :1) instead of setting DISPLAY/AT_SPI_DISPLAY.

-- 
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:
  Reading/setting xprop on Xmir causes it to crash

Status in mir package in Ubuntu:
  New
Status in xorg-server package in Ubuntu:
  New

Bug description:
  When having an Xmir window up and running and then trying to read or
  set an xprop, the Xmir window immediately exits.  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/ubuntu/+source/mir/+bug/1481330/+subscriptions