Bug 3509 - New email creation not possible; Claws Mail crashes
Summary: New email creation not possible; Claws Mail crashes
Status: RESOLVED PATCHESWELCOME
Alias: None
Product: Claws Mail (Windows)
Classification: Unclassified
Component: default (show other bugs)
Version: 3.12.0
Hardware: PC Windows 7
: P3 blocker
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2015-08-26 16:26 UTC by RM
Modified: 2015-08-27 16:54 UTC (History)
0 users

See Also:


Attachments

Description RM 2015-08-26 16:26:03 UTC
Steps to reproduce: click on button "Write" and Windows pops-up insantly the message "claws-mail.exe does not work anymore". Afterwards I can only close the program.
The same happens when I want to reply to an email message.
The Windows error message is not really helpful. It says that the program is not executed correctly and so it will be closed.

Beside that Claws Mail works fine but of course it is a showstopper if I cannot write emails with it.

The issue occured after I upgraded from version 3.11.1.
Comment 1 Andrej Kacian 2015-08-27 07:59:35 UTC
Does it also crash after you completely disable spell checking (Preferences, Compose->Spell Checking) ?
Comment 2 RM 2015-08-27 15:45:16 UTC
I opened the Preferences menu. When I clicked on Spell Checking under the Compose entry Claws Mail crashes again.
So I cannot switch off the spell checking...
Comment 3 Andrej Kacian 2015-08-27 15:53:28 UTC
Do you by any chance have any files in C:\Program Files (x86)\GNU\Gpg4win\lib? Especially a sub-directory named "enchant"? If so, I suggest uninstalling Gpg4win and making sure the Gpg4win directory is completely gone.

This is a somewhat known issue, and one that I have not found a proper solution for yet. What happens is that Claws Mail picks up spell checker libraries from older Gpg4win install path, instead of from its own, and they are not compatible.
Comment 4 RM 2015-08-27 16:08:37 UTC
In C:\Program Files (x86)\GNU I cannot find a directory Gpg4win. There are the sub-directories:
- Claws Mail
- GnuPG

In C:\Program Files (x86)\GNU\GnuPG\lib there are two sub-directories (gtk-2.0 and kde4) and several files (charset.alias, libgcrypt.imp, libgpg-assuan.imp, ...).

My Gpg4win version is 2.2.1. I just checked their homepage and saw that 2.2.5 is the current one. So I will update it as well and see whether Claws Mail works afterwards.
Comment 5 Andrej Kacian 2015-08-27 16:24:33 UTC
Ah, right, sorry, the package is called Gpg4win, but the install directory is named GnuPG. My mistake. Anyway, if you upgrade, and Claws Mail still crashes, try running it after uninstalling Gpg4win and making sure the GnuPG directory is completely gone from Program Files. (Don't worry, your settings are stored elsewhere.)
Comment 6 RM 2015-08-27 16:54:23 UTC
Ok, it works again. 
But I really had to to uninstall Gpg4win and to delete the GnuPG directory manually. Just updating Gpg4win did not work.
Thanks for the hint.

Note You need to log in before you can comment on or make changes to this bug.