[Bug 1679774] Re: snapd-glib doesn't read full json response from snapd
This only affects gnome-software 3.24 onwards, so Ubuntu is not affected. ** Changed in: gnome-software (Ubuntu) Status: Triaged => Fix Released ** Summary changed: - snapd-glib doesn't read full json response from snapd + Doesn't read full json response from snapd -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1679774 Title: Doesn't read full json response from snapd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1679774/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1679774] Re: snapd-glib doesn't read full json response from snapd
It started occurring for me too. The cause is that I was storing a pointer to the start of the HTTP body in a read buffer. If the buffer was realloced then it could be moved and the pointer would point to the old buffer. This is why it had a partial read. https://git.gnome.org/browse/gnome- software/commit/?id=e711998a07186b2a4358e41fc9a13205670b2e3b ** Changed in: gnome-software (Ubuntu) Status: Confirmed => Triaged ** Changed in: gnome-software (Ubuntu) Importance: Undecided => Critical -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1679774 Title: snapd-glib doesn't read full json response from snapd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1679774/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1679774] Re: snapd-glib doesn't read full json response from snapd
** Changed in: gnome-software (Ubuntu) Status: New => Confirmed ** Tags added: cross-distro -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1679774 Title: snapd-glib doesn't read full json response from snapd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1679774/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1679774] Re: snapd-glib doesn't read full json response from snapd
As an additional note, this happens with snapd 2.23.6 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1679774 Title: snapd-glib doesn't read full json response from snapd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1679774/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1679774] Re: snapd-glib doesn't read full json response from snapd
See https://paste.ubuntu.com/24318397/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1679774 Title: snapd-glib doesn't read full json response from snapd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1679774/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1679774] Re: snapd-glib doesn't read full json response from snapd
Could you run the following and see what response you get (substitute for the search you did)? $ nc -UC /run/snapd.socket GET /v2/find?q=rocket HTTP/1.1 Host: -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1679774 Title: snapd-glib doesn't read full json response from snapd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1679774/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1679774] Re: snapd-glib doesn't read full json response from snapd
I think this might be due to you getting a chunked HTTP response... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1679774 Title: snapd-glib doesn't read full json response from snapd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1679774/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1679774] Re: snapd-glib doesn't read full json response from snapd
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: gnome-software (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1679774 Title: snapd-glib doesn't read full json response from snapd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1679774/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1679774] Re: snapd-glib doesn't read full json response from snapd
gnome-software is still using its own code for querying snapd. ** Project changed: snapd-glib => gnome-software (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1679774 Title: snapd-glib doesn't read full json response from snapd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1679774/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs