appstreamcli crashed with SIGABRT in __assert_fail_base()

Bug #1614375 reported by Smulle
40
This bug affects 8 people
Affects Status Importance Assigned to Milestone
appstream (Ubuntu)
Fix Released
Medium
Matthias Klumpp

Bug Description

appstreamcli: /build/appstream-yPrSXI/appstream-0.9.8/obj-x86_64-linux-gnu/src/ascache.pb.h:3644: void ASCache::Url::set_type(ASCache::Url_Type): Försäkran "::ASCache::Url_Type_IsValid(value)" falsk.
Aborted (core dumped)
E: Problem executing scripts APT::Update::Post-Invoke-Success 'if /usr/bin/test -w /var/cache/app-info -a -e /usr/bin/appstreamcli; then appstreamcli refresh-cache > /dev/null; fi'
E: Sub-process returned an error code

ProblemType: Crash
DistroRelease: Ubuntu 16.10
Package: appstream 0.9.8-3
ProcVersionSignature: Ubuntu 4.6.0-10.12-generic 4.6.5
Uname: Linux 4.6.0-10-generic x86_64
ApportVersion: 2.20.3-0ubuntu7
Architecture: amd64
Date: Thu Aug 18 07:55:07 2016
ExecutablePath: /usr/bin/appstreamcli
InstallationDate: Installed on 2015-11-28 (263 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Alpha amd64 (20151126)
ProcCmdline: appstreamcli refresh-cache
ProcEnviron:
 PATH=(custom, no user)
 LANG=C.UTF-8
Signal: 6
SourcePackage: appstream
StacktraceTop:
 __assert_fail_base (fmt=<optimized out>, assertion=assertion@entry=0x7f96c9acbc78 "::ASCache::Url_Type_IsValid(value)", file=file@entry=0x7f96c9acbc28 "/build/appstream-yPrSXI/appstream-0.9.8/obj-x86_64-linux-gnu/src/ascache.pb.h", line=line@entry=3644, function=function@entry=0x7f96c9acd060 "void ASCache::Url::set_type(ASCache::Url_Type)") at assert.c:92
 __GI___assert_fail (assertion=0x7f96c9acbc78 "::ASCache::Url_Type_IsValid(value)", file=0x7f96c9acbc28 "/build/appstream-yPrSXI/appstream-0.9.8/obj-x86_64-linux-gnu/src/ascache.pb.h", line=3644, function=0x7f96c9acd060 "void ASCache::Url::set_type(ASCache::Url_Type)") at assert.c:101
 ?? () from /usr/lib/x86_64-linux-gnu/libappstream.so.3
 g_hash_table_foreach () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
 ?? () from /usr/lib/x86_64-linux-gnu/libappstream.so.3
Title: appstreamcli crashed with SIGABRT in __assert_fail_base()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

Revision history for this message
Smulle (smulle-is) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceTop.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in appstream (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in appstream (Ubuntu):
status: New → Confirmed
information type: Private → Public
Revision history for this message
Matthias Klumpp (ximion) wrote :

This is resolved via https://github.com/ximion/appstream/commit/79bbbe3e486e49b90a74f6eb8b91864212f882e4

(I think I can update the Debian package today)

Matthias Klumpp (ximion)
Changed in appstream (Ubuntu):
assignee: nobody → Matthias Klumpp (ximion)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package appstream - 0.9.8-4

---------------
appstream (0.9.8-4) unstable; urgency=medium

  * cache-translate-urls.patch: Make cache aware of
    'translate' URLs (LP: #1614375)

 -- Matthias Klumpp <email address hidden> Thu, 18 Aug 2016 20:28:56 +0200

Changed in appstream (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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