-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Often hangs when called from gnome-software #10
Comments
I think this article about using GMainContext from libraries is relevant. I've implemented some of the recommendations contained in it, and got back to a state where the testsuite is passing. Haven't yet tried it in GNOME Software, but will do tomorrow and then I'll let this issue know what my findings are. |
I had this on my desktop!
|
Is that backtrace from after you patched it or before? Yes, the GMainContext stuff is a lot harder than I initially thought. I was discussing it with Allison but that only got half way... |
Before - that's how it hangs. I'll try the patch in the morning.
…On 24 July 2017 22:16:29 BST, Robert Ancell ***@***.***> wrote:
Is that backtrace from after you patched it or before?
Yes, the GMainContext stuff is a lot harder than I initially thought. I
was discussing it with Allison but that only got half way...
|
I'm going to close this assumed fixed with the recent threading changes. Please re-open if not... |
[ Sorry, I don't have a backtrace to hand ]
gnome-software recently introduced support for cancelling long-running plugin operations. That is, when it calls a vfunc on a plugin, if that takes more than
x
seconds, the request is cancelled. This was added mainly because the snap plugin was behaving badly and hanging, meaning that entire operations were not returning.Now that's fixed (and this work is soon to be uploaded to Artful), I thought I'd file this bug to track investigations as to /why/ the operations are hanging in the first place.
The text was updated successfully, but these errors were encountered: