gpg hangs in mlock, cannot be killed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnupg (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
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=
10076 mmap2(NULL, 256316, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7c9b000
10076 close(3) = 0
10076 mmap2(NULL, 32768, PROT_READ|
10076 getuid32() = 1000
10076 mlock(0xb7c93000, 32768
So it's hanging in "mlock".
Can you run gpg with "--verbose --debug-all --status-fd 1"? Maybe also add the output using "--list-packets".