Creating a log on a non-default thread causes it to hang

Bug #1584849 reported by Ted Gould on 2016-05-23
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Zeitgeist Framework
zeitgeist (Ubuntu)

Bug Description

When creating a Log object it creates a mainloop to wait on the proxy object. It unfortunately does this with NULL has its context which means it uses the main thread's context instead of the thread it is running on. This causes a hang as no one gets events then.

Ted Gould (ted) wrote :

The attachment "thread-default-context.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Changed in zeitgeist (Ubuntu):
importance: Undecided → Medium
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package zeitgeist - 0.9.16-0ubuntu5

zeitgeist (0.9.16-0ubuntu5) yakkety; urgency=medium

  * debian/patches/thread-default-context.patch:
    - Ensure the log mainloop uses the current thread's context
      when waiting (LP: #1584849)

 -- Ted Gould <email address hidden> Mon, 08 Aug 2016 12:55:25 -0500

Changed in zeitgeist (Ubuntu):
status: New → Fix Released
Changed in canonical-devices-system-image:
status: New → Fix Committed
importance: Undecided → Medium
milestone: none → 13
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.