This bug was fixed in the package packagekit - 1.3.0-1ubuntu1

---------------
packagekit (1.3.0-1ubuntu1) oracular; urgency=medium

  * Backport patch to fix pkcon crashing in transactions with user prompt
    (LP: #2086771)
  * Backport patch to fix showing the GTK debconf helper on Wayland
    (LP: #2086773)

 -- Alessandro Astone <alessandro.ast...@canonical.com>  Mon, 11 Nov
2024 16:17:57 +0100

** Changed in: packagekit (Ubuntu Oracular)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to packagekit in Ubuntu.
https://bugs.launchpad.net/bugs/2086771

Title:
  pkcon crashes in transaction with user prompt

Status in packagekit package in Ubuntu:
  Fix Released
Status in packagekit source package in Oracular:
  Fix Released

Bug description:
  [ Impact ]

  `pkcon install <pkg>` crashes after install, and likewise
  `pkcon remove <pkg>` crashes after removal.

  More in general, all pkcon transactions that prompt the user with a
  question like "Proceed with changes? [N/y]" will crash after
  completing the transaction.

  This is fixed by correcting a reference counting issue which was
  causing a double-free.

  [ Test Case 1 ]
  1. Run `pkcon install 2048`
  2. Answer `n` to "Proceed with changes? [N/y]"
  3. Verify that pkcon does not print
       GLib-GObject-CRITICAL **: 12:02:00.011: g_object_unref: assertion 
'G_IS_OBJECT (object)' failed

  [ Test Case 2 ]
  1. Run `pkcon install 2048`
  2. Answer `y` to "Proceed with changes? [N/y]"
  3. Complete the install
  4. Verify that pkcon did not crash with segmentation fault

  [ Where things could go wrong ]
  If the fix is too broad, we could be leaking memory, but pkcon is not a 
daemon anyways.
  If the fix is not broad enough, the issue might still be happening in 
specific cases we haven't tested.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/packagekit/+bug/2086771/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to