[SRU] ukui-settings-daemon crashed after login

Bug #1967239 reported by handsome_feng
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ukui-settings-daemon (Ubuntu)
Fix Released
Undecided
Unassigned
Jammy
Fix Released
Undecided
Unassigned

Bug Description

[Impact]

 ukui-settings-daemon crashed after login and the shortcuts, media key, mouse management and other functions will not work.

[Test Plan]

1. create a new account
2. logout and switch to the new account, then login
3. a warning window will pop out showing that ukui-settings-daemon crashed, and you can find _user_bin_ukui-settings-daemon.1000.crash in /var/crash.

[Where problems could occur]

According to the gdb info, this crash was caused by the invalid dbus interface. so the solution should be add a valid check, like:

    if (!colorIft.isValid()) {
        USD_LOG(LOG_DEBUG, "org.ukui.kwin.ColorCorrect is not valid interface");
        return false;
    }

This is just a valid check and will not bring any other side effects.

Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1967239

tags: added: iso-testing
Changed in ukui-settings-daemon (Ubuntu):
milestone: none → ubuntu-22.04
Revision history for this message
handsome_feng (feng-kylin) wrote :

Still exist in jammy final, I will prepare a patch tomorrow morning. Maybe need a 0-day SRU.

Changed in ukui-settings-daemon (Ubuntu):
status: New → Confirmed
Changed in ukui-settings-daemon (Ubuntu):
status: Confirmed → In Progress
Changed in ukui-settings-daemon (Ubuntu):
milestone: ubuntu-22.04 → ubuntu-22.04.1
Revision history for this message
handsome_feng (feng-kylin) wrote :
Changed in ukui-settings-daemon (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
handsome_feng (feng-kylin) wrote :

Add the debug info.

tags: added: patch
summary: - ukui-settings-daemon crashed after login
+ [SRU] ukui-settings-daemon crashed after login
description: updated
Revision history for this message
handsome_feng (feng-kylin) wrote :

I have uploaded the ukui-settings-daemon-1.1.1.1-1ubuntu1 to the repo before final release, should I change the version num to 1.1.1.1-1ubuntu0.1 to fit the SRU rules?

Revision history for this message
Brian Murray (brian-murray) wrote :

The version number change isn't really necessary as the package will be copied to the K release.

tags: added: verification-needed verification-needed-jammy
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello handsome_feng, or anyone else affected,

Accepted ukui-settings-daemon into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ukui-settings-daemon/3.1.1.1-1ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
handsome_feng (feng-kylin) wrote (last edit ):

I have tested ukui-settingd-daemon 3.1.1.1-1ubuntu1 on ubuntu kylin jammy, and this fix works fine.

tags: added: verification-done verification-done-jammy
removed: verification-needed verification-needed-jammy
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ukui-settings-daemon - 3.1.1.1-1ubuntu1

---------------
ukui-settings-daemon (3.1.1.1-1ubuntu1) jammy; urgency=medium

  * d/patches: add 01-fix-crash-when-access-kwin-dbus.patch.
    (LP: #1967239)

 -- handsome_feng <email address hidden> Thu, 21 Apr 2022 13:59:11 +0800

Changed in ukui-settings-daemon (Ubuntu):
status: Fix Committed → Fix Released
Changed in ukui-settings-daemon (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for ukui-settings-daemon has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.