rvaiya/warpd

Warpd hangs after some time with 100% CPU

Opened this issue · 14 comments

Hello, as you asked, creating a new issue. So I use the latest warpd commit (built from source) and latest macos.

So I use it like this: enter hint mode, chose location, maybe small movement with hjkl and click.
After 3-4-5-6 times of doing it, I click my keybinding for enter hint mode and warpd hangs and no keyboard events passed to system. Also I don't see any hints, for example. In process monitor I see that warpd consumes 100% cpu.

buttons: n , m
oneshot_buttons: space - /
hint_border_radius: 10
hint_font: Iosevka
use_system_cursor: 1

Please post the output of warpd -v.

warpd v1.3.5-osx (built from: 6d43797)

I can't seem to reproduce this. Does this happen with a blank config? Also try running make clean to ensure there are no artifacts from previous builds.

Same for me, but i am also use Karabiner-Elements 14.10.0.

Clean install (first time use). Default config.

I'ts possible karabiner is interfering with the event tap used by warpd. @max-frai Are you using any other remapping software (e.g karabiner)? @funvit Can you see if disabling karabiner solves the problem?

No, I don't have any remapping software. Pure latest mac os.
Also I just tried again. After reboot I long time didn't use warpd and now decided to call the hint mode and right after keybinding was clicked, warpd process started eating 100cpu and 300gb virtual ram.

@max-frai I still can't reproduce this. Does this happen after clicking on a secure input field? (e.g web password field, sudo prompt, etc). Can you do a clean install using the latest commit? (git pull origin master && make clean && make && sudo make install).

Also, are you using a multi screen setup?

I tried clean make install and default config and it works okay all day. So I will try to add back my config file and test further everything.

Okay, no luck :( After reboot I tried to run it again and the problem appeared. With default config.

Okay, I found the issue. It works okay until system input language is english. But when you enter keybinding in other language, it hangs.
So when my input language is ukrainian, I press Command + Option + X and warpd starts consuming 100% cpu

Greetings,
I have similar issue, if language is different from English (Bulgarian) warpd just takes the keyboard input and there is no way to recover, except killing the process (which is impossible without keyboard :) ).

Running on OSX:
Version:
warpd v1.3.5-osx (built from: 01650ea)

Is there any workaround around this?

This tool seems what I always wanted, and thank you for making it !

when you enter keybinding in other language, it hangs.

Have the same issue

I have the same issue with Hebrew. Only way around it is killing warpd with only the mouse since the keyboard no longer responds until warpd is terminated.