Public bug reported:

I've noticed (by running "htop") a number of processes whose state is "D" -- 
uninterruptible sleep.  This is unusual.  A few of them are gpg.
gnupg version 1.4.9-3ubuntu1

I've also noticed that whenever I run gpg, it hangs, and I cannot kill
it: not by typing Control C, nor Control Z; nor by switching to a
different terminal, becoming root, and trying "kill -9" on the process'
PID.

I can no longer do any encryption or decryption.  This rather sucks :-|

I ran "strace -f -o yow gpg < some-file" and captured the output; the
last lines are

10076 fstat64(3, {st_mode=S_IFREG|0644, st_size=256316, ...}) = 0
10076 mmap2(NULL, 256316, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7c9b000
10076 close(3)                          = 0
10076 mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
0) = 0xb7c93000
10076 getuid32()                        = 1000
10076 mlock(0xb7c93000, 32768

So it's hanging in "mlock".

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

-- 
gpg hangs in mlock, cannot be killed
https://bugs.launchpad.net/bugs/376982
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to