g_atomic_ref_count_dec: assertion 'g_atomic_int_get (arc) > 0' failed

Bug #1785498 reported by Paul White on 2018-08-05
76
This bug affects 11 people
Affects Status Importance Assigned to Milestone
AppStream
Fix Released
Unknown
appstream (Debian)
Fix Released
Unknown
appstream (Ubuntu)
Undecided
Matthias Klumpp
glib2.0 (Ubuntu)
Undecided
Unassigned

Bug Description

When running

  sudo apt update

in a terminal I sometimes see the following message printed within the output.

  (appstreamcli:18640): GLib-CRITICAL **: 17:47:38.047: g_atomic_ref_count_dec: assertion 'g_atomic_int_get (arc) > 0' failed

This started happening today (5th August). Otherwise apt update and apt upgrade seem to correctly update the system.

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

https://gitlab.gnome.org/GNOME/glib/issues/1480

ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: libglib2.0-0 2.57.2-1
ProcVersionSignature: Ubuntu 4.17.0-6.7-generic 4.17.9
Uname: Linux 4.17.0-6-generic x86_64
ApportVersion: 2.20.10-0ubuntu7
Architecture: amd64
CurrentDesktop: GNOME
Date: Sun Aug 5 17:52:41 2018
InstallationDate: Installed on 2018-07-12 (24 days ago)
InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Alpha amd64 (20180711)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: glib2.0
UpgradeStatus: No upgrade log present (probably fresh install)

Paul White (paulw2u) wrote :
Iain Lane (laney) wrote :

Thanks.

This was in fact already fixed upstream: https://github.com/ximion/appstream/commit/05ac8b0a8630680b27bcf79d3f41274a21d60acf

and is going to be in cosmic imminently.

By the way, it's not recommended to run -proposed of the development release. I really suggest you stop doing that.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in appstream (Ubuntu):
status: New → Confirmed
Changed in glib2.0 (Ubuntu):
status: New → Confirmed
Bashing-om (bashing-om) wrote :

apt update results with the warning:
(appstreamcli:1748): GLib-CRITICAL **: 12:54:05.288: g_atomic_ref_count_dec: assertion 'g_atomic_int_get (arc) > 0' failed

Proceeding to install the upgrades >>
Possibly unrelated, but, Since seeing the warning and upgrading packages I have experienced the system going into read only mode, and the superblock of the disk being corrupted, per e2fsck.

I am holding off on upgrades until I see a fix in the cosmic repo for this condition.

On Wed, Aug 08, 2018 at 06:14:06PM -0000, Bashing-om wrote:
> apt update results with the warning:
> (appstreamcli:1748): GLib-CRITICAL **: 12:54:05.288: g_atomic_ref_count_dec: assertion 'g_atomic_int_get (arc) > 0' failed
>
> Proceeding to install the upgrades >>
> Possibly unrelated, but, Since seeing the warning and upgrading packages I have experienced the system going into read only mode, and the superblock of the disk being corrupted, per e2fsck.
>
> I am holding off on upgrades until I see a fix in the cosmic repo for
> this condition.

This message is not causing your computer any harm. If you see a problem
then it's unrelated. It'll be resolved soon.

Cheers,

--
Iain Lane [ <email address hidden> ]
Debian Developer [ <email address hidden> ]
Ubuntu Developer [ <email address hidden> ]

description: updated
Matthias Klumpp (ximion) wrote :

See the linked upstream issue for details - this will be fixed soon.

Changed in glib2.0 (Ubuntu):
status: Confirmed → Invalid
Changed in appstream:
status: Unknown → New
Matthias Klumpp (ximion) wrote :

This is fixed in Debian now, in package appstream/0.12.2-2.

Matthias Klumpp (ximion) on 2018-08-19
Changed in appstream (Ubuntu):
status: Confirmed → Fix Committed
assignee: nobody → Matthias Klumpp (ximion)
Changed in appstream (Debian):
status: Unknown → Fix Released
Changed in appstream:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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