← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1774739] Re: Running Qt apps inside a 18.04 container crashes

 

*** This bug is a duplicate of bug 1755250 ***
    https://bugs.launchpad.net/bugs/1755250

** This bug has been marked a duplicate of bug 1792552
   Qt doesn't cope with EPERM returned from statx(2)

** This bug is no longer a duplicate of bug 1792552
   Qt doesn't cope with EPERM returned from statx(2)
** This bug has been marked a duplicate of bug 1755250
   backport statx syscall whitelist fix

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, 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:
  Confirmed

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


References