After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 781217 - GNOME Software crashes when dnf is used to add or remove software while g-s is open
GNOME Software crashes when dnf is used to add or remove software while g-s i...
Status: RESOLVED FIXED
Product: gnome-software
Classification: Applications
Component: General
3.24.x
Other Linux
: Normal normal
: ---
Assigned To: GNOME Software maintainer(s)
GNOME Software maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-04-12 12:47 UTC by Stephen Gallagher
Modified: 2017-05-02 07:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Backtrace of SIGABRT crash (6.67 KB, text/plain)
2017-04-12 12:47 UTC, Stephen Gallagher
Details

Description Stephen Gallagher 2017-04-12 12:47:24 UTC
Created attachment 349725 [details]
Backtrace of SIGABRT crash

I'm running gnome-software-3.24.1-1.fc26.x86_64 on Fedora 26 Alpha Workstation

If I have gnome-software open when I perform any install or uninstall using DNF at the command-line, gnome-software crashes with a SIGABRT. See attached backtrace from gdb.
Comment 1 Adam Williamson 2017-04-26 01:15:44 UTC
I think downstream https://bugzilla.redhat.com/show_bug.cgi?id=1444669 is the same as this, and FAF shows this is being hit quite often:

https://retrace.fedoraproject.org/faf/reports/1670769/

openQA is frequently running into this crash when running a test which attempts to run an update with GNOME Software (to verify that that works). That test doesn't *explicitly* do anything with dnf at the same time as GNOME Software is running, but it could well be the case that some dnf background operation (a cache refresh, for e.g.) kicks in while g-s is running.

It'd be good to have this fixed as it is introducing a lot of 'false failures' in openQA test results - the test failing sometimes because of this bug in gnome-software, not because of anything that actually changed in the package or compose that openQA is ostensibly testing.
Comment 3 Adam Williamson 2017-04-26 01:43:37 UTC
Stephen: can you see if https://bodhi.fedoraproject.org/updates/FEDORA-2017-051c6628d3 fixes this for you? Thanks!
Comment 4 Stephen Gallagher 2017-04-26 12:55:33 UTC
That did indeed fix the issue for me and I gave positive karma on the Bodhi update.
Comment 5 Adam Williamson 2017-04-28 00:37:08 UTC
So this is fixed in upstream master, but the commit has not been backported to the upstream gnome-3-24 branch (and this bug is reported against 3.24.x , not master). Richard, perhaps you could do that, so if/when a 3.24.2 happens, this will be fixed in it?
Comment 6 Richard Hughes 2017-05-02 07:35:43 UTC
I've pulled this into 3-22 and 3-24 now, thanks.