/usr/libexec/gnome-initial-setup:11:gis_ubuntupro_page_dispose:g_object_unref:g_object_unref:gtk_stack_forall:gtk_container_destroy

Bug #2004466 reported by errors.ubuntu.com bug bridge
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-initial-setup (Ubuntu)
Invalid
Undecided
Unassigned
Jammy
Fix Committed
High
Nathan Teodosio

Bug Description

* Impact

The initial setup crashes sometime when being closed

* Test case

- start the initial setup wizard
$ rm ~/.config/gnome-initial-setup-done
$ /usr/libexec/gnome-initial-setup --existing-user

go to the ubuntu pro screen, then close the wizard from the launcher context menu, it shouldn't crash

check also that the error tracker doesn't include reports of the issue with the new version

* Regression potential

The change is in the dispose functions of the ubuntu pro page, so issue would trigger when going to next page or when closing the wizard

-------------------

The Ubuntu Error Tracker has been receiving reports about a problem regarding gnome-initial-setup. This problem was most recently seen with package version 42.0.1-1ubuntu2.1, the problem page at https://errors.ubuntu.com/problem/ac3dc4faf9f0e4bea7d15189809571375b3c04d7 contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.

Tags: jammy
Changed in gnome-initial-setup (Ubuntu):
status: New → Incomplete
status: Incomplete → In Progress
assignee: nobody → Nathan Teodosio (nteodosio)
importance: Undecided → High
Changed in gnome-initial-setup (Ubuntu Jammy):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Nathan Teodosio (nteodosio)
Changed in gnome-initial-setup (Ubuntu):
status: In Progress → Invalid
assignee: Nathan Teodosio (nteodosio) → nobody
importance: High → Undecided
Revision history for this message
Nathan Teodosio (nteodosio) wrote :
Revision history for this message
Nathan Teodosio (nteodosio) wrote :
Revision history for this message
Nathan Teodosio (nteodosio) wrote :

The problem was that the pages would be disposed multiple times (which can happen, [1]), in this order:

- ubuntupro page
- offer page
- offer page
- ubuntupro page

With offer_page finalized, the second call to the ubuntupro page would access invalid data and segfault.

Many thanks to Sergio Costas for the help suggesting the implementation of the separate dispose for the offer_page understanding the issue.

[1]: https://libsoup.org/gobject/gobject-memory.html

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

upload, Thanks Nathan and Sergio!

description: updated
Changed in gnome-initial-setup (Ubuntu Jammy):
status: In Progress → Fix Committed
description: updated
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.