evolution causes gpg stale locks

Bug #42199 reported by Robert Collins
20
Affects Status Importance Assigned to Milestone
Evolution
Fix Released
Medium
evolution (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

When changing from one message to another in the mail view, and the first one is gpg signed, evolution will [sometimes] kill gpg too abruptly, leaving a stale lock.

This seems to occur when the 'verifying message (0% complete)' message is in the status bar.

You can tell this has occured by running gpg --edit-key anykeyhere.

As shown here:
$ gpg --edit-key robertc

gpg: checking the trustdb
gpg: waiting for lock (held by 21748 - probably dead) ...
gpg: waiting for lock (held by 21748 - probably dead) ...

gpg: Interrupt caught ... exiting

I dont know if this is a security bug, buts its certainly problematic: I appear to have lost by public keyring twice in some sort of interaction with this.

Revision history for this message
Robert Collins (lifeless) wrote :

Oh, I should mention that there is no process 21748, nor any other gpg processes running.

Revision history for this message
Dennis Kaarsemaker (dennis) wrote : Re: [Bug 42199] evolution causes gpg stale locks

Only twice? I lost mine more often but never got any clue on why it
would get lost. Your analyisis helps

 status Confirmed

Changed in evolution:
status: Unconfirmed → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

Do you still get the issue with dapper or edgy?

Changed in evolution:
assignee: nobody → desktop-bugs
status: Confirmed → Needs Info
Revision history for this message
Dennis Kaarsemaker (dennis) wrote : Re: [Bug 42199] Re: evolution causes gpg stale locks

On di, 2006-09-26 at 09:05 +0000, Sebastien Bacher wrote:
> Do you still get the issue with dapper or edgy?
>
> ** Changed in: evolution (Ubuntu)
> Assignee: (unassigned) => Ubuntu Desktop Bugs
> Status: Confirmed => Needs Info

Definitely yes with Dapper, not yet with edgy but I've been very
careful.
--
Dennis K.

Time is an illusion, lunchtime doubly so.

Revision history for this message
Robert Collins (lifeless) wrote :

On Tue, 2006-09-26 at 23:21 +0000, Dennis Kaarsemaker wrote:
> On di, 2006-09-26 at 09:05 +0000, Sebastien Bacher wrote:
> > Do you still get the issue with dapper or edgy?
> >
> > ** Changed in: evolution (Ubuntu)
> > Assignee: (unassigned) => Ubuntu Desktop Bugs
> > Status: Confirmed => Needs Info
>
> Definitely yes with Dapper, not yet with edgy but I've been very
> careful.

It still bits me from time to time on dapper, I dont think the frequency
has changed since the bug report. I dont have edgy at the moment : the
blood was too much for me.

-Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.

Revision history for this message
Daniel Holbach (dholbach) wrote :

We are closing this bug report as it lacks the information, which was described in the previous comments, we need to investigate the problem further. However, please reopen it if you can give us the missing information and don't hesitate to submit bug reports in the future.

Changed in evolution:
status: Needs Info → Rejected
Revision history for this message
Robert Collins (lifeless) wrote :

I'm sorry, what is the requested information? If its 'does it still happen', then the answer is yes, I had it happen last week.

Changed in evolution:
status: Rejected → Unconfirmed
Revision history for this message
Robert Collins (lifeless) wrote :

Just to note, this is still happening. Please advise what information you are requesting.

Revision history for this message
Robert Collins (lifeless) wrote :

putting this back to confirmed, because it has been comfirmed

Changed in evolution:
status: Unconfirmed → Confirmed
Revision history for this message
Sebastien Bacher (seb128) wrote :

I've forwarded the bug upstream: http://bugzilla.gnome.org/show_bug.cgi?id=418502

Changed in evolution:
status: Unknown → Unconfirmed
Revision history for this message
Pedro Fragoso (ember) wrote :

I've had the same bug, and about an hour of looking and trying figure where's that number and what's locking gpg... I found that the numbers held actually are the .lock files on ~/.gnupg/ .

I still don't understand why this happen but the workaround i can find right now and worked for me is really to erase the *.lock .

Changed in evolution:
status: Confirmed → Triaged
Revision history for this message
Martin Mai (mrkanister-deactivatedaccount-deactivatedaccount) wrote :

You you check if this is still an issue with the latest version of Ubuntu? Thanks in advance.

Changed in evolution (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Robert Collins (lifeless) wrote :

 status triaged

happened yesterday

Changed in evolution:
status: New → Triaged
Revision history for this message
Martin Mai (mrkanister-deactivatedaccount-deactivatedaccount) wrote :

Robert, i guess you wanted to set the status of the package in ubuntu to "triaged" and not the upstream bug. I have posted upstream that there is sttill someone suffering from this bug.

Changed in evolution (Ubuntu):
status: Incomplete → Triaged
Changed in evolution:
importance: Unknown → Undecided
status: Triaged → New
importance: Undecided → Unknown
status: New → Unknown
Revision history for this message
Robert Collins (lifeless) wrote :

I did thanks, hmm, I suspect I should file a malone bug about the
selection of task there.

-Rob

Revision history for this message
Martin Mai (mrkanister-deactivatedaccount-deactivatedaccount) wrote :

No problem. Upstream wants to know your evolution version. Can you please either post it here or there? Thanks.

Revision history for this message
Robert Collins (lifeless) wrote :

2.27.4

Revision history for this message
Kees Cook (kees) wrote :

gpg spawns a background process to update the trustdb at some very regular time. I suspect this may be what's going on. I noticed this when using gpg through mutt in that mutt would wait a very long time once in a while. I wonder if evolution is killing it? Robert, does adding this to your .gnupg/options file make it go away?

no-auto-check-trustdb

With this option, you need to run the trust checker once in a while, or gpg gets mad. I run this once a day from cron:

37 5 * * * gpg --check-trustdb 2>&1 | egrep -v '(depth: | needed,|next trustdb check)'

Changed in evolution:
status: Unknown → Fix Released
Revision history for this message
Pedro Villavicencio (pedro) wrote :

on the upstream bts the developers said that this bug is fixed on 2.30 which is going to land in Ubuntu Maverick

Changed in evolution (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Omer Akram (om26er) wrote :

evolution 2.30 is in Maverick now

Changed in evolution (Ubuntu):
status: Fix Committed → Fix Released
Changed in evolution:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.