GNOME Bugzilla – Bug 364769
evolution-data-server-1.8 crashes
Last modified: 2007-03-15 10:25:11 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.
+ Trace 78079
Thread NaN (LWP 13547)
Thread 5 (Thread -1250825312 (LWP 13549))
Thread 4 (Thread -1242432608 (LWP 13548))
Thread 3 (Thread -1234039904 (LWP 13547))
The program is running. Exit anyway? (y or n)
This crash is in db_version(). Very strange.
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.
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
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.
$ 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?
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
Arrgh, point 3 should be read as: install libdb4.4-dev
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!
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! ;-)