Looks to be a race condition where the session (and so unity-settings-daemon) is started before systemd has finished starting the upower.service unit. u-s-d tries to query the state of power and segfaults when upowerd hasn't finished initialising to be able respond.
>From syslog: 17:14:31 kernel: unity-settings-[1722]: segfault at 0 ip 00007fe3799805a9 sp 00007ffec6513af0 error 4 in libupower-glib.so.3.0.1[7fe37996f000+25000] <snip> 17:14:50 dbus-daemon[460]: [system] Successfully activated service 'org.freedesktop.UPower' Confirmed this by doing the following: 1. Disabling lightdm from autostarting: systemctl disable lightdm 2. Reboot and wait until systemd starts upower.service 3. Start lightdm: systemctl start lightdm 4. u-s-d starts without issue and so default settings and themes are applied, media keys work, etc. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to upower in Ubuntu. https://bugs.launchpad.net/bugs/1546641 Title: unity-settings-daemon crashed with SIGSEGV in up_exported_daemon_get_lid_is_closed() Status in unity-settings-daemon package in Ubuntu: Triaged Status in upower package in Ubuntu: Confirmed Status in unity-settings-daemon source package in Xenial: Triaged Status in upower source package in Xenial: Confirmed Status in unity-settings-daemon source package in Yakkety: Triaged Status in upower source package in Yakkety: Confirmed Bug description: https://errors.ubuntu.com/problem/8ca9c548fc4e2fc1d4bf827bbd85c72df59313f8 Ubuntu 16.04 crashes immediately on login. Default settings not applied and appearance is a bit ugly (incorrect font hinting, in- window menus etc). --- ProblemType: Crash DistroRelease: Ubuntu 16.04 ProcVersionSignature: Ubuntu 4.4.0-6.21-generic 4.4.1 Uname: Linux 4.4.0-6-generic x86_64 ApportVersion: 2.20-0ubuntu3 Architecture: amd64 CrashCounter: 1 Date: Wed Feb 17 13:52:13 2016 ExecutablePath: /usr/lib/unity-settings-daemon/unity-settings-daemon InstallationDate: Installed on 2016-02-08 (8 days ago) InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20160205) ProcCmdline: /usr/lib/unity-settings-daemon/unity-settings-daemon ProcEnviron: LANGUAGE=pt_BR:pt:en PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=pt_BR.UTF-8 SHELL=/bin/false SegvAnalysis: Segfault happened at: 0x3aae60fe69 <up_exported_daemon_get_lid_is_closed+9>: mov (%rbx),%rdi PC (0x3aae60fe69) ok source "(%rbx)" (0x00000000) not located in a known VMA region (needed readable region)! destination "%rdi" ok SegvReason: reading NULL VMA Signal: 11 SourcePackage: unity-settings-daemon StacktraceTop: up_exported_daemon_get_lid_is_closed () from /usr/lib/x86_64-linux-gnu/libupower-glib.so.3 gsd_power_manager_start () from /usr/lib/unity-settings-daemon-1.0/libpower.so ?? () from /usr/lib/unity-settings-daemon-1.0/libpower.so gnome_settings_plugin_info_activate () ?? () Title: unity-settings-daemon crashed with SIGSEGV in up_exported_daemon_get_lid_is_closed() UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity-settings-daemon/+bug/1546641/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp