Note I have tried using the .run offline installer of Qt 5.6/5.9/5.11,
what seems to happen is that they work on Ubuntu 16.04, 17.10 but fail
on 18.04 - this is the stacktrace for reference
https://pastebin.ubuntu.com/p/Yzj5gsmwQ3/

So it seems possible that it might be some underlying change to the
platform (maybe something like dbus? or a new config/dir I need to
enable).

Furthermore it looks like this issue may affect Qt applications when
they try to run as a snap under the core18 snap.
https://github.com/snapcore/core18/issues/4

** Bug watch added: github.com/snapcore/core18/issues #4
   https://github.com/snapcore/core18/issues/4

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

Title:
  Running Qt apps inside a 18.04 container crashes

Status in qtbase-opensource-src package in Ubuntu:
  New

Bug description:
  What happened:
  1) Install a container system (eg Docker, LXD) - I'm using Docker
  2) Create a container which is Ubuntu 18.04
  3) Install a Qt app, eg qtcreator, inside the container
  4) Run the container so that it shows the hosts X11 socket
  5) Notice that the application fails to start

  What I expected to happen:
  At step 5 for the application to start.

  Note that the same steps work fine for Ubuntu 16.04 and 17.10 - and if
  it matters my host is 17.10.

  Here is a stacktrace of the crash
  https://pastebin.ubuntu.com/p/WKKGmxqqSx/

  Here is a Dockerfile that reproduces the issue
  https://pastebin.ubuntu.com/p/nzmJRfPYVc/ to use this make a
  Dockerfile in an empty folder with the pastebin contents, then simply
  run the following commands in that folder

  $ sudo apt install docker.io
  $ sudo docker build -t qtbug .
  $ sudo docker run --rm -ti -e DISPLAY --net=host --cap-add=SYS_PTRACE 
--security-opt seccomp=unconfined qtbug

  This should enter you into the gdb session.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1774739/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to