Bug#917812: gnome-software: update broke gnome software
Any information which helps the packagekitd developers resolve the bug ( https://github.com/hughsie/PackageKit/issues/314 ) is useful :-) Unfortunately when I run packagekitd under gdb and then start gnome- software it results in a different crash, so the trace I attached wasn't useful. I've also been unsuccessful in using things such as systemd-coredump to try and capture the crash. On Tue, 2019-02-19 at 21:36 +0800, Nathaniel Roach wrote: > Hi Andrew, > > I'm able to reproduce the issue fairly easily, my steps above don't > seem > to work too well. I'm more than happy to attach strace or do any > other > steps you'd like me to try while reproducing the issue, just let me > know. > > Cheers. > > On 19/2/19 5:30 am, Andrew Hayzen wrote: > > FYI, I've been discussing this issue with upstream gnome-software > > https://gitlab.gnome.org/GNOME/gnome-software/issues/589 and > > packagekit https://github.com/hughsie/PackageKit/issues/314 . > > > > I've not been able to capture a trace of packagekit crashing yet, > > so > > any additional info would be appreciated. > >
Bug#917812: gnome-software: update broke gnome software
Hi Andrew, I'm able to reproduce the issue fairly easily, my steps above don't seem to work too well. I'm more than happy to attach strace or do any other steps you'd like me to try while reproducing the issue, just let me know. Cheers. On 19/2/19 5:30 am, Andrew Hayzen wrote: > FYI, I've been discussing this issue with upstream gnome-software > https://gitlab.gnome.org/GNOME/gnome-software/issues/589 and > packagekit https://github.com/hughsie/PackageKit/issues/314 . > > I've not been able to capture a trace of packagekit crashing yet, so > any additional info would be appreciated. > pEpkey.asc Description: application/pgp-keys
Bug#917812: gnome-software: update broke gnome software
FYI, I've been discussing this issue with upstream gnome-software https://gitlab.gnome.org/GNOME/gnome-software/issues/589 and packagekit https://github.com/hughsie/PackageKit/issues/314 . I've not been able to capture a trace of packagekit crashing yet, so any additional info would be appreciated.
Bug#917812: gnome-software: update broke gnome software
I too am affected by this bug. Gnome-software routinely stalls at "Software catalog is being loaded". Only a full system restart seems to restore functionality, and only temporarily. signature.asc Description: This is a digitally signed message part
Bug#917812: gnome-software: update broke gnome software
Package: gnome-software Version: 3.30.6-4 Followup-For: Bug #917812 Dear Maintainer, I found this fix by accident. I disconnect my laptop from the internet completely and restart. On restart gnome-software works again somehow. Also removed the flatpak and snap plugins but that definitely wasn't the cause as the bug exists without them too. -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8), LANGUAGE=en_IN:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages gnome-software depends on: ii appstream0.12.5-1 ii apt-config-icons 0.12.5-1 ii dconf-gsettings-backend [gsettings-backend] 0.30.1-2 ii gnome-software-common3.30.6-4 ii gsettings-desktop-schemas3.28.1-1 ii libappstream-glib8 0.7.14-1 ii libatk1.0-0 2.30.0-2 ii libc62.28-5 ii libcairo21.16.0-2 ii libfwupd21.1.4-1 ii libgdk-pixbuf2.0-0 2.38.0+dfsg-7 ii libglib2.0-0 2.58.2-3 ii libgnome-desktop-3-173.30.2-4 ii libgspell-1-11.6.1-2 ii libgtk-3-0 3.24.4-1 ii libgtk3-perl 0.034-2 ii libgudev-1.0-0 232-2 ii libjson-glib-1.0-0 1.4.4-2 ii libpackagekit-glib2-18 1.1.12-1 ii libpolkit-gobject-1-00.105-25 ii libsecret-1-00.18.7-1 ii libsoup2.4-1 2.64.2-2 ii packagekit 1.1.12-1 ii software-properties-gtk 0.96.20.2-1 Versions of packages gnome-software recommends: ii fwupd 1.1.4-1 Versions of packages gnome-software suggests: pn apt-config-icons-hidpi pn gnome-software-plugin-flatpak pn gnome-software-plugin-snap -- no debconf information
Bug#917812: Your mail
Nathaniel Roach's response also resolved the issue for me. On Sun, 27 Jan 2019 13:32:33 +0800 Nathaniel Roach wrote: > I had the same issue (packagekit worked fine until gnome-software > re-opened, where PK will crash), and on a hunch I followed > http://allnightburger.com/solved-gnome-software-center-frozen-in-fedora/ > but for Debian: > > sudo apt-get autoremove --purge packagekit gnome-software > > I noticed that the removal failed un-cleanly: > > rmdir: failed to remove '/var/cache/app-info/': Directory not empty > > So I removed the folder > > nroach44@woody:~$ tree /var/cache/app-info/ > /var/cache/app-info/ > └── xmls > > 1 directory, 0 files > nroach44@woody:~$ sudo rm -rf /var/cache/app-info/ > > And reinstalled task-gnome-desktop (to cover the pre-reqs removed by > autoremove above) > > sudo apt-get install task-gnome-desktop > > And then restarted gnome-software (left it running, whoops) and it > started working fine. I figured it wasn't just a bug as my desktop > (fully updated like this machine) didn't have the issue. > > Hopefully this helps narrow down the issue. >
Bug#917812: (no subject)
I had the same issue (packagekit worked fine until gnome-software re-opened, where PK will crash), and on a hunch I followed http://allnightburger.com/solved-gnome-software-center-frozen-in-fedora/ but for Debian: sudo apt-get autoremove --purge packagekit gnome-software I noticed that the removal failed un-cleanly: rmdir: failed to remove '/var/cache/app-info/': Directory not empty So I removed the folder nroach44@woody:~$ tree /var/cache/app-info/ /var/cache/app-info/ └── xmls 1 directory, 0 files nroach44@woody:~$ sudo rm -rf /var/cache/app-info/ And reinstalled task-gnome-desktop (to cover the pre-reqs removed by autoremove above) sudo apt-get install task-gnome-desktop And then restarted gnome-software (left it running, whoops) and it started working fine. I figured it wasn't just a bug as my desktop (fully updated like this machine) didn't have the issue. Hopefully this helps narrow down the issue. pEpkey.asc Description: application/pgp-keys
Bug#917812:
Sorry about the cut-off lines in the log. Here it is again. Jan 17 02:27:03 Melchior-2 dbus-daemon[870]: [session uid=1000 pid=870] Activating service name='org.gnome.Software' requested by ':1.10' (uid=1000 pid=907 comm="/usr/bin/gnome-shell ") Jan 17 02:27:03 Melchior-2 dbus-daemon[870]: [session uid=1000 pid=870] Successfully activated service 'org.gnome.Software' Jan 17 02:27:06 Melchior-2 gnome-software[1660]: plugin appstream took 3,0 seconds to do setup Jan 17 02:27:06 Melchior-2 gnome-software[1660]: enabled plugins: desktop-categories, fwupd, os-release, packagekit, packagekit-local, packagekit-offline, packagekit-proxy, packagekit-refine-repos, packagekit-refresh, packagekit-upgrade, packagekit-url-to-app, shell-extensions, appstream, desktop-menu-path, flatpak, hardcoded-blacklist, hardcoded-featured, hardcoded-popular, modalias, packagekit-refine, rewrite-resource, steam, odrs, packagekit-history, provenance, systemd-updates, generic-updates, provenance-license, icons, key-colors, key-colors-metadata Jan 17 02:27:06 Melchior-2 gnome-software[1660]: disabled plugins: dpkg, dummy, repos, epiphany Jan 17 02:27:06 Melchior-2 dbus-daemon[494]: [system] Activating via systemd: service name='org.freedesktop.PackageKit' unit='packagekit.service' requested by ':1.94' (uid=1000 pid=1660 comm="/usr/bin/gnome-software --gapplication-service ") Jan 17 02:27:06 Melchior-2 systemd[1]: Starting PackageKit Daemon... Jan 17 02:27:06 Melchior-2 PackageKit[1666]: daemon start Jan 17 02:27:06 Melchior-2 dbus-daemon[494]: [system] Successfully activated service 'org.freedesktop.PackageKit' Jan 17 02:27:06 Melchior-2 systemd[1]: Started PackageKit Daemon. Jan 17 02:27:06 Melchior-2 PackageKit[1666]: uid 1000 is trying to obtain org.freedesktop.packagekit.system-sources-refresh auth (only_trusted:0) Jan 17 02:27:06 Melchior-2 PackageKit[1666]: uid 1000 obtained auth for org.freedesktop.packagekit.system-sources-refresh Jan 17 02:27:10 Melchior-2 packagekitd[1666]: terminate called after throwing an instance of 'std::length_error' Jan 17 02:27:10 Melchior-2 packagekitd[1666]: what(): basic_string::_M_replace Jan 17 02:27:10 Melchior-2 systemd[1]: packagekit.service: Main process exited, code=killed, status=6/ABRT Jan 17 02:27:10 Melchior-2 systemd[1]: packagekit.service: Failed with result 'signal'.
Bug#917812:
I'm also affected by this bug. The following lines from journalctl appear to be relevant - PackageKit crashes like this every time gnome-software is started. Jan 17 02:27:03 Melchior-2 dbus-daemon[870]: [session uid=1000 pid=870] Activating service name='org.gnome.Software' requested by ':1.10' (uid=1000 pi Jan 17 02:27:03 Melchior-2 dbus-daemon[870]: [session uid=1000 pid=870] Successfully activated service 'org.gnome.Software' Jan 17 02:27:06 Melchior-2 gnome-software[1660]: plugin appstream took 3,0 seconds to do setup Jan 17 02:27:06 Melchior-2 gnome-software[1660]: enabled plugins: desktop-categories, fwupd, os-release, packagekit, packagekit-local, packagekit-offl Jan 17 02:27:06 Melchior-2 gnome-software[1660]: disabled plugins: dpkg, dummy, repos, epiphany Jan 17 02:27:06 Melchior-2 dbus-daemon[494]: [system] Activating via systemd: service name='org.freedesktop.PackageKit' unit='packagekit.service' requ Jan 17 02:27:06 Melchior-2 systemd[1]: Starting PackageKit Daemon... Jan 17 02:27:06 Melchior-2 PackageKit[1666]: daemon start Jan 17 02:27:06 Melchior-2 dbus-daemon[494]: [system] Successfully activated service 'org.freedesktop.PackageKit' Jan 17 02:27:06 Melchior-2 systemd[1]: Started PackageKit Daemon. Jan 17 02:27:06 Melchior-2 PackageKit[1666]: uid 1000 is trying to obtain org.freedesktop.packagekit.system-sources-refresh auth (only_trusted:0) Jan 17 02:27:06 Melchior-2 PackageKit[1666]: uid 1000 obtained auth for org.freedesktop.packagekit.system-sources-refresh Jan 17 02:27:10 Melchior-2 packagekitd[1666]: terminate called after throwing an instance of 'std::length_error' Jan 17 02:27:10 Melchior-2 packagekitd[1666]: what(): basic_string::_M_replace Jan 17 02:27:10 Melchior-2 systemd[1]: packagekit.service: Main process exited, code=killed, status=6/ABRT Jan 17 02:27:10 Melchior-2 systemd[1]: packagekit.service: Failed with result 'signal'.
Bug#917812: gnome-software: update broke gnome software
Package: gnome-software Version: 3.30.6-1 Severity: important Tags: newcomer Dear Maintainer, A recent update to gnome-software completely bricked it. I can start the application but it is permanently stuck at the "software catalog is being loaded" phase. No other errors show up when run from the terminal -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8), LANGUAGE=en_IN:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages gnome-software depends on: ii appstream0.12.4-2 ii apt-config-icons 0.12.4-2 ii dconf-gsettings-backend [gsettings-backend] 0.30.1-2 ii gnome-software-common3.30.6-1 ii gsettings-desktop-schemas3.28.1-1 ii libappstream-glib8 0.7.14-1 ii libatk1.0-0 2.30.0-2 ii libc62.28-2 ii libcairo21.16.0-2 ii libfwupd21.1.4-1 ii libgdk-pixbuf2.0-0 2.38.0+dfsg-7 ii libglib2.0-0 2.58.1-2 ii libgnome-desktop-3-173.30.2-4 ii libgspell-1-11.6.1-2 ii libgtk-3-0 3.24.2-3 ii libgtk3-perl 0.034-2 ii libgudev-1.0-0 232-2 ii libjson-glib-1.0-0 1.4.4-2 ii libpackagekit-glib2-18 1.1.12-1 ii libpolkit-gobject-1-00.105-23 ii libsecret-1-00.18.6-3 ii libsoup2.4-1 2.64.1-3 ii packagekit 1.1.12-1 ii software-properties-gtk 0.96.20.2-1 gnome-software recommends no packages. Versions of packages gnome-software suggests: pn apt-config-icons-hidpi ii fwupd 1.1.4-1 ii gnome-software-plugin-flatpak 3.30.6-1 ii gnome-software-plugin-snap 3.30.6-1 -- no debconf information