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 704940 - [abrt] Crash in sync_xxx_response_cb()
[abrt] Crash in sync_xxx_response_cb()
Status: RESOLVED FIXED
Product: evolution-ews
Classification: Other
Component: Mail
3.8.x
Other Linux
: Normal critical
: ---
Assigned To: Evolution EWS maintainer(s)
Evolution EWS maintainer(s)
: 689962 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-07-26 16:57 UTC by Milan Crha
Modified: 2013-07-31 12:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Bug #704940 - Crash in sync_xxx_response_cb() (1.45 KB, patch)
2013-07-30 13:07 UTC, Fabiano Fidêncio
committed Details | Review

Description Milan Crha 2013-07-26 16:57:15 UTC
Moving this from a downstream bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=988468

Description of problem:
I switched to Calndar view, but saw no appointments, only calendar grid. After couple of seconds the client has crashed. I'm using EWS to sync with Exchange  2010

Version-Release number of selected component:
evolution-3.8.3-2.fc19

Additional info:
reporter:       libreport-2.1.5
backtrace_rating: 4
cmdline:        evolution
crash_function: sync_xxx_response_cb
executable:     /usr/bin/evolution
kernel:         3.9.9-302.fc19.x86_64

Core was generated by `evolution'.
Program terminated with signal 11, Segmentation fault.
0  0x00007ff4b2162568 in sync_xxx_response_cb (subparam=subparam@entry=0x7ff47806c080, async_data=async_data@entry=0x7ff46e15c150, parser=0x7ff4b21737e0 <e_ews_item_new_from_soap_parameter>, last_tag=last_tag@entry=0x7ff4b2180199 "IncludesLastItemInRange", delete_id_tag=delete_id_tag@entry=0x7ff4b2180de6 "ItemId") at e-ews-connection.c:613
613		if (!strcmp (last, "true"))

Thread 1 (Thread 0x7ff48a151700 (LWP 7834))

  • #0 sync_xxx_response_cb
    at e-ews-connection.c line 613
  • #1 sync_folder_items_response_cb
    at e-ews-connection.c line 746
  • #2 ews_response_cb
    at e-ews-connection.c line 584
  • #3 soup_session_process_queue_item
    at soup-session.c line 1858
  • #4 async_run_queue
    at soup-session.c line 1896
  • #5 idle_run_queue
    at soup-session.c line 1930
  • #6 g_main_dispatch
    at gmain.c line 3054
  • #7 g_main_context_dispatch
    at gmain.c line 3630
  • #8 g_main_context_iterate
    at gmain.c line 3701
  • #9 g_main_loop_run
    at gmain.c line 3895
  • #10 e_ews_soup_thread
    at e-ews-connection.c line 1454
  • #11 g_thread_proxy
    at gthread.c line 798
  • #12 start_thread
    at pthread_create.c line 308
  • #13 clone
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S line 113

Comment 1 Fabiano Fidêncio 2013-07-30 13:07:52 UTC
Created attachment 250465 [details] [review]
Bug #704940 - Crash in sync_xxx_response_cb()

This patch is a workaround that avoid the crash without mess with the
functions using the returned values. A proper fix can be done as soon
we figure out the real cause of the problem.
Comment 2 Milan Crha 2013-07-30 13:09:19 UTC
Review of attachment 250465 [details] [review]:

Looks good, please commit. Thanks.
Comment 4 Fabiano Fidêncio 2013-07-31 12:50:31 UTC
*** Bug 689962 has been marked as a duplicate of this bug. ***