← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 624172] [NEW] Multiple copies of irexec started at login

 

Public bug reported:

Binary package hint: lirc

I use irexec to generate multimedia keystrokes from my Apple remote.
Hence, I created a Startup Applications entry for irexec. Sometimes when
I log in, multiple copies of irexec are run. It seems that this could be
because irexec is not always killed when I log out: for example, in my
current session, one of the copies of irexec has a PID just a little
greater than my gnome-session, whereas the other has a lower PID, which
seems to be similar to PIDs of other processes created when I first
logged in after rebooting, e.g. mpd.

I don't know whether this bug is properly considered to be in lirc or in
some program related to GNOME session management, but as I cannot tell
it seemed logical to start here (with the specific program that is
causing problems), especially as I have not noticed this behaviour with
any other program.

I suppose there are multiple questions to answer:

1. Should irexec be killed (or die) when I log out? It seems that some
programs started in my session, like mpd, persist when I log out.

2. When I log in, should irexec realise that it is already running and
not start a second instance?

If either 1 or 2 were happening, then I would not have a problem...

Sorry if this is a bit vague, and let me know what other information I
can provide to help track down the bug.

(In case you're wondering, the reason this bug is a problem is because
when there are multiple copies of irexec running, each IR control
keypress is acted on once per copy of irexec, so when I press
"play/pause", nothing seems to happen, because the music is first
paused, then immediately unpaused, for example.)

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: lirc 0.8.6-0ubuntu4.1
ProcVersionSignature: Ubuntu 2.6.32-24.41-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic i686
Architecture: i386
Date: Wed Aug 25 18:59:59 2010
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_GB.UTF-8
SourcePackage: lirc

** Affects: lirc (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 lucid

-- 
Multiple copies of irexec started at login
https://bugs.launchpad.net/bugs/624172
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to lirc in ubuntu.

Status in “lirc” package in Ubuntu: New

Bug description:
Binary package hint: lirc

I use irexec to generate multimedia keystrokes from my Apple remote. Hence, I created a Startup Applications entry for irexec. Sometimes when I log in, multiple copies of irexec are run. It seems that this could be because irexec is not always killed when I log out: for example, in my current session, one of the copies of irexec has a PID just a little greater than my gnome-session, whereas the other has a lower PID, which seems to be similar to PIDs of other processes created when I first logged in after rebooting, e.g. mpd.

I don't know whether this bug is properly considered to be in lirc or in some program related to GNOME session management, but as I cannot tell it seemed logical to start here (with the specific program that is causing problems), especially as I have not noticed this behaviour with any other program.

I suppose there are multiple questions to answer:

1. Should irexec be killed (or die) when I log out? It seems that some programs started in my session, like mpd, persist when I log out.

2. When I log in, should irexec realise that it is already running and not start a second instance?

If either 1 or 2 were happening, then I would not have a problem...

Sorry if this is a bit vague, and let me know what other information I can provide to help track down the bug.

(In case you're wondering, the reason this bug is a problem is because when there are multiple copies of irexec running, each IR control keypress is acted on once per copy of irexec, so when I press "play/pause", nothing seems to happen, because the music is first paused, then immediately unpaused, for example.)

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: lirc 0.8.6-0ubuntu4.1
ProcVersionSignature: Ubuntu 2.6.32-24.41-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-24-generic i686
Architecture: i386
Date: Wed Aug 25 18:59:59 2010
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=en_GB.UTF-8
SourcePackage: lirc





Follow ups

References