indicator-sensors icon indicating copy to clipboard operation
indicator-sensors copied to clipboard

libgtk3-nocsd cannot be preloaded

Open Cyrille37 opened this issue 5 years ago • 4 comments

Hello

~$ indicator-sensors --help
ERROR: ld.so: object 'libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (failed to map segment from shared object): ignored.
Usage:
  indicator-sensors [OPTION…] - hardware sensors monitor

indicator-sensors does not display it's version but I found that in snap folder :

$ ls -l /snap/indicator-sensors/
total 0
drwxr-xr-x 9 root root 167 nov.  27  2019 261
drwxr-xr-x 9 root root 110 juil. 27 04:17 291
lrwxrwxrwx 1 root root   3 juil. 28 11:57 current -> 291

My environment:

$ snap version
snap    2.47.1
snapd   2.47.1
series  16
ubuntu  18.04.5
kernel  5.4.0-52-generic

Cyrille37 avatar Oct 24 '20 11:10 Cyrille37

I found another message about libgtk3-nocsd in /var/log/syslog when launching indicator-sensors --help

Oct 24 13:36:12 ubuntu-N141CU kernel: [  902.066870] audit: type=1400 audit(1603539372.418:88):
apparmor="DENIED" operation="file_mmap" profile="/snap/core/10185/usr/lib/snapd/snap-confine"
name="/usr/lib/x86_64-linux-gnu/libgtk3-nocsd.so.0" pid=4697
comm="snap-confine" requested_mask="m" denied_mask="m" fsuid=0 ouid=0

Cyrille37 avatar Oct 24 '20 11:10 Cyrille37

Does this error cause indicator-sensors to fail? From what I can tell it should still run correctly and so should be harmless. Also what Ubuntu version are you running and does this have the gtk3-nocsd package installed?

alexmurray avatar Oct 26 '20 00:10 alexmurray

Hi indicator-sensors is running and gtk3-nocsd installed. It seems to me that apparmor denied some operation to gtk3-nocsd, or some thing like ...

Cyrille37 avatar Oct 26 '20 06:10 Cyrille37

I have just made a change to the snap which should be published to the edge channel within the next hour or two that should hopefully resolve this. So if you refresh indicator-sensors from edge in an hour say, can you let me know if it resolves the issue?

alexmurray avatar Oct 27 '20 12:10 alexmurray