GNOME Bugzilla – Bug 784251
vfunc hangs block operations from completing
Last modified: 2017-06-29 14:52:02 UTC
I was noticing that the Picks weren't showing on my system with the snap plugin enabled. From gdb, we can see:
+ Trace 237597
Thread 5 (Thread 0x7fadf93c5700 (LWP 2222))
It's hung while trying to talk to snapd. Talking to Richard, the idea is to set a maximum timeout (5 or 10 seconds) and invoke the cancellable thereafter.
commit fa7216c1284d957acbf266f879a99ffcff06abee (HEAD -> wip/hughsie/cancell-tasks) Author: Richard Hughes <richard@hughsie.com> Date: Wed Jun 28 17:50:42 2017 +0100 Cancel plugin jobs if they take too much time Create an event and show a message in the shell to make the plugin look bad. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=784251