linuxmint / cinnamon-settings-daemon

The settings daemon for the Cinnamon desktop
GNU General Public License v2.0
58 stars 59 forks source link

csd-background: segfault at 1 #254

Open sphh opened 5 years ago

sphh commented 5 years ago
 * csd version ('dpkg --list | grep cinnamon-settings-daemon' in Mint/Ubuntu):
    4.0.3+tessa
 * Distribution - (Mint 17.2, Arch, Fedora 25, etc...):
    19.1
 * Graphics hardware *and* driver used:
    Intel Corporation HD Graphics 620, Intel Corporation Sunrise Point-LP Integrated Sensor Hub (from System Info)
    configuration: driver=i915 latency=0 (from lshw -c video)
    filename:       /lib/modules/4.19.27-surface-linux-surface/kernel/drivers/gpu/drm/i915/i915.ko (from modinfo i915)
 * 32 or 64 bit: 64 bit

Issue Sometimes the cinnamon-settings-daemon dies on my system. It is hard to find a pattern behind it, but often it dies when applying the screensaver. After the cinnamon-settings-daemon died, I can disable the screensaver without a password and there are no thumbnails shown in the Grouped window list applet.

Other information The relevant part of the log follows.

Activating the screen saver:

Mar 22 12:45:45 Surface-Pro-5 cinnamon-screensaver-pam-helper[10874]: pam_ecryptfs: seteuid error
Mar 22 12:45:45 Surface-Pro-5 cinnamon-screensaver-pam-helper[10874]: gkr-pam: unlocked login keyring
Mar 22 12:46:03 Surface-Pro-5 cinnamon-screensaver-pam-helper[11402]: pam_ecryptfs: seteuid error
Mar 22 12:46:03 Surface-Pro-5 cinnamon-screensaver-pam-helper[11402]: gkr-pam: unlocked login keyring
Mar 22 13:19:44 Surface-Pro-5 ntpd[1372]: 144.76.0.164 local addr 10.8.2.3 -> <null>
Mar 22 13:20:26 Surface-Pro-5 kernel: csd-background[8464]: segfault at 1 ip 00007f56a3e900f0 sp 00007ffe86dfb200 error 4 in libcinnamon-desktop.so.4.0.0[7f56a3e80000+2f000]
Mar 22 13:20:26 Surface-Pro-5 kernel: Code: 24 08 45 31 d2 45 31 c9 31 c9 4c 8d 5c 40 03 31 f6 31 ff 0f 1f 80 00 00 00 00 44 89 d0 4c 01 f0 45 85 ed 74 23 4a 8d 1c 18 90 <0f> b6 50 01 44 0f b6 00 48 83 c0 03 48 01 d6 0f b6 50 ff 4c 01 c7
Mar 22 13:20:26 Surface-Pro-5 kernel: cinnamon-screen[8849]: segfault at 1 ip 00007fdac60a60f0 sp 00007ffc31da7190 error 4 in libcinnamon-desktop.so.4.0.0[7fdac6096000+2f000]
Mar 22 13:20:26 Surface-Pro-5 kernel: Code: 24 08 45 31 d2 45 31 c9 31 c9 4c 8d 5c 40 03 31 f6 31 ff 0f 1f 80 00 00 00 00 44 89 d0 4c 01 f0 45 85 ed 74 23 4a 8d 1c 18 90 <0f> b6 50 01 44 0f b6 00 48 83 c0 03 48 01 d6 0f b6 50 ff 4c 01 c7
Mar 22 13:20:27 Surface-Pro-5 cinnamon-session[8326]: WARNING: t+2191.56998s: Application 'cinnamon-settings-daemon-background.desktop' killed by signal 11
Mar 22 13:20:27 Surface-Pro-5 cinnamon-session[8326]: WARNING: t+2191.72962s: Detected that screensaver has left the bus
Mar 22 13:20:27 Surface-Pro-5 kernel: csd-background[3017]: segfault at 1 ip 00007ff90980b0f0 sp 00007ffccdc6a1c0 error 4 in libcinnamon-desktop.so.4.0.0[7ff9097fb000+2f000]
Mar 22 13:20:27 Surface-Pro-5 kernel: Code: 24 08 45 31 d2 45 31 c9 31 c9 4c 8d 5c 40 03 31 f6 31 ff 0f 1f 80 00 00 00 00 44 89 d0 4c 01 f0 45 85 ed 74 23 4a 8d 1c 18 90 <0f> b6 50 01 44 0f b6 00 48 83 c0 03 48 01 d6 0f b6 50 ff 4c 01 c7
Mar 22 13:20:27 Surface-Pro-5 cinnamon-session[8326]: WARNING: t+2192.12978s: App 'cinnamon-settings-daemon-background.desktop' respawning too quickly
Mar 22 13:20:27 Surface-Pro-5 cinnamon-session[8326]: WARNING: t+2192.12987s: Error on restarting session managed app: Component 'cinnamon-settings-daemon-background.desktop' crashing too quickly
Mar 22 13:20:27 Surface-Pro-5 cinnamon-session[8326]: WARNING: t+2192.12997s: Application 'cinnamon-settings-daemon-background.desktop' killed by signal 11
Mar 22 13:23:11 Surface-Pro-5 dbus-daemon[8377]: [session uid=1000 pid=8375] Activating service name='org.Cinnamon.Slideshow' requested by ':1.39' (uid=1000 pid=8616 comm="cinnamon --replace ")
Mar 22 13:23:11 Surface-Pro-5 dbus-daemon[8377]: [session uid=1000 pid=8375] Successfully activated service 'org.Cinnamon.Slideshow'

Logging in again at around 13:25

If you need more information, I am happy to provide it.

icarter09 commented 4 years ago

@sphh are you still experiencing this issue?

sphh commented 4 years ago

Hi @icarter09,

Unfortunately yes.

I don't know if this is relevant, but I only get these segfaults on a twin-monitor setup where the laptop's monitor is inactive and only the external monitor is active.

Here are some more segfaults:

Dec 10 11:50:49 Surface-Pro-5 kernel: cinnamon-screen[3815]: segfault at 1 ip 00007fc8bf365140 sp 00007ffffb3649e0 error 4 in libcinnamon-desktop.so.4.0.0[7fc8bf355000+2f000]
Dec 10 11:50:49 Surface-Pro-5 kernel: Code: 24 08 45 31 d2 45 31 c9 31 c9 4c 8d 5c 40 03 31 f6 31 ff 0f 1f 80 00 00 00 00 44 89 d0 4c 01 f0 45 85 ed 74 23 4a 8d 1c 18 90 <0f> b6 50 01 44 0f b6 00 48 83 c0 03 48
Dec 10 11:50:49 Surface-Pro-5 cinnamon-screen[3815]: gdk_pixbuf_get_width: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
Dec 10 11:50:49 Surface-Pro-5 cinnamon-screen[3815]: gdk_pixbuf_get_height: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
Dec 10 11:50:49 Surface-Pro-5 cinnamon-screen[3815]: gdk_pixbuf_get_rowstride: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
Dec 10 11:50:49 Surface-Pro-5 cinnamon-screen[3815]: gdk_pixbuf_get_pixels_with_length: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
Dec 10 11:50:49 Surface-Pro-5 cinnamon-screen[3815]: gdk_pixbuf_get_has_alpha: assertion 'GDK_IS_PIXBUF (pixbuf)' failed
Dec 10 11:50:49 Surface-Pro-5 cinnamon-session[3706]: WARNING: t+9134.32301s: Detected that screensaver has left the bus
Dec 10 11:36:58 Surface-Pro-5 kernel: csd-background[3866]: segfault at 1 ip 00007fb074a8d140 sp 00007ffcabe23650 error 4 in libcinnamon-desktop.so.4.0.0[7fb074a7d000+2f000]
Dec 10 11:36:58 Surface-Pro-5 kernel: Code: 24 08 45 31 d2 45 31 c9 31 c9 4c 8d 5c 40 03 31 f6 31 ff 0f 1f 80 00 00 00 00 44 89 d0 4c 01 f0 45 85 ed 74 23 4a 8d 1c 18 90 <0f> b6 50 01 44 0f b6 00 48 83 c0 03 48
Dec 10 11:36:58 Surface-Pro-5 cinnamon-session[3706]: WARNING: t+8303.43926s: Application 'cinnamon-settings-daemon-background.desktop' killed by signal 11
Dec 10 11:36:58 Surface-Pro-5 kernel: csd-background[21839]: segfault at 1 ip 00007f51643d8140 sp 00007ffc9d200ac0 error 4 in libcinnamon-desktop.so.4.0.0[7f51643c8000+2f000]
Dec 10 11:36:58 Surface-Pro-5 kernel: Code: 24 08 45 31 d2 45 31 c9 31 c9 4c 8d 5c 40 03 31 f6 31 ff 0f 1f 80 00 00 00 00 44 89 d0 4c 01 f0 45 85 ed 74 23 4a 8d 1c 18 90 <0f> b6 50 01 44 0f b6 00 48 83 c0 03 48
Dec 10 11:36:59 Surface-Pro-5 cinnamon-session[3706]: WARNING: t+8304.04950s: Application 'cinnamon-settings-daemon-background.desktop' killed by signal 11
Dec 10 11:36:59 Surface-Pro-5 cinnamon-session[3706]: WARNING: t+8304.05194s: App 'cinnamon-settings-daemon-background.desktop' respawning too quickly
Dec 10 11:36:59 Surface-Pro-5 cinnamon-session[3706]: WARNING: t+8304.05230s: Error on restarting session managed app: Component 'cinnamon-settings-daemon-background.desktop' crashing too quickly
Dec 06 14:30:39 Surface-Pro-5 kernel: csd-background[1171]: segfault at 1 ip 00007f1e27658140 sp 00007ffc036178b0 error 4 in libcinnamon-desktop.so.4.0.0[7f1e27648000+2f000]
Dec 06 14:30:39 Surface-Pro-5 kernel: Code: 24 08 45 31 d2 45 31 c9 31 c9 4c 8d 5c 40 03 31 f6 31 ff 0f 1f 80 00 00 00 00 44 89 d0 4c 01 f0 45 85 ed 74 23 4a 8d 1c 18 90 <0f> b6 50 01 44 0f b6 00 48 83 c0 03 48
Dec 06 14:30:39 Surface-Pro-5 cinnamon-session[4296]: WARNING: t+16688.77023s: Application 'cinnamon-settings-daemon-background.desktop' killed by signal 11
Dec 06 14:29:16 Surface-Pro-5 kernel: csd-background[32740]: segfault at 1 ip 00007f1ef6889140 sp 00007ffd432474a0 error 4 in libcinnamon-desktop.so.4.0.0[7f1ef6879000+2f000]
Dec 06 14:29:16 Surface-Pro-5 kernel: Code: 24 08 45 31 d2 45 31 c9 31 c9 4c 8d 5c 40 03 31 f6 31 ff 0f 1f 80 00 00 00 00 44 89 d0 4c 01 f0 45 85 ed 74 23 4a 8d 1c 18 90 <0f> b6 50 01 44 0f b6 00 48 83 c0 03 48
Dec 06 14:29:16 Surface-Pro-5 cinnamon-session[4296]: WARNING: t+16605.76555s: Application 'cinnamon-settings-daemon-background.desktop' killed by signal 11
Dec 06 14:29:19 Surface-Pro-5 gvfsd-metadata[4886]: g_udev_device_has_property: assertion 'G_UDEV_IS_DEVICE (device)' failed
Dec 06 14:29:19 Surface-Pro-5 gvfsd-metadata[4886]: g_udev_device_has_property: assertion 'G_UDEV_IS_DEVICE (device)' failed
Dec 06 14:30:39 Surface-Pro-5 kernel: csd-background[1171]: segfault at 1 ip 00007f1e27658140 sp 00007ffc036178b0 error 4 in libcinnamon-desktop.so.4.0.0[7f1e27648000+2f000]
Dec 06 14:30:39 Surface-Pro-5 kernel: Code: 24 08 45 31 d2 45 31 c9 31 c9 4c 8d 5c 40 03 31 f6 31 ff 0f 1f 80 00 00 00 00 44 89 d0 4c 01 f0 45 85 ed 74 23 4a 8d 1c 18 90 <0f> b6 50 01 44 0f b6 00 48 83 c0 03 48
Dec 06 14:30:39 Surface-Pro-5 cinnamon-session[4296]: WARNING: t+16688.77023s: Application 'cinnamon-settings-daemon-background.desktop' killed by signal 11
icarter09 commented 4 years ago

@sphh thanks for the update. Were you able to a pattern on how to recreate the issue?

sphh commented 4 years ago

It only occurs on the dual-monitor setup when the laptop's screen is set to disabled.

It occurs when the screensaver kicks in.

What is hard to say, is if it occurs everytime the screensaver starts. It does not occur when the screen locks. I only experience this when I've been away a longer time, e.g. when I come back from my lunch break.

icarter09 commented 4 years ago

@sphh have you upgraded Mint and CSD to the newest versions?

sphh commented 4 years ago

I don't know, because this happened on my work set-up and I am still in home office. The only thing I observed here, is that sometimes there are no thumbnails shown in the grouped-window-list@cinnamon.org applet.

My guess is, that nothing has changed, because the CSD has not been updated since my reporting (and I experienced this a couple of times up to March this year), as /usr/share/doc/cinnamon-settings-daemon/changelog.gz shows:

cinnamon-settings-daemon (4.4.0+tricia) tricia; urgency=medium
 -- Clement Lefebvre <root@linuxmint.com>  Sat, 16 Nov 2019 16:37:55 +0100

Linux Mint is up to date by running the Update Manager regularly.