Ubuntu Pro: Changing network state wreaks havoc

Bug #2004037 reported by Nathan Teodosio
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-initial-setup (Ubuntu)
Fix Released
Critical
Nathan Teodosio
Jammy
Fix Released
Undecided
Unassigned

Bug Description

* Impact
Changing the connection state in Ubuntu Pro pages wreaks havoc in the program, often leading to segmentation faults.

This is caused by the pass of the wrong pointer to the network state change callback.

* Testcase

Use the testcase on bug #2003231 to validate the Ubuntu Pro workflow, while on the Ubuntu Pro page change the connectivity, the UI should adapt without crashing

* Regression Potential

The patch is a pointer change in the connectivity callback from the Ubuntu Pro page so if a bug was introduced it would be on that screen and having to do with connectivity changes

Revision history for this message
Nathan Teodosio (nteodosio) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "fix-pointer-passed-to-network-callback.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks, uploaded to the review queue now. It's not needed in Lunar since that feature doesn't exist there

Changed in gnome-initial-setup (Ubuntu):
status: Triaged → Fix Released
description: updated
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Please test proposed package

Hello Nathan, or anyone else affected,

Accepted gnome-initial-setup into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/gnome-initial-setup/42.0.1-1ubuntu2.2 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.

Changed in gnome-initial-setup (Ubuntu Jammy):
status: New → Fix Committed
tags: added: verification-needed verification-needed-jammy
Revision history for this message
Bin Li (binli) wrote :

I met segmentation fault when doing Quit in gnome-initial-setup(42.0.1-1ubuntu2.1 and 42.0.1-1ubuntu2.2). Not sure if it's the same issue, I opened a new bug for it.

https://bugs.launchpad.net/ubuntu/+source/gnome-initial-setup/+bug/2006586

Revision history for this message
Sebastien Bacher (seb128) wrote :

The segfault on quit is bug #2004518 and another upload is waiting in the queue for it

Revision history for this message
Sebastien Bacher (seb128) wrote :

Testing 42.0.1-1ubuntu2.2 it correctly handles the connectivity change. Turning off the connection would lead to a blank page and stdout errors before but now it correctly display the warning label, no warning printed and the page doesn't blank. Marked as verified

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

This bug was fixed in the package gnome-initial-setup - 42.0.1-1ubuntu2.2

---------------
gnome-initial-setup (42.0.1-1ubuntu2.2) jammy; urgency=medium

  [ Nathan Teodosio ]
  * debian/patches/0001-Add-Ubuntu-mode-with-special-pages.patch:
    - fix an incorrect pointer use in the connectivity callback (lp: #2004037)

 -- Sebastien Bacher <email address hidden> Tue, 31 Jan 2023 09:10:36 +0100

Changed in gnome-initial-setup (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for gnome-initial-setup 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.