/usr/libexec/gnome-initial-setup:11:gis_ubuntupro_page_dispose:g_object_unref:g_object_unref:gtk_stack_forall:gtk_container_destroy
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/
$ /usr/libexec/
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-
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://
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 |
description: | updated |
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