retitle 559936 pinentry-gtk2 takes 100% CPU time when the terminal dies
thanks

I've found a way to reproduce this bug all the time: open an xterm
and run the following script from it:

#!/bin/sh
unset DISPLAY
killall gpg-agent
GPG_TTY=$(tty)
export GPG_TTY
eval $(gpg-agent --daemon)
gpg -b /dev/null

(warning, this will kill your existing gpg-agent if you have one)
then kill the xterm (without typing anything in it). The pinentry
starts to take 100% CPU time.

In case the cause is the same, Mutt had a very similar problem:

  http://dev.mutt.org/trac/ticket/1220

The problem with Mutt was that getch() returned -1 immediately (after
the terminal died), and that led to an infinite loop.

-- 
Vincent Lefèvre <vinc...@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to