/usr/libexec/accounts-daemon:11:g_dbus_method_invocation_return_value_internal:check_auth_cb:g_simple_async_result_complete:check_authorization_cb:g_task_return_now

Bug #2012552 reported by errors.ubuntu.com bug bridge
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
accountsservice (Ubuntu)
Invalid
High
Unassigned
gnome-control-center (Ubuntu)
Fix Released
High
Gunnar Hjalmarsson

Bug Description

The Ubuntu Error Tracker has been receiving reports about a problem regarding accountsservice. This problem was most recently seen with package version 22.08.8-1ubuntu4, the problem page at https://errors.ubuntu.com/problem/8aec6774e070650ea5d4ded3cd3d4c0ebdbf9335 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/.

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

The package didn't change but the reports are new, perhaps a new side effect of https://gitlab.gnome.org/GNOME/glib/-/issues/2937 exposing an existing bug?

tags: added: rls-ll-incoming
Revision history for this message
Sebastien Bacher (seb128) wrote :

Checking the journal log from some of the errors most have those warnings

gnome-control-c[3094]: g_variant_new_string: assertion 'string != NULL' failed
gnome-control-c[3094]: Couldn't set FormatsLocale: GDBus.Error:org.freedesktop.Accounts.Error.Failed: '[Invalid UTF-8]' is not a valid locale name
systemd[1]: accounts-daemon.service: Main process exited, code=dumped, status=11/SEGV

so maybe not glib but settings?

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

The latter comment reminds me of bug #2011313, where the underlying issue was a failure (for some reason) to fetch user data. One side effect in that case was that it resulted in a language variable having a NULL value, and then it failed when trying to convert it to a valid locale name.

Anyway, the wording "is not a valid locale name" comes probably from the user_locale_validate() function in accountsservice (0010-set-language.patch).

And "Couldn't set FormatsLocale" comes from the set_formats_locale() function in g-c-c (Adapts-the-region-capplet-and-the-language-chooser-in-the.patch).

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

I think I found it:

https://salsa.debian.org/gnome-team/gnome-control-center/-/commit/5400a142

Uploaded g-c-c, but keeping the accountsservice task open for now until we see that the problem is no longer present.

Changed in gnome-control-center (Ubuntu):
assignee: nobody → Gunnar Hjalmarsson (gunnarhj)
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-control-center - 1:44.0-1ubuntu2

---------------
gnome-control-center (1:44.0-1ubuntu2) lunar; urgency=medium

  * Drop (again) update_region() call with NULL argument (LP: #2012552)

 -- Gunnar Hjalmarsson <email address hidden> Wed, 22 Mar 2023 23:43:31 +0100

Changed in gnome-control-center (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks Gunnar!

Changed in accountsservice (Ubuntu):
status: New → Incomplete
importance: Undecided → High
Changed in gnome-control-center (Ubuntu):
importance: Undecided → High
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Now I have tested too. :/ Switching language does not result in an attempt to reset region, and seems to work as expected. I can no longer reproduce any errors or warnings when starting g-c-c from terminal.

Changed in accountsservice (Ubuntu):
status: Incomplete → Invalid
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.