After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 644792 - [mail-notify] Crash when sending D-Bus message
[mail-notify] Crash when sending D-Bus message
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Plugins
2.32.x (obsolete)
Other Linux
: Normal critical
: ---
Assigned To: evolution-plugin-maintainers
Evolution QA team
: 645840 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-03-15 07:29 UTC by Milan Crha
Modified: 2011-05-12 08:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Milan Crha 2011-03-15 07:29:45 UTC
Moving this from a downstream bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=684822

abrt version: 1.1.17
architecture: x86_64
Attached file: backtrace, 173657 bytes
cmdline: evolution
component: evolution
Attached file: coredump, 326021120 bytes
crash_function: g_variant_is_trusted
executable: /usr/bin/evolution
kernel: 2.6.35.11-83.fc14.x86_64
package: evolution-2.32.2-1.fc14
rating: 4
reason: Process /usr/bin/evolution was killed by signal 11 (SIGSEGV)
release: Fedora release 14 (Laughlin)
time: 1300116729
uid: 500

Thread 1 (Thread 0x7fdc33594980 (LWP 21463))

  • #0 g_variant_is_trusted
    at gvariant-core.c line 600
  • #1 g_variant_builder_add_value
    at gvariant.c line 2932
  • #2 g_variant_valist_new
    at gvariant.c line 3928
  • #3 g_variant_new_va
  • #4 g_variant_builder_add
    at gvariant.c line 4225
  • #5 send_dbus_message
    at mail-notification.c line 136
  • #6 read_notify_dbus
    at mail-notification.c line 242
  • #7 org_gnome_mail_read_notify
    at mail-notification.c line 1040
  • #8 e_event_emit
    at e-event.c line 270
  • #9 mail_reader_message_loaded_cb
    at e-mail-reader.c line 2229
  • #10 mail_msg_idle_cb
    at mail-mt.c line 451
  • #11 g_main_dispatch
    at gmain.c line 2149
  • #12 g_main_context_dispatch
    at gmain.c line 2702
  • #13 g_main_context_iterate
    at gmain.c line 2780
  • #14 g_main_loop_run
    at gmain.c line 2988
  • #15 IA__gtk_main
    at gtkmain.c line 1237
  • #16 main
    at main.c line 679

Comment 1 Milan Crha 2011-03-15 07:30:08 UTC
I see in the backtrace that this is caused by the mail-notification plugin, which is trying to send a DBus message about newly received emails, but the description strings seems to be UTF8 invalid, which GVariant resolves simply, it aborts the application.

As a workaround, please go to Edit->Plugins, choose Mail Notification plugin and in the Configuration tab uncheck a "Generate a D-Bus message" option.
Comment 2 Milan Crha 2011-03-15 11:54:05 UTC
I cannot reproduce this myself, I suppose this was just a coincidence crash. As a workaround, I committed a change to the sources to check whether values going to be passed into GVariant are still UTF8 valid (which they should). I also changed couple other issues I noticed in the message-list which I faced when moving between folders quickly (moving as selecting different folders).

Created commit 40346a7 in evo master (2.91.92+)
Comment 3 Milan Crha 2011-05-12 08:57:34 UTC
*** Bug 645840 has been marked as a duplicate of this bug. ***