Public bug reported:

In a laptop Thinkpad t14s AMD 4750 PRO (Renoir GPU) with Ubuntu 21.04
(5.11.0-22-generic)

When opening ANY LibreOffice app as a Snap, from GUI menu or from
command line, 2 processes are opened, and the program GUI is not
displayed.

eduardo@edu-ThinkPad-T14s:~$ pgrep -a soffice
10612 /snap/libreoffice/223/lib/libreoffice/program/soffice.bin --writer
10613 /snap/libreoffice/223/lib/libreoffice/program/soffice.bin --writer

eduardo@edu-ThinkPad-T14s:~$ pgrep -a soffice
10803 /snap/libreoffice/223/lib/libreoffice/program/soffice.bin --impress
10804 /snap/libreoffice/223/lib/libreoffice/program/soffice.bin --impress

eduardo@edu-ThinkPad-T14s:~$ pgrep -a soffice
11002 /snap/libreoffice/223/lib/libreoffice/program/soffice.bin --calc
11003 /snap/libreoffice/223/lib/libreoffice/program/soffice.bin --calc


Killing the last process of any LibreOffice app allows the program GUI to start 
fully and be displayed.

LibreOffice Snap version:

Name........Version.Rev.Tracking Publisher
thunderbird 78.11.0 12 latest/stable canonical✓

Here are the jurnalctl -t audit -f logs

jul 13 22:14:31 edu-ThinkPad-T14s audit[11213]: SECCOMP auid=1000 uid=1000 
gid=1000 ses=3 subj=snap.libreoffice.writer pid=11213 comm="soffice.bin" 
exe="/snap/libreoffice/223/lib/libreoffice/program/soffice.bin" sig=0 
arch=c000003e syscall=203 compat=0 ip=0x7fa1753ecc7f code=0x50000
jul 13 22:14:31 edu-ThinkPad-T14s audit[11213]: SECCOMP auid=1000 uid=1000 
gid=1000 ses=3 subj=snap.libreoffice.writer pid=11213 comm="soffice.bin" 
exe="/snap/libreoffice/223/lib/libreoffice/program/soffice.bin" sig=0 
arch=c000003e syscall=203 compat=0 ip=0x7fa1753ecc7f code=0x50000
jul 13 22:14:31 edu-ThinkPad-T14s audit[11213]: SECCOMP auid=1000 uid=1000 
gid=1000 ses=3 subj=snap.libreoffice.writer pid=11213 comm="soffice.bin" 
exe="/snap/libreoffice/223/lib/libreoffice/program/soffice.bin" sig=0 
arch=c000003e syscall=203 compat=0 ip=0x7fa1753ecc7f code=0x50000
jul 13 22:14:31 edu-ThinkPad-T14s audit[11213]: SECCOMP auid=1000 uid=1000 
gid=1000 ses=3 subj=snap.libreoffice.writer pid=11213 comm="soffice.bin" 
exe="/snap/libreoffice/223/lib/libreoffice/program/soffice.bin" sig=0 
arch=c000003e syscall=203 compat=0 ip=0x7fa1753ecc7f code=0x50000
jul 13 22:14:31 edu-ThinkPad-T14s audit[11213]: SECCOMP auid=1000 uid=1000 
gid=1000 ses=3 subj=snap.libreoffice.writer pid=11213 comm="soffice.bin" 
exe="/snap/libreoffice/223/lib/libreoffice/program/soffice.bin" sig=0 
arch=c000003e syscall=203 compat=0 ip=0x7fa1753ecc7f code=0x50000
jul 13 22:14:31 edu-ThinkPad-T14s audit[11213]: SECCOMP auid=1000 uid=1000 
gid=1000 ses=3 subj=snap.libreoffice.writer pid=11213 comm="soffice.bin" 
exe="/snap/libreoffice/223/lib/libreoffice/program/soffice.bin" sig=0 
arch=c000003e syscall=203 compat=0 ip=0x7fa1753ecc7f code=0x50000
jul 13 22:14:31 edu-ThinkPad-T14s audit[11213]: SECCOMP auid=1000 uid=1000 
gid=1000 ses=3 subj=snap.libreoffice.writer pid=11213 comm="soffice.bin" 
exe="/snap/libreoffice/223/lib/libreoffice/program/soffice.bin" sig=0 
arch=c000003e syscall=203 compat=0 ip=0x7fa1753ecc7f code=0x50000
jul 13 22:14:31 edu-ThinkPad-T14s audit[11213]: SECCOMP auid=1000 uid=1000 
gid=1000 ses=3 subj=snap.libreoffice.writer pid=11213 comm="soffice.bin" 
exe="/snap/libreoffice/223/lib/libreoffice/program/soffice.bin" sig=0 
arch=c000003e syscall=203 compat=0 ip=0x7fa1753ecc7f code=0x50000
jul 13 22:14:31 edu-ThinkPad-T14s audit[11213]: SECCOMP auid=1000 uid=1000 
gid=1000 ses=3 subj=snap.libreoffice.writer pid=11213 comm="soffice.bin" 
exe="/snap/libreoffice/223/lib/libreoffice/program/soffice.bin" sig=0 
arch=c000003e syscall=203 compat=0 ip=0x7fa1753ecc7f code=0x50000
jul 13 22:14:31 edu-ThinkPad-T14s audit[11213]: SECCOMP auid=1000 uid=1000 
gid=1000 ses=3 subj=snap.libreoffice.writer pid=11213 comm="soffice.bin" 
exe="/snap/libreoffice/223/lib/libreoffice/program/soffice.bin" sig=0 
arch=c000003e syscall=203 compat=0 ip=0x7fa1753ecc7f code=0x50000
jul 13 22:14:31 edu-ThinkPad-T14s audit[11213]: SECCOMP auid=1000 uid=1000 
gid=1000 ses=3 subj=snap.libreoffice.writer pid=11213 comm="soffice.bin" 
exe="/snap/libreoffice/223/lib/libreoffice/program/soffice.bin" sig=0 
arch=c000003e syscall=203 compat=0 ip=0x7fa1753ecc7f code=0x50000
jul 13 22:14:31 edu-ThinkPad-T14s audit[11213]: SECCOMP auid=1000 uid=1000 
gid=1000 ses=3 subj=snap.libreoffice.writer pid=11213 comm="soffice.bin" 
exe="/snap/libreoffice/223/lib/libreoffice/program/soffice.bin" sig=0 
arch=c000003e syscall=203 compat=0 ip=0x7fa1753ecc7f code=0x50000
jul 13 22:14:31 edu-ThinkPad-T14s audit[11213]: SECCOMP auid=1000 uid=1000 
gid=1000 ses=3 subj=snap.libreoffice.writer pid=11213 comm="soffice.bin" 
exe="/snap/libreoffice/223/lib/libreoffice/program/soffice.bin" sig=0 
arch=c000003e syscall=203 compat=0 ip=0x7fa1753ecc7f code=0x50000
jul 13 22:14:31 edu-ThinkPad-T14s audit[11213]: SECCOMP auid=1000 uid=1000 
gid=1000 ses=3 subj=snap.libreoffice.writer pid=11213 comm="soffice.bin" 
exe="/snap/libreoffice/223/lib/libreoffice/program/soffice.bin" sig=0 
arch=c000003e syscall=203 compat=0 ip=0x7fa1753ecc7f code=0x50000
jul 13 22:14:31 edu-ThinkPad-T14s audit[11213]: SECCOMP auid=1000 uid=1000 
gid=1000 ses=3 subj=snap.libreoffice.writer pid=11213 comm="soffice.bin" 
exe="/snap/libreoffice/223/lib/libreoffice/program/soffice.bin" sig=0 
arch=c000003e syscall=203 compat=0 ip=0x7fa1753ecc7f code=0x50000
jul 13 22:14:31 edu-ThinkPad-T14s audit[11213]: SECCOMP auid=1000 uid=1000 
gid=1000 ses=3 subj=snap.libreoffice.writer pid=11213 comm="soffice.bin" 
exe="/snap/libreoffice/223/lib/libreoffice/program/soffice.bin" sig=0 
arch=c000003e syscall=203 compat=0 ip=0x7fa1753ecc7f code=0x50000
jul 13 22:14:31 edu-ThinkPad-T14s audit[11213]: SECCOMP auid=1000 uid=1000 
gid=1000 ses=3 subj=snap.libreoffice.writer pid=11213 comm="soffice.bin" 
exe="/snap/libreoffice/223/lib/libreoffice/program/soffice.bin" sig=0 
arch=c000003e syscall=203 compat=0 ip=0x7fa1753ecc7f code=0x50000
jul 13 22:14:31 edu-ThinkPad-T14s audit[11213]: SECCOMP auid=1000 uid=1000 
gid=1000 ses=3 subj=snap.libreoffice.writer pid=11213 comm="soffice.bin" 
exe="/snap/libreoffice/223/lib/libreoffice/program/soffice.bin" sig=0 
arch=c000003e syscall=203 compat=0 ip=0x7fa1753ecc7f code=0x50000
jul 13 22:14:31 edu-ThinkPad-T14s audit[11213]: SECCOMP auid=1000 uid=1000 
gid=1000 ses=3 subj=snap.libreoffice.writer pid=11213 comm="soffice.bin" 
exe="/snap/libreoffice/223/lib/libreoffice/program/soffice.bin" sig=0 
arch=c000003e syscall=203 compat=0 ip=0x7fa1753ecc7f code=0x50000
jul 13 22:14:31 edu-ThinkPad-T14s audit[11213]: SECCOMP auid=1000 uid=1000 
gid=1000 ses=3 subj=snap.libreoffice.writer pid=11213 comm="soffice.bin" 
exe="/snap/libreoffice/223/lib/libreoffice/program/soffice.bin" sig=0 
arch=c000003e syscall=203 compat=0 ip=0x7fa1753ecc7f code=0x50000
jul 13 22:14:31 edu-ThinkPad-T14s audit[11213]: SECCOMP auid=1000 uid=1000 
gid=1000 ses=3 subj=snap.libreoffice.writer pid=11213 comm="soffice.bin" 
exe="/snap/libreoffice/223/lib/libreoffice/program/soffice.bin" sig=0 
arch=c000003e syscall=203 compat=0 ip=0x7fa1753ecc7f code=0x50000


After killing the last process the GUI its fully loaded and thunderbird snap 
work.

Here are the jurnalctl -t audit -f logs after killing the last process

jul 13 22:15:23 edu-ThinkPad-T14s audit[1059]: USER_AVC pid=1059 uid=103 
auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" 
operation="dbus_method_call"  bus="system" path="/" 
interface="org.freedesktop.DBus.Peer" member="Ping" mask="send" 
name="org.freedesktop.Avahi" pid=11212 label="snap.libreoffice.writer" 
peer_pid=1051 peer_label="unconfined"
                                                exe="/usr/bin/dbus-daemon" 
sauid=103 hostname=? addr=? terminal=?'

This is a related Answer form Launchpad
https://answers.launchpad.net/snappy/+question/697307

Maybe its something with new amdgpu drivers, since in another laptop
(thinkpad t460 intel with Ubuntu 21.04) this does not happen.

** Affects: libreoffice (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: hirsute

** Tags added: hirsute

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1936051

Title:
  [snap] GUI not show. Opening LibreOffice snap causes 2 processes to
  open (Ubuntu 21.04)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/1936051/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to