Segmentation fault on Leaving exchange_mapi_connection_fetch_item

Bug #459916 reported by lnx
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
evolution-mapi (Ubuntu)
Fix Released
Undecided
Unassigned
Karmic
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: evolution-mapi

exchange-mapi-connection.c:1488: Leaving exchange_mapi_connection_fetch_item

Program received signal SIGSEGV, Segmentation fault.

[Switching to Thread 0x7fffcf871910 (LWP 29174)]

0x00007ffff488cb63 in camel_header_raw_append ()

   from /usr/lib/libcamel-1.2.so.14

(gdb) thread apply all bt

Thread 17 (Thread 0x7fffcf871910 (LWP 29174)):

#0 0x00007ffff488cb63 in camel_header_raw_append ()

   from /usr/lib/libcamel-1.2.so.14

#1 0x00007ffff488ddd3 in camel_header_raw_append_parse ()

   from /usr/lib/libcamel-1.2.so.14

#2 0x00007fffdc54e439 in ?? ()

   from /usr/lib/evolution-data-server-1.2/camel-providers/libcamelmapi.so

#3 0x00007ffff5b6352c in camel_folder_get_message ()

   from /usr/lib/libcamel-provider-1.2.so.14

#4 0x00007fffe118b3b5 in ?? ()

   from /usr/lib/evolution/2.28/libevolution-mail-shared.so.0

#5 0x00007fffe118f94f in ?? ()

   from /usr/lib/evolution/2.28/libevolution-mail-shared.so.0

#6 0x00007fffebfeb132 in ?? () from /lib/libglib-2.0.so.0

#7 0x00007fffebfe9b34 in ?? () from /lib/libglib-2.0.so.0

#8 0x00007ffff2bb8a04 in start_thread () from /lib/libpthread.so.0

#9 0x00007fffebcf57bd in clone () from /lib/libc.so.6

#10 0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7fffd0072910 (LWP 29169)):

#0 0x00007ffff2bbfc34 in __lll_lock_wait () from /lib/libpthread.so.0

#1 0x00007ffff2bbb295 in _L_lock_949 () from /lib/libpthread.so.0

---Type <return> to continue, or q <return> to quit---

#2 0x00007ffff2bbb0b8 in pthread_mutex_lock () from /lib/libpthread.so.0

#3 0x00007fffebfe9a78 in g_static_rec_mutex_lock () from /lib/libglib-2.0.so.0

#4 0x00007fffdc330d87 in exchange_mapi_get_folders_list ()

   from /usr/lib/libexchangemapi-1.0.so.0

#5 0x00007fffdc552943 in ?? ()

   from /usr/lib/evolution-data-server-1.2/camel-providers/libcamelmapi.so

#6 0x00007ffff5b7d331 in camel_store_get_folder_info ()

   from /usr/lib/libcamel-provider-1.2.so.14

#7 0x00007fffe118be48 in ?? ()

   from /usr/lib/evolution/2.28/libevolution-mail-shared.so.0

#8 0x00007fffe118f94f in ?? ()

   from /usr/lib/evolution/2.28/libevolution-mail-shared.so.0

#9 0x00007fffebfeb132 in ?? () from /lib/libglib-2.0.so.0

#10 0x00007fffebfe9b34 in ?? () from /lib/libglib-2.0.so.0

#11 0x00007ffff2bb8a04 in start_thread () from /lib/libpthread.so.0

#12 0x00007fffebcf57bd in clone () from /lib/libc.so.6

#13 0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7fffd30a4910 (LWP 29163)):

#0 0x00007ffff2bbd5a9 in pthread_cond_wait@@GLIBC_2.3.2 ()

   from /lib/libpthread.so.0

#1 0x00007fffebf9c080 in ?? () from /lib/libglib-2.0.so.0

#2 0x00007fffebf9c434 in g_async_queue_pop () from /lib/libglib-2.0.so.0

---Type <return> to continue, or q <return> to quit---

#3 0x00007ffff487ade1 in ?? () from /usr/lib/libcamel-1.2.so.14

#4 0x00007fffebfe9b34 in ?? () from /lib/libglib-2.0.so.0

#5 0x00007ffff2bb8a04 in start_thread () from /lib/libpthread.so.0

#6 0x00007fffebcf57bd in clone () from /lib/libc.so.6

#7 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fffd522a910 (LWP 29161)):

#0 0x00007ffff2bbd5a9 in pthread_cond_wait@@GLIBC_2.3.2 ()

   from /lib/libpthread.so.0

#1 0x00007fffebf9c080 in ?? () from /lib/libglib-2.0.so.0

#2 0x00007fffebf9c434 in g_async_queue_pop () from /lib/libglib-2.0.so.0

#3 0x00007ffff487ade1 in ?? () from /usr/lib/libcamel-1.2.so.14

#4 0x00007fffebfe9b34 in ?? () from /lib/libglib-2.0.so.0

#5 0x00007ffff2bb8a04 in start_thread () from /lib/libpthread.so.0

#6 0x00007fffebcf57bd in clone () from /lib/libc.so.6

#7 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fffd5a2b910 (LWP 29159)):

#0 0x00007ffff2bbd5a9 in pthread_cond_wait@@GLIBC_2.3.2 ()

   from /lib/libpthread.so.0

#1 0x00007fffebf9c080 in ?? () from /lib/libglib-2.0.so.0

#2 0x00007fffebf9c434 in g_async_queue_pop () from /lib/libglib-2.0.so.0

#3 0x00007ffff487ade1 in ?? () from /usr/lib/libcamel-1.2.so.14

---Type <return> to continue, or q <return> to quit---

#4 0x00007fffebfe9b34 in ?? () from /lib/libglib-2.0.so.0

#5 0x00007ffff2bb8a04 in start_thread () from /lib/libpthread.so.0

#6 0x00007fffebcf57bd in clone () from /lib/libc.so.6

#7 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fffd6439910 (LWP 29158)):

#0 0x00007ffff2bbd5a9 in pthread_cond_wait@@GLIBC_2.3.2 ()

   from /lib/libpthread.so.0

#1 0x00007fffebf9c080 in ?? () from /lib/libglib-2.0.so.0

#2 0x00007fffebf9c434 in g_async_queue_pop () from /lib/libglib-2.0.so.0

#3 0x00007ffff487ade1 in ?? () from /usr/lib/libcamel-1.2.so.14

#4 0x00007fffebfe9b34 in ?? () from /lib/libglib-2.0.so.0

#5 0x00007ffff2bb8a04 in start_thread () from /lib/libpthread.so.0

#6 0x00007fffebcf57bd in clone () from /lib/libc.so.6

#7 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fffdcf58910 (LWP 29156)):

#0 0x00007ffff2bbd5a9 in pthread_cond_wait@@GLIBC_2.3.2 ()

   from /lib/libpthread.so.0

#1 0x00007fffebf9c080 in ?? () from /lib/libglib-2.0.so.0

#2 0x00007fffebf9c434 in g_async_queue_pop () from /lib/libglib-2.0.so.0

#3 0x00007ffff487ade1 in ?? () from /usr/lib/libcamel-1.2.so.14

#4 0x00007fffebfe9b34 in ?? () from /lib/libglib-2.0.so.0

---Type <return> to continue, or q <return> to quit---

#5 0x00007ffff2bb8a04 in start_thread () from /lib/libpthread.so.0

#6 0x00007fffebcf57bd in clone () from /lib/libc.so.6

#7 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fffdd759910 (LWP 29155)):

#0 0x00007ffff2bbd5a9 in pthread_cond_wait@@GLIBC_2.3.2 ()

   from /lib/libpthread.so.0

#1 0x00007fffebf9c080 in ?? () from /lib/libglib-2.0.so.0

#2 0x00007fffebf9c434 in g_async_queue_pop () from /lib/libglib-2.0.so.0

#3 0x00007ffff487ade1 in ?? () from /usr/lib/libcamel-1.2.so.14

#4 0x00007fffebfe9b34 in ?? () from /lib/libglib-2.0.so.0

#5 0x00007ffff2bb8a04 in start_thread () from /lib/libpthread.so.0

#6 0x00007fffebcf57bd in clone () from /lib/libc.so.6

#7 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffff7fa57f0 (LWP 29147)):

#0 0x00007fffebce9373 in poll () from /lib/libc.so.6

#1 0x00007fffebfc436c in ?? () from /lib/libglib-2.0.so.0

#2 0x00007fffebfc49e5 in g_main_loop_run () from /lib/libglib-2.0.so.0

#3 0x00007fffefdc1706 in bonobo_main () from /usr/lib/libbonobo-2.so.0

#4 0x0000000000416d0a in ?? ()

#5 0x00007fffebc34abd in __libc_start_main () from /lib/libc.so.6

#6 0x000000000040b5d9 in ?? ()

---Type <return> to continue, or q <return> to quit---

#7 0x00007fffffffe398 in ?? ()

#8 0x000000000000001c in ?? ()

#9 0x0000000000000001 in ?? ()

#10 0x00007fffffffe640 in ?? ()

#11 0x0000000000000000 in ?? ()

(gdb)

(gdb) quit

A debugging session is active.

 Inferior 1 [process 29147] will be killed.

Quit anyway? (y or n) y

]0;norbert@norbert-laptop: ~norbert@norbert-laptop:~$ exit

Script beendet: Sa 24 Okt 2009 19:50:19 CEST

ProblemType: Bug
Architecture: amd64
Date: Sat Oct 24 19:51:33 2009
DistroRelease: Ubuntu 9.10
Package: evolution-mapi 0.28.0-0ubuntu1
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=de_DE.UTF-8
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: evolution-mapi
Uname: Linux 2.6.31-14-generic x86_64

Revision history for this message
lnx (nwegener) wrote :
Revision history for this message
lnx (nwegener) wrote :
Download full text (8.5 KiB)

Found the version with debug symbols for evolution-mapi.
Maybe this helps more:

exchange-mapi-connection.c:1488: Leaving exchange_mapi_connection_fetch_item

Program received signal SIGSEGV, Segmentation fault.

[Switching to Thread 0x7fffcf80e910 (LWP 29799)]

0x00007ffff488cb63 in camel_header_raw_append () from /usr/lib/libcamel-1.2.so.14

(gdb) thread apply all bt

Thread 17 (Thread 0x7fffcf80e910 (LWP 29799)):

#0 0x00007ffff488cb63 in camel_header_raw_append () from /usr/lib/libcamel-1.2.so.14

#1 0x00007ffff488ddd3 in camel_header_raw_append_parse () from /usr/lib/libcamel-1.2.so.14

#2 0x00007fffdc54e439 in mapi_populate_details_from_item (folder=0x7fffd4006810, uid=<value optimized out>,

    ex=<value optimized out>) at camel-mapi-folder.c:1408

#3 mapi_folder_item_to_msg (folder=0x7fffd4006810, uid=<value optimized out>, ex=<value optimized out>)

    at camel-mapi-folder.c:1535

#4 mapi_folder_get_message (folder=0x7fffd4006810, uid=<value optimized out>, ex=<value optimized out>)

    at camel-mapi-folder.c:1684

#5 0x00007ffff5b6352c in camel_folder_get_message () from /usr/lib/libcamel-provider-1.2.so.14

#6 0x00007fffe118b3b5 in ?? () from /usr/lib/evolution/2.28/libevolution-mail-shared.so.0

#7 0x00007fffe118f94f in ?? () from /usr/lib/evolution/2.28/libevolution-mail-shared.so.0

#8 0x00007fffebfeb132 in ?? () from /lib/libglib-2.0.so.0

#9 0x00007fffebfe9b34 in ?? () from /lib/libglib-2.0.so.0

#10 0x00007ffff2bb8a04 in start_thread () from /lib/libpthread.so.0

#11 0x00007fffebcf57bd in clone () from /lib/libc.so.6

#12 0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7fffd000f910 (LWP 29794)):

#0 0x00007ffff2bbfc34 in __lll_lock_wait () from /lib/libpthread.so.0

#1 0x00007ffff2bbb295 in _L_lock_949 () from /lib/libpthread.so.0

#2 0x00007ffff2bbb0b8 in pthread_mutex_lock () from /lib/libpthread.so.0

#3 0x00007fffebfe9a78 in g_static_rec_mutex_lock () from /lib/libglib-2.0.so.0

---Type <return> to continue, or q <return> to quit---

#4 0x00007fffdc330d87 in exchange_mapi_get_folders_list () from /usr/lib/libexchangemapi-1.0.so.0

#5 0x00007fffdc552943 in mapi_folders_sync (store=<value optimized out>, top=<value optimized out>,

    flags=<value optimized out>, ex=<value optimized out>) at camel-mapi-store.c:1231

#6 mapi_get_folder_info (store=<value optimized out>, top=<value optimized out>, flags=<value optimized out>,

    ex=<value optimized out>) at camel-mapi-store.c:1352

#7 0x00007ffff5b7d331 in camel_store_get_folder_info () from /usr/lib/libcamel-provider-1.2.so.14

#8 0x00007fffe118be48 in ?? () from /usr/lib/evolution/2.28/libevolution-mail-shared.so.0

#9 0x00007fffe118f94f in ?? () from /usr/lib/evolution/2.28/libevolution-mail-shared.so.0

#10 0x00007fffebfeb132 in ?? () from /lib/libglib-2.0.so.0

#11 0x00007fffebfe9b34 in ?? () from /lib/libglib-2.0.so.0

#12 0x00007ffff2bb8a04 in start_thread () from /lib/libpthread.so.0

#13 0x00007fffebcf57bd in clone () from /lib/libc.so.6

#14 0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7fffd2714910 (LWP 29790)):

#0 0x00007ffff2bbfc34 in __lll_lock_wait () from /lib/libpthread.so.0

#1 0x00007ffff2bbb295 in _L_lock_949 () ...

Read more...

Revision history for this message
Tony Mugan (tmugan) wrote :

I'm seeing something similar when running "EDK_DEBUG=5 evolution" in terminal.
In the status bar of Evolution I see "Retrieving message IDs from server for Inbox" which gets to 100% and then disappears with the segmentation fault shown above.

Basically Evolution in Karmic is unusable for any enterprise dependent on Exchange 2007 at present because even if you close the process which is retrieving the message IDs, clicking to view any message in the Inbox causes another logged bug (they may be related?)

https://bugs.launchpad.net/ubuntu/+source/evolution-mapi/+bug/453279

Revision history for this message
lnx (nwegener) wrote :

Unfortunately I have to agree . In a corporate environment with a current incarnation of MS Exchange server you are completely lost when trying to use evolution-mapi. Neither can you read your email nor can you use the calendar. No really good perspective :-(

Revision history for this message
Tony Mugan (tmugan) wrote :

This may help you. The updated MAPI plugin 0.28.1 has the necessary fixes
http://gurrier.wordpress.com/2009/11/03/using-evolution-with-exchange-2007/

Changed in evolution-mapi (Ubuntu Karmic):
milestone: none → karmic-updates
Revision history for this message
Onkar Shinde (onkarshinde) wrote :

The fixed package is available in karmic-proposed. Please test and give feedback here as well as on bug 472552. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in evolution-mapi (Ubuntu Karmic):
status: New → Fix Committed
importance: Undecided → Medium
tags: added: verification-needed
Revision history for this message
ejstacey (ejstacey) wrote : Re: [Bug 459916] Re: Segmentation fault on Leaving exchange_mapi_connection_fetch_item

On 15/01/2010 5:25 PM, "Onkar Shinde" <email address hidden> wrote:

The fixed package is available in karmic-proposed. Please test and give
feedback here as well as on bug 472552. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Thank you in advance!

** Changed in: evolution-mapi (Ubuntu Karmic)
      Status: New => Fix Committed

** Changed in: evolution-mapi (Ubuntu Karmic)
  Importance: Undecided => Medium

** Tags added: verification-needed

-- Segmentation fault on Leaving exchange_mapi_connection_fetch_item
https://bugs.launchpad.net/b...

Revision history for this message
lnx (nwegener) wrote :

I installed the package from karmic-proposed and up to now I did not see another crash.
Thanks.

Martin Pitt (pitti)
tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package evolution-mapi - 0.28.2-0ubuntu1

---------------
evolution-mapi (0.28.2-0ubuntu1) karmic-proposed; urgency=low

  * New upstream release. (LP: #472552)
  * Important upstream change
    - Bug #573736 - Expunge Folder in MAPI INBOX deletes all email messages
      (LP: #473804)
    - Bug #595355 - Crash on header parsing. (LP: #453279, #459916)
 -- Onkar Shinde <email address hidden> Mon, 11 Jan 2010 11:14:50 +0530

Changed in evolution-mapi (Ubuntu Karmic):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Copied karmic-proposed to lucid.

Changed in evolution-mapi (Ubuntu):
status: New → Fix Released
Changed in evolution-mapi (Ubuntu Karmic):
status: Fix Released → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package evolution-mapi - 0.28.2-0ubuntu1

---------------
evolution-mapi (0.28.2-0ubuntu1) karmic-proposed; urgency=low

  * New upstream release. (LP: #472552)
  * Important upstream change
    - Bug #573736 - Expunge Folder in MAPI INBOX deletes all email messages
      (LP: #473804)
    - Bug #595355 - Crash on header parsing. (LP: #453279, #459916)
 -- Onkar Shinde <email address hidden> Mon, 11 Jan 2010 11:14:50 +0530

Changed in evolution-mapi (Ubuntu Karmic):
status: Fix Committed → Fix Released
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.