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 692780 - [abrt] Crash under ews_get_attachments()
[abrt] Crash under ews_get_attachments()
Status: RESOLVED FIXED
Product: evolution-ews
Classification: Other
Component: Calendar
3.10.x
Other Linux
: Normal critical
: ---
Assigned To: Evolution EWS maintainer(s)
Evolution EWS maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-01-29 10:17 UTC by Milan Crha
Modified: 2014-05-28 11:29 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Milan Crha 2013-01-29 10:17:09 UTC
Moving this from a downstream bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=905047

Version-Release number of selected component:
evolution-data-server-3.6.2-3.fc18

Additional info:
backtrace_rating: 4
cmdline:        /usr/libexec/evolution-calendar-factory
crash_function: ews_get_attachments
executable:     /usr/libexec/evolution-calendar-factory
kernel:         3.4.6-2.fc17.i686.PAE

Core was generated by `/usr/libexec/evolution-calendar-factory'.
Program terminated with signal 11, Segmentation fault.

Thread 7 (Thread 0xb7720980 (LWP 2151))

  • #0 __kernel_vsyscall
  • #1 poll
    at ../sysdeps/unix/syscall-template.S line 81
  • #2 poll
    at /usr/include/bits/poll2.h line 46
  • #3 g_poll
    at gpoll.c line 132
  • #4 g_main_context_poll
    at gmain.c line 3584
  • #5 g_main_context_iterate
    at gmain.c line 3285
  • #6 g_main_loop_run
    at gmain.c line 3484
  • #7 dbus_server_run_server
    at e-dbus-server.c line 222
  • #8 ffi_call_SYSV
    at ../src/x86/sysv.S line 64
  • #9 ffi_call
    at ../src/x86/ffi.c line 303
  • #10 g_cclosure_marshal_generic_va
    at gclosure.c line 1550
  • #11 g_type_class_meta_marshalv
    at gclosure.c line 997
  • #12 _g_closure_invoke_va
    at gclosure.c line 840
  • #13 g_signal_emit_valist
    at gsignal.c line 3211
  • #14 g_signal_emit
    at gsignal.c line 3356
  • #15 e_dbus_server_run
    at e-dbus-server.c line 396
  • #16 main
    at evolution-calendar-factory.c line 137

Comment 1 Milan Crha 2013-08-30 11:02:46 UTC
Maybe this is related to bug #704914, but it was fixed only recently.
Comment 2 Milan Crha 2014-05-28 08:42:47 UTC
The same crash under 3.10.4:
https://bugzilla.redhat.com/show_bug.cgi?id=1101783

Core was generated by `/usr/libexec/evolution-calendar-factory'.
Program terminated with signal SIGSEGV, Segmentation fault.

Thread 1 (Thread 0x7f4176ffd700 (LWP 2709))

  • #0 ews_get_attachments
    at e-cal-backend-ews.c line 3275
  • #1 ews_cal_sync_get_items_sync
    at e-cal-backend-ews.c line 3774
  • #2 cal_backend_ews_process_folder_items
    at e-cal-backend-ews.c line 3829
  • #3 ews_start_sync_thread
    at e-cal-backend-ews.c line 3934
  • #4 g_thread_proxy
    at gthread.c line 798
  • #5 start_thread
    at pthread_create.c line 309
  • #6 clone
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S line 111

Comment 3 Milan Crha 2014-05-28 11:29:21 UTC
Maybe not a real fix for this, but I cannot reproduce it, thus I added
a bit more thread-safety to the code and an ensure to not access
uninitialized memory in the future.

Created commit b0ad7c2 in ews master (3.13.3+) [1]
Created commit 5a6baec in ews evolution-ews-3-12 (3.12.3+)

[1] https://git.gnome.org/browse/evolution-ews/commit/?id=b0ad7c2