Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115407 - evkeyd-0.1_pre7 doesn't catch SIGIO and terminates
Summary: evkeyd-0.1_pre7 doesn't catch SIGIO and terminates
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo TreeCleaner Project
URL:
Whiteboard: Pending removal 8 May 2007
Keywords: PMASKED
: 115235 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-12-13 04:36 UTC by Ulrich Müller
Modified: 2007-05-07 19:30 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
evkeyd-0.1_pre7-sigio.patch (evkeyd-0.1_pre7-sigio.patch,344 bytes, patch)
2005-12-13 04:37 UTC, Ulrich Müller
Details | Diff
evkeyd-0.1_pre7-sigio.patch (take 2) (evkeyd-0.1_pre7-sigio.patch,878 bytes, patch)
2005-12-15 01:44 UTC, Ulrich Müller
Details | Diff
Proposed "grand unified" evkeyd-0.1_pre7-gentoo.patch (evkeyd-0.1_pre7-gentoo.patch,3.29 KB, patch)
2005-12-19 07:45 UTC, Ulrich Müller
Details | Diff
Proposed "grand unified" evkeyd-0.1_pre7-gentoo.patch (evkeyd-0.1_pre7-gentoo.patch,3.29 KB, patch)
2006-02-22 05:52 UTC, Ulrich Müller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2005-12-13 04:36:30 UTC
The evkeyd daemon sporadically terminates after running for several minutes/hours.

The daemon receives a SIGIO signal (probably from the event device) that is
not caught. (Kernel is 2.6.14-gentoo-r4.)

Attached patch fixes the problem.


Reproducible: Sometimes
Steps to Reproduce:
1. Start Evkeyd with "/usr/sbin/evkeyd --debug"
2. wait ...

Actual Results:  
Message "I/O possible" is output and evkeyd terminates.


Expected Results:  
Running program.
Comment 1 Ulrich Müller gentoo-dev 2005-12-13 04:37:07 UTC
Created attachment 74639 [details, diff]
evkeyd-0.1_pre7-sigio.patch
Comment 2 Ulrich Müller gentoo-dev 2005-12-15 01:44:20 UTC
Created attachment 74785 [details, diff]
evkeyd-0.1_pre7-sigio.patch (take 2)

The previous patch was too simple-minded and only fixing the symptoms.

Moving the processing out of the signal handler function might be a cleaner
approach.
Comment 3 Ulrich Müller gentoo-dev 2005-12-19 07:43:46 UTC
Actually, there are more issues with this package (e.g. the mixer device is
opened several times but never closed).

Instead of filing more bugs for them, I have prepared a combined patch that will
fix bug #115233, bug #115235, this bug, and some other (minor) issues.
See attachment.

I have also tried contacting Upstream, but no answer so far.
Comment 4 Ulrich Müller gentoo-dev 2005-12-19 07:45:33 UTC
Created attachment 75098 [details, diff]
Proposed "grand unified" evkeyd-0.1_pre7-gentoo.patch
Comment 5 Ulrich Müller gentoo-dev 2006-02-22 05:52:41 UTC
Created attachment 80430 [details, diff]
Proposed "grand unified" evkeyd-0.1_pre7-gentoo.patch

Fixed typo.
Comment 6 Ulrich Müller gentoo-dev 2006-03-17 00:59:15 UTC
I have contacted Upstream and he has confirmed that the package is no longer maintained. The last release, 0.1_pre7, was in 2003. At least for me, the CVS version on Sourceforge does not run at all.

My conclusion is that the package is dead.

An alternative is "pbbuttonsd" (which is no longer limited to Powerbooks). Maybe also "hotkeys" and "xbindkeys", however these are based on X.
Comment 7 Ulrich Müller gentoo-dev 2007-02-10 08:00:43 UTC
Adding treecleaner@gentoo.org to CC.

To summarize:
- last upstream release in 2003
- no maintainer
- open issues, including incorrect signal handling and a memory leak
- several better alternatives are available
Comment 8 Ryan Hill (RETIRED) gentoo-dev 2007-02-10 17:53:56 UTC
sounds about right to me, and thanks for the patches even though they weren't applied.

open for voting.
Comment 9 Charlie Shepherd (RETIRED) gentoo-dev 2007-02-10 18:54:46 UTC
+1

Comment 10 Jakub Moc (RETIRED) gentoo-dev 2007-02-11 10:16:54 UTC
+1, totally dead upstream.
Comment 11 Raúl Porcel (RETIRED) gentoo-dev 2007-03-11 19:24:44 UTC
# Raúl Porcel <armin76@gentoo.org> (8 Mar 2007)
# P.masking for treecleaners, pending removal in 60 days
# That is, 8 May 2007
# www-servers/aolserver and its rdeps -> bug 108022
#	www-misc/nscache
#	www-misc/nsopenssl
#	www-misc/nssha1
#	www-misc/nsxml
# app-emulation/tiger -> bug 110298
# sys-apps/evkeyd -> bug 115407
# media-libs/libuta -> bug 117665
# net-misc/cipe -> bug 137329
# app-text/biblestudy -> bug 164144
www-servers/aolserver
www-misc/nscache
www-misc/nsopenssl
www-misc/nssha1
www-misc/nsxml
app-emulation/tiger
sys-apps/evkeyd
media-libs/libuta
net-misc/cipe
app-text/biblestudy
Comment 12 Raúl Porcel (RETIRED) gentoo-dev 2007-05-07 18:48:31 UTC
Removed
Comment 13 Ulrich Müller gentoo-dev 2007-05-07 19:30:59 UTC
*** Bug 115235 has been marked as a duplicate of this bug. ***