race condition in device initialization
Bug #1252447 reported by
Stephen M. Webb
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Geis |
Fix Released
|
High
|
Stephen M. Webb | ||
geis (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
A race condition exists such that if gesture subscriptions are added between the GEIS_INIT event and DEVICE_ADDED event processing for initially-detected events, subscriptions for those devices are never activated.
The practical result of this is that sometimes gestures for some devices are never reported.
Related branches
lp:~bregma/geis/lp-1252447
- Brandon Schaefer (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 457 lines (+201/-20)9 files modifiedinclude/geis/geis.h (+8/-1)
libgeis/backend/dbus/geis_dbus_backend.c (+3/-1)
libgeis/backend/grail/geis_grail_backend.c (+40/-7)
libgeis/backend/test_fixture/geis_backend_test_fixture.c (+3/-1)
libgeis/geis.c (+3/-1)
libgeis/geis_backend.c (+21/-1)
libgeis/geis_backend.h (+29/-1)
libgeis/geis_backend_protected.h (+3/-1)
testsuite/geis2/gtest_devices.cpp (+91/-6)
Changed in geis: | |
importance: | Undecided → High |
Changed in geis: | |
status: | Triaged → In Progress |
Changed in geis: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix committed into lp:geis at revision 325, scheduled for release in geis, milestone 2.2.17