gnome-software crashed with SIGSEGV in strlen()

Bug #1588950 reported by Cristian Aravena Romero
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
GNOME Software
Fix Released
Medium
appstream-glib (Ubuntu)
Fix Released
Medium
Unassigned
file-roller (Ubuntu)
Fix Released
Low
Robert Ancell

Bug Description

Update and crash.

ProblemType: Crash
DistroRelease: Ubuntu 16.10
Package: gnome-software 3.20.1+git20160426.1.a976144-ubuntu-xenial-0ubuntu2
Uname: Linux 4.6.0-040600-lowlatency x86_64
ApportVersion: 2.20.1-0ubuntu4
Architecture: amd64
CurrentDesktop: GNOME
Date: Fri Jun 3 15:32:25 2016
ExecutablePath: /usr/bin/gnome-software
InstallationDate: Installed on 2015-07-26 (313 days ago)
InstallationMedia: Ubuntu-GNOME 15.10 "Wily Werewolf" - Alpha amd64 (20150723)
ProcCmdline: /usr/bin/gnome-software --gapplication-service
Signal: 11
SourcePackage: gnome-software
StacktraceTop:
 strlen () at ../sysdeps/x86_64/strlen.S:106
 as_utils_search_token_valid () from /usr/lib/x86_64-linux-gnu/libappstream-glib.so.8
 ?? () from /usr/lib/x86_64-linux-gnu/libappstream-glib.so.8
 ?? () from /usr/lib/x86_64-linux-gnu/libappstream-glib.so.8
 ?? () from /usr/lib/x86_64-linux-gnu/libappstream-glib.so.8
Title: gnome-software crashed with SIGSEGV in strlen()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Revision history for this message
Cristian Aravena Romero (caravena) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 strlen () at ../sysdeps/x86_64/strlen.S:106
 as_utils_search_token_valid (token=token@entry=0x0) at as-utils.c:1302
 as_app_add_token_internal (app=0x7fcf049a09f0, value=0x0, match_flag=AS_APP_TOKEN_MATCH_MIMETYPE) at as-app.c:4434
 as_app_add_token (match_flag=AS_APP_TOKEN_MATCH_MIMETYPE, allow_split=0, value=<optimized out>, app=0x7fcf049a09f0) at as-app.c:4468
 as_app_create_token_cache_target (app=app@entry=0x7fcf049a09f0, donor=donor@entry=0x7fcf049a09f0) at as-app.c:4557

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 : ThreadStacktrace.txt
Changed in gnome-software (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
information type: Private → Public
Changed in gnome-software:
importance: Unknown → Medium
status: Unknown → Confirmed
Changed in gnome-software:
status: Confirmed → Fix Released
Revision history for this message
Sebastien Bacher (seb128) wrote :

there are 3 reports on the error tracker about that issue https://errors.ubuntu.com/problem/7dd96145bd6e66e47273f3924cb3f39588cf2679

Changed in gnome-software (Ubuntu):
status: New → Fix Committed
Revision history for this message
martyfelker (martyfelker-gmail) wrote :

Not fixed in Yakkety

Revision history for this message
Iain Lane (laney) wrote :

The version of as-glib with the fix is uploaded now.

It happened because file-roller was uploaded with MimeType=...application/vnd.squashfs;;application/vnd.snap; in its .desktop file. Spot the empty element.

The bug only affected yakkety.

affects: gnome-software (Ubuntu) → appstream-glib (Ubuntu)
Changed in appstream-glib (Ubuntu):
status: Fix Committed → Fix Released
Changed in file-roller (Ubuntu):
assignee: nobody → Robert Ancell (robert-ancell)
importance: Undecided → Low
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package file-roller - 3.20.2-0ubuntu4

---------------
file-roller (3.20.2-0ubuntu4) yakkety; urgency=medium

  * debian/patches/squashfs.patch: Don't add an empty element to the MimeType
    list. (LP: #1588950)

 -- Iain Lane <email address hidden> Thu, 16 Jun 2016 11:53:34 +0100

Changed in file-roller (Ubuntu):
status: New → Fix Released
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.