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 Desktop Bugs, which is subscribed to gnome-software in 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 -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs