geis_new() segfaults on Linux kernels older than 2.6.27

Bug #956538 reported by Stephen M. Webb
6
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

Stephen M. Webb (bregma)
Changed in utouch-geis:
status: New → In Progress
assignee: nobody → Stephen M. Webb (bregma)
importance: Undecided → Medium
milestone: none → utouch-geis-2.2.7
Revision history for this message
Chase Douglas (chasedouglas) wrote :

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 :).

Stephen M. Webb (bregma)
Changed in utouch-geis:
status: In Progress → Fix Committed
Stephen M. Webb (bregma)
Changed in utouch-geis:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.