#1144731 ukui-settings-daemon: intermittent SIGSEGV at startup due to uninitialized mHouseManager pointer #1144731
- Package:
- src:ukui-settings-daemon
- Source:
- src:ukui-settings-daemon
- Submitter:
- Pan Zhang
- Date:
- 2026-08-19 07:51:01 UTC
- Severity:
- normal
ukui-settings-daemon intermittently crashes with SIGSEGV at startup
when running under the display manager session (uid 108).
Root cause: plugins/housekeeping/housekeeping-plugin.h, the
mHouseManager member is declared without an initializer:
HousekeepingManager *mHouseManager;
When the user is the display manager (lightdm/sddm, uid 108),
the constructor skips the assignment (line 60-63 of
housekeeping-plugin.cpp), leaving mHouseManager as a garbage
value. deactivate() then checks the garbage in an if-statement
— if the value happens to be non-zero, it calls
HousekeepingManagerStop() with an invalid 'this' pointer,
causing SIGSEGV.
The crash is intermittent because the garbage value is sometimes
zero (no crash), sometimes non-zero (crash).
Original crash:
#0 HousekeepingManager::HousekeepingManagerStop() (libhousekeeping.so +
0x39de8)
-> mov 0x18(%rdi),%rdi ; loading member from invalid 'this'
#1 PluginInfo::pluginDeactivate()
#2 PluginManager::managerStop()
#3 main()
We believe that the bug you reported is fixed in the latest version of
ukui-settings-daemon, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1144731@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
handsome_feng <jianfengli@ubuntukylin.com> (supplier of updated ukui-settings-daemon package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Tue, 18 Aug 2026 19:32:57 +0800
Source: ukui-settings-daemon
Architecture: source
Version: 4.0.10.1-1
Distribution: unstable
Urgency: medium
Maintainer: Kylin Team <team+kylin@tracker.debian.org>
Changed-By: handsome_feng <jianfengli@ubuntukylin.com>
Closes: 1144731
Changes:
ukui-settings-daemon (4.0.10.1-1) unstable; urgency=medium
.
[ zhangpan ]
* plugins/housekeeping: initialize mHouseManager to nullptr to fix
intermittent SIGSEGV at startup. (Closes: #1144731)
Checksums-Sha1:
92c719798fa92fef0f6a2be173ac6dd2a2821807 2949 ukui-settings-daemon_4.0.10.1-1.dsc
1e3a64d15a08ac69b92ff3cc070280989b84d30b 565412 ukui-settings-daemon_4.0.10.1.orig.tar.gz
929eae09b0e59bc67dfd4225f836ddbeba8bf293 4840 ukui-settings-daemon_4.0.10.1-1.debian.tar.xz
bc518c320faa50467849c8792da066bea82755e5 28506 ukui-settings-daemon_4.0.10.1-1_source.buildinfo
Checksums-Sha256:
48cf22239b23d593c9eb5c046b0d88a74b46bfa6dbba2c3aafbd8f1ec9e755d9 2949 ukui-settings-daemon_4.0.10.1-1.dsc
f6d693cdd0757ca5f55abb9410a54bc82efe1312017d60707227cb5c9514040a 565412 ukui-settings-daemon_4.0.10.1.orig.tar.gz
673f4777aa36d6e7e7b01d0f5d8fea3de89ba2ee7c1e2ddd6c1734c5a7828292 4840 ukui-settings-daemon_4.0.10.1-1.debian.tar.xz
7d41bd23b63452e334988a73ead80179b1032e9315e50d139569d5a34b966f8b 28506 ukui-settings-daemon_4.0.10.1-1_source.buildinfo
Files:
0bd8f0063b77ad7017df46a81e5efbbf 2949 x11 optional ukui-settings-daemon_4.0.10.1-1.dsc
301bc7e9a85146aebda0466f5800f727 565412 x11 optional ukui-settings-daemon_4.0.10.1.orig.tar.gz
7815064be4296f69bf3a7ae486146571 4840 x11 optional ukui-settings-daemon_4.0.10.1-1.debian.tar.xz
89eca3d1edf7f46cfb8b630e261d43ed 28506 x11 optional ukui-settings-daemon_4.0.10.1-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJPBAEBCgA5FiEEhsgAHpUwnacZWWSCm7hQwBMRHwwFAmqFXDAbHGppYW5mZW5n
bGlAdWJ1bnR1a3lsaW4uY29tAAoJEJu4UMATER8MmDMQAIkG9U5+R0t9qTHKvUYq
jYVWC8s9HPQTAcCm/5p9Gn6XgJ1b/bo1bHyh3JdOekYtjY5QDnkKGUKzC4V4whDj
ILd4zIDvtjhICC11FchyyVr3k6oTl/RZUMzgjcQbH65cmSVj3CPByUJgLMKxCpS4
/Vsr0Eptp+LhTXQijB1Xug7QF4JJKuYVYrgu9jAP+ObT173rY5w2lHI3jqTV8i85
GuyiU8lBrLIVZfpt3M/VSVisutsjdfFZAQyCrbcZ5xbJBpQXsiaETbvSOpWS64mJ
0+LDFaHHv9ZoODdG/LDHeseGJd5Hc6H5D16aKZMfcWf3UhuHiAt/dRbLUYA/1CXh
bBECad6GuzZscgFfznf/Bms6w7PtLdy6b7QGcmdz6EGHkxtzrkdWHZmpiynN9gSt
rfF2gC89SLUTcgYI5DOK/oVwWRMPaJgMnyRN3wV0K+mxD5jVcog6u0wR8e+SZTYb
yRKJ1Dx/IXKd4un09I4m6K9U8IMuD+z2gA3Zfm9rOFj6NKfoGJqeVo4RntWfYW9O
h77vonjteUySvvmK5LO04CYqjWTpiDKi8cZnpK5CkCpZNpcEHN4Yd2JIKhqHP5zK
2HL3mzl/o61AHDxte92otoa1EZJTgznuw5dCMS2L3WnxW+e8aO5Dalrtrlwtrt7/
9umRwp0N9ldp5gcvMOOoQ9ey
=2cWR
-----END PGP SIGNATURE-----