evolution crashed with SIGSEGV in send_dbus_message()

Bug #722491 reported by Fabien Tassin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
evolution (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: evolution

evolution crashes somewhere in the mail notifier.

 #5 0x00007f8f31cbd18e in send_dbus_message (name=<value optimized out>, data=0x292e050 "imap://username@localhost/INBOX/Spam/almost-certainly/2011-02", new_count=1, msg_uid=<value optimized out>, msg_sender=0x2a14000 "???W???ѰT?C????????-??????-??????²??? Sun, 27 Feb 2011 23:35:56 -0700 <email address hidden>", msg_subject=0x2b6df70 "?Q???O???????H???@?B?\365\261\270\245X???????O???ӪѡA?P?L?Ӯɱ`?O???sô?A?O???\352\245\274?W???Ѳ????n???k?C") at mail-notification.c:168
         val = 0x7f8f2c24cb10 "msg_subject:?Q???O???????H???@?B?\365\261\270\245X???????O???ӪѡA?P?L?Ӯɱ`?O???sô?A?O???\352\245\274?W???Ѳ????n???k?C"
         message = 0x1c81320
         builder = 0x2b20a00
         error = 0x0
         __PRETTY_FUNCTION__ = "send_dbus_message"
 #6 0x00007f8f31cbdb05 in new_notify_dbus (ep=<value optimized out>, t=0x1faa9e0) at mail-notification.c:244
 No locals.
 #7 org_gnome_mail_new_notify (ep=<value optimized out>, t=0x1faa9e0) at mail-notification.c:1031
         __PRETTY_FUNCTION__ = "org_gnome_mail_new_notify"
 #8 0x00007f8f5c46d9d2 in e_event_emit (event=0x14a5760, id=0x7f8f4867234b "folder.changed", target=0x1faa9e0) at e-event.c:270
         info = 0x261d650
         item = 0x14c7630
         p = 0x14a57a0
         events = <value optimized out>
 #9 0x00007f8f48619ba9 in mail_backend_folder_changed_cb (folder_cache=0x14a5240, store=0xfc91f0, folder_uri=<value optimized out>, folder_fullname=0x1d9a0b0 "INBOX/Spam/almost-certainly/2011-02", new_messages=1, msg_uid=0x1d10540 "597", msg_sender=0x2953f40 "???W???ѰT?C????????-??????-??????²??? Sun, 27 Feb 2011 23:35:56 -0700 <email address hidden>", msg_subject=0x25a4570 "?Q???O???????H???@?B?\365\261\270\245X???????O???ӪѡA?P?L?Ӯɱ`?O???sô?A?O???\352\245\274?W???Ѳ????n???k?C", shell=0xfd7b90) at e-mail-backend.c:365
         folder = 0x7f8f2e51bdc0
         event = 0x14a5760
         target = 0x1faa9e0
         model = <value optimized out>
         folder_type = <value optimized out>
         flags = 8
         __PRETTY_FUNCTION__ = "mail_backend_folder_changed_cb"

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: evolution 2.32.2-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.37-6.17-generic 2.6.37-rc3
Uname: Linux 2.6.37-6-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Mon Feb 21 09:03:57 2011
ExecutablePath: /usr/bin/evolution
ProcCmdline: evolution
ProcCwd: /
ProcEnviron:
 SHELL=/usr/bin/tcsh
 LC_MESSAGES=en_US.utf8
 PATH=(custom, user)
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
SegvAnalysis:
 Segfault happened at: 0x7f8f5ac79aa2 <g_variant_is_trusted+2>: testb $0x4,0x20(%rdi)
 PC (0x7f8f5ac79aa2) ok
 source "$0x4" ok
 destination "0x20(%rdi)" (0x00000020) not located in a known VMA region (needed writable region)!
SegvReason: writing NULL VMA
Signal: 11
SourcePackage: evolution
StacktraceTop:
 g_variant_is_trusted (value=0x0) at /build/buildd/glib2.0-2.28.1/./glib/gvariant-core.c:600
 g_variant_builder_add_value (builder=0x7fffab89faf0, value=0x0) at /build/buildd/glib2.0-2.28.1/./glib/gvariant.c:3081
 g_variant_valist_new (str=0x7fffab89fba8, app=0x7fffab89fbd0) at /build/buildd/glib2.0-2.28.1/./glib/gvariant.c:4093
 g_variant_new_va (format_string=0x7f8f31cbe48e ")", endptr=0x0, app=0x7fffab89fbd0) at /build/buildd/glib2.0-2.28.1/./glib/gvariant.c:4248
 g_variant_builder_add (builder=0x2b20a00, format_string=<value optimized out>) at /build/buildd/glib2.0-2.28.1/./glib/gvariant.c:4390
Title: evolution crashed with SIGSEGV in g_variant_is_trusted()
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Fabien Tassin (fta) wrote :
Revision history for this message
Robert Ancell (robert-ancell) wrote :

Can you reproduce this problem? Can you run evolution from the terminal and see what output is printed?

It appears what might be happening is the email doesn't contain valid UTF-8, and dbus/gvariant doesn't handle this case.

Changed in evolution (Ubuntu):
assignee: nobody → Ubuntu Desktop (ubuntu-desktop)
Revision history for this message
Fabien Tassin (fta) wrote :

I can sure reproduce the crash. it happened to me a dozen times already this month.
It's always with a spam (i get lots of them).

I'm now capturing the outputs. I will update the bug once I have something.

Changed in evolution (Ubuntu):
status: New → Opinion
Changed in evolution (Ubuntu):
status: Opinion → New
Revision history for this message
Robert Ancell (robert-ancell) wrote :

Note, you should be able to workaround this problem by going to Edit>Plugins, then select the Mail Notification plugin, and disable "Generate a D-Bus message" in the configuration tab.

Changed in evolution (Ubuntu):
assignee: Ubuntu Desktop (ubuntu-desktop) → nobody
Revision history for this message
Sebastien Bacher (seb128) wrote :

It's somewhat similar to https://bugzilla.gnome.org/show_bug.cgi?id=635825 but as it was writen in previous comment it seems somewhat non valid utf-8 strings are used there

Revision history for this message
Sebastien Bacher (seb128) wrote :

Could you maybe ping the #evolution guys on IRC or open the bug on bugzilla.gnome.org?

Revision history for this message
Sebastien Bacher (seb128) wrote :

Unassigning from ubuntu-desktop to avoid spamming the list with bug emails, setting to low since that option is not on in the default installation

Changed in evolution (Ubuntu):
importance: Undecided → Low
Revision history for this message
Fabien Tassin (fta) wrote :
Changed in evolution (Ubuntu):
status: New → Triaged
Revision history for this message
Jörg Frings-Fürst (jff-de) wrote :

Change status to Fix Released (see gnome-bugs)

Changed in evolution (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.