← Back to team overview

zeitgeist team mailing list archive

[Bug 1584849] [NEW] Creating a log on a non-default thread causes it to hang

 

Public bug reported:

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.

** Affects: zeitgeist
     Importance: Unknown
         Status: Unknown

** Affects: zeitgeist (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "thread-default-context.patch"
   https://bugs.launchpad.net/bugs/1584849/+attachment/4668751/+files/thread-default-context.patch

** Bug watch added: freedesktop.org Bugzilla #95549
   https://bugs.freedesktop.org/show_bug.cgi?id=95549

** Also affects: zeitgeist via
   https://bugs.freedesktop.org/show_bug.cgi?id=95549
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.
https://bugs.launchpad.net/bugs/1584849

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

Status in Zeitgeist Framework:
  Unknown
Status in zeitgeist package in Ubuntu:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zeitgeist/+bug/1584849/+subscriptions


Follow ups