PackageKit / PackageKit

A D-BUS abstraction layer that allows the user to manage packages in a secure way using a cross-distro, cross-architecture API.
https://www.freedesktop.org/software/PackageKit/
GNU General Public License v2.0
260 stars 165 forks source link

pkmon: GTask finalized without ever returning (using g_task_return_*()) #709

Open sidt4 opened 11 months ago

sidt4 commented 11 months ago
$ pkmon
...
...
(pkmon:4086): GLib-GIO-CRITICAL **: 17:29:46.168: GTask 0x55aa9147cf60 (source object: 0x55aa9147aa30, source tag: 0x7f1b39a3b1c0) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
/8_edaceddb allow_cancel 1
/8_edaceddb percentage   -1
/8_edaceddb role         search-file
/8_edaceddb sender       /usr/bin/gnome-software
/8_edaceddb status       wait
sidt4 commented 9 months ago

Still getting these, making pkmon a bit annoying to use.

(pkmon:78935): GLib-GIO-CRITICAL **: 15:57:17.241: GTask 0x55bec43c7bf0 (source object: 0x55bec30a0a30, source tag: 0x7fa2f7dba1c0) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.

(pkmon:78935): GLib-GIO-CRITICAL **: 15:57:17.241: GTask 0x55bec43ecbe0 (source object: 0x55bec30a0a30, source tag: 0x7fa2f7dba1c0) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.

(pkmon:78935): GLib-GIO-CRITICAL **: 15:57:17.241: GTask 0x55bec43a1ba0 (source object: 0x55bec30a0a30, source tag: 0x7fa2f7dba1c0) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.

(pkmon:78935): GLib-GIO-CRITICAL **: 15:57:17.241: GTask 0x55bec4302530 (source object: 0x55bec30a0a30, source tag: 0x7fa2f7dba1c0) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.

@tintou: can you please take a look ?

tintou commented 9 months ago

I've looked at it and is not really a big issue per-se (other than producing a verbose message) but requires a bit refactoring