Bug 2261

Summary: Loading pgp plugins crash clawsmail
Product: Claws Mail (Windows) Reporter: Tatu Portin <portin1986>
Component: defaultAssignee: users
Severity: normal CC: portin1986
Priority: P3    
Version: 3.7.6   
Hardware: PC   
OS: Windows XP   
URL: http://www.claws-mail.org/win32/index.php

Description Tatu Portin 2010-09-06 14:48:16 CEST
Clawsmail 3.7.6
 compiled-in features:
Windows XP Pro SP 3
GTK+ 2.16.0 / GLib 2.20.0
Locale: fi_FI (charset: ISO-8859-1)

Hangs on loading plugins:
Does NOT hang on loading plugins:
Expected behaviour:
 Load pgp plugins and enable pgp functionality.
Plugins pgpinline.dll, pgpmime.dll and pgpcore.dll do not provide version information in file properties window. But sizes (real size, not size on disk) and hashes for these files are as below:
  File: pgpinline.dll
CRC-32: 69b9b02f
   MD4: ef2a9f8a27853b6520774728f0d9ba7e
   MD5: c4fd78b3936d9c5cb8be11bed4cc34d5
 SHA-1: 29704b106be00423d507f30401a809fa83ded503
  Size: 21 504
  File: pgpmime.dll
CRC-32: 0ec3e1f5
   MD4: 9b6784af79f67ebaca65636d78f29f13
   MD5: 177b77de65b3244cb6f179ea2e108192
 SHA-1: b5b166f8b7028bf7bc8486bb320aeb1d15f04345
  Size: 20 992 bytes
  File: pgpcore.dll
CRC-32: 9a64aab1
   MD4: 4f0f1472a23827a912175b4692071841
   MD5: 0c05d2139dab155597f78fac522f0493
 SHA-1: deddd5147b744a028c424ef2f720cfbc95478c6e
  Size: 53 760
Clawsmail is run from a batch file clawsmail.bat as follows:
 set HOMEPATH=%~dp0..\clawsmail
 set USERPROFILE=%~dp0..\clawsmail

 start %~dp0..\clawsmail\claws-mail.exe
After loading plugin pgpinline.dll, claws-mail hangs. Claws-mail does not crash, meaning abnormal exit, but just stops responding. However, you can still close claws-mail from small X button on top right corner of it's window. Waiting for 3 minutes and it is still not responding, so draw conclusion that it will be so forever. However, from directory "Application Data" we can find that gnupg directory was created, among with files pubring.gpg, secring.gpg, trustdb.gpg (size 40 bytes, binary), S.gpg-agent (size 21 bytes, binary), pubring,kbx, pubring.gpg.lock, pubring.kbx.lock, secring.gpg.lock, trustdb.gpg.lock and one directory private-keys-v1.d. All filesizes 0 bytes if not otherwise stated.
Comment 1 Tatu Portin 2010-09-06 16:51:12 CEST
This bug does not exist on version downloaded from http://www.gpg4win.org/
Bug seems to pertain to version of GnuPG that is supplied with claws-mail installer package.
Version with this problem: gpg4win-light-2.1.0-svn1407-colin.exe
I propose updating GnuPG plugins for this package as the fix.
Comment 2 Colin Leroy 2012-11-14 11:07:37 CET

Marking WORKSFORME, reopen if not :)