Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Nov 2010 05:39:07 GMT
From:      sergio lenzi <lenzi.sergio@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/152255: evolution version 2.32 crash when sending email 
Message-ID:  <201011150539.oAF5d7iD084981@www.freebsd.org>
Resent-Message-ID: <201011150540.oAF5e8YO010482@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         152255
>Category:       misc
>Synopsis:       evolution version 2.32 crash when sending email
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 15 05:40:08 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     sergio lenzi
>Release:        8.1
>Organization:
k1 sistemas
>Environment:
FreeBSD z6000.lenzinote 8.1-RELEASE-p1 FreeBSD 8.1-RELEASE-p1 #1: Mon Oct 25 22:23:14 BRST 2010     lzt@lenzi.bsd:/usr/obj/usr/src/sys/server  amd64

>Description:
the new version of evolution (2.32) when using a locale other than en or C, it crashes when sending email
this happens in the module mail-ops.c near line 607. 
the code tries to extract a message from a glib error that is not an error, so error points to a null address.

>How-To-Repeat:
choose locale=pt-BR, or es...  and send an email
>Fix:
apply patch in the attach

Patch attached with submission follows:

--- mail/mail-ops.c.orig	2010-11-13 01:47:58.616916175 -0200
+++ mail/mail-ops.c	2010-11-13 01:48:44.389445975 -0200
@@ -605,9 +605,9 @@
 				sent_folder_uri, 0, &local_error);
 			if (folder == NULL) {
 				g_string_append_printf (
-					err, _("Failed to append to %s: %s\n"
+					err, _("Failed to append to %s\n"
 					"Appending to local 'Sent' folder instead."),
-					sent_folder_uri, local_error->message);
+					sent_folder_uri);
 				g_clear_error (&local_error);
 			}
 		}


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011150539.oAF5d7iD084981>