[Bug 376982] Re: gpg hangs in mlock, cannot be killed
Launchpad Bug Tracker
376982 at bugs.launchpad.net
Tue Mar 21 16:28:02 UTC 2017
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: gnupg (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gnupg in Ubuntu.
https://bugs.launchpad.net/bugs/376982
Title:
gpg hangs in mlock, cannot be killed
Status in gnupg package in Ubuntu:
Confirmed
Bug description:
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".
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnupg/+bug/376982/+subscriptions
More information about the foundations-bugs
mailing list