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 722841 - Evolution mail client crashes while loading html
Evolution mail client crashes while loading html
Status: RESOLVED INCOMPLETE
Product: evolution
Classification: Applications
Component: Mailer
3.10.x (obsolete)
Other Linux
: Normal critical
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2014-01-23 15:56 UTC by KTP
Modified: 2015-06-19 18:56 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description KTP 2014-01-23 15:56:42 UTC
When opening emails containing HTML, the client often crash.  Disabling proxy in the client seems to fix it.

gdb gives me the following: 

read 0x7fff1effd700 (LWP 4334) exited]
[Thread 0x7ffefcff9700 (LWP 4346) exited]
[Thread 0x7fff1ffff700 (LWP 4332) exited]
[Thread 0x7ffefffff700 (LWP 4340) exited]
[Thread 0x7fff353ba700 (LWP 4338) exited]

(evolution:4178): e-data-server-CRITICAL **: ep_read_key_boolean: assertion 'E_IS_PROXY (proxy)' failed

(evolution:4178): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer

(evolution:4178): GLib-GObject-CRITICAL **: g_signal_emit_valist: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
[Thread 0x7ffefdffb700 (LWP 4344) exited]
[Thread 0x7ffefd7fa700 (LWP 4345) exited]
[Thread 0x7fff1cffa700 (LWP 4323) exited]
[Thread 0x7fff36fde700 (LWP 4335) exited]
[Thread 0x7fff1f7fe700 (LWP 4333) exited]
[New Thread 0x7fff1f7fe700 (LWP 4353)]
[New Thread 0x7fff36fde700 (LWP 4354)]
[New Thread 0x7fff1cffa700 (LWP 4355)]
[New Thread 0x7ffefd7fa700 (LWP 4356)]
[New Thread 0x7fff35bbb700 (LWP 4357)]
[New Thread 0x7fff353ba700 (LWP 4358)]
[New Thread 0x7fff1ffff700 (LWP 4359)]
[New Thread 0x7fff1effd700 (LWP 4360)]
Comment 1 KTP 2014-01-23 15:57:33 UTC
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffef6ffd700 (LWP 4369)]
0x00007ffff3da6887 in g_slice_alloc () from /usr/lib/libglib-2.0.so.0
Comment 2 Milan Crha 2014-01-27 15:34:29 UTC
Thanks for a bug report. I tried to reproduce this, but no luck. Could you install debuginfo packages for evolution-data-server and evolution, repeat the crash when you'll have running evolution under gdb, and when it crashes, invoke "t a a bt" gdb command, please? It'll give a backtrace with all threads included.

Your observation with proxy seems correct to me, especially with the runtime warning from comment #0:
> (evolution:4178): e-data-server-CRITICAL **: ep_read_key_boolean: assertion
> 'E_IS_PROXY (proxy)' failed
which indicates that a wrong object has been passed into the ep_read_key_boolean() function. It'll be interesting to see actual place where this wrong call is done.

By the way, what is your exact evolution version, please? I'm testing this with a pre-3.10.4 version, git checkout of gnome-3-10 branch, with a simple HTML message which contains a single remote image, which is downloaded from the internet when I press Ctrl+I, using the proxy settings I have in Evolution's Preferences.
Comment 3 Milan Crha 2014-02-07 08:38:58 UTC
Similar downstream bug report from evolution-3.10.3-1.fc20:
https://bugzilla.redhat.com/show_bug.cgi?id=1061939

Description of problem:
Was using the arrow keys to move through emails when Evolution crashed.  Not really sure what I did to cause the crash.

Version-Release number of selected component:
evolution-3.10.3-1.fc20

Additional info:
reporter:       libreport-2.1.11
backtrace_rating: 4
cmdline:        evolution
crash_function: soup_uri_free
executable:     /usr/bin/evolution
kernel:         3.12.8-300.fc20.x86_64

Feb 05 11:57:35 localhost.localdomain gnome-session[1645]: evolution-shell-Message: Connection established.  Going online.
Feb 05 11:58:08 localhost.localdomain gnome-session[1645]: evolution-shell-Message: Network disconnected.  Forced offline.
Feb 05 11:59:24 localhost.localdomain gnome-session[1645]: evolution-shell-Message: Connection established.  Going online.
Feb 05 11:59:54 localhost.localdomain gnome-session[1645]: evolution-shell-Message: Network disconnected.  Forced offline.
Feb 05 12:02:27 localhost.localdomain gnome-session[1645]: evolution-shell-Message: Connection established.  Going online.
Feb 05 12:17:27 localhost.localdomain gnome-session[1645]: (evolution:5175): camel-WARNING **: No from set for message
Feb 05 13:21:49 localhost.localdomain gnome-session[1645]: evolution-shell-Message: Network disconnected.  Forced offline.
Feb 05 13:39:32 localhost.localdomain gnome-session[1645]: evolution-shell-Message: Connection established.  Going online.
Feb 05 13:52:39 localhost.localdomain gnome-session[1645]: evolution-shell-Message: Network disconnected.  Forced offline.
Feb 05 14:18:14 localhost.localdomain gnome-session[1645]: evolution-shell-Message: Connection established.  Going online.
Feb 05 14:36:37 localhost.localdomain gnome-session[1645]: evolution-shell-Message: Network disconnected.  Forced offline.
Feb 05 15:11:04 localhost.localdomain gnome-session[1645]: evolution-shell-Message: Connection established.  Going online.
Feb 05 15:42:35 localhost.localdomain gnome-session[1645]: evolution-shell-Message: Network disconnected.  Forced offline.
Feb 05 15:43:06 localhost.localdomain gnome-session[1645]: evolution-shell-Message: Connection established.  Going online.
Feb 05 16:37:16 localhost.localdomain gnome-session[1645]: evolution-shell-Message: Network disconnected.  Forced offline.
Feb 05 17:07:13 localhost.localdomain gnome-session[1645]: evolution-shell-Message: Connection established.  Going online.
Feb 05 17:09:32 localhost.localdomain gnome-session[1645]: (evolution:5175): GLib-GIO-CRITICAL **: g_settings_get_value: assertion 'G_IS_SETTINGS (settings)' failed
Feb 05 17:09:32 localhost.localdomain gnome-session[1645]: (evolution:5175): GLib-CRITICAL **: g_variant_get_string: assertion 'value != NULL' failed
Feb 05 17:09:32 localhost.localdomain gnome-session[1645]: (evolution:5175): GLib-CRITICAL **: g_variant_unref: assertion 'value != NULL' failed
Feb 05 17:09:32 localhost.localdomain gnome-session[1645]: (evolution:5175): e-data-server-CRITICAL **: ep_read_key_boolean: assertion 'E_IS_PROXY (proxy)' failed

Core was generated by `evolution'.
Program terminated with signal SIGSEGV, Segmentation fault.

Thread 1 (Thread 0x7fdd3595aa40 (LWP 5175))

  • #0 munmap_chunk
    at malloc.c line 2791
  • #1 __GI___libc_free
    at malloc.c line 2902
  • #2 g_free
    at gmem.c line 197
  • #3 soup_uri_free
    at soup-uri.c line 671
  • #4 ep_change_uri
    at e-proxy.c line 603
  • #5 ep_set_proxy
    at e-proxy.c line 696
  • #6 g_cclosure_marshal_VOID__STRINGv
    at gmarshal.c line 1004
  • #7 _g_closure_invoke_va
    at gclosure.c line 840
  • #8 g_signal_emit_valist
    at gsignal.c line 3238
  • #9 g_signal_emit
    at gsignal.c line 3386
  • #10 g_settings_real_change_event
    at gsettings.c line 288
  • #11 ffi_call_unix64
    at ../src/x86/unix64.S line 76
  • #12 ffi_call
    at ../src/x86/ffi64.c line 522
  • #13 g_cclosure_marshal_generic_va
    at gclosure.c line 1550
  • #14 _g_closure_invoke_va
    at gclosure.c line 840
  • #15 g_signal_emit_valist
    at gsignal.c line 3238
  • #16 g_signal_emit
    at gsignal.c line 3386
  • #17 settings_backend_path_changed
    at gsettings.c line 363
  • #18 g_settings_backend_invoke_closure
    at gsettingsbackend.c line 271
  • #19 g_main_dispatch
    at gmain.c line 3066
  • #20 g_main_context_dispatch
    at gmain.c line 3642
  • #21 g_main_context_iterate
    at gmain.c line 3713
  • #22 g_main_loop_run
    at gmain.c line 3907
  • #23 gtk_main
    at gtkmain.c line 1158
  • #24 main
    at main.c line 683

Comment 4 KTP 2014-02-07 10:02:10 UTC
evolution-data-server 3.10.3-1 (arch repos).  It wasn't 100% reproduceable, but always on HTML emails.  It's been solid running without proxy.

(In reply to comment #2)
> 
> By the way, what is your exact evolution version, please? I'm testing this with
> a pre-3.10.4 version, git checkout of gnome-3-10 branch, with a simple HTML
> message which contains a single remote image, which is downloaded from the
> internet when I press Ctrl+I, using the proxy settings I have in Evolution's
> Preferences.
Comment 5 Milan Crha 2014-02-07 11:17:40 UTC
I'm wondering whether this has anything to do with bug #720740, while it's not exactly the same thing, it has a common point of being invoked during GSettings change notification.  The proxy used to be used (and still is in 3.10.x, just the next 3.12 doesn't use it anymore), to setup proxy for SoupSession-s and other connections. It's used for example when searching for a picture of a sender at a gravatar.com server, or when downloading remote images in HTML mails, when it is recognized that the images can be loaded (in the case of a backtrace from comment #3 it means that the sender is in any of the address books).
Comment 6 Alexandre Franke 2015-06-19 18:56:16 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug report if you can provide the information that was asked for in a previous comment.
Thanks!