GNOME Bugzilla – Bug 781905
gnome-software application runs only with elevated priviliges
Last modified: 2018-01-24 17:33:51 UTC
When I try to launch GNOME Software, the application crashes after a few seconds. It happens when clicking the icon or when executing gnome-software in a terminal. Launching the application 'as root' (sudo gnome-software) is working as expected. I tested it on different hardware and VMs running fedora 25 (GNOME 3.22), fedora 26 (GNOME 3.24), ubuntu GNOME 17.04 (mostly GNOME 3.24) - on all systems this behavior is the same, launching and using GNOME Software as normal user just isn't possible.
If you launch it with --verbose, what is the entire output please? Thanks.
Created attachment 350850 [details] terminal output Hi Richard, here is the output from gnome-software --verbose -> gnome-software.txt.
I want to add that it is the same behavior in fedora 26 workstation and RHEL 7.4.
Can you get a backtrace of that please? It might be already in your journal, and you might have to install some -debuginfo packages to get the symbol names. Thanks, I appreciate the help.
Created attachment 356855 [details] journal information Hi Richard, here is the "crash" output from the journal -> journal information.txt
I've just pushed this to master: commit 0ac296260bd4018f67eae0c7f25e34ce66cdbd0a (HEAD -> master) Author: Richard Hughes <richard@hughsie.com> Date: Fri Aug 4 18:05:24 2017 +0100 Do not crash if the child schema is invalid Will help to debug: https://bugzilla.gnome.org/show_bug.cgi?id=781905#c5 Can you install master and tell me what the warning now is in the journal? It'll be something like "ignoring folder child XXXXX as invalid" -- thanks!
Hi Richard, the version gnome-software-3.25.5-0.322.20170805git.fc26.x86_64.rpm from your repository solved the problem in fedora 26. GNOME Software starts by clicking on the icon and by launching it from a terminal. Thank you very much !
Right, but what is logged in the journal please.
Hi Richard, the first time I launched it, this was the entry in the journal -> Process 2076 (gnome-software) crashed in gs_details_page_license_free_cb() Process 2076 (gnome-software) of user 1000 dumped core. Stack trace of thread 2076: #0 0x0000560bfbced8c0 gs_details_page_license_free_cb (/usr/bin/gnome-software (deleted)) #1 0x0000560bff2cbc80 n/a (n/a) Afterwards I launched it several times again and there were no entries anymore.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-software/issues/168.