[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#996668: cinnamon-settings-daemon: cinnamon shutdown hang



On Wed, Nov 17, 2021 at 05:52:07PM +0100, Fabio Fantoni wrote:
> Il 17/11/2021 17:19, Alex Andreotti ha scritto:
> > On Wed, Nov 17, 2021 at 04:20:53PM +0100, Fabio Fantoni wrote:
> > > Il 17/11/2021 16:01, Alex Andreotti ha scritto:
> > > > On Sun, Nov 07, 2021 at 12:28:12PM +0100, Fabio Fantoni wrote:
> > > > > Il 05/11/2021 17:40, Alex Andreotti ha scritto:
> > > > > > On Sun, Oct 31, 2021 at 12:28:03PM +0100, Fabio Fantoni wrote:
> > > > > > > Il 31/10/2021 10:02, Alex Andreotti ha scritto:
> > > > > > > Sorry if I don't replied before, I'm unable to reproduce the issue on my Sid
> > > > > > > environment, unfortunately recently I am also very busy and I am used the
> > > > > > > little time to the tests instead on the big muffin rebase they are doing
> > > > > > > upstream for cinnamon 5.2.
> > > > > > > 
> > > > > > > As soon as I have time in these days I will try to prepare the new build
> > > > > > > with latest upstream bugfixes to upload and doing more tests.
> > > > > > > 
> > > > > > > About your environments you had some applet,extension, desklet added (not
> > > > > > > installed by default) and enabled? if yes can you try to disable them, and
> > > > > > > after reboot the shutdown still have the same issue? without being able to
> > > > > > > reproduce the problem unfortunately I can not try to debug to try to see
> > > > > > > what it cause freeze/hang the cinnamon process on shutdown.
> > > > > > > 
> > > > > > Sorry for the late reply too, my gmail occasionally flags Debian
> > > > > > emails as spam ... I just happened to see it today.
> > > > > > 
> > > > > > I don't have custom applets, I just added a couple of auto starts, I
> > > > > > tried to disable them but nothing changes.
> > > > > > 
> > > > > > It's not a big deal, I don't reboot often, it's just a little annoying
> > > > > > because when I do it's because I need it.
> > > > > > 
> > > > > > It would be useful to have a more precise message, I can try to take a
> > > > > > look, if you have suggestions where to look are welcome.
> > > > > > 
> > > > > > Thanks for the work you do.
> > > > > Thanks for reply, yesterday I did other tests on Sid testing new bugfix
> > > > > builds for future upload but I'm still unable to reproduce it. From a fast
> > > > > search on upstream issues I don't found a similar reports.
> > > > I noticed by chance (this is the second time this has happened to me)
> > > > that the problem does not appear if I have just performed `apt
> > > > upgrade` and then reboot in the usual way (from the Cinnamon menu).
> > > Thanks for reply, so the latest update of one of these components (cinnamon,
> > > nemo, cinnamon-screensaver, xapp, muffin and cinnamon-session) seems solved
> > > it, can you confirm after other try if still unreproducible please?
> > > 
> > > If someone still reproduce it on updated Sid (or testing after migration of
> > > updated components above) please reply or if nobody will reproduce it
> > > anymore I'll close this after 1-2 weeks
> > No, I'm sorry, I tried to summarize but obviously I was not clear.
> > 
> > The problem persists, even after the system upgrade I did today.
> > 
> > But the reboot of the session where I ran `apt upgrade` wasn't
> > affected, I don't know if the upgrade process ends or restart
> > cinnamon-launcher or what else.  In today's upgrade I noticed there
> > were cinnamon packagess, I don't remember if there were any the first
> > time I noticed it, I'll try to pay attention next time.
> 
> Sorry if I didn't understand right, since I'm unable to reproduce it is
> difficult found the cause of issue and try to solves it.
> 
> Can you try to check syslog and kern.log and see if there is any crash (for
> example search segfault which is perhaps the most common cause of crashes)
> and post the line/s about crash here if there are please?
> 
> I suppose that can be one process that crash on shutdown that make one
> service or other process that use it wait until force kill on timeout (like
> cinnamon-launcher) an high probable cause of this (but is only a suppose).
> 
> If instead the cause is unexpected case that make a process freeze or do
> something in loop (and other process that deps on it or parent wait) need a
> debug reproducing it

I don't see anything significant in the logs, no crash / segv. I am
attaching a few, I have also added some prints to cinnamon-launcher
but nothing stands out for me.

In the meantime I had the opportunity to do another `apt upgrade`
where there were no Cinnamon packages and during the reboot the
problem occurred.

Attachment: cinnamon-launcher.log.gz
Description: application/gzip

Attachment: journalctl-b-1.log.gz
Description: application/gzip

Attachment: journalctl-pwarning-b-1.log.gz
Description: application/gzip

Attachment: journalctl-usession-2.scope-b-1.log.gz
Description: application/gzip

A few specific notes on system configuration:
- tcp6 disabled
- the Avahi service is disabled
- the / home directory is mounted from another partition
- bluetooth applet and services disabled



/var/log/syslog  │Nov 17 17:07:11 hellspawn cinnamon-session[1747]: WARNING: t+30.87496s: Requesting system restart...
/var/log/syslog  │Nov 17 17:07:11 hellspawn cinnamon-session[1747]: WARNING: t+30.87502s: Attempting to restart using systemd...
/var/log/syslog  │Nov 17 17:07:11 hellspawn cinnamon-session[1747]: WARNING: t+30.88965s: Application 'cinnamon-settings-daemon-clipboard.desktop' killed by signal 15
/var/log/syslog  │Nov 17 17:07:11 hellspawn systemd[1]: Stopping Session 2 of User alex...
/var/log/syslog  │Nov 17 17:07:11 hellspawn cinnamon-session[1747]: WARNING: t+30.89239s: Application 'cinnamon-settings-daemon-orientation.desktop' killed by signal 15
/var/log/syslog  │Nov 17 17:07:11 hellspawn systemd[1]: Removed slice Slice /system/modprobe.
/var/log/syslog  │Nov 17 17:07:11 hellspawn systemd[1]: Stopped target Graphical Interface.
/var/log/syslog  │Nov 17 17:07:11 hellspawn systemd[1]: Stopped target Multi-User System.
/var/log/syslog  │Nov 17 17:07:11 hellspawn cinnamon-session[1747]: WARNING: t+30.89304s: Application 'cinnamon-settings-daemon-print-notifications.desktop' killed by signal 15
/var/log/syslog  │Nov 17 17:07:11 hellspawn systemd[1]: Stopped target Login Prompts.
/var/log/syslog  └Nov 17 17:07:11 hellspawn systemd[1]: Stopped target Printer Support.
/var/log/messages┌Nov 17 17:09:10 hellspawn kernel: [    0.000000] microcode: microcode updated early to revision 0x28, date = 2019-11-12
/var/log/messages│Nov 17 17:09:10 hellspawn kernel: [    0.000000] Linux version 5.14.0-4-amd64 (debian-kernel@lists.debian.org) (gcc-10 (Debian 10.3.0-12) 10.3.0, GNU ld (GNU


# /run/systemd/transient/session-2.scope
# This is a transient unit file, created programmatically via the systemd API. Do not edit.
[Scope]
Slice=user-1000.slice
[Unit]
Description=Session 2 of User alex
Wants=user-runtime-dir@1000.service
Wants=user@1000.service
After=systemd-logind.service
After=systemd-user-sessions.service
After=user-runtime-dir@1000.service
After=user@1000.service
RequiresMountsFor=/home/alex
[Scope]
SendSIGHUP=yes
TasksMax=infinity

/etc/fstab : /home

UUID=f7988773-14ad-4d3b-adb6-f87f6698f914	/home		ext4	discard,errors=remount-ro   0       1

/proc/cmdline: 

BOOT_IMAGE=/boot/vmlinuz-5.14.0-4-amd64 root=UUID=6581c863-efa6-47b4-ada7-63d24caa4708 ro noresume gfxpayload=true net.ifnames=0 biosdevname=0 mitigations=off quiet ipv6.disable=1 systemd.legacy_systemd_cgroup_controller vsyscall=emulate net.ifnames=0 biosdevname=0




Reply to: