missing email parts

Bug #434662 reported by Zaris
84
This bug affects 15 people
Affects Status Importance Assigned to Milestone
evolution-mapi (Ubuntu)
Fix Released
Undecided
Unassigned
Nominated for Karmic by Zaris

Bug Description

Binary package hint: evolution-mapi

Mail listing shows From and Subject colums empty for many messages. In preview or opened message those fields exists. But then the message body is missing parts. Instead of missing part there is "[?]" string. (Those might be separate problems)

Samples from terminal:
...
(evolution:12920): camel-WARNING **: Could not open converter for 'CP28591' to 'UTF-8' charset
libexchangemapi-Message: exchange-mapi-connection.c:1315: exchange_mapi_connection_fetch_items: unlock(connect_lock)
...
gemapi-Message: exchange-mapi-connection.c:1486: exchange_mapi_connection_fetch_item: unlock(connect_lock)
,,;,;,,
exchange-mapi-connection.c:1488: Leaving exchange_mapi_connection_fetch_item Invalid header line: 'Microsoft Mail Internet Headers Version 2.0'
Invalid header line: ' name="winmail.dat"'
Invalid header line: ' "<email address hidden>"'
...

Ubuntu release:
$lsb_release -rd
Description: Ubuntu karmic (development branch)
Release: 9.10

(I'm running Kubuntu-desktop)

Package version:

$apt-cache policy evolution-mapi
evolution-mapi:
  Installed: 0.27.92-0ubuntu1
  Candidate: 0.27.92-0ubuntu1
  Version table:
 *** 0.27.92-0ubuntu1 0
        500 http://archive.ubuntu.com karmic/universe Packages
        100 /var/lib/dpkg/status

$apt-cache policy evolution
evolution:
  Installed: 2.28.0-0ubuntu1
  Candidate: 2.28.0-0ubuntu1
  Version table:
 *** 2.28.0-0ubuntu1 0
        500 http://archive.ubuntu.com karmic/main Packages
        100 /var/lib/dpkg/status

Expected:

Normal email headers and contents.

Got:

Empty headers in listing, missing parts when opened.

Zaris (zaris)
description: updated
Revision history for this message
_kai_ (gpayo) wrote :

I have the same problem when using the MAPI evolution plugin. But I have a "Segmentation fault (core dumped)"

Changed in evolution-mapi (Ubuntu):
status: New → Confirmed
Revision history for this message
Zaris (zaris) wrote :

At some point I started to get the Segmentation fault too every time when opening a message. So now I don't know if I have that "missing parts" problem still too, probably.

Revision history for this message
Matthew Kennedy (lispnik) wrote :

I think this is the same problem with stack trace:

evolution-mapi 0.28.0-0ubuntu1
libexchangemapi1.0-0 0.28.0-0ubuntu1

[New Thread 0xafd58b70 (LWP 21217)]

exchange-mapi-connection.c:1342: Entering exchange_mapi_connection_fetch_item: folder-id C616000000000037 message-id 9DBF1D5500000001libexchangemapi-Message: exchange-mapi-connection.c:1344: exchange_mapi_connection_fetch_item: lock(connect_lock)

** (evolution:21170): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed

exchange-mapi-connection.c:616: Entering exchange_mapi_util_get_attachments
exchange-mapi-connection.c:709: Leaving exchange_mapi_util_get_attachments
exchange-mapi-connection.c:805: Entering exchange_mapi_util_get_recipients
exchange-mapi-connection.c:842: Leaving exchange_mapi_util_get_recipients
exchange-mapi-connection.c:272: Entering exchange_mapi_util_read_body_stream
exchange-mapi-connection.c:182: Entering exchange_mapi_util_read_generic_stream
Attempt to read stream for proptag 0x10130102
Attempt succeeded for proptag 0x10130102 (after name conversion)
exchange-mapi-connection.c:250: Leaving exchange_mapi_util_read_generic_stream
exchange-mapi-connection.c:390: Leaving exchange_mapi_util_read_body_stream
exchange-mapi-connection.c:182: Entering exchange_mapi_util_read_generic_stream
Attempt to read stream for proptag 0x10130102
Attempt succeeded for proptag 0x10130102 (after name conversion)
exchange-mapi-connection.c:250: Leaving exchange_mapi_util_read_generic_stream libexchangemapi-Message: exchange-mapi-connection.c:1486: exchange_mapi_connection_fetch_item: unlock(connect_lock)
,(),
exchange-mapi-connection.c:1488: Leaving exchange_mapi_connection_fetch_item Invalid header line: ' ([10.30.1.186]) with mapi; Tue, ' Nov 2009 15:26:32 -0600
Invalid header line: ''

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xafd58b70 (LWP 21217)]
0xb4587be9 in exchange_mapi_util_find_stream () from /usr/lib/libexchangemapi-1.0.so.0
(gdb) where
#0 0xb4587be9 in exchange_mapi_util_find_stream () from /usr/lib/libexchangemapi-1.0.so.0
#1 0xb45b5ad6 in ?? () from /usr/lib/evolution-data-server-1.2/camel-providers/libcamelmapi.so
#2 0xb7d94a56 in camel_folder_get_message (folder=0xb2d2c838, uid=0x85c8210 "C6160000000000379DBF1D5500000001", ex=0x83fe6c4)
    at camel-folder.c:1121
#3 0xb59b3b33 in get_message_exec (m=0x83fe6b0) at mail-ops.c:1828
#4 0xb59b85d0 in mail_msg_proxy (msg=0x83fe6b0) at mail-mt.c:522
#5 0xb6a0c99f in g_thread_pool_thread_proxy (data=0x83f49c8) at /build/buildd/glib2.0-2.22.2/glib/gthreadpool.c:265
#6 0xb6a0b36f in g_thread_create_proxy (data=0x8565bd8) at /build/buildd/glib2.0-2.22.2/glib/gthread.c:635
#7 0xb782b80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8 0xb692f7ee in clone () from /lib/tls/i686/cmov/libc.so.6

Revision history for this message
max (maxozilla) wrote :

I can confirm that I am also having this problem with Ubuntu 9.10 and Evolution 2.28.1 and an Exchange server.

Revision history for this message
_Xtian_ (xtianrelling) wrote :

I have the same problem.

ReUbuntu release:
$lsb_release -rd
Description: Ubuntu 9.10
Release: 9.10

(Running kde-desktop)

~$ apt-cache policy evolution
evolution:
  Instalados: 2.28.1-0ubuntu2
  Candidato: 2.28.1-0ubuntu2
  Tabla de versión:
 *** 2.28.1-0ubuntu2 0
        500 http://ar.archive.ubuntu.com karmic-updates/main Packages
        100 /var/lib/dpkg/status
     2.28.1-0ubuntu1 0
        500 http://ar.archive.ubuntu.com karmic/main Packages

evolution-mapi 0.28.2 compile from source.

Revision history for this message
Excalibur (dev-arthurk) wrote :

Same problem here as well.

Exchange 2007 on remote email server. (Wish the BOFHs here would just allow IMAP)
Ubuntu 9.10 locally.

$ apt-cache policy evolution
evolution:
  Installed: 2.28.1-0ubuntu2
  Candidate: 2.28.1-0ubuntu2
  Version table:
 *** 2.28.1-0ubuntu2 0
        100 /var/lib/dpkg/status
     2.28.1-0ubuntu1 0
        500 http://76.73.4.58 karmic/main Packages
--------
evolution-mapi:
  Installed: 0.28.0-0ubuntu1
  Candidate: 0.28.0-0ubuntu1
  Version table:
 *** 0.28.0-0ubuntu1 0
        500 http://76.73.4.58 karmic/universe Packages
        100 /var/lib/dpkg/status

Evolution works for about 30 seconds importing new mail on new Exchange-MAPI account, then segfaults:

[...]
exchange-mapi-connection.c:390: Leaving exchange_mapi_util_read_body_stream
exchange-mapi-connection.c:182: Entering exchange_mapi_util_read_generic_stream
Attempt to read stream for proptag 0x10130102
Attempt succeeded for proptag 0x10130102 (after name conversion)
exchange-mapi-connection.c:250: Leaving exchange_mapi_util_read_generic_stream libexchangemapi-Message: exchange-mapi-connection.c:1486: exchange_mapi_connection_fetch_item: unlock(connect_lock)
;;;;;
'xchange-mapi-connection.c:1488: Leaving exchange_mapi_connection_fetch_item Invalid header line: 'Microsoft Mail Internet Headers Version 2.0
Segmentation fault

Revision history for this message
komputes (komputes) wrote :

Bug #380678 seems to have the same symptoms:
Empty "From", "Subject", and a Question Mark [?] under "Date" (From MS Exchange Server)

Revision history for this message
Zelcor (x-launchpad-dev-null-name) wrote :

Same for me with fedora/evolution/openchange

Question marks appear only in message part containing characters with accent.

When I edit message source and replace :

    Content-Type: text/html; charset="CP28591"

with :

    Content-Type: text/html; charset="iso-8859-1"

the message is ok.

Revision history for this message
Marco Behler (mb-bwso) wrote :

Same here.

Lucid Lynx + Evolution + Mapi + CP28591 => [?] [?][?][?][?][?][?][?][?]

Revision history for this message
Pavel (pavel-chjen) wrote :

Having same issue, after compiled evolution from source. evoulution-2.30.1 evolution-mapi-0.30.
evolution die after it processing messages indexes.

Revision history for this message
Patrick (94bc1052) wrote :

I think this problem occurs only if there are non-English characters involved (äöü in German or êèëéàáôç in French). This is strange, since I can use French and German characters in other programs without any problems, just Evolution doesn't like them.

Revision history for this message
Piotr Roszatycki (dexter) wrote :

It is fixed in Evolution 0.31.

I've attached backported patch.

tags: added: patch
Revision history for this message
Conrad Kostecki (conikost) wrote :

I've installed Ubuntu 10.04 LTS x64 and run into the same problem :(
I've also tried the Patch, which should fix this, but it did't help.

(downloaded source, applied the patch, ./configure, make and created a .deb for install)

There is still in most of my e-mails a lot of text missing and only "[?]" shown.

Revision history for this message
PhoneixS (phoneixsegovia) wrote :

I have the same problem with Evolution 2.28.3 and evoultion-mapi 0.28.3. In emails from outside company exchange, are ok, but that from exchange are saw wrong.
This is part of the email code:

Content-Transfer-Encoding: 8bit
Content-Type: text/html; charset="CP28591"

<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">

As I see that the meta say charset=iso-8859-1, I selected the menu See / Character encoding / ISO-8859-15 (that is similar) and then the email appear ok. I don't know why is set to CP28591 internally.

tags: added: patch-accepted-upstream
Revision history for this message
Sebastien Bacher (seb128) wrote :

the new version is in ubuntu

Changed in evolution-mapi (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Andres Muniz (andresmp) wrote :

Hi I seem to be having a similar problem. Running 2.32.2 evolution and natty ubuntu.

Revision history for this message
Alfred (alfred-egger) wrote :

The problem still occurs on Evolution 3.2.3 on 12.04. Contacts who are Exchange users at the same time only show empty "From" and "Subject" field, and a question mark in "Date". Evolution is connected to an Exchange 2003 server.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.