<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>138715</bug_id>
          
          <creation_ts>2006-07-01 07:44 0000</creation_ts>
          <short_desc>Evolution-exchange cpu spike / loops when trying to download messages</short_desc>
          <delta_ts>2006-07-22 21:08:19 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>squinky86@gentoo.org</reporter>
          <assigned_to>gnome-office@gentoo.org</assigned_to>
          <cc>edavison@gmail.com</cc>
    
    <cc>olc@macmillan-craig.net</cc>

      

      
          <long_desc isprivate="0">
            <who>squinky86@gentoo.org</who>
            <bug_when>2006-07-01 07:44:07 0000</bug_when>
            <thetext>Evolution-exchange sees and lists my emails from an exchange server correctly; however, when I click on the subject line of the email to view it, the preview pane is blank (and so is the main frame when I double-click to open the message in a new window). evolution-exchange then begins to play with my processor.

%cpu %mem  time    proc
100  0.7   0:49.82 evolution-excha

$ emerge --info
Portage 2.1.1_pre1-r1 (default-linux/amd64/2005.1, gcc-4.1.1/amd64-vanilla, glibc-2.4-r2, 2.6.15-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r5 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System version 1.12.1
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
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-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS=&quot;amd64 ~amd64&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;x86_64-pc-linux-gnu&quot;
CFLAGS=&quot;-march=athlon64 -O3 -pipe -fomit-frame-pointer -funroll-loops&quot;
CHOST=&quot;x86_64-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c&quot;
CXXFLAGS=&quot;-march=athlon64 -O3 -pipe -fomit-frame-pointer -funroll-loops&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs autoconfig ccache cvs distlocks metadata-transfer multilib-strict sandbox sfperms strict test&quot;
GENTOO_MIRRORS=&quot;http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo&quot;
MAKEOPTS=&quot;-j4&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=&apos;/distfiles&apos; --exclude=&apos;/local&apos; --exclude=&apos;/packages&apos;&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.namerica.gentoo.org/gentoo-portage&quot;
USE=&quot;amd64 X alsa apache2 arts avi berkdb bitmap-fonts browserplugin bzip2 cdinstall cli crypt css cups curl curlwrappers dba dri dvd dvdr dvdread eds emboss encode ffmpeg firefox flash foomaticdb fortran ftp gd gif glibc-omitfp glitz gnome gpm gstreamer gtk gtk2 imagemagick imlib ipv6 isdnlog java jpeg kde kerberos ldap lucene lzw lzw-tiff mad mjpeg mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin nvidia ogg opengl pam pascal pcntl pcre pdflib perl php png posix postgres ppds pppd python qt qt3 qt4 quicktime readline reflection ruby samba sdl session sox spell spl sql ssl subversion tcpd threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales vcd vorbis wmf xml xml2 xmlrpc xmms xorg xpm xv xvid zip zlib elibc_glibc kernel_linux userland_GNU video_cards_nvidia video_cards_nv&quot;
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>allanonjl@gentoo.org</who>
            <bug_when>2006-07-13 07:16:58 0000</bug_when>
            <thetext>does this patch solve this for you?

http://cvs.gnome.org/viewcvs/evolution-exchange/camel/camel-stub-marshal.c?r1=1.3&amp;r2=1.5&amp;makepatch=1&amp;diff_format=u

it worked for someone I know.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>olc@macmillan-craig.net</who>
            <bug_when>2006-07-13 11:45:11 0000</bug_when>
            <thetext>(In reply to comment #1)
&gt; does this patch solve this for you?
&gt; 
&gt; http://cvs.gnome.org/viewcvs/evolution-exchange/camel/camel-stub-marshal.c?r1=1.3&amp;r2=1.5&amp;makepatch=1&amp;diff_format=u
&gt; 
&gt; it worked for someone I know.

Schweet, that seems to have solved my problem also.(I was getting lockups, segfaults, and other weird behavior from evo. When I saw the processor spike I&apos;d usually get a message &quot;Lost connection to exchange-storage backend process&quot; but e-e was still running. -- after building a patched e-e these seem to have disappeared.) 

Suggest it be included in the next ebuild, I can post the ebuild hackjob I did if anyone&apos;s interested.
 

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>baevsky@hotmail.com</who>
            <bug_when>2006-07-13 12:41:20 0000</bug_when>
            <thetext>(In reply to comment #2)
&gt; (In reply to comment #1)
&gt; &gt; does this patch solve this for you?
&gt; &gt; 
&gt; &gt; http://cvs.gnome.org/viewcvs/evolution-exchange/camel/camel-stub-marshal.c?r1=1.3&amp;r2=1.5&amp;makepatch=1&amp;diff_format=u
&gt; &gt; 
&gt; &gt; it worked for someone I know.
&gt; 
&gt; Schweet, that seems to have solved my problem also.(I was getting lockups,
&gt; segfaults, and other weird behavior from evo. When I saw the processor spike
&gt; I&apos;d usually get a message &quot;Lost connection to exchange-storage backend process&quot;
&gt; but e-e was still running. -- after building a patched e-e these seem to have
&gt; disappeared.) 
&gt; 
&gt; Suggest it be included in the next ebuild, I can post the ebuild hackjob I did
&gt; if anyone&apos;s interested.
&gt; 
&gt; 

(In reply to comment #2)
&gt; (In reply to comment #1)
&gt; &gt; does this patch solve this for you?
&gt; &gt; 
&gt; &gt; http://cvs.gnome.org/viewcvs/evolution-exchange/camel/camel-stub-marshal.c?r1=1.3&amp;r2=1.5&amp;makepatch=1&amp;diff_format=u
&gt; &gt; 
&gt; &gt; it worked for someone I know.
&gt; 
&gt; Schweet, that seems to have solved my problem also.(I was getting lockups,
&gt; segfaults, and other weird behavior from evo. When I saw the processor spike
&gt; I&apos;d usually get a message &quot;Lost connection to exchange-storage backend process&quot;
&gt; but e-e was still running. -- after building a patched e-e these seem to have
&gt; disappeared.) 
&gt; 
&gt; Suggest it be included in the next ebuild, I can post the ebuild hackjob I did
&gt; if anyone&apos;s interested.
&gt; 
&gt; 

Would you please post an &quot;ebuild hackjob&quot; :-) ? I&apos;m having the same simptoms since upgrading to 2.6.2 from 2.4.2 - evo is locking up with &quot;lost connection to exchange backend...&quot; message. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>olc@macmillan-craig.net</who>
            <bug_when>2006-07-13 12:54:56 0000</bug_when>
            <thetext>Created an attachment (id=91658)
evolution-exchange-2.6.2 revised ebuild

Here&apos;s the ebuild... apply as follows (for those new to portage overlay)
mkdir -p /usr/local/portage/gnome-extra
cp -r /usr/portage/gnome-extra/evolution-exchange /usr/local/portage/gnome-extra/
cp -f ./evolution-exchange-2.6.2.ebuild /usr/local/portage/gnome-extra/
cp -f ./evolution-2.6.2-lockup.patch /usr/local/portage/gnome-extra/evolution-exchange/files
cd /usr/local/portage/gnome-extra/evolution-exchange
ebuild evolution-exchange-2.6.2.ebuild digest
emerge evolution-exchange

(patch file is next attachment)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>olc@macmillan-craig.net</who>
            <bug_when>2006-07-13 12:56:00 0000</bug_when>
            <thetext>Created an attachment (id=91659)
patch from CVS

stick this in /usr/local/portage/gnome-extra/evolution-exchange/files</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>baevsky@hotmail.com</who>
            <bug_when>2006-07-13 15:25:06 0000</bug_when>
            <thetext>(In reply to comment #5)
&gt; Created an attachment (id=91659) [edit]
&gt; patch from CVS
&gt; 
&gt; stick this in /usr/local/portage/gnome-extra/evolution-exchange/files
&gt; 
Cool !!!
That did fix it!!!!
Thanks a lot, man.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>olc@macmillan-craig.net</who>
            <bug_when>2006-07-13 16:01:47 0000</bug_when>
            <thetext>(In reply to comment #6)
&gt; Cool !!!
&gt; That did fix it!!!!
&gt; Thanks a lot, man.

Yeah, that was my reaction. Thanks for the pointer, John! (This has been killing me for 2-3 weeks; webmail OWA sucks rocks for real work.)

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>allanonjl@gentoo.org</who>
            <bug_when>2006-07-14 11:34:41 0000</bug_when>
            <thetext>thanks, i&apos;ve put this into cvs as 2.6.2-r1.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>allanonjl@gentoo.org</who>
            <bug_when>2006-07-22 21:08:19 0000</bug_when>
            <thetext>*** Bug 141056 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>91658</attachid>
            <date>2006-07-13 12:54 0000</date>
            <desc>evolution-exchange-2.6.2 revised ebuild</desc>
            <filename>evolution-exchange-2.6.2.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDA2IEdlbnRvbyBGb3VuZGF0aW9uCiMgRGlzdHJpYnV0ZWQgdW5k
ZXIgdGhlIHRlcm1zIG9mIHRoZSBHTlUgR2VuZXJhbCBQdWJsaWMgTGljZW5zZSB2MgojICRIZWFk
ZXI6IC92YXIvY3Zzcm9vdC9nZW50b28teDg2L2dub21lLWV4dHJhL2V2b2x1dGlvbi1leGNoYW5n
ZS9ldm9sdXRpb24tZXhjaGFuZ2UtMi42LjIuZWJ1aWxkLHYgMS4yIDIwMDYvMDcvMTIgMTc6MTE6
MDIgd29sZjMxbzIgRXhwICQKCmluaGVyaXQgZ25vbWUyIGV1dGlscwoKREVTQ1JJUFRJT049IkV2
b2x1dGlvbiBtb2R1bGUgZm9yIGNvbm5lY3RpbmcgdG8gTWljcm9zb2Z0IEV4Y2hhbmdlIgpIT01F
UEFHRT0iaHR0cDovL3d3dy5ub3ZlbGwuY29tL3Byb2R1Y3RzL2Rlc2t0b3AvZmVhdHVyZXMvZXZv
bHV0aW9uLmh0bWwiCkxJQ0VOU0U9IkdQTC0yIgoKU0xPVD0iMi4wIgpLRVlXT1JEUz0ifmFtZDY0
IH5wcGMgfnNwYXJjIHg4NiIKSVVTRT0iZGVidWcgZG9jIHN0YXRpYyIKClJERVBFTkQ9Ij49bWFp
bC1jbGllbnQvZXZvbHV0aW9uLTIuNS45MAoJPj1nbm9tZS1leHRyYS9ldm9sdXRpb24tZGF0YS1z
ZXJ2ZXItMS41LjkwCgk+PW5ldC1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ZQoJYXV0b2NvbmYKfQo=
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>91659</attachid>
            <date>2006-07-13 12:56 0000</date>
            <desc>patch from CVS</desc>
            <filename>evolution-exchange-2.6.2-lockup.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PQpSQ1MgZmlsZTogL2N2cy9nbm9tZS9ldm9sdXRpb24tZXhjaGFuZ2UvY2FtZWwv
Y2FtZWwtc3R1Yi1tYXJzaGFsLmMsdgpyZXRyaWV2aW5nIHJldmlzaW9uIDEuMwpyZXRyaWV2aW5n
IHJldmlzaW9uIDEuNQpkaWZmIC11IC1yMS4zIC1yMS41Ci0tLSBjYW1lbC1zdHViLW1hcnNoYWwu
YwkyMDA2LzA1LzA4IDIwOjE1OjU1CTEuMworKysgY2FtZWwtc3R1Yi1tYXJzaGFsLmMJMjAwNi8w
Ni8xNSAyMDozNjo1MAkxLjUKQEAgLTEsNiArMSw2IEBACiAvKiAtKi0gTW9kZTogQzsgdGFiLXdp
ZHRoOiA4OyBpbmRlbnQtdGFicy1tb2RlOiB0OyBjLWJhc2ljLW9mZnNldDogOCAtKi0gKi8KIAot
LyogQ29weXJpZ2h0IChDKSAyMDAxLTIwMDQgTm92ZWxsLCBJbmMuCisvKiBDb3B5cmlnaHQgKEMp
IDIwMDEtMjAwNiBOb3ZlbGwsIEluYy4KICAqCiAgKiBUaGlzIHByb2dyYW0gaXMgZnJlZSBzb2Z0
d2FyZTsgeW91IGNhbiByZWRpc3RyaWJ1dGUgaXQgYW5kL29yCiAgKiBtb2RpZnkgaXQgdW5kZXIg
dGhlIHRlcm1zIG9mIHZlcnNpb24gMiBvZiB0aGUgR05VIEdlbmVyYWwgUHVibGljCkBAIC04Niw3
ICs4NiwxNSBAQAogc3RhdGljIGdib29sZWFuCiBkb19yZWFkIChDY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