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 681665 - Crash during fetch of the OAB url
Crash during fetch of the OAB url
Status: RESOLVED FIXED
Product: evolution-ews
Classification: Other
Component: Account Setup Plugin
3.6.x
Other Linux
: Normal critical
: ---
Assigned To: Evolution EWS maintainer(s)
Evolution EWS maintainer(s)
: 689129 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-08-12 01:58 UTC by Maciej (Matthew) Piechotka
Modified: 2013-08-30 10:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
0001-Treat-lack-of-the-autodiscovery-data-as-cancellation.patch (893 bytes, patch)
2012-09-29 07:59 UTC, Maciej (Matthew) Piechotka
rejected Details | Review
Valgrind log for evolution (610.20 KB, text/plain)
2012-10-20 10:15 UTC, Maciej (Matthew) Piechotka
  Details
proposed ews patch (2.54 KB, patch)
2012-10-22 14:17 UTC, Milan Crha
committed Details | Review

Description Maciej (Matthew) Piechotka 2012-08-12 01:58:15 UTC
Starting program: /usr/bin/evolution 
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffe757e700 (LWP 19979)]
[New Thread 0x7fffe6d4c700 (LWP 19980)]
[New Thread 0x7fffe654b700 (LWP 19981)]
[New Thread 0x7fffe5d4a700 (LWP 19982)]
[New Thread 0x7fffc616d700 (LWP 19983)]
[New Thread 0x7fffc596c700 (LWP 19984)]
[New Thread 0x7fffc516b700 (LWP 19985)]
[New Thread 0x7fffc496a700 (LWP 19986)]
[New Thread 0x7fffb7fff700 (LWP 19987)]
[New Thread 0x7fffb77fe700 (LWP 19988)]
[New Thread 0x7fffb61bb700 (LWP 19989)]
[New Thread 0x7fffb59ba700 (LWP 19990)]
[New Thread 0x7fffb4fb3700 (LWP 19991)]
[New Thread 0x7fff6fffd700 (LWP 19992)]
[New Thread 0x7fff6f7fc700 (LWP 19993)]
[New Thread 0x7fff6effb700 (LWP 19994)]
[Thread 0x7fff6f7fc700 (LWP 19993) exited]
[Thread 0x7fffb61bb700 (LWP 19989) exited]
[Thread 0x7fffb59ba700 (LWP 19990) exited]
[New Thread 0x7fffb59ba700 (LWP 20000)]
[New Thread 0x7fffb61bb700 (LWP 20001)]
[Thread 0x7fff6fffd700 (LWP 19992) exited]
[Thread 0x7fffc616d700 (LWP 19983) exited]
[New Thread 0x7fffc616d700 (LWP 20002)]
[Thread 0x7fffc516b700 (LWP 19985) exited]
[Thread 0x7fff6effb700 (LWP 19994) exited]
[Thread 0x7fffc496a700 (LWP 19986) exited]
[New Thread 0x7fffc496a700 (LWP 20003)]
[Thread 0x7fffc496a700 (LWP 20003) exited]
[New Thread 0x7fffc496a700 (LWP 20005)]
[New Thread 0x7fff6effb700 (LWP 20006)]
[Thread 0x7fffc496a700 (LWP 20005) exited]
[Thread 0x7fffc596c700 (LWP 19984) exited]
[New Thread 0x7fffc596c700 (LWP 20009)]
[Thread 0x7fffc596c700 (LWP 20009) exited]
[New Thread 0x7fffc596c700 (LWP 20014)]
[New Thread 0x7fffc496a700 (LWP 20015)]
[Thread 0x7fffc496a700 (LWP 20015) exited]
[New Thread 0x7fffc516b700 (LWP 20016)]
[Thread 0x7fffc516b700 (LWP 20016) exited]
[New Thread 0x7fffc496a700 (LWP 20017)]
[Thread 0x7fffc496a700 (LWP 20017) exited]
[New Thread 0x7fffc496a700 (LWP 20018)]
[Thread 0x7fffc496a700 (LWP 20018) exited]
[New Thread 0x7fffc496a700 (LWP 20019)]
[New Thread 0x7fffc516b700 (LWP 20020)]
[New Thread 0x7fff6fffd700 (LWP 20021)]
[Thread 0x7fffc496a700 (LWP 20019) exited]
[Thread 0x7fffc516b700 (LWP 20020) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffc596c700 (LWP 20014)]
autodiscover_response_cb (session=<optimized out>, msg=0x2dd4bf0, 
    data=0x7fff5400cc40) at e-ews-connection.c:1851
1851	e-ews-connection.c: No such file or directory.

Thread 24 (Thread 0x7fff6affb700 (LWP 20117))

  • #0 g_type_check_is_value_type
    at gtype.c line 4133
  • #1 g_value_init
    at gvalue.c line 173
  • #2 object_set_property
    at gobject.c line 1336
  • #3 g_object_constructor
    at gobject.c line 1868
  • #4 g_object_newv
    at gobject.c line 1718
  • #5 g_object_new_valist
    at gobject.c line 1835
  • #6 g_object_new
    at gobject.c line 1550
  • #7 g_memory_output_stream_new
    at gmemoryoutputstream.c line 374
  • #8 g_dbus_message_to_blob
    at gdbusmessage.c line 2261
  • #9 g_dbus_connection_send_message_unlocked
    at gdbusconnection.c line 1650
  • #10 remove_match_rule
    at gdbusconnection.c line 3357
  • #11 unsubscribe_id_internal
    at gdbusconnection.c line 3601
  • #12 g_dbus_connection_signal_unsubscribe
    at gdbusconnection.c line 3638
  • #13 g_dbus_proxy_finalize
    at gdbusproxy.c line 223
  • #14 g_object_unref
    at gobject.c line 3023
  • #15 auth_context_free
    at e-source-registry.c line 205
  • #16 e_source_registry_authenticate_sync
    at e-source-registry.c line 1689
  • #17 source_registry_authenticate_thread
    at e-source-registry.c line 1359
  • #18 run_in_thread
    at gsimpleasyncresult.c line 869
  • #19 io_job_thread
    at gioscheduler.c line 168
  • #20 g_thread_pool_thread_proxy
    at gthreadpool.c line 309
  • #21 g_thread_proxy
    at gthread.c line 801
  • #22 start_thread
    at pthread_create.c line 305
  • #23 clone
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S line 115

Thread 1 (Thread 0x7fffe9ae0940 (LWP 20083))

  • #0 gtk_box_forall
    at gtkbox.c line 1859
  • #1 gtk_container_get_request_mode
    at gtkcontainer.c line 1997
  • #2 count_request_modes
    at gtkcontainer.c line 1968
  • #3 gtk_notebook_forall
    at gtknotebook.c line 4482
  • #4 gtk_container_get_request_mode
    at gtkcontainer.c line 1997
  • #5 count_request_modes
    at gtkcontainer.c line 1968
  • #6 gtk_box_forall
    at gtkbox.c line 1865
  • #7 gtk_container_get_request_mode
    at gtkcontainer.c line 1997
  • #8 count_request_modes
    at gtkcontainer.c line 1968
  • #9 gtk_box_forall
    at gtkbox.c line 1865
  • #10 gtk_container_get_request_mode
    at gtkcontainer.c line 1997
  • #11 count_request_modes
    at gtkcontainer.c line 1968
  • #12 gtk_container_get_request_mode
    at gtkcontainer.c line 1997
  • #13 gtk_widget_get_preferred_size
    at gtksizerequest.c line 692
  • #14 gtk_window_compute_hints
    at gtkwindow.c line 7501
  • #15 gtk_window_compute_configure_request
    at gtkwindow.c line 6823
  • #16 gtk_window_move_resize
    at gtkwindow.c line 7054
  • #17 gtk_window_check_resize
    at gtkwindow.c line 6292
  • #18 gtk_window_check_resize
    at gtkwindow.c line 6285
  • #19 _g_closure_invoke_va
    at gclosure.c line 840
  • #20 g_signal_emit_valist
    at gsignal.c line 3211
  • #21 g_signal_emit
    at gsignal.c line 3356
  • #22 gtk_container_idle_sizer
    at gtkcontainer.c line 1681
  • #23 gdk_threads_dispatch
    at gdk.c line 788
  • #24 g_main_dispatch
    at gmain.c line 2691
  • #25 g_main_context_dispatch
    at gmain.c line 3195
  • #26 g_main_context_iterate
    at gmain.c line 3266
  • #27 g_main_context_iterate
    at gmain.c line 3203
  • #28 g_main_loop_run
    at gmain.c line 3460
  • #29 gtk_main
    at gtkmain.c line 1162
  • #30 main
    at main.c line 674

	Inferior 1 [process 20083] will be killed.

Quit anyway? (y or n)
Comment 1 Milan Crha 2012-08-31 16:06:54 UTC
Thanks for a bug report. Could you retest with the latest git master (or 3.5.90+), please? There was one issue fixed with the autodiscovery, and it works fine here, thus I'm wondering whether the fix helped on your side too. Thanks in advance.
Comment 2 Maciej (Matthew) Piechotka 2012-09-07 04:34:45 UTC
(In reply to comment #1)
> Thanks for a bug report. Could you retest with the latest git master (or
> 3.5.90+), please? There was one issue fixed with the autodiscovery, and it
> works fine here, thus I'm wondering whether the fix helped on your side too.
> Thanks in advance.

Sorry - I currently have problems (dependency hell) running GNOME 3.5 so I am using 3.4 only. I might try jhbuild over weekend.
Comment 3 Maciej (Matthew) Piechotka 2012-09-27 15:39:28 UTC
I finally managed to run gnome-shell 3.6. Reproduced on 3.6.

Starting program: /usr/bin/evolution 
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffd92b4700 (LWP 15338)]
[New Thread 0x7fffd39c1700 (LWP 15339)]
[New Thread 0x7fffd31c0700 (LWP 15340)]
[New Thread 0x7fffd29bf700 (LWP 15341)]
[New Thread 0x7fffb676f700 (LWP 15344)]
[New Thread 0x7fffb5f6e700 (LWP 15348)]
[New Thread 0x7fffb576d700 (LWP 15349)]
[New Thread 0x7fffb4f6c700 (LWP 15350)]
[New Thread 0x7fffa7fff700 (LWP 15351)]
[New Thread 0x7fffa77fe700 (LWP 15352)]
[New Thread 0x7fffa6ffd700 (LWP 15353)]
[New Thread 0x7fffa67fc700 (LWP 15354)]
[New Thread 0x7fffa53c5700 (LWP 15355)]
[New Thread 0x7fffa4bc4700 (LWP 15356)]
[Thread 0x7fffa4bc4700 (LWP 15356) exited]
[Thread 0x7fffb5f6e700 (LWP 15348) exited]
[Thread 0x7fffa53c5700 (LWP 15355) exited]
[New Thread 0x7fffa53c5700 (LWP 15362)]
[Thread 0x7fffa77fe700 (LWP 15352) exited]
[Thread 0x7fffa7fff700 (LWP 15351) exited]
[New Thread 0x7fffa7fff700 (LWP 15366)]
[Thread 0x7fffb576d700 (LWP 15349) exited]
[Thread 0x7fffb4f6c700 (LWP 15350) exited]
[Thread 0x7fffb676f700 (LWP 15344) exited]
[Thread 0x7fffa53c5700 (LWP 15362) exited]
[Thread 0x7fffa7fff700 (LWP 15366) exited]
[New Thread 0x7fffa7fff700 (LWP 15417)]
[Thread 0x7fffa7fff700 (LWP 15417) exited]
[New Thread 0x7fffa7fff700 (LWP 15421)]
[New Thread 0x7fffa53c5700 (LWP 15422)]
[New Thread 0x7fffb676f700 (LWP 15423)]
[New Thread 0x7fffb4f6c700 (LWP 15424)]
[Thread 0x7fffa53c5700 (LWP 15422) exited]
[Thread 0x7fffb4f6c700 (LWP 15424) exited]
[Thread 0x7fffa7fff700 (LWP 15421) exited]
[New Thread 0x7fffb4f6c700 (LWP 15425)]
[New Thread 0x7fffa7fff700 (LWP 15426)]
[Thread 0x7fffa7fff700 (LWP 15426) exited]
[Thread 0x7fffb676f700 (LWP 15423) exited]
[New Thread 0x7fffa7fff700 (LWP 15436)]
[Thread 0x7fffa7fff700 (LWP 15436) exited]
[Thread 0x7fffb4f6c700 (LWP 15425) exited]
[New Thread 0x7fffb4f6c700 (LWP 15443)]
[New Thread 0x7fffa7fff700 (LWP 15447)]
[New Thread 0x7fffb676f700 (LWP 15448)]
[Thread 0x7fffb676f700 (LWP 15448) exited]
[New Thread 0x7fffa53c5700 (LWP 15450)]
[New Thread 0x7fffb676f700 (LWP 15451)]
[New Thread 0x7fffa77fe700 (LWP 15452)]
[Thread 0x7fffb676f700 (LWP 15451) exited]
[Thread 0x7fffa53c5700 (LWP 15450) exited]
[Thread 0x7fffa77fe700 (LWP 15452) exited]
[New Thread 0x7fffa53c5700 (LWP 15453)]
[New Thread 0x7fffa77fe700 (LWP 15454)]
[New Thread 0x7fffb676f700 (LWP 15455)]
[New Thread 0x7fffa4bc4700 (LWP 15456)]
[New Thread 0x7fff53dec700 (LWP 15458)]
[New Thread 0x7fff535eb700 (LWP 15459)]
[New Thread 0x7fff52dea700 (LWP 15460)]
[Thread 0x7fffa53c5700 (LWP 15453) exited]
[Thread 0x7fffa4bc4700 (LWP 15456) exited]
[New Thread 0x7fffa4bc4700 (LWP 15467)]
[Thread 0x7fffa4bc4700 (LWP 15467) exited]
[New Thread 0x7fffa4bc4700 (LWP 15468)]
[Thread 0x7fffa4bc4700 (LWP 15468) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffa7fff700 (LWP 15447)]
autodiscover_response_cb (session=<optimized out>, msg=0x7fff9c021140, 
    data=0x25840b0) at e-ews-connection.c:1827
1827	e-ews-connection.c: No such file or directory.

Thread 27 (Thread 0x7fffa7fff700 (LWP 15447))

  • #0 autodiscover_response_cb
    at e-ews-connection.c line 1827
  • #1 process_queue_item
    at soup-session-async.c line 271
  • #2 soup_session_async_cancel_message
    at soup-session-async.c line 427
  • #3 soup_session_cancel_message
    at soup-session.c line 1630
  • #4 ews_connection_scheduled_cb
    at e-ews-connection.c line 290
  • #5 g_main_dispatch
    at gmain.c line 2715
  • #6 g_main_context_dispatch
    at gmain.c line 3219
  • #7 g_main_context_iterate
    at gmain.c line 3290
  • #8 g_main_context_iterate
    at gmain.c line 3227
  • #9 g_main_loop_run
    at gmain.c line 3484
  • #10 e_ews_soup_thread
    at e-ews-connection.c line 1421
  • #11 g_thread_proxy
    at gthread.c line 797
  • #12 start_thread
    at pthread_create.c line 305
  • #13 clone
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S line 115

Thread 1 (Thread 0x7ffff7f92940 (LWP 15335))

  • #0 magazine_chain_pop_head
    at gslice.c line 537
  • #1 thread_memory_magazine1_alloc
    at gslice.c line 835
  • #2 g_slice_alloc
    at gslice.c line 994
  • #3 g_list_prepend
    at glist.c line 275
  • #4 gtk_container_children_callback
    at gtkcontainer.c line 2941
  • #5 gtk_box_forall
    at gtkbox.c line 1865
  • #6 gtk_container_get_children
    at gtkcontainer.c line 2157
  • #7 gtk_box_get_path_for_child
    at gtkbox.c line 913
  • #8 gtk_container_get_path_for_child
    at gtkcontainer.c line 3425
  • #9 gtk_container_real_get_path_for_child
    at gtkcontainer.c line 2378
  • #10 gtk_container_get_path_for_child
    at gtkcontainer.c line 3425
  • #11 create_query_path
    at gtkstylecontext.c line 945
  • #12 build_properties
  • #13 gtk_style_context_update_cache
    at gtkstylecontext.c line 3001
  • #14 _gtk_style_context_validate
    at gtkstylecontext.c line 3196
  • #15 _gtk_style_context_validate
    at gtkstylecontext.c line 3218
  • #16 _gtk_style_context_validate
    at gtkstylecontext.c line 3218
  • #17 _gtk_style_context_validate
    at gtkstylecontext.c line 3218
  • #18 _gtk_style_context_validate
    at gtkstylecontext.c line 3218
  • #19 _gtk_style_context_validate
    at gtkstylecontext.c line 3218
  • #20 _gtk_style_context_validate
    at gtkstylecontext.c line 3218
  • #21 gtk_container_idle_sizer
    at gtkcontainer.c line 1660
  • #22 gdk_threads_dispatch
    at gdk.c line 788
  • #23 g_main_dispatch
    at gmain.c line 2715
  • #24 g_main_context_dispatch
    at gmain.c line 3219
  • #25 g_main_context_iterate
    at gmain.c line 3290
  • #26 g_main_context_iterate
    at gmain.c line 3227
  • #27 g_main_loop_run
    at gmain.c line 3484
  • #28 gtk_main
    at gtkmain.c line 1163
  • #29 main
    at main.c line 691

	Inferior 1 [process 15335] will be killed.

Quit anyway? (y or n)
Comment 4 Maciej (Matthew) Piechotka 2012-09-29 07:59:47 UTC
Created attachment 225371 [details] [review]
0001-Treat-lack-of-the-autodiscovery-data-as-cancellation.patch

After this patch is applied evolution don't crash any more. 

However - relevant output with added printf of parameters + ad + idx:
autodiscover_response_cb(0x2127bd0, 0x7fffa80160a0, 0x257ee00): 0x7fffd4044230, 1
autodiscover_response_cb(0x2127bd0, 0x20f6680, 0x257ee00): 0x7fffd4044230, 0
(evolution:9897): GLib-GIO-CRITICAL **: g_simple_async_result_get_op_res_gpointer: assertion `G_IS_SIMPLE_ASYNC_RESULT (simple)' failed
autodiscover_response_cb(0x2127bd0, 0x7fffa8016180, 0x257ee00): (nil), 0
(evolution:9897): GLib-GIO-CRITICAL **: g_simple_async_result_get_op_res_gpointer: assertion `G_IS_SIMPLE_ASYNC_RESULT (simple)' failed
autodiscover_response_cb(0x2127bd0, 0x7fffa8016260, 0x257ee00): (nil), 0

It looks like the async result were terminated before calling into function.
Comment 5 Milan Crha 2012-10-19 12:47:50 UTC
Thanks for the update. Just for a record, in 3.6.0:

1824	ad = g_simple_async_result_get_op_res_gpointer (simple);
1825
1826	for (idx = 0; idx < 4; idx++) {
1827		if (ad->msgs[idx] == msg)  // << crashes here
1828			break;
1829	}

I suppose you see the same runtime warnings even without the patch, which might make sense, because 'ad' is NULL for you, due to failed g_simple_async_result_get_op_res_gpointer() call. Are you able to reproduce this under valgrind? It may show where the 'simple' was freed, but as I expect this being about "proper" timing, then I'm not much sure whether you'll be able to reproduce this with slower run under valgrind.

I usually use command like this:
   $ G_SLICE=always-malloc valgrind --num-callers=50 evolution &>log.txt

By the way, is this when you run evolution for the first time, when there is no account configured, or when you add new ews account from Edit->Preferences->Mail Account->Add (or similarly File->New->Mail Account)?
Comment 6 Maciej (Matthew) Piechotka 2012-10-20 10:15:25 UTC
Created attachment 226881 [details]
Valgrind log for evolution

I've noticed that if I add email USER@SERVER and the login is LOGIN when USER !=LOGIN then it crashes. If USER == LOGIN then it succeeds for the same server.

(In reply to comment #5)
> Thanks for the update. Just for a record, in 3.6.0:
> 
> 1824    ad = g_simple_async_result_get_op_res_gpointer (simple);
> 1825
> 1826    for (idx = 0; idx < 4; idx++) {
> 1827        if (ad->msgs[idx] == msg)  // << crashes here
> 1828            break;
> 1829    }
> 
> I suppose you see the same runtime warnings even without the patch, which might
> make sense, because 'ad' is NULL for you, due to failed
> g_simple_async_result_get_op_res_gpointer() call. Are you able to reproduce
> this under valgrind? It may show where the 'simple' was freed, but as I expect
> this being about "proper" timing, then I'm not much sure whether you'll be able
> to reproduce this with slower run under valgrind.
> 
> I usually use command like this:
>    $ G_SLICE=always-malloc valgrind --num-callers=50 evolution &>log.txt
> 

Attached. However I would look into other errors shown as well (There read after free, reading after end of allocation etc.) Some of them like g_utf8_collate_key might be false negatives and be just vector instructions optimizations though.

> By the way, is this when you run evolution for the first time, when there is no
> account configured, or when you add new ews account from
> Edit->Preferences->Mail Account->Add (or similarly File->New->Mail Account)?

By Edit->Preferences->Mail Account->Add. I wanted to switch to goa account but I run into bug #685090 so I tried to add it back to Evolution.
Comment 7 Milan Crha 2012-10-22 10:50:17 UTC
Thanks for the update. You are right with the false positives, at least all the group about wcslen should be suppressed (I have it on my machine).

The group of issues involving cairo is new to me.

The one for WebKit::DOMObjectCache::clearByFrame is fixed in upstream of WebKit, but also only recently.

I've no information about WebCore::PluginDatabase::add.

The end of the log contains the crash information, showing there happened crash for use-after-free:

 Thread 9:
 Invalid read of size 8
    at 0x83CF9AE: g_simple_async_result_get_op_res_gpointer
    by 0x2ACC5D98: autodiscover_response_cb
    by 0xAC09C0D: process_queue_item (in /usr/lib64/libsoup-2.4.so.1.5.0)
    by 0xAC0A211: soup_session_async_cancel_message
    by 0xAC0733B: soup_session_cancel_message
    by 0x2ACC4CF7: ews_connection_scheduled_cb
    by 0x894A182: g_main_context_dispatch
    by 0x894A4CF: g_main_context_iterate.isra.25
    by 0x894A8B9: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3400.1)
    by 0x2ACC2C8D: e_ews_soup_thread
    by 0x896BFC4: g_thread_proxy (in /usr/lib64/libglib-2.0.so.0.3400.1)
    by 0x8C2AEA5: start_thread (in /lib64/libpthread-2.15.so)
    by 0x8F2970C: clone (in /lib64/libc-2.15.so)
  Address 0x3fe11000 is 0 bytes inside a block of size 104 free'd
    at 0x4C299B9: free (vg_replace_malloc.c:446)
    by 0x86E4463: g_type_free_instance
    by 0x59B7F30: e_async_closure_free
    by 0x2ACCB7DC: e_ews_autodiscover_ws_url_sync
    by 0x2FA02C57: mail_config_ews_autodiscover_try_password_sync
    by 0x59AC2FD: source_registry_authenticate_authenticate_cb
    by 0x133E6EAB: ffi_call_unix64 (in /usr/lib64/libffi.so.6.0.0)
    by 0x133E6904: ffi_call (in /usr/lib64/libffi.so.6.0.0)
    by 0x86C47B7: g_cclosure_marshal_generic
    by 0x86C3FAE: g_closure_invoke
    by 0x86D4D70: signal_emit_unlocked_R
    by 0x86DBF48: g_signal_emitv
    by 0x59C3A2F: e_dbus_authenticator_proxy_g_signal
    by 0x133E6EAB: ffi_call_unix64 (in /usr/lib64/libffi.so.6.0.0)
    by 0x133E6904: ffi_call (in /usr/lib64/libffi.so.6.0.0)
    by 0x86C47B7: g_cclosure_marshal_generic
    by 0x86C3FAE: g_closure_invoke
    by 0x86D5338: signal_emit_unlocked_R
    by 0x86DCD31: g_signal_emit_valist
    by 0x86DCED9: g_signal_emit (in /usr/lib64/libgobject-2.0.so.0.3400.1)
    by 0x8429AD3: on_signal_received (in /usr/lib64/libgio-2.0.so.0.3400.1)
    by 0x8419E84: emit_signal_instance_in_idle_cb
    by 0x894A182: g_main_context_dispatch
    by 0x894A4CF: g_main_context_iterate.isra.25
    by 0x894A8B9: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3400.1)
    by 0x59AE9F8: e_source_registry_authenticate_sync
    by 0x59AEA80: source_registry_authenticate_thread
    by 0x83D028B: run_in_thread
    by 0x83BE885: io_job_thread
    by 0x896C7E7: g_thread_pool_thread_proxy
    by 0x896BFC4: g_thread_proxy (in /usr/lib64/libglib-2.0.so.0.3400.1)
    by 0x8C2AEA5: start_thread (in /lib64/libpthread-2.15.so)
    by 0x8F2970C: clone (in /lib64/libc-2.15.so)
Comment 8 Milan Crha 2012-10-22 14:17:10 UTC
Created attachment 226998 [details] [review]
proposed ews patch

for evolution-ews;

Could you try with this patch, please? I'm still unable to reproduce this error, but I guess this reference change on 'simple' will help to avoid your crash. I think it's either because of your server or client machine being quicker than mine. Please run evolution from console while testing, and make sure there will be no runtime critical warnings (about assertions). Thanks in advance.
Comment 9 Maciej (Matthew) Piechotka 2012-10-30 11:32:56 UTC
Patch works for me.
Comment 10 Milan Crha 2012-10-30 12:59:33 UTC
Thanks for the testing and confirmation, I'm committing this into sources:

Created commit 1e4326a in ews master (3.7.2+)
Created commit 91959c5 in ews gnome-3-6 (3.6.2+)
Comment 11 Milan Crha 2013-08-30 10:55:13 UTC
*** Bug 689129 has been marked as a duplicate of this bug. ***