RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1141662 - Crash when receiving message without body
Summary: Crash when receiving message without body
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: evolution-mapi
Version: 6.5
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Matthew Barnes
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks: 1172231 1269194 1363705
TreeView+ depends on / blocked
 
Reported: 2014-09-15 07:40 UTC by Siteshwar Vashisht
Modified: 2019-04-16 14:18 UTC (History)
3 users (show)

Fixed In Version: evolution-mapi-0.32.2-13.el6
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-21 09:09:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
fix for crash (667 bytes, patch)
2014-09-15 07:46 UTC, Siteshwar Vashisht
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0581 0 normal SHIPPED_LIVE evolution bug fix update 2017-03-21 12:23:58 UTC

Description Siteshwar Vashisht 2014-09-15 07:40:58 UTC
Description of problem:
/usr/libexec/e-calendar-factory crashes when user tries to open calendar through evolution.

Version-Release number of selected component (if applicable):
evolution-mapi-0.32.2-12.el6.x86_64

How reproducible:
Sometimes.

Steps to Reproduce:
Open Calendar in evolution

Actual results:
/usr/libexec/e-calendar-factory crashes

Expected results:
/usr/libexec/e-calendar-factory should not crash

Additional info:

Backtrace of the crash :

#0  0x00007fb81e2b2ab2 in mapi_mail_item_to_mime_message (conn=0x7fb80c057000, item=0x7fb8000970c0) at exchange-mapi-mail-utils.c:882
#1  0x00007fb81e2a3fd2 in obj_message_to_camel_mime (conn=0x7fb80c057000, fid=2356681192771695725, obj_message=0x7fb8066728f0, attach_list=0x7fb8066729b8, perror=0x0) at exchange-mapi-connection.c:923
#2  exchange_mapi_util_get_attachments (conn=0x7fb80c057000, fid=2356681192771695725, obj_message=0x7fb8066728f0, attach_list=0x7fb8066729b8, perror=0x0) at exchange-mapi-connection.c:1106
#3  0x00007fb81e2a4e2c in exchange_mapi_connection_fetch_items (conn=0x7fb80c057000, fid=2356681192771695725, res=<value optimized out>, sort_order=<value optimized out>, build_props=<value optimized out>, 
    brp_data=<value optimized out>, cb=0x7fb81e4c7340 <mapi_cal_get_changes_cb>, data=0x13de8b0, options=15, perror=0x7fb806672b60) at exchange-mapi-connection.c:1721
#4  0x00007fb81e4c9182 in get_deltas (handle=0x13de8b0, only_new_items=0) at e-cal-backend-mapi.c:819
#5  0x00007fb81e4ca09e in delta_thread (data=0x13de8b0) at e-cal-backend-mapi.c:1173
#6  0x0000003320a691b4 in ?? ()
#7  0x0000000000000000 in ?? ()

Related code in exchange-mapi-mail-utils.c :

881             } else if (build_related) {
882                     multipart_body = mapi_mime_build_multipart_related (item,
883                                                                         item->msg.body_parts->data,
884                                                                         inline_attachs);


(gdb) p item
$1 = (MailItem *) 0x7fb8000970c0
(gdb) p item->msg
$2 = {body_parts = 0x0}

Message has empty body. Following patch seems related :

https://git.gnome.org/browse/evolution-mapi/commit/?id=ce8561198e62dc8cd4c2ba47b988f9e4cb040f36

Comment 1 Siteshwar Vashisht 2014-09-15 07:46:45 UTC
Created attachment 937461 [details]
fix for crash

Attached patch to fix the crash.

Comment 2 Milan Crha 2014-09-15 09:04:53 UTC
Thanks for a bug report. The patch may fix the crash. The problem is that one of the calendar events has attached a message which doesn't have set message body. Then an attempt to download such event causes this crash.

Comment 9 errata-xmlrpc 2017-03-21 09:09:53 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2017-0581.html


Note You need to log in before you can comment on or make changes to this bug.