You are not logged in.

#1 2023-03-07 04:41:51

duyinthee
Member
Registered: 2015-06-14
Posts: 222
Website

[SOLVED] ydotool Segmentation fault (core dumped)

I got ydotool update today.
https://archlinux.org/packages/communit … 4/ydotool/

[2023-03-07T09:34:07+0630] [ALPM] upgraded ydotool (1.0.1-3 -> 1.0.2-1)

After update, ydotool is not working any more.

~]$ ydotool type TESTING
Segmentation fault (core dumped)

I stoped, disabled, enabled and started ydotool.service but it does not work. The service is running properly.

~]$ systemctl --user status ydotool.service
● ydotool.service - Starts ydotoold service
     Loaded: loaded (/usr/lib/systemd/user/ydotool.service; enabled; preset: enabled)
     Active: active (running) since Tue 2023-03-07 11:00:27 +0630; 1min 3s ago
   Main PID: 2705 (ydotoold)
      Tasks: 1 (limit: 9371)
     Memory: 172.0K
        CPU: 3ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/ydotool.service
             └─2705 /usr/bin/ydotoold

Mar 07 11:00:27 hpmdmgma systemd[484]: Started Starts ydotoold service.

My user was added to input group so that I don't need sudo for ydotool.
https://bbs.archlinux.org/viewtopic.php?id=283685

Last edited by duyinthee (2023-03-14 10:58:03)

Offline

#2 2023-03-07 13:54:44

diraimondo
Member
Registered: 2014-03-28
Posts: 61

Re: [SOLVED] ydotool Segmentation fault (core dumped)

here the same!

Offline

#3 2023-03-08 03:15:37

duyinthee
Member
Registered: 2015-06-14
Posts: 222
Website

Re: [SOLVED] ydotool Segmentation fault (core dumped)

diraimondo wrote:

here the same!

For temporary solution (maybe), I returned to the way before.
First, edit visudo like putting the following line

%wheel ALL=(ALL:ALL) NOPASSWD: /usr/bin/ydotool, /usr/bin/ydotoold

Then start ydotoold putting

sudo ydotoold

in where you autostart.
Then do it using sudo, for example

$ sudo ydotool type TESTING

However, it shout be temporary.
Starting ydotool.service user service, adding your user to input group and doing without sudo is better, I think. But...

Last edited by duyinthee (2023-03-08 07:48:16)

Offline

#4 2023-03-08 10:04:54

diraimondo
Member
Registered: 2014-03-28
Posts: 61

Re: [SOLVED] ydotool Segmentation fault (core dumped)

I was already using a user in the input group and this allowed to launch the ydotool user service.
I rolled back to the previous version of ydotool waiting for the fix.

Last edited by diraimondo (2023-03-08 10:06:14)

Offline

#5 2023-03-10 10:20:12

BoostCookie
Member
Registered: 2023-03-07
Posts: 1

Re: [SOLVED] ydotool Segmentation fault (core dumped)

I also wonder why the version in the community repo is 1.0.2 while the current version on github is 1.0.4 and it's been out since 2023-01-30.
felixonmars is the maintainer of the package.

Offline

#6 2023-03-14 10:57:28

duyinthee
Member
Registered: 2015-06-14
Posts: 222
Website

Re: [SOLVED] ydotool Segmentation fault (core dumped)

reporting back, after getting update ydotool version of 1.0.3-1

[2023-03-13T09:55:53+0630] [ALPM] upgraded ydotool (1.0.2-1 -> 1.0.3-1)

ydotool get back to work

# gpasswd -a username input
$ systemctl --user enable ydotool.service
$ systemctl --user start ydotool.service

Relogin or restart, then it works

$ ydotool type TESTING

Last edited by duyinthee (2023-03-14 10:59:03)

Offline

Board footer

Powered by FluxBB