Control: tags -1 moreinfo patch Hi Jon,
On Tue, Dec 02, 2014 at 12:34:14AM +0100, Jon Bonilla (manwe) wrote: > Subject: claws-mail: Segfaults when trying to open folder > Package: claws-mail > Version: 3.11.1-1 > Severity: important > > Dear Maintainer, > > Suddenly claws-mail stsrted to segfault when opening INBOX folder of one > of my accounts. Didn't restart or upgrade the program prior to this, so > it might be triggered by a new mail trying to be previewed. > I tried to restart the program, tried to delete imapcache and even > delete and recreate the account. The problem seems caused by new code in address completion. If you can build claws-mail from sources the attached patch should fix it. As a temporary workaround I think that disabling 'Display sender using address book' should allow you to read your folder again. To disable that option go to 'Configuration' menu, 'Preferences...' option, open the 'Display/Summaries' panel and search into 'Message list' frame. (Looks like you use the 'es_ES' locale so it would be: Configuración → Preferencias → Ver/Resúmenes → Lista de mensajes → Mostrar remitente usando la agenda) Let me know if some of this helps. best regards, -- Ricardo Mones ~ Don't take the name of root in vain. /usr/src/linux/README
diff --git a/src/addr_compl.c b/src/addr_compl.c index c6a1795..4ca55d5 100644 --- a/src/addr_compl.c +++ b/src/addr_compl.c @@ -183,7 +183,7 @@ static gint addr_completion_func(const gchar *needle, const gchar *haystack, */ static gint weight_addr_match(const address_entry* addr) { - gint n_weight = strlen(addr->name); + gint n_weight = addr->name ? strlen(addr->name): 0; gint a_weight = addr->address ? strlen(addr->address) : n_weight; gchar* match = NULL;
signature.asc
Description: Digital signature