geis_new() segfaults on Linux kernels older than 2.6.27
Bug #956538 reported by
Stephen M. Webb
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Geis |
Fix Released
|
Medium
|
Stephen M. Webb |
Bug Description
The utouch-geis test suite fails when packages are built in a PPA because geis_new() is segfaulting. It turns out this is because geis_new() is using the epoll_create1() function internally, which was not introduced until kernel 2.6.27, and PPAs run kernel 2.6.24. The segfault results from an error in the failure path for this situation.
The failure path must be fixed and the epoll_create1() call replaced with the older API available prior to kernel 2.6.27.
Related branches
lp:~bregma/geis/lp-956538
- Chase Douglas (community): Approve
-
Diff: 72 lines (+21/-4)1 file modifiedlibutouch-geis/geis_backend_multiplexor.c (+21/-4)
Changed in utouch-geis: | |
status: | New → In Progress |
assignee: | nobody → Stephen M. Webb (bregma) |
importance: | Undecided → Medium |
milestone: | none → utouch-geis-2.2.7 |
Changed in utouch-geis: | |
status: | In Progress → Fix Committed |
Changed in utouch-geis: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
For future reference, the utouch stack won't work on a kernel older than 2.6.31. Geis can still attempt to operate on an earlier kernel, it just won't do anything.
Sorry if there's anyone disappointed by this :).