geis crashes when accepting gesture
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Geis |
Fix Released
|
High
|
Daniel d'Andrada | ||
geis (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
High
|
Francis Ginther |
Bug Description
We need it backported as it fixes a crash bug.
[Test Case]
The following situation leads to a crash:
- Geis processed the end event of a grail gesture
- Geis has a number of geis events pending delivery to application
- Application accepts that ended grail gesture
[Cause]
While checking the queue of pending events for events that should no longer be delivered due to the gesture acceptance, geis would try to use a struct with information from the ended grail gesture that also no longer exists (gesture state info gets deleted when grail gesture ends).
That bug was introduced in revision 265.
[Regression Potential]
Code with this fix has been tested for quite some time now and no regressions were found. This is actually a fix for a regression caused by the fix for bug 1001365.
Related branches
- Chase Douglas (community): Approve
-
Diff: 514 lines (+227/-139)8 files modifiedlibutouch-geis/backend/grail/geis_grail_backend.c (+6/-4)
testsuite/geis2/Makefile.am (+1/-0)
testsuite/geis2/gtest_gbe_accept_ended_grail_gesture.cpp (+85/-0)
testsuite/geis2/gtest_gbe_construction_finished.cpp (+4/-4)
testsuite/geis2/gtest_gbe_direct_touch_coords.cpp (+4/-4)
testsuite/geis2/gtest_gbe_outdated_events.cpp (+2/-121)
testsuite/geis2/gtest_grail_backend.cpp (+109/-3)
testsuite/geis2/gtest_grail_backend.h (+16/-3)
Changed in utouch-geis: | |
status: | Confirmed → Fix Committed |
affects: | ubuntu → utouch-geis (Ubuntu) |
Changed in utouch-geis: | |
milestone: | none → 2.1.11 |
status: | Fix Committed → Fix Released |
affects: | utouch-geis (Ubuntu) → geis (Ubuntu) |
Changed in geis (Ubuntu): | |
status: | New → Fix Released |
Changed in geis (Ubuntu Precise): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Francis Ginther (fginther) |
description: | updated |
Hello Daniel, or anyone else affected,
Accepted geis into precise-proposed. The package will build now and be available at http:// launchpad. net/ubuntu/ +source/ geis/2. 2.9.1-0ubuntu1 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.
If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification- failed. In either case, details of your testing will help us make a better decision.
Further information regarding the verification process can be found at https:/ /wiki.ubuntu. com/QATeam/ PerformingSRUVe rification . Thank you in advance!