[Evolution] Bug#560096: evolution-exchange: evolution crashes with SIGSEGV in exchange_get_folder_info

Paul Metcalfe paul.metcalfe+debian at gmail.com
Tue Dec 8 21:06:58 UTC 2009


Package: evolution-exchange
Version: 2.28.1-1
Severity: important


After upgrade to latest testing version, evolution now crashes with 
SIGSEGV on startup (before any windows appear).  The only configured 
account (as far as I remember, since I can't start evolution!) is an OWA 
account via evolution-exchange.

This crash is completely reproducable.  Judicious application of gdb and 
a look through the evolution-exchange source suggests that the immediate 
cause is a NULL pointer dereference at line 735 of 
camel-exchange-store.c.  See attached gdb transcript for some clues.  
Note that exch->stub = 0x0, but that exch->stub->cmd is used at the 
crash site.

Let me know if I can do anything else to help.  Thanks for your efforts!

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-2-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages evolution-exchange depends on:
ii  evolution              2.28.1-2          groupware suite with mail client a
ii  gconf2                 2.28.0-1          GNOME configuration database syste
ii  libart-2.0-2           2.3.20-2          Library of functions for 2D graphi
ii  libatk1.0-0            1.28.0-1          The ATK accessibility toolkit
ii  libbonobo2-0           2.24.2-1          Bonobo CORBA interfaces library
ii  libbonoboui2-0         2.24.2-1          The Bonobo UI library
ii  libc6                  2.10.2-2          GNU C Library: Shared libraries
ii  libcairo2              1.8.8-2           The Cairo 2D vector graphics libra
ii  libcamel1.2-14         2.28.1-1          The Evolution MIME message handlin
ii  libdb4.8               4.8.24-1          Berkeley v4.8 Database Libraries [
ii  libebackend1.2-0       2.28.1-1          Utility library for evolution data
ii  libebook1.2-9          2.28.1-1          Client library for evolution addre
ii  libecal1.2-7           2.28.1-1          Client library for evolution calen
ii  libedata-book1.2-2     2.28.1-1          Backend library for evolution addr
ii  libedata-cal1.2-6      2.28.1-1          Backend library for evolution cale
ii  libedataserver1.2-11   2.28.1-1          Utility library for evolution data
ii  libedataserverui1.2-8  2.28.1-1          GUI utility library for evolution 
ii  libexchange-storage1.2 2.28.1-1          Client library for accessing Excha
ii  libfontconfig1         2.6.0-4           generic font configuration library
ii  libfreetype6           2.3.11-1          FreeType 2 font engine, shared lib
ii  libgconf2-4            2.28.0-1          GNOME configuration database syste
ii  libglade2-0            1:2.6.4-1         library to load .glade files at ru
ii  libglib2.0-0           2.22.3-1          The GLib library of C routines
ii  libgnome2-0            2.28.0-1          The GNOME library - runtime files
ii  libgnomecanvas2-0      2.26.0-1          A powerful object-oriented display
ii  libgnomeui-0           2.24.2-1          The GNOME libraries (User Interfac
ii  libgnomevfs2-0         1:2.24.2-1        GNOME Virtual File System (runtime
ii  libgtk2.0-0            2.18.3-1          The GTK+ graphical user interface 
ii  libical0               0.43-3            iCalendar library implementation i
ii  libice6                2:1.0.6-1         X11 Inter-Client Exchange library
ii  libldap-2.4-2          2.4.17-2.1        OpenLDAP libraries
ii  liborbit2              1:2.14.17-2       libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0          1.26.1-1          Layout and rendering of internatio
ii  libpopt0               1.15-1            lib for parsing cmdline parameters
ii  libsm6                 2:1.1.1-1         X11 Session Management library
ii  libsoup2.4-1           2.28.1-3          an HTTP library implementation in 
ii  libsqlite3-0           3.6.20-1          SQLite 3 shared library
ii  libxml2                2.7.6.dfsg-1      GNOME XML library
ii  zlib1g                 1:1.2.3.3.dfsg-15 compression library - runtime

evolution-exchange recommends no packages.

Versions of packages evolution-exchange suggests:
ii  evolution-exchange-dbg        2.28.1-1   Exchange plugin for Evolution with

-- no debconf information
-------------- next part --------------
$ gdb evolution

[ snip ]

(gdb) run
[snip]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb47ccb70 (LWP 6820)]
0xb5130c77 in exchange_get_folder_info (store=0x81be830, top=0x0, flags=7, 
    ex=0x823d8fc) at camel-exchange-store.c:735
735	camel-exchange-store.c: No such file or directory.
	in camel-exchange-store.c
(gdb) bt full
#0  0xb5130c77 in exchange_get_folder_info (store=0x81be830, top=0x0, flags=7, 
    ex=0x823d8fc) at camel-exchange-store.c:735
        exch = 0x81be830
        folders = <value optimized out>
        folder_names = <value optimized out>
        folder_uris = <value optimized out>
        unread_counts = <value optimized out>
        folder_flags = <value optimized out>
        info = <value optimized out>
        store_flags = <value optimized out>
        i = <value optimized out>
#1  0xb7dc0892 in camel_store_get_folder_info (store=0x81be830, top=0x0, 
    flags=7, ex=0x823d8fc) at camel-store.c:895
        info = <value optimized out>
        __PRETTY_FUNCTION__ = "camel_store_get_folder_info"
#2  0xb5bf6a9c in get_folderinfo_exec (m=0x823d8e8) at mail-ops.c:1073
No locals.
#3  0xb5bfa8f0 in mail_msg_proxy (msg=0x823d8e8) at mail-mt.c:522
No locals.
#4  0xb6b197c6 in g_thread_pool_thread_proxy (data=0x81bc7b8)
    at /build/buildd-glib2.0_2.22.3-1-i386-Y6yR35/glib2.0-2.22.3/glib/gthreadpool.c:265
        task = 0x823d8e8
        pool = 0x81bc7b8
#5  0xb6b1817f in g_thread_create_proxy (data=0x81bc7f0)
    at /build/buildd-glib2.0_2.22.3-1-i386-Y6yR35/glib2.0-2.22.3/glib/gthread.c:635
        __PRETTY_FUNCTION__ = "g_thread_create_proxy"
#6  0xb78e2585 in start_thread () from /lib/i686/cmov/libpthread.so.0
No symbol table info available.
#7  0xb6a3b2be in clone () from /lib/i686/cmov/libc.so.6
No symbol table info available.
(gdb) print *exch
$1 = {parent_object = {parent_object = {parent_object = {parent_object = {
          klass = 0x80fc228, magic = 2007188717, hooks = 0x8166b30, 
          ref_count = 6, flags = 0, next = 0x0, prev = 0x0}, priv = 0x81bd7b0, 
        session = 0x80b5988, provider = 0xb5136920, 
        status = CAMEL_SERVICE_DISCONNECTED, connect_op = 0x0, 
        url = 0x81bf6a8}, priv = 0x81bd208, folders = 0x81bd118, 
      cdb_r = 0x811a328, cdb_w = 0x810e848, flags = 1, mode = 3, later = {0x0, 
        0x0, 0x0, 0x0}}, state = 0}, stub = 0x0, 
  storage_path = 0x81f2740 "CENSORED", base_url = 0x81f2678 "CENSORED", 
  trash_name = 0x0, folders = 0x81b8380, folders_lock = 0x81bf600, 
  stub_connected = 0, connect_lock = 0x81bf688}


More information about the Pkg-evolution-maintainers mailing list