Bug 1516170

Summary: [abrt] [faf] [ECalBackendEws] Prevent crash when item has no MIME content set
Product: [Fedora] Fedora Reporter: Milan Crha <mcrha>
Component: evolution-ewsAssignee: Milan Crha <mcrha>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: mcrha
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/9d76e457ddd7a74bd774706a1453b330ab143ce6/
Whiteboard:
Fixed In Version: evolution-ews-3.26.2-2.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-28 23:52:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Milan Crha 2017-11-22 08:16:14 UTC
This bug has been created based on an anonymous crash report requested by the package maintainer.

Report URL: https://retrace.fedoraproject.org/faf/reports/bthash/9d76e457ddd7a74bd774706a1453b330ab143ce6/

The backtrace:
#1 icalparser_string_line_generator at icalparser.c:1278
#2 icalparser_get_line at icalparser.c:504
#3 icalparser_parse at icalparser.c:609
#4 icalparser_parse_string at icalparser.c:1332
#5 ecb_ews_item_to_component_sync at e-cal-backend-ews.c:477
#6 ecb_ews_get_items_sync at e-cal-backend-ews.c:1034
#7 ecb_ews_fetch_items_sync at e-cal-backend-ews.c:1097
#8 ecb_ews_get_changes_sync at e-cal-backend-ews.c:1686
#9 e_cal_meta_backend_get_changes_sync at e-cal-meta-backend.c:4672
#10 ecmb_refresh_internal_sync at e-cal-meta-backend.c:716
#11 cal_backend_dispatch_thread at e-cal-backend.c:254
#12 g_thread_pool_thread_proxy at gthreadpool.c:308
#13 g_thread_proxy at gthread.c:784
#14 start_thread at pthread_create.c:465
#15 __clone

Comment 1 Milan Crha 2017-11-22 08:18:31 UTC
This had been fixed upstream recently, with commit [1] for 3.27.3+ and [2] for 3.26.3+. I'll backport the change to Fedora.

And I forgot to add, this crash happened with evoltuion-ews-3.26.2-1.

[1] https://git.gnome.org/browse/evolution-ews/commit/?id=32fafa6e597690117503a1b709ed426c3d395f96
[2] https://git.gnome.org/browse/evolution-ews/commit/?h=gnome-3-26&id=e7e4bfd22d3cbe3efc1f504cabab63fb8bc9aadd

Comment 2 Fedora Update System 2017-11-22 08:52:24 UTC
evolution-ews-3.26.2-2.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-0c0e36c45a

Comment 3 Fedora Update System 2017-11-22 21:40:32 UTC
evolution-ews-3.26.2-2.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-0c0e36c45a

Comment 4 Fedora Update System 2017-11-28 23:52:55 UTC
evolution-ews-3.26.2-2.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.