Bug 95549 - Creating a log on a non-default thread causes it to hang
Summary: Creating a log on a non-default thread causes it to hang
Status: RESOLVED FIXED
Alias: None
Product: Zeitgeist
Classification: Unclassified
Component: libzeitgeist (show other bugs)
Version: 0.9.x
Hardware: Other All
: medium normal
Assignee: zeitgeist-bugs@lists.freedesktop.org
QA Contact: zeitgeist-bugs@lists.freedesktop.org
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-23 15:46 UTC by Ted Gould
Modified: 2016-09-04 17:58 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Patch to use the thread default context (612 bytes, patch)
2016-05-23 15:46 UTC, Ted Gould
Details | Splinter Review

Description Ted Gould 2016-05-23 15:46:26 UTC
Created attachment 123998 [details] [review]
Patch to use the thread default context

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.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.