After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 364769 - evolution-data-server-1.8 crashes
evolution-data-server-1.8 crashes
Status: RESOLVED FIXED
Product: evolution-scalix
Classification: Deprecated
Component: General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Christian Kellner
Depends on:
Blocks:
 
 
Reported: 2006-10-24 18:18 UTC by Daniel Holbach
Modified: 2007-03-15 10:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Daniel Holbach 2006-10-24 18:18:47 UTC
Forwarded from: https://launchpad.net/distros/ubuntu/+source/evolution-scalix/+bug/66738


After installing evolution-scalix (version 10.0.0.357-0ubuntu6) I get evolution-data-server-1.8 crash immediately after logging in to the gnome from gdm.

I also get whole gnome-panel + evolution-data-server-1.8 crash when I click the default date/time applet on gnome-panel.. I have to ctrl+alt+backspace after this to get working gnome again.

When using evolution and for example trying to reply to a mail causes evolution-data-server-1.8 to crash.

gdb crash backtrace while trying to reply to a mail in evolution:
http://pasik.reaktio.net/gdb-evolution-data-server.txt

I had -dbgsym packages installed for evolution, evolution-data-server, libglib2.0-0, libgtk2.0-0 and libc6.





GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".

(gdb) handle SIG33 pass nostop noprint
Signal        Stop	Print	Pass to program	Description
SIG33         No	No	Yes		Real-time event 33
(gdb) set pagination 0
(gdb) run --oaf-activate-iid=OAFIID:GNOME_Evolution_DataServer_InterfaceCheck -- 
oaf-ior-fd=25
Starting program: /usr/lib/evolution/evolution-data-server-1.8 --oaf-activate-iid=OAFIID:GNOME_Evolution_DataServer_InterfaceCheck --oaf-ior-fd=25
[Thread debugging using libthread_db enabled]
[New Thread -1220933968 (LWP 13511)]
evolution-data-server-Message: Starting server
e-data-server-Message: adding type `EBookBackendFileFactory'
e-data-server-Message: adding type `EBookBackendGroupwiseFactory'
e-data-server-Message: adding type `EBookBackendLDAPFactory'
e-data-server-Message: adding type `EBookBackendVCFFactory'
e-data-server-Message: adding type `ECalBackendCalDAVEventsFactory'
e-data-server-Message: adding type `ECalBackendContactsEventsFactory'
e-data-server-Message: adding type `ECalBackendFileTodosFactory'
e-data-server-Message: adding type `ECalBackendFileEventsFactory'
e-data-server-Message: adding type `ECalBackendFileJournalFactory'
e-data-server-Message: adding type `ECalBackendGroupwiseTodosFactory'
e-data-server-Message: adding type `ECalBackendGroupwiseEventsFactory'
e-data-server-Message: adding type `ECalBackendGroupwiseJournalFactory'
e-data-server-Message: adding type `ECalBackendHttpTodosFactory'
e-data-server-Message: adding type `ECalBackendHttpEventsFactory'
e-data-server-Message: adding type `ECalBackendWeatherEventsFactory'
e-data-server-Message: adding type `EBookBackendSCALIXFactory'
e-data-server-Message: adding type `ECalBackendScalixEventsFactory'
evolution-data-server-Message: Server up and running
[New Thread -1233773664 (LWP 13515)]
[New Thread -1234039904 (LWP 13547)]
[New Thread -1242432608 (LWP 13548)]
[New Thread -1250825312 (LWP 13549)]

Program received signal SIGSEGV, Segmentation fault.

Thread NaN (LWP 13547)

  • #0 db_version
    from /usr/lib/libdb-4.3.so
  • #1 __dbenv_open
    from /usr/lib/libdb-4.3.so
  • #2 scalix_object_cache_set_property
    at scalix-object-cache.c line 371
  • #3 g_object_constructor
    at gobject.c line 697
  • #4 IA__g_object_newv
    at gobject.c line 937
  • #5 IA__g_object_new_valist
    at gobject.c line 1022
  • #6 IA__g_object_new
    at gobject.c line 795
  • #7 scalix_object_cache_open
    at scalix-object-cache.c line 548
  • #8 scalix_container_constructor
    at scalix-container.c line 619
  • #9 IA__g_object_newv
    at gobject.c line 937
  • #10 IA__g_object_new_valist
    at gobject.c line 1022
  • #11 IA__g_object_new
    at gobject.c line 795
  • #12 scalix_container_open
    at scalix-container.c line 1344
  • #13 e_book_backend_scalix_load_source
    at e-book-backend-scalix.c line 196
  • #14 e_book_backend_load_source
    from /usr/lib/libedata-book-1.2.so.2
  • #15 e_book_backend_open
    from /usr/lib/libedata-book-1.2.so.2
  • #16 e_data_book_get_backend
    from /usr/lib/libedata-book-1.2.so.2
  • #17 _ORBIT_skel_small_GNOME_Evolution_Addressbook_Book_open
    from /usr/lib/libedata-book-1.2.so.2
  • #18 IOP_start_profiles
    from /usr/lib/libORBit-2.so.0
  • #19 ORBit_OAObject_invoke
    from /usr/lib/libORBit-2.so.0
  • #20 ORBit_small_invoke_adaptor
    from /usr/lib/libORBit-2.so.0
  • #21 ORBit_recv_buffer_return_sys_exception
    from /usr/lib/libORBit-2.so.0
  • #22 ORBit_recv_buffer_return_sys_exception
    from /usr/lib/libORBit-2.so.0
  • #23 giop_thread_queue_process
    from /usr/lib/libORBit-2.so.0
  • #24 giop_init
    from /usr/lib/libORBit-2.so.0
  • #25 g_thread_pool_thread_proxy
    at gthreadpool.c line 265
  • #26 g_thread_create_proxy
    at gthread.c line 553
  • #27 start_thread
    from /lib/tls/i686/cmov/libpthread.so.0
  • #28 clone
    from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread -1250825312 (LWP 13549))

  • #0 _dl_debug_state
    from /lib/ld-linux.so.2
  • #1 _dl_map_object_from_fd
    from /lib/ld-linux.so.2
  • #2 _dl_map_object
    from /lib/ld-linux.so.2
  • #3 dl_open_worker
    from /lib/ld-linux.so.2
  • #4 _dl_catch_error
    from /lib/ld-linux.so.2
  • #5 _dl_open
    from /lib/ld-linux.so.2
  • #6 dlopen
    from /lib/tls/i686/cmov/libdl.so.2
  • #7 _dl_catch_error
    from /lib/ld-linux.so.2
  • #8 dlerror
    from /lib/tls/i686/cmov/libdl.so.2
  • #9 dlopen
    from /lib/tls/i686/cmov/libdl.so.2
  • #10 _sasl_get_plugin
    from /usr/lib/libsasl2.so.2
  • #11 _sasl_load_plugins
    from /usr/lib/libsasl2.so.2
  • #12 sasl_client_init
    from /usr/lib/libsasl2.so.2
  • #13 ldap_int_sasl_init
    from /usr/lib/libldap_r.so.2
  • #14 ldap_int_initialize
    from /usr/lib/libldap_r.so.2
  • #15 ldap_create
    from /usr/lib/libldap_r.so.2
  • #16 ldap_init
    from /usr/lib/libldap_r.so.2
  • #17 e_book_backend_ldap_class_init
    at e-book-backend-ldap.c line 611
  • #18 IA__g_type_class_ref
    at gtype.c line 1872
  • #19 IA__g_object_newv
    at gobject.c line 853
  • #20 IA__g_object_new_valist
    at gobject.c line 981
  • #21 IA__g_object_new
    at gobject.c line 795
  • #22 e_book_backend_ldap_new
    at e-book-backend-ldap.c line 4760
  • #23 _ldap_new_backend
    at e-book-backend-ldap-factory.c line 32
  • #24 e_book_backend_factory_new_backend
    from /usr/lib/libedata-book-1.2.so.2
  • #25 e_data_book_factory_get_type
    from /usr/lib/libedata-book-1.2.so.2
  • #26 _ORBIT_skel_small_GNOME_Evolution_Addressbook_BookFactory_getBook
    from /usr/lib/libedata-book-1.2.so.2
  • #27 IOP_start_profiles
    from /usr/lib/libORBit-2.so.0
  • #28 ORBit_OAObject_invoke
    from /usr/lib/libORBit-2.so.0
  • #29 ORBit_small_invoke_adaptor
    from /usr/lib/libORBit-2.so.0
  • #30 ORBit_recv_buffer_return_sys_exception
    from /usr/lib/libORBit-2.so.0
  • #31 ORBit_recv_buffer_return_sys_exception
    from /usr/lib/libORBit-2.so.0
  • #32 giop_thread_queue_process
    from /usr/lib/libORBit-2.so.0
  • #33 giop_init
    from /usr/lib/libORBit-2.so.0
  • #34 g_thread_pool_thread_proxy
    at gthreadpool.c line 265
  • #35 g_thread_create_proxy
    at gthread.c line 553
  • #36 start_thread
    from /lib/tls/i686/cmov/libpthread.so.0
  • #37 clone
    from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread -1242432608 (LWP 13548))

  • #0 clone
    from /lib/tls/i686/cmov/libc.so.6
  • #1 ??
  • #2 ??

Thread 3 (Thread -1234039904 (LWP 13547))

  • #0 db_version
    from /usr/lib/libdb-4.3.so
  • #1 __dbenv_open
    from /usr/lib/libdb-4.3.so
  • #2 scalix_object_cache_set_property
    at scalix-object-cache.c line 371
  • #3 g_object_constructor
    at gobject.c line 697
  • #4 IA__g_object_newv
    at gobject.c line 937
  • #5 IA__g_object_new_valist
    at gobject.c line 1022
  • #6 IA__g_object_new
    at gobject.c line 795
  • #7 scalix_object_cache_open
    at scalix-object-cache.c line 548
  • #8 scalix_container_constructor
    at scalix-container.c line 619
  • #9 IA__g_object_newv
    at gobject.c line 937
  • #10 IA__g_object_new_valist
    at gobject.c line 1022
  • #11 IA__g_object_new
    at gobject.c line 795
  • #12 scalix_container_open
    at scalix-container.c line 1344
  • #13 e_book_backend_scalix_load_source
    at e-book-backend-scalix.c line 196
  • #14 e_book_backend_load_source
    from /usr/lib/libedata-book-1.2.so.2
  • #15 e_book_backend_open
    from /usr/lib/libedata-book-1.2.so.2
  • #16 e_data_book_get_backend
    from /usr/lib/libedata-book-1.2.so.2
  • #17 _ORBIT_skel_small_GNOME_Evolution_Addressbook_Book_open
    from /usr/lib/libedata-book-1.2.so.2
  • #18 IOP_start_profiles
    from /usr/lib/libORBit-2.so.0
  • #19 ORBit_OAObject_invoke
    from /usr/lib/libORBit-2.so.0
  • #20 ORBit_small_invoke_adaptor
    from /usr/lib/libORBit-2.so.0
  • #21 ORBit_recv_buffer_return_sys_exception
    from /usr/lib/libORBit-2.so.0
  • #22 ORBit_recv_buffer_return_sys_exception
    from /usr/lib/libORBit-2.so.0
  • #23 giop_thread_queue_process
    from /usr/lib/libORBit-2.so.0
  • #24 giop_init
    from /usr/lib/libORBit-2.so.0
  • #25 g_thread_pool_thread_proxy
    at gthreadpool.c line 265
  • #26 g_thread_create_proxy
    at gthread.c line 553
  • #27 start_thread
    from /lib/tls/i686/cmov/libpthread.so.0
  • #28 clone
    from /lib/tls/i686/cmov/libc.so.6
The program is running.  Exit anyway? (y or n)
Comment 1 Christian Kellner 2006-11-14 00:36:41 UTC
This crash is in db_version(). Very strange.
Comment 2 Pasi Kärkkäinen 2007-01-03 11:53:11 UTC
Anything new about this? I'm the one who did the backtrace.. I'd be glad to help more.

evolution-scalix is almost unusable in ubuntu 6.10 because of this.
Comment 3 Christian Kellner 2007-03-07 16:41:50 UTC
So I am kinda guessing this is caused by mixing different versions of libdb in evolution-data-server and evolution scalix, because I can see libdb version being 4.3 in the stacktrace while I think e-d-s is using 4.4. Could you please make sure that libdb is the right version and re-test. Please let me know if this still happens for you then! Thanks Christian
Comment 4 Daniel Holbach 2007-03-07 16:47:56 UTC
That might be it: http://librarian.launchpad.net/4887677/buildlog_ubuntu-edgy-i386.evolution-scalix_10.0.0.357-0ubuntu6_FULLYBUILT.txt.gz suggests that it's 4.4 we're building with.
Comment 5 Pasi Kärkkäinen 2007-03-12 09:48:45 UTC
$ dpkg --get-selections|grep -i libdb
libdb4.3                                        install
libdb4.3-dev                                    install
libdb4.4                                        install

$ sudo dpkg --purge libdb4.3
dpkg: dependency problems prevent removal of libdb4.3:
 evolution-scalix depends on libdb4.3 (>= 4.3.28-1).
 ...

$ dpkg -s evolution-scalix
...
Version: 10.0.0.357-0ubuntu6
...

I'm running ubuntu 6.10 (edgy).

What should I try next?

Comment 6 Christian Kellner 2007-03-15 08:34:07 UTC
So, exactly what I though. evolution-scalix was build with libdb4.3 but evo with 4.4 hence the crash.
What you should do is:

1) remove evolution-scalix
2) remove libdb4.3-dev (there is no need to remove libdv4.3 itself)
3) install libdb4.4
4) fetch the latest and greates evolution-scalix
  a)  either from source or
  b)  grab the up-to-date source deb from [1]
5) rebuild source deb or source
6) install freshly build deb or do a "make install"
7) Be (hopefully) happy again

Note: I strongy recommend you build the deb package not the tarball, but if you really wanna build the tarball make sure you use --prefix=/usr since otherwise evo might not pick up the Scalix EPlugin.

Please report the outcome and close the bug on success! ;-)

[1] http://packages.ubuntu.com/feisty/source/evolution-scalix
Comment 7 Christian Kellner 2007-03-15 08:36:00 UTC
Arrgh, 
point 3 should be read as: install libdb4.4-dev
Comment 8 Pasi Kärkkäinen 2007-03-15 10:13:54 UTC
I rebuilt evolution-scalix 10.0.1.1-0ubuntu1 with libdb4.3-dev removed, and
libdb4.4-dev installed.

Now it works OK!!

No crashes anymore. 

Thanks!
Comment 9 Christian Kellner 2007-03-15 10:25:11 UTC
Rocking. I hope you have fun with it now. You are more then encouraged to file bugs if you find some! Thanks!
Closing that one. Finally! ;-)