[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
@dsfkljo322332: This bug affects upgrades via apt as well as dpkg. Gdebi uses one of those on the back end, not sure which. See comment #34 and #30 for more details. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Released Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
sudo apt remove appstream works for me, but plasma-discover depends on it so it is also removed. Lucky for me I didn't really use that any way. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Released Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
My bad. I forgot to install libappstream3_0.9.4-1ubuntu1_amd64.deb installing libappstream3_0.9.4-1ubuntu1_amd64.deb wtih dpkg first did fix the problem. I think I was using gdebi. Does this bug break gdebi somehow? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Released Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
Also hit by this. And unable to manually install the deb, even after rm /usr/bin/appstreamcli Preparing to unpack appstream_0.9.4-1ubuntu1_amd64.deb ... Unpacking appstream (0.9.4-1ubuntu1) over (0.9.4-1ubuntu1) ... Setting up appstream (0.9.4-1ubuntu1) ... CPU stuck at 100% -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Released Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
@dsfkljo322332: Are you using dpkg to install the upgrades? Try upgrading the libappstream3 package first, then the appstream package. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Released Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
This runs up my CPU on Kubuntu... appstreamcli was using 13% cpu. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Released Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
@Brett: When the AppStream cache update is triggered, the APT cache is updated, so updates will still be installed. Ideally, the fixed package is shipped via x-updates soon, so no more people get trapped. SRU verification is done at least, and we now have more than enough people confirming the bugfix :) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Released Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
Today i woke up to my server's cpu fan going at full speed. Puzzled by this i check my virtualbox machines and notice my ubuntu 16.04 installation has appstream stuck at 100% on one core. This has not happened before. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Released Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
I think a high priority is the better fit now, since this - for some reason - started to hit more users than expected now, and the manifestations of this bug are very annoying. It doesn't cause data loss or is a critical security issue though. ** Changed in: appstream (Ubuntu Xenial) Importance: Medium => High -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Released Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
Matthias post #24 worked for me also thank you! -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Released Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
Folks, Updates had been working fine for me until today (5/19/2016). I updated my machines last night(all 11 of them) and now all are experiencing the aforementioned problem with 100% CPU usage from appstreamcli. It appears that in my case at least that something applied last night must be triggering the problem as I have had no problems with apt update until today. I was able to "Ctrl C" out of the update command and install some updates but have to "assume" that I had gotten them all since the update command never completed. I will try and get the above fix applied to at least some of my machines tomorrow. How will users be able to apply the fix if they can't get past the apt update command hanging (other than manual intervention that is)? Thanks -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Released Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
In comment #30 I took the procedure from comment #24 and added two commands to rename appstream's apt config file, but those commands aren't necessary because they have no effect when appstream is installed via the `dpkg` command. The appstream package's postinst file explicitly calls `appstreamcli refresh-index --force`, so reported in comment #17, the hanging problem is probably still present even when `dpkg` is used to upgrade the appstream packages instead of apt. In that case, upgrading the libappstream3 package *before* the appstream package may avoid the hanging. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Released Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
+1 on Matthias' instructions on installing the patches (https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/comments/24)... this fixed the issue for me. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Released Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
I ran the fix Matthias mentioned in post #24 and it fixed my issue. Thanks -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Released Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
@ximion: I missed that. After upgrading libappstream3 from -proposed, everything works fine. Thanks. The reason I warned against removing the binary is because it's a bad practice in general, even though in this particular problem scenario the removed binary gets restored when its package is upgraded. Package- managed files should only be removed as a last resort when there isn't a better/safer workaround that won't potentially leave any part of the system in a broken or inconsistent state at any point in time. In this case, a safe workaround does exist, which is to disable appstream's apt config in the canonically-prescribed manner: appending ".disabled" to the config's filename. So the complete procedure to fix this safely would be: $ sudo mv /etc/apt/apt.conf.d/50appstream /etc/apt/apt.conf.d/50appstream.disabled $ cd /tmp && mkdir asfix $ cd asfix $ wget https://launchpad.net/ubuntu/+archive/primary/+files/appstream_0.9.4-1ubuntu1_amd64.deb $ wget https://launchpad.net/ubuntu/+archive/primary/+files/libappstream3_0.9.4-1ubuntu1_amd64.deb $ sudo dpkg -i *.deb $ sudo mv /etc/apt/apt.conf.d/50appstream.disabled /etc/apt/apt.conf.d/50appstream -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Released Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
Thanks. "Medium" importance for this bug? This seems like the most critical bug I've ever encountered, considering that if I had left my laptop alone to "finish updating" it might have melted and caused a forest fire before I got back :) Yeah, I think this one deserves a critical status; the fix needs to be in the main repo ASAP. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Released Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
@Lonnie: this is the same bug. Install the package via dpkg as described in post #24, that should solve the 100% CPU issue too - the issue manifests itself in some very interesting ways sometimes. ** Changed in: appstream (Ubuntu) Assignee: (unassigned) => Matthias Klumpp (ximion) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Released Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
Updated appstream & libappstream3 to version 0.9.4-1ubuntu1, and libappstream-glib8 to 0.5.13-1ubuntu1 just in case... Fixed for me. Thanks you! -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Released Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
I tried to update after a fresh install and could not get past the appstreamcli infinite 100% processor utilization: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1583845 My laptop got almost smoking hot before I finally killed the appstreamcli process! -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Released Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
Mathias. Downloading and installing deb fixed it for me. Thanks!. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Released Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
Weird, I wonder what happened that many people are experiencing this now... Removing `/usr/bin/appstreamcli` is fine if you install the fixed package afterwards. To install this manually, please do (for amd64, adjust URLs for other architectures): ``` cd /tmp && mkdir asfix cd asfix wget https://launchpad.net/ubuntu/+archive/primary/+files/appstream_0.9.4-1ubuntu1_amd64.deb wget https://launchpad.net/ubuntu/+archive/primary/+files/libappstream3_0.9.4-1ubuntu1_amd64.deb sudo dpkg -i *.deb ``` This should solve the issue. Please report back if this is fixed, or if you are still experiencing issues! -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Released Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
@John Wang: Did you also update libappstream3? Because that's where the bug actually is ;-) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Released Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
Okay, I've successfully upgraded to appstream 0.9.4-1ubuntu1 from the -proposed repo, but subsequent `sudo apt-get update` invocations still hang on appstreamcli. I have no idea what to do now. @ludentico: Yes, sorry, I was in a hurry and didn't include full paths. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Released Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
@johnwang I guess you meant $ sudo mv /etc/apt/apt.conf.d/50appstream /etc/apt/apt.conf.d/50appstream.disabled -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Released Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
Disabled all my repositories by commenting out everything in /etc/apt/sources.list and moving everything out of /etc/apt/sources.list.d; it did the trick: could update appstream from proposed repository. Thanks! -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Released Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
That last command should have been: $ sudo mv 50appstream.disabled 50appstream -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Released Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
@ludentico: Never `rm` files without also removing the package they belong to. I discovered a workaround: $ sudo mv 50appstream 50appstream.disabled $ sudo apt-get update $ ... [do what you need here] ... $ sudo 50appstream.disabled 50appstream -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Released Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
Removing appstreamcli seems to do the trick. I'm not aware of side effects sudo rm /usr/bin/appstreamcli Source: http://trastetes.blogspot.com/2016/02/solucion-al-error-e-then- appstreamcli.html -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Released Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
Neither can I install any update, even after disabling third-party repositories. appstreamcli hangs refreshing with 100% cpu use apt update hangs after 'Fetched XXX kb in Xs (XXX kb/s)' -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Released Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
Peter, the package can be found at: https://launchpad.net/ubuntu/+source/appstream/0.9.4-1ubuntu1 (as previously posted) but I'm kinda at a loss here: dpkg -i launches appstreamcli when setting up the package which results in me not being able to install it so far. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Released Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
@pgbennett I'm not sure how to discover which particular repo is causing appstreamcli to hang, so you could try disabling *all* your third party repos then update. Or disable them one-by-one, but that could be tedious. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Released Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
I have appstream 0.9.4-1 installed and every time it is run (automatically, not by me) it spikes cpu to 100%. I cannot even purge and reinstall it, because it is run during the setup phase (to force a new index) which pegs the cpu. Is 0.9.4-1 supposed to be ~= 0.9.6 of upstream? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Released Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
Like Peter in #11, I cannot enable proposed because appstreamcli is hanging on every single run. Any invocation of appstreamcli or apt update gets stuck. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Released Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
Can somebody post a URL where I can download the proposed package directly as I cannot install it using apt-get, which hangs because of this bug. I am using amd64 xenial. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Released Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
I find it is not possible to use "software and updates" to enable proposed or to install the fix because every repository related action results in a hang with appstreamcli using 100% CPU. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Released Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Released Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
Sorry to be slow in responding. I thought I was subscribed but wasn't. The version from -proposed (0.9.4-1ubuntu1) resolves this issue for me. Thanks! Great to have this. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Released Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
This issue is resolved in Yakkety, nedds fixing in Xenial still. The patch in -proposed resolves this issue for me. ** Changed in: appstream (Ubuntu) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Released Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
** Changed in: appstream (Ubuntu Xenial) Importance: Undecided => Medium ** Changed in: appstream (Ubuntu Xenial) Milestone: None => xenial-updates ** Changed in: appstream (Ubuntu) Milestone: xenial-updates => None -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Committed Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
@Laney: Debian has the fix too now, included in the 0.9.6 release which should show up in Yakkety soonish. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Committed Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
Hello Matthias, or anyone else affected, Accepted appstream into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/appstream/0.9.4-1ubuntu1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: appstream (Ubuntu Xenial) Status: New => Fix Committed ** Tags added: verification-needed -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Committed Status in appstream source package in Xenial: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
I would really like to see this go through as an SRU to Xenial. I am hitting a problem with my third-party repo 100% of the time. When I have the repo enabled, apt-get update hangs indefinitely when it runs appstreamcli at the end, and I assume all of the users of my repo are experiencing the same problem. With a package built using the debdiff given here, apt-get and appstreamcli run just fine. If the size of the changes here are a problem, the one-liner mentioned above would be sufficient for me. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Committed Status in appstream source package in Xenial: New Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
This will be in the upcoming 0.9.6 release, which I will release this week. So Debian (and Yakkety) will have it very soon. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Committed Status in appstream source package in Xenial: New Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
I uploaded it - could you please upload to Debian too so that yakkety gets this fix? ** Also affects: appstream (Ubuntu Xenial) Importance: Undecided Status: New -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Committed Status in appstream source package in Xenial: New Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
The attachment "Fix for LP#1574896 and LP#1579712" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.] ** Tags added: patch -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
Patch for this issue, together with the fix for LP: #1574896 ** Patch added: "Fix for LP#1574896 and LP#1579712" https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+attachment/4659196/+files/appstream-SRU_LP1574896_LP1579712.debdiff -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
** Description changed: - The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). It regardless of that is very annoying if it happens, and also unpredictable, so it should be fixed. - See the linked upstream bug report for details. + [Impact] + + * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). + * Fixing this bug resolves the issue for people who might experience it. + * See https://github.com/ximion/appstream/issues/35 for details. + + [Test Case 1] + + * Run `sudo appstreamcli refresh --force` + * The AppStream cache should be updated, no change in behavior should be seen. + + [Test Case 2] + + * In case you were experiencing the almost-infinite hang when running + `sudo appstreamcli refresh --force`, this issue should be fixed with the + SRU. + + [Regression Potential] + + * Very low, since this only fixes the decompression code. There should + be no sideeffects of that (given that the patch itself doesn't break + anything, which it shouldn't, since it has been tested upstream for a + while) + + [Other Info] + + * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 + * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Committed Bug description: [Impact] * The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). * Fixing this bug resolves the issue for people who might experience it. * See https://github.com/ximion/appstream/issues/35 for details. [Test Case 1] * Run `sudo appstreamcli refresh --force` * The AppStream cache should be updated, no change in behavior should be seen. [Test Case 2] * In case you were experiencing the almost-infinite hang when running `sudo appstreamcli refresh --force`, this issue should be fixed with the SRU. [Regression Potential] * Very low, since this only fixes the decompression code. There should be no sideeffects of that (given that the patch itself doesn't break anything, which it shouldn't, since it has been tested upstream for a while) [Other Info] * This fix has been applied upstream: https://github.com/ximion/appstream/commit/f33c520c37e2ba51d92402220250b8d501a2bf43 * A smaller version of the patch (one-liner) is available, at the expense of not having reduced memory usage: https://github.com/ximion/appstream/commit/378941787d3584b3eb31a6ebe40e0aacc10e180a To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1579712] Re: Refresh hangs due to strdup on non-NULL terminated string
Hmm, since LP doesn't allow me to add the upstream bug URL directly: https://github.com/ximion/appstream/issues/35 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to appstream in Ubuntu. https://bugs.launchpad.net/bugs/1579712 Title: Refresh hangs due to strdup on non-NULL terminated string Status in appstream package in Ubuntu: Fix Committed Bug description: The cache refresh is blocked on a strdup on a non-NULL-terminated string in some very rare occasions (very rare because this bug is present for almost 3y without a single report). It regardless of that is very annoying if it happens, and also unpredictable, so it should be fixed. See the linked upstream bug report for details. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/appstream/+bug/1579712/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp