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 781905 - gnome-software application runs only with elevated priviliges
gnome-software application runs only with elevated priviliges
Status: RESOLVED OBSOLETE
Product: gnome-software
Classification: Applications
Component: General
unspecified
Other Linux
: Normal major
: ---
Assigned To: GNOME Software maintainer(s)
GNOME Software maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-04-28 15:37 UTC by cl-netbox
Modified: 2018-01-24 17:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
terminal output (948.83 KB, text/plain)
2017-05-02 09:03 UTC, cl-netbox
Details
journal information (3.99 KB, text/plain)
2017-08-03 14:56 UTC, cl-netbox
Details

Description cl-netbox 2017-04-28 15:37:57 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.
Comment 1 Richard Hughes 2017-05-02 07:31:37 UTC
If you launch it with --verbose, what is the entire output please? Thanks.
Comment 2 cl-netbox 2017-05-02 09:03:25 UTC
Created attachment 350850 [details]
terminal output

Hi Richard, here is the output from gnome-software --verbose -> gnome-software.txt.
Comment 3 cl-netbox 2017-08-02 12:47:42 UTC
I want to add that it is the same behavior in fedora 26 workstation and RHEL 7.4.
Comment 4 Richard Hughes 2017-08-03 10:57:35 UTC
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.
Comment 5 cl-netbox 2017-08-03 14:56:14 UTC
Created attachment 356855 [details]
journal information

Hi Richard, here is the "crash" output from the journal -> journal information.txt
Comment 6 Richard Hughes 2017-08-04 17:06:32 UTC
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!
Comment 7 cl-netbox 2017-08-05 15:50:49 UTC
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 !
Comment 8 Richard Hughes 2017-08-05 16:08:34 UTC
Right, but what is logged in the journal please.
Comment 9 cl-netbox 2017-08-05 16:16:34 UTC
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.
Comment 10 GNOME Infrastructure Team 2018-01-24 17:33:51 UTC
-- 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.