Your message dated Sun, 14 Sep 2008 14:28:15 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Re: Bug#495339: Non-deterministically pauses when accessing 
(GPG?) mails
has caused the Debian Bug report #495339,
regarding Non-deterministically pauses when accessing (GPG?) mails
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
495339: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=495339
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: claws-mail
Version: 3.5.0-2

For about a month or so I've noticed Claws temporarily pause sometimes when
pening mails. This isn't specific to a particular mail or sender; re-opening
the target it is always successful. The pause usually lasts for about 30-60 
seconds and does not seem to be network related, rather that Claws is simply
not repainting to the screen.

If I strace Claws when this occurs, I see it select()ing on two adjacently
numbered file descriptors, which according to /proc/${PID}/fd equate to some
pipes.

Acting on a hunch, one time whilst I was waiting for it I noticed a gpg
process in "--batch" mode, which was blocked reading on another pipe FD. The
process ended suspiciously close to when Claws "unpaused", but this is might
be coincidence.

Any ideas? Assuming some GPG problem, I am not running low on entropy (is
this even needed for decrypting/validating?) As I alluded to above, this bug
is rather non-deterministic and have been unable to develop a testcase - any
pointers on how to collect more information would be useful.
 

Regards,

-- 
Chris Lamb, UK                                       [EMAIL PROTECTED]
                                                            GPG: 0x634F9A20

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
  Hi,

On Mon, 18 Aug 2008 05:38:43 +0100
Chris Lamb <[EMAIL PROTECTED]> wrote:

> Ricardo Mones wrote:
> 
> > > For about a month or so I've noticed Claws temporarily pause sometimes
> > > when opening mails.
> [..]
> >   Does it happen with all mails or only with signed/encrypted messages?
> 
> I thought it happened with all mails, but most of the mails I read are
> signed.. However:
> 
> > > - any pointers on how to collect more information would be useful.
> > 
> >   Are you retrieving keys automatically? (auto-key-retrieve within your
> > keyserver-options line in ~/.gnupg/gpg.conf)
> 
> Bingo.  After removing this I have not seen it hang and I am confident this
> was the problem - thanks for indulging this rather wishy-washy report.

  You're welcome. A bit late but closing it now ;-)
 
> Glancing at the code it seems that the PGP plugin links against GPG to
> verify signatures rather than spawning GPG itself. Dispite this, would it
> be possible to override a user's `auto-key-retrieve` setting?  This is
> apparently possible on the command line with the "--keyserver-options"
> parameter.

  To be honest I don't know if GnuPG API allows that, but even if that's
  possible, the idea of having to tweak the GnuPG configuration twice (in its
  own files and within Claws Mail) doesn't seem very interesting and rather
  looks more error prone. 

  If you want that you can always make a start-up script for claws-mail which
  switches the GnuPG configuration file before launching claws and restores
  it after finishing claws-mail. Though I still don't see the usefulness of
  that...

  HTH,
-- 
 Ricardo Mones
 http://people.debian.org/~mones
 __Q: What's the difference between USL and the Titanic? A: The Titanic 
 had a band.__

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to