I'm pretty sure this is due to the installed / featured / editor's picks
being loaded at the same time and all loading the channel information.
The channel code was copied off the screenshot code and has no thread
protection.

The solution is to only load the screenshot and channel information when
explicitly requested by GNOME software - this is done when you select
and individual app. There is possibly other bugs like this and this
could also be triggered if other code paths in GNOME Software attempt to
load screenshots and channels from different threads.

** Changed in: gnome-software (Ubuntu)
       Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1755198

Title:
  gnome-software crashed with SIGSEGV in g_ptr_array_add()

Status in gnome-software package in Ubuntu:
  Fix Committed

Bug description:
  ...

  ProblemType: Crash
  DistroRelease: Ubuntu 18.04
  Package: gnome-software 3.27.92-0ubuntu2
  ProcVersionSignature: Ubuntu 4.15.0-10.11-generic 4.15.3
  Uname: Linux 4.15.0-10-generic x86_64
  NonfreeKernelModules: wl nvidia_modeset nvidia
  ApportVersion: 2.20.8-0ubuntu10
  Architecture: amd64
  CrashCounter: 1
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Mar 11 23:22:06 2018
  ExecutablePath: /usr/bin/gnome-software
  InstallationDate: Installed on 2018-03-03 (8 days ago)
  InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20171018)
  InstalledPlugins:
   gnome-software-plugin-flatpak N/A
   gnome-software-plugin-limba   N/A
   gnome-software-plugin-snap    3.27.92-0ubuntu2
  ProcCmdline: /usr/bin/gnome-software --gapplication-service
  ProcEnviron:
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=sv_SE.UTF-8
   SHELL=/bin/bash
  SegvAnalysis:
   Segfault happened at: 0x7f497b574e07 <g_ptr_array_add+39>:   mov    
%rbp,(%rdx,%rax,8)
   PC (0x7f497b574e07) ok
   source "%rbp" ok
   destination "(%rdx,%rax,8)" (0x00000000) not located in a known VMA region 
(needed writable region)!
   Stack memory exhausted (SP below stack segment)
  SegvReason: writing NULL VMA
  Signal: 11
  SourcePackage: gnome-software
  StacktraceTop:
   g_ptr_array_add () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
   ?? () from /usr/lib/x86_64-linux-gnu/gs-plugins-11/libgs_plugin_snap.so
   gs_plugin_refine_app () from 
/usr/lib/x86_64-linux-gnu/gs-plugins-11/libgs_plugin_snap.so
   ?? ()
   ?? ()
  Title: gnome-software crashed with SIGSEGV in g_ptr_array_add()
  UpgradeStatus: Upgraded to bionic on 2018-03-03 (8 days ago)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1755198/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to