The crash seems to be due to the package list being reloaded outside of
GNOME Software. An inconsistency inside AppStream has a package with a
NULL value for format, and the crash occurs accessing that.
** Changed in: appstream-glib (Ubuntu)
Assignee: (unassigned) => Robert Ancell (robert-ancell)
** Description changed:
- I used the software & updates tool to select the fastest server for me
- to download from, opened Gnoem Terminal, started Aptitude with -uvV and
- on the background while updating I got the gnome-software crashed error.
+ [Impact]
+ errors.ubuntu.com [1] is showing a high crash rate in GNOME Software. This
appears to be due to apt updates occuring outside of GNOME Software and
triggering access of a NULL pointer inside appstream-glib. Upstream fixed this
crash by correctly handling the NULL pointer in appstream-glib 0.7.0. I have
not been able to locally reproduce the issue.
- ProblemType: Crash
- DistroRelease: Ubuntu 17.04
- Package: gnome-software 3.22.7-0ubuntu1
- ProcVersionSignature: Ubuntu 4.10.0-14.16-generic 4.10.3
- Uname: Linux 4.10.0-14-generic x86_64
- ApportVersion: 2.20.4-0ubuntu2
- Architecture: amd64
- CurrentDesktop: GNOME
- Date: Fri Mar 24 06:23:58 2017
- ExecutablePath: /usr/bin/gnome-software
- InstallationDate: Installed on 2016-04-28 (329 days ago)
- InstallationMedia: Ubuntu-GNOME 16.10 "Yakkety Yak" - Alpha amd64 (20160427)
- ProcCmdline: /usr/bin/gnome-software --gapplication-service
- SegvAnalysis:
- Segfault happened at: 0x7fd5ff49d327 <as_format_get_kind+7>: mov
(%rdi,%rax,1),%eax
- PC (0x7fd5ff49d327) ok
- source "(%rdi,%rax,1)" (0xfffffffffffffff0) not located in a known VMA
region (needed readable region)!
- destination "%eax" ok
- SegvReason: reading unknown VMA
- Signal: 11
- SourcePackage: gnome-software
- StacktraceTop:
- as_format_get_kind () at /usr/lib/x86_64-linux-gnu/libappstream-glib.so.8
- as_store_add_app () at /usr/lib/x86_64-linux-gnu/libappstream-glib.so.8
- () at /usr/lib/x86_64-linux-gnu/libappstream-glib.so.8
- () at /usr/lib/x86_64-linux-gnu/libappstream-glib.so.8
- () at /usr/lib/x86_64-linux-gnu/libappstream-glib.so.8
- Title: gnome-software crashed with SIGSEGV in as_format_get_kind()
- UpgradeStatus: No upgrade log present (probably fresh install)
- UserGroups: adm audio boinc cdrom dip kvm libvirt libvirt-qemu libvirtd
lpadmin lxd plugdev sambashare sudo vboxusers
+ [Test Case]
+ 1. Run GNOME Software
+
+ Expected result:
+ This crash doesn't show in errors.ubuntu.com.
+
+ Observed result:
+ This crash shows in errors.ubuntu.com.
+
+ [Regression Potential]
+ Low, the fix is a simple check for a NULL value. It is already running this
way in 17.10 (no significant errors showing there).
+
+ [1]
+ https://errors.ubuntu.com/problem/dd8fcedf828660b976a106b7c2142ba50ab85fd1
** Also affects: appstream-glib (Ubuntu Zesty)
Importance: Undecided
Status: New
** Also affects: appstream-glib (Ubuntu Artful)
Importance: High
Assignee: Robert Ancell (robert-ancell)
Status: Triaged
** Changed in: appstream-glib (Ubuntu Zesty)
Assignee: (unassigned) => Robert Ancell (robert-ancell)
** Changed in: appstream-glib (Ubuntu Artful)
Assignee: Robert Ancell (robert-ancell) => (unassigned)
** Changed in: appstream-glib (Ubuntu Artful)
Status: Triaged => Fix Released
** Changed in: appstream-glib (Ubuntu Zesty)
Importance: Undecided => High
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1675633
Title:
gnome-software crashed with SIGSEGV in as_format_get_kind()
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/appstream-glib/+bug/1675633/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs