Apps installed from the snap store display a black screen when opened.
snapcraft.yaml
12:40:29 dbus-daemon: [session uid=1000 pid=2329] Successfully activated service 'org.gnome.Logs'
12:40:14 kernel: audit: type=1400 audit(1723524014.177:85): apparmor="DENIED" operation="open" class="file" profile="snap.picguard.picguard" name="/home/kimmy/Documents/PicGuard.gs" pid=8582 comm="DartWorker" requested_mask="wrc" denied_mask="wrc" fsuid=1000 ouid=1000
12:40:14 DartWorker: AVC apparmor="DENIED" operation="open" class="file" profile="snap.picguard.picguard" name="/home/kimmy/Documents/PicGuard.gs" pid=8582 comm="DartWorker" requested_mask="wrc" denied_mask="wrc" fsuid=1000 ouid=1000
12:40:14 dbus-daemon: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/com/kjxbyz/picguard" interface="org.freedesktop.DBus.Properties" member="GetAll" name=":1.29" mask="receive" pid=8582 label="snap.picguard.picguard" peer_pid=2477 peer_label="unconfined"
12:40:14 dbus-daemon: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/com/kjxbyz/picguard" interface="org.freedesktop.DBus.Properties" member="GetAll" name=":1.29" mask="receive" pid=8582 label="snap.picguard.picguard" peer_pid=2477 peer_label="unconfined"
12:40:14 dbus-daemon: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/com/kjxbyz/picguard" interface="org.gtk.Actions" member="DescribeAll" name=":1.29" mask="receive" pid=8582 label="snap.picguard.picguard" peer_pid=2477 peer_label="unconfined"
12:40:13 kernel: audit: type=1400 audit(1723524013.829:84): apparmor="DENIED" operation="open" class="file" profile="snap.picguard.picguard" name="/proc/sys/vm/max_map_count" pid=8582 comm="picguard" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
12:40:13 picguard: AVC apparmor="DENIED" operation="open" class="file" profile="snap.picguard.picguard" name="/proc/sys/vm/max_map_count" pid=8582 comm="picguard" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
12:40:13 kernel: audit: type=1326 audit(1723524013.573:83): auid=1000 uid=1000 gid=1000 ses=5 subj=snap.picguard.picguard pid=8582 comm="picguard" exe="/snap/picguard/6/picguard" sig=0 arch=c000003e syscall=141 compat=0 ip=0x76f82688178b code=0x50000
12:40:13 picguard: SECCOMP auid=1000 uid=1000 gid=1000 ses=5 subj=snap.picguard.picguard pid=8582 comm="picguard" exe="/snap/picguard/6/picguard" sig=0 arch=c000003e syscall=141 compat=0 ip=0x76f82688178b code=0x50000
12:40:10 dbus-daemon: apparmor="DENIED" operation="dbus_method_call" bus="session" path="/com/kjxbyz/picguard" interface="org.freedesktop.DBus.Properties" member="GetAll" name=":1.29" mask="receive" pid=8582 label="snap.picguard.picguard" peer_pid=2477 peer_label="unconfined"
12:40:09 picguard: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
12:40:09 systemd: Started snap.picguard.picguard-f1dad111-8061-4115-a3a5-e33204de3a16.scope.
12:40:07 gnome-shell: #6 59f55d6131b8 i resource:///org/gnome/shell/ui/swipeTracker.js:275 (33d00a7e5b50 @ 1178)
12:39:44 gnome-software: gs_utils_append_key_value: assertion 'value != NULL' failed
12:39:44 systemd: snap.picguard.hook.configure-18b13257-707b-4d8b-9881-4352557a4a91.scope: Consumed 1.388s CPU time.
12:39:36 kernel: audit: type=1400 audit(1723523976.408:81): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.picguard.picguard" pid=8458 comm="apparmor_parser"
12:39:36 apparmor_parser: AVC apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.picguard.picguard" pid=8458 comm="apparmor_parser"
12:39:36 ModemManager: <info> [base-manager] couldn't check support for device '/sys/devices/pci0000:00/0000:00:05.0': not supported by any plugin
12:39:35 kernel: audit: type=1400 audit(1723523975.752:80): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.picguard.hook.configure" pid=8457 comm="apparmor_parser"
12:39:35 apparmor_parser: AVC apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.picguard.hook.configure" pid=8457 comm="apparmor_parser"
12:39:35 kernel: audit: type=1400 audit(1723523975.440:79): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap-update-ns.picguard" pid=8453 comm="apparmor_parser"
12:39:35 apparmor_parser: AVC apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap-update-ns.picguard" pid=8453 comm="apparmor_parser"
12:39:34 kernel: audit: type=1400 audit(1723523974.216:78): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="/snap/snapd/21759/usr/lib/snapd/snap-confine//mount-namespace-capture-helper" pid=8451 comm="apparmor_parser"
12:39:34 apparmor_parser: AVC apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="/snap/snapd/21759/usr/lib/snapd/snap-confine//mount-namespace-capture-helper" pid=8451 comm="apparmor_parser"
12:39:33 systemd-udevd: Using default interface naming scheme 'v249'.
12:39:33 systemd: Started Tracker metadata extractor.
12:39:33 dbus-daemon: [session uid=1000 pid=2329] Successfully activated service 'org.freedesktop.Tracker3.Miner.Extract'
12:39:32 systemd: Starting Tracker metadata extractor...
12:39:32 dbus-daemon: [session uid=1000 pid=2329] Activating via systemd: service name='org.freedesktop.Tracker3.Miner.Extract' unit='tracker-extract-3.service' requested by ':1.105' (uid=1000 pid=2797 comm="/usr/libexec/tracker-miner-fs-3 " label="unconfined")
12:39:31 kernel: audit: type=1400 audit(1723523971.988:76): apparmor="STATUS" operation="profile_load" profile="unconfined" name="snap.picguard.picguard" pid=8229 comm="apparmor_parser"
12:39:31 apparmor_parser: AVC apparmor="STATUS" operation="profile_load" profile="unconfined" name="snap.picguard.picguard" pid=8229 comm="apparmor_parser"
12:39:31 kernel: audit: type=1400 audit(1723523971.808:75): apparmor="STATUS" operation="profile_load" profile="unconfined" name="snap.picguard.hook.configure" pid=8228 comm="apparmor_parser"
12:39:31 apparmor_parser: AVC apparmor="STATUS" operation="profile_load" profile="unconfined" name="snap.picguard.hook.configure" pid=8228 comm="apparmor_parser"
12:39:31 kernel: audit: type=1400 audit(1723523971.656:74): apparmor="STATUS" operation="profile_load" profile="unconfined" name="snap-update-ns.picguard" pid=8227 comm="apparmor_parser"
12:39:31 apparmor_parser: AVC apparmor="STATUS" operation="profile_load" profile="unconfined" name="snap-update-ns.picguard" pid=8227 comm="apparmor_parser"
12:39:31 systemd: Mounted Mount unit for picguard, revision 6.
12:39:31 kernel: loop16: detected capacity change from 0 to 17824
12:39:31 systemd: Mounting Mount unit for picguard, revision 6...
12:39:20 snapd: api_snaps.go:427: Installing snap "picguard" revision unset
Hi ! @kimmy214 .
What app did you install ?
An app I developed myself, named picguard.
[Edit]
The latest version has this issue, previous versions work fine
12:40:09 picguard: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.
Maybe, here a line which deserves to be lingered over.
Yes, I found this problem in the logs, but I didn’t find a solution
I think the error about the atk-bridge module is not blocking, but just a warning.
You have a denied access here :
12:40:14 kernel: audit: type=1400 audit(1723524014.177:85): apparmor="DENIED" operation="open" class="file" profile="snap.picguard.picguard" name="/home/kimmy/Documents/PicGuard.gs" pid=8582 comm="DartWorker" requested_mask="wrc" denied_mask="wrc" fsuid=1000 ouid=1000
Maybe, you can add a policy for that, like this :
plugs:
- network # Maybe (if you want)
- home
- personal-files:
read:
- $HOME/Documents/PicGuard.gs
write:
- $HOME/Documents/PicGuard.gs
ogra
9
You should use snappy-debug and run it alongside your app in a second terminal, it will make suggestions for fixes to quiten the log…
@kimmy214, please close this topic by choosing your last reply
as a solution.
Thanks !