Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106019 - evolution-exchange-storage 2.4 crashes randomly
Summary: evolution-exchange-storage 2.4 crashes randomly
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://bugs.gnome.org/show_bug.cgi?id...
Whiteboard:
Keywords:
Depends on: 112629
Blocks:
  Show dependency tree
 
Reported: 2005-09-14 18:37 UTC by Dave Shanker
Modified: 2006-05-08 15:39 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Shanker 2005-09-14 18:37:27 UTC
gnome-extra/evolution-exchange crashes randomly during normal usage. Running the
servie manually from the command line
(/usr/libexec/evolution/2.4/evolution-exchange-storage) and then running
evolution yeilds the following errors:

--snip--
(evolution-exchange-storage:14230): libsoup-CRITICAL **: set_current_request:
assertion `priv->cur_req == NULL' failed

(evolution-exchange-storage:14230): libsoup-CRITICAL **: set_current_request:
assertion `priv->cur_req == NULL' failed

(evolution-exchange-storage:14230): libsoup-CRITICAL **: set_current_request:
assertion `priv->cur_req == NULL' failed

** (evolution-exchange-storage:14230): WARNING **: renew_subscription: 401
Access Denied

** (evolution-exchange-storage:14230): WARNING **: renew_subscription: 7
Connection terminated unexpectedly
--snip--

Changing authentication from Secure to Plain text doesn't help. All Exchange
settings are verified on another machine running Connector 2.2.

Reproducible: Always
Steps to Reproduce:
1. Run /usr/libexec/evolution/2.4/evolution-exchange-storage in a shell
2. Start evolution w/ Exchange account configured
3.

Actual Results:  
evolution-exchange-storage crashes


Issue is also documented here:

http://bugs.gnome.org/show_bug.cgi?id=314284
Comment 1 Dave Shanker 2005-09-20 00:00:40 UTC
Been doing some "testing" and I've narrowed the problem down to the libsoup
version evolution components are compiled against. I've been testing
evolution-connector-2.4 compiled against libsoup-2.2.3-r1 (all Evolution
components needs to be compiled against it) for the past 2 hours and no crashes
at all. It was previously compiled against 2.2.6.1.

I will do some additional testing against libsoup 2.2.5 to see if the occurs in
that version tomorrow.
Comment 2 Anatoly Kamchatnov 2005-09-21 03:16:00 UTC
Confirmed here.
evolution-exchange crashed almost immediately with libsoup-2.2.6.1. It works
more stably now when everything evolution* was recompiled against libsoup-2.2.3-r1.
Comment 3 Brian Toovey 2005-10-06 16:33:41 UTC
happens to me compiled against libsoup-2.2.3-r1:

libedata-cal-ERROR **: file e-cal-backend.c: line 294 (e_cal_backend_finalize):
assertion failed: (priv->clients == NULL)
aborting...
backend_last_client_gone_cb() called!

libedata-cal-ERROR **: file e-data-cal-factory.c: line 144
(backend_last_client_gone_cb): assertion failed: (ret_backend != NULL)
aborting...
Multiple segmentation faults occurred; can't display error dialog

root$ emerge --info
Portage 2.0.52-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-gentoo-r10 i686)
=================================================================
System uname: 2.6.12-gentoo-r10 i686 Intel(R) Pentium(R) M processor 1.80GHz
Gentoo Base System version 1.12.0_pre8
ccache version 2.4 [disabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium-m -fomit-frame-pointer -pipe -fno-delayed-branch
-fcaller-saves -freorder-blocks -freorder-functions -falign-jumps
-finline-functions -frename-registers -fweb -fno-trapping-math -falign-functions=64"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O3 -march=pentium-m -fomit-frame-pointer -pipe -fno-delayed-branch
-fcaller-saves -freorder-blocks -freorder-functions -falign-jumps
-finline-functions -frename-registers -fweb -fno-trapping-math -falign-functions=64"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib aim alsa apache2 apm avi bash berkdb bitmap-fonts bootsplash
ccache cdr ck-plus crypt cups curl dba divx4linux dvd dvdread eds emboss encode
ethereal fam fbcon firefox flac foomaticdb fortran gd gdbm gif gnome gpm gps
gstreamer gtk gtk2 hal howl i-doc imagemagick imap imlib java joystick jpeg
junit kde kerberos krb4 ldap libg++ libwww mad mikmod mmx mmx2 motif mozilla mp3
mpeg mpeg4 mysql ncurses nntp ntpl nvidia ogg oggvorbis opengl pam pcmcia pda
pdflib perl php pkgcache png python qt quicktime readline real ruby sdl spell
sse sse2 ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts vim
vim-with-x vorbis wifi win32codecs xemacs xine xinerama xml2 xmms xv yahoo zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 4 Justin 2005-11-07 21:36:50 UTC
Confirming the same problem with ximian-connector-2.2.3 and libsoup-2.6.1. Fixed
after downgrading to libsoup-2.2.3-r1
Comment 5 John N. Laliberte (RETIRED) gentoo-dev 2005-11-11 09:05:19 UTC
can anyone still reproduce this with libsoup-2.2.6.1 and evolution-exchange 2.4.1 ?
Comment 6 Daniel Gryniewicz (RETIRED) gentoo-dev 2005-11-11 18:36:04 UTC
This went away for me with evolution-data-server-1.4.1.1 with no changes in
either evolution-exchange or libsoup
Comment 7 Dave Shanker 2005-11-14 20:04:04 UTC
(In reply to comment #6)
> This went away for me with evolution-data-server-1.4.1.1 with no changes in
> either evolution-exchange or libsoup

Just tried with net-libs/libsoup-2.2.6.1,
gnome-extra/evolution-data-server-1.4.1.1, mail-client/evolution-2.4.1, and
gnome-extra/evolution-exchange-2.4.1, and no crashes yet. Will run evolution
through it's paces tomorrow and will update bug report later in the week.
Comment 8 Dave Shanker 2005-11-15 09:12:14 UTC
Still crashing, all be it not as much as before. I was able to crash
evolution-exchange-storage anytime I tried to access the Global Address List in
the Contacts view in Evolution. Here's the errors evolution-exchange-storage
spits out:

(evolution-exchange-storage:21961): libsoup-CRITICAL **: set_current_request:
assertion `priv->cur_req == NULL' failed

** (evolution-exchange-storage:21961): WARNING **: renew_subscription: 7
Connection terminated unexpectedly

** (evolution-exchange-storage:21961): WARNING **: renew_subscription: 7
Connection terminated unexpectedly

(evolution-exchange-storage:21961): libsoup-CRITICAL **: set_current_request:
assertion `priv->cur_req == NULL' failed

** (evolution-exchange-storage:21961): WARNING **: renew_subscription: 401
Access Denied

** (evolution-exchange-storage:21961): WARNING **: renew_subscription: 7
Connection terminated unexpectedly

(evolution-exchange-storage:21961): libsoup-CRITICAL **: set_current_request:
assertion `priv->cur_req == NULL' failed

** (evolution-exchange-storage:21961): WARNING **: renew_subscription: 401
Access Denied

** (evolution-exchange-storage:21961): WARNING **: renew_subscription: 7
Connection terminated unexpectedly

(evolution-exchange-storage:21961): libsoup-CRITICAL **: set_current_request:
assertion `priv->cur_req == NULL' failed

** (evolution-exchange-storage:21961): WARNING **: renew_subscription: 7
Connection terminated unexpectedly


(In reply to comment #7)
> (In reply to comment #6)
> > This went away for me with evolution-data-server-1.4.1.1 with no changes in
> > either evolution-exchange or libsoup
> 
> Just tried with net-libs/libsoup-2.2.6.1,
> gnome-extra/evolution-data-server-1.4.1.1, mail-client/evolution-2.4.1, and
> gnome-extra/evolution-exchange-2.4.1, and no crashes yet. Will run evolution
> through it's paces tomorrow and will update bug report later in the week.

Comment 9 Dave Shanker 2005-11-15 09:41:33 UTC
Something interesting; gnome-extra/evolution-data-server-1.4.1.1 doesn't build
with Exchange support because openldap-2.2.28 doesn't contain NTLM support.
Don't think this is the source of my crash, however it could lead to some
instability.. still researching.

(In reply to comment #8)
> Still crashing, all be it not as much as before. I was able to crash
> evolution-exchange-storage anytime I tried to access the Global Address List in
> the Contacts view in Evolution. Here's the errors evolution-exchange-storage
> spits out:
> 
> (evolution-exchange-storage:21961): libsoup-CRITICAL **: set_current_request:
> assertion `priv->cur_req == NULL' failed
> 
> ** (evolution-exchange-storage:21961): WARNING **: renew_subscription: 7
> Connection terminated unexpectedly
> 
> ** (evolution-exchange-storage:21961): WARNING **: renew_subscription: 7
> Connection terminated unexpectedly
> 
> (evolution-exchange-storage:21961): libsoup-CRITICAL **: set_current_request:
> assertion `priv->cur_req == NULL' failed
> 
> ** (evolution-exchange-storage:21961): WARNING **: renew_subscription: 401
> Access Denied
> 
> ** (evolution-exchange-storage:21961): WARNING **: renew_subscription: 7
> Connection terminated unexpectedly
> 
> (evolution-exchange-storage:21961): libsoup-CRITICAL **: set_current_request:
> assertion `priv->cur_req == NULL' failed
> 
> ** (evolution-exchange-storage:21961): WARNING **: renew_subscription: 401
> Access Denied
> 
> ** (evolution-exchange-storage:21961): WARNING **: renew_subscription: 7
> Connection terminated unexpectedly
> 
> (evolution-exchange-storage:21961): libsoup-CRITICAL **: set_current_request:
> assertion `priv->cur_req == NULL' failed
> 
> ** (evolution-exchange-storage:21961): WARNING **: renew_subscription: 7
> Connection terminated unexpectedly
> 
> 
> (In reply to comment #7)
> > (In reply to comment #6)
> > > This went away for me with evolution-data-server-1.4.1.1 with no changes in
> > > either evolution-exchange or libsoup
> > 
> > Just tried with net-libs/libsoup-2.2.6.1,
> > gnome-extra/evolution-data-server-1.4.1.1, mail-client/evolution-2.4.1, and
> > gnome-extra/evolution-exchange-2.4.1, and no crashes yet. Will run evolution
> > through it's paces tomorrow and will update bug report later in the week.
> 
> 

Comment 10 Dave Shanker 2005-11-15 13:32:45 UTC
Sorry for the bugzilla spam.. Just filed bug report 112629, seems as though
evolution-data-server wasn't being built with Exchange support due to
net-nds/openldap-2.2.28 not containing NTLM support (Gentoo bug 105144).
Upgraded to net-nds/openldap-2.2.28-r1 which contains an NTLM patch, rebuilt
gnome-extra/evolution-data-server-1.4.1.1, which built with Exchange support,
rebuilt mail-client/evolution-2.4.1 (Don't think it needed to be rebuilt) and
evolution-exchange-2.4.1. 

After killing all evolution process, the evolution-exchange-server process
hasn't crashed since! Also exchange related functionality (GAL lookups,
calandar, etc..) seems to be quicker. Will continue to test during the week at work.
Comment 11 Dave Shanker 2005-11-27 14:30:57 UTC
Unfortunately, after killing all evolution processes again,
evolution-exchange-storage would start crashing randomly again with the same
errors. It seems as though every couple of starts (1 out of 20)
evolution-exchange would work correctly, but the rest of the time it just dies.
Forced to downgrade back to libsoup-2.2.3-r1.


(In reply to comment #10)
> Sorry for the bugzilla spam.. Just filed bug report 112629, seems as though
> evolution-data-server wasn't being built with Exchange support due to
> net-nds/openldap-2.2.28 not containing NTLM support (Gentoo bug 105144).
> Upgraded to net-nds/openldap-2.2.28-r1 which contains an NTLM patch, rebuilt
> gnome-extra/evolution-data-server-1.4.1.1, which built with Exchange support,
> rebuilt mail-client/evolution-2.4.1 (Don't think it needed to be rebuilt) and
> evolution-exchange-2.4.1. 
> 
> After killing all evolution process, the evolution-exchange-server process
> hasn't crashed since! Also exchange related functionality (GAL lookups,
> calandar, etc..) seems to be quicker. Will continue to test during the week at
work.

Comment 12 Roalt 2005-11-28 22:41:41 UTC
I've got the same problems as Dave. Although I already had some initial problems
with libsoup and evolution starting, an emerge-sync, emerge update combined with
a revdep-rebuild seemed to help. But now, (once in a while)
evolution-exchange-storage crashes with:

 (evolution-exchange-storage:16400): libsoup-CRITICAL **: set_current_request:
assertion `priv->cur_req == NULL' failed

** (evolution-exchange-storage:16400): WARNING **: renew_subscription: 7
Connection terminated unexpectedly
 Multiple segmentation faults occurred; can't display error dialog

I'm running:
 net-libs/libsoup
      Latest version available: 2.2.6.1
      Latest version installed: 2.2.6.1

gnome-extra/evolution-data-server
      Latest version available: 1.4.1.1
      Latest version installed: 1.4.1.1


  gnome-extra/evolution-exchange
      Latest version available: 2.4.1
      Latest version installed: 2.4.1

Sometimes it works okay, but sometimes it just doesn't work anymore and after
killing all evolution processes and starting them again it 'may' work again... 

I've not yet tried to downgrade libsoup...
Comment 13 John N. Laliberte (RETIRED) gentoo-dev 2006-01-19 17:29:28 UTC
not a blocker for 2.12
Comment 14 Dave Shanker 2006-05-08 15:39:09 UTC
Closing bug as I haven't had any issues since upgrading to gnome-extra/evolution-exchange-2.4.2, mail-client/evolution-2.4.2.1.