Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

actkbd randomly stops working, until restarted. #2

Open
fff7d1bc opened this issue Dec 2, 2016 · 2 comments
Open

actkbd randomly stops working, until restarted. #2

fff7d1bc opened this issue Dec 2, 2016 · 2 comments

Comments

@fff7d1bc
Copy link

fff7d1bc commented Dec 2, 2016

Hello,

I am hitting this bug for many years, on many computers. Randomly, sometimes 3 times a day, sometimes once a month, actkbd does not 'react' to events. Oddly enough, the process does work, when I attach to ith with strace I do see that it does work, lines like:

read(3, "\227\311AX\0\0\0\0\1n\3\0\0\0\0\0\4\0\4\0\240\0\0\0\227\311AX\0\0\0\0"..., 4096) = 72

Pops up, but nothing more happens, And after I restart the actkbd process I can see that right after read, it runs sendto, along with many, many other calls that results in executing what was configured.

read(3, "\227\311AX\0\0\0\0\1n\3\0\0\0\0\0\4\0\4\0\240\0\0\0\227\311AX\0\0\0\0"..., 4096) = 72
sendto(4, "<29>Dec  2 20:20:55 actkbd[3227]"..., 88, MSG_NOSIGNAL, NULL, 0) = 88
rt_sigaction(SIGINT, {SIG_IGN, [], SA_RESTORER, 0x3f51233250}, {SIG_DFL, [], SA_RESTORER, 0x3f51233250}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN, [], SA_RESTORER, 0x3f51233250}, {SIG_DFL, [], SA_RESTORER, 0x3f51233250}, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
clone(strace: Process 3900 attached

actkbd is started as:

/usr/bin/actkbd -c /etc/actkbd.conf -D -q -x -l -p /var/run/actkbd.pid -d /dev/input/event4

Can you please comment on this?

@thkala
Copy link
Owner

thkala commented Dec 3, 2016 via email

@rehno-lindeque
Copy link

I think I've got the same issue, and weirdly it seems to resolve itself as soon as I look at the logs with journalctl. I.e. I'll just run journalctl -u [email protected] -f and then suddenly everything works again, almost as if it's been buffering or something. Very strange indeed.

esp. if you are launching commands without the '&' shell character at the end that
pushes them to the background.

Just to note: for my case, I do add & to everything that is executed through actkbd. (Doesn't solve the issue unfortunately).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants