Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 169439 - gnome-extra/evolution-exchange crashes when using autocomplete on GAL server
Summary: gnome-extra/evolution-exchange crashes when using autocomplete on GAL server
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High critical
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://bugzilla.gnome.org/show_bug.cg...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-05 12:19 UTC by Danny Goulder
Modified: 2008-08-04 21:17 UTC (History)
3 users (show)

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


Attachments
this is bug-buddy's trace. (evolution-exchange-bugreport.txt,3.55 KB, text/plain)
2007-03-05 12:20 UTC, Danny Goulder
Details
bug report #2 (evolution-exchange-bugreport.txt,3.55 KB, text/plain)
2007-03-05 15:46 UTC, Danny Goulder
Details
proper backtrace (evolution-exchange-bugreport.txt,3.55 KB, text/plain)
2007-03-08 10:41 UTC, Danny Goulder
Details
better backtrace?? (evolution-exchange-bugreport.txt,3.56 KB, text/plain)
2007-03-13 09:54 UTC, Danny Goulder
Details
new backtrace... (evolution-exchange-bugreport.txt,4.28 KB, text/plain)
2007-03-16 10:59 UTC, Danny Goulder
Details
Another backtrace (evolution-exchange-bugreport.txt,3.98 KB, text/plain)
2007-03-20 09:53 UTC, Danny Goulder
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Danny Goulder 2007-03-05 12:19:54 UTC
If I type a user or email address into Evolution when using the Exchange plugin, the auto-complete part of Evo-exchange will sometimes crash.  On some occasions it will open the bug-buddy program and allow me to save a stacktrace.  Other occasions the bug-buddy doesn't come up.  EVERY time it stops mouse-clicks from working under AIGLX - I have to drop into a console and "pkill evo" to get mouse-clicks back.  I'm guessing this is because the crash takes down evolution as well.

Reproducible: Sometimes

Steps to Reproduce:
1.  Open a new email or forward an existing email
2.  Type a valid email, name or alias that is contained on the Exchange GAL server, so that the Exchange autocomplete runs
3.  After 2-3 consecutive lookups, evolution-exchange will crash and bring down Evolution with it.

Actual Results:  
Evolution-exchange crashes.  It also breaks quite a lot of other stuff.

Expected Results:  
kept running and not crashed.
Comment 1 Danny Goulder 2007-03-05 12:20:53 UTC
Created attachment 112158 [details]
this is bug-buddy's trace.

trace from bug-buddy...  do i still need to recompile some packages?  if so which ones?

cheers

danny
Comment 2 Danny Goulder 2007-03-05 15:46:28 UTC
Created attachment 112167 [details]
bug report #2

another bugreport
Comment 3 Danny Goulder 2007-03-05 15:51:13 UTC
emerge --info:

Portage 2.1.2-r9 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r2 i686)
=================================================================
System uname: 2.6.18-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 02 Mar 2007 13:00:05 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -g"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=prescott -O2 -pipe -g"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk ftp://mirrors.blueyonder.co.uk/mirrors/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ "
LANG="en_GB.utf8"
LC_ALL="en_GB.utf8"
LINGUAS="en_GB en fr es"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/xeffects /usr/portage/local/danny"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac alsa amr apache2 apm arts audiofile berkdb bitmap-fonts bootsplash bzip2 cairo cdr cli cracklib crypt ctype cups curl dba dbus dga dri dvd dvdr dvdread eds emboss encode esd ethereal evolution exif expat fam fastbuild firefox foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glitz glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile hal iconv idn imap imlib ipv6 isdnlog java jpeg kde kerberos lcms ldap libg++ libwww lm_sensors mad memlimit midi mikmod mmx mng mono motif mozilla mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin ogg opengl oss pam pcre pdf perl png posix ppds pppd python qt qt3 qt4 quicktime readline reflection samba sdl session simplexml slang snmp soap sockets spell spl sse sse2 ssl svg tcpd theora tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb userlocales vorbis win32codecs x86 xinerama xml xml2 xorg xsl xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en fr es" USERLAND="GNU" VIDEO_CARDS="radeon vesa fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-03-05 16:33:14 UTC
Adding upstream URL.

Can you add splitdebug to your features, add -g to your CFLAGS, and re-emerge evolution-exchange glib and ldap?  Then you should get a much much better backtrace.
Comment 5 Danny Goulder 2007-03-08 10:40:38 UTC
(In reply to comment #4)
> Adding upstream URL.
> 
> Can you add splitdebug to your features, add -g to your CFLAGS, and re-emerge
> evolution-exchange glib and ldap?  Then you should get a much much better
> backtrace.
> 

right i've done this.  Yesterday I couldn't persuade it to crash but it's come through today...

attachment below...
Comment 6 Danny Goulder 2007-03-08 10:41:43 UTC
Created attachment 112555 [details]
proper backtrace

this one should be a bit better.  or should I rebuild some more packages?
Comment 7 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-03-08 17:22:33 UTC
Hmm... That's not actually any better than it was before.  Can you quit evo and run:
evolution --force-shutdow
(or reboot), and try and get another crash?  It can't hurt to rebuild evo and e-d-s, too, although they don't show up in the backtrace as it's listed now.
Comment 8 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-03-08 17:35:44 UTC
<sigh>

That should be
evolution --force-shutdown
Comment 9 Danny Goulder 2007-03-08 21:23:46 UTC
(In reply to comment #7)
> Hmm... That's not actually any better than it was before.  Can you quit evo and
> run:
> evolution --force-shutdow
> (or reboot), and try and get another crash?  It can't hurt to rebuild evo and
> e-d-s, too, although they don't show up in the backtrace as it's listed now.
> 

ok i'll try that tomorrow unfortunately i had already left the office by the time i got your comment...  interestingly in order to quit i have to "pkill evo" as for some strange reason mouseclicks stop working :-|

this kills everything so should be doing what you say...  i've gotta add that i don't get a bug-buddy backtrace every time - is there any other way i can get a backtrace?  strace perhaps? 

could there be any other packages that need a rebuild with the new CFLAGS and FEATURES?

lets see what the next crash brings...
Comment 10 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-03-09 04:24:46 UTC
Well, I've had problems with bug-buddy not recognizing e-d-s, but not with it not popping up.

Lots of potential things can be built; I have my whole system built that way.  But, based on the backtraces you've given, and the ones in the upstream bug, you should have enough built.  Generally useful things are: gtk+, glib, gnome-vfs, libgnome.
Comment 11 Danny Goulder 2007-03-13 09:53:33 UTC
(In reply to comment #10)
> Well, I've had problems with bug-buddy not recognizing e-d-s, but not with it
> not popping up.
> 
> Lots of potential things can be built; I have my whole system built that way. 
> But, based on the backtraces you've given, and the ones in the upstream bug,
> you should have enough built.  Generally useful things are: gtk+, glib,
> gnome-vfs, libgnome.
> 
right i've rebuilt all those as well - i'll attach the latest backtrace...

if this isn't good enough i might have to do an emerge -e world!!!
Comment 12 Danny Goulder 2007-03-13 09:54:09 UTC
Created attachment 113147 [details]
better backtrace??

this is the latest one
Comment 13 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-03-13 19:41:33 UTC
Unfortuately, that's no good either.  I'm not sure what to tell you at this point, except maybe to rebuild evo-exchange and libbonobo with -O0 (that's oh zero) to avoid functions getting optimized out...

I use -O2 -ggdb with splitdebug for my whole system (it's fine, except for disk space), and I generally get decent backtraces, but I also don't use evo-exchange (no exchange server access...)

Thanks very much for your persistance in this, it's much appreciated; discovering the cause of this bug has been a nightmare so far.
Comment 14 Danny Goulder 2007-03-16 10:59:17 UTC
I've got another backtrace - I rebuilt evolution-exchange and libbonobo with the following CFLAGS:

CFLAGS="-march=prescott -O0 -pipe -ggdb"

but it doesn't look like there's any more in there than before...

I'll do an "emerge -e world" over the weekend... it's a 3ghz P4 and ccache is 5GB so it should easily complete in 72 hours...

(In reply to comment #13)
> Unfortuately, that's no good either.  I'm not sure what to tell you at this
> point, except maybe to rebuild evo-exchange and libbonobo with -O0 (that's oh
> zero) to avoid functions getting optimized out...
> 
> I use -O2 -ggdb with splitdebug for my whole system (it's fine, except for disk
> space), and I generally get decent backtraces, but I also don't use
> evo-exchange (no exchange server access...)
> 
> Thanks very much for your persistance in this, it's much appreciated;
> discovering the cause of this bug has been a nightmare so far.
> 

Comment 15 Danny Goulder 2007-03-16 10:59:54 UTC
Created attachment 113466 [details]
new backtrace...

here's another one...
Comment 16 Daniel Gryniewicz (RETIRED) gentoo-dev 2007-03-19 16:10:57 UTC
You're right, it's no better.  What a frustrating bug...
Comment 17 Danny Goulder 2007-03-20 09:53:52 UTC
Created attachment 113847 [details]
Another backtrace

Hey here's another one - I don't know if this is any better...
Comment 18 Peter Volkov (RETIRED) gentoo-dev 2007-08-30 16:38:52 UTC
Upstream resolved this report as INCOMPLETE. Can anybody reproduce this bug? Is it possible to provide further details and reopen that bug?
Comment 19 Stian Skjelstad 2007-12-05 12:39:28 UTC
Which version of the plugin does this crash occure with?
Comment 20 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-08-03 20:25:39 UTC
upstream requested information, please provide them some.
Comment 21 Danny Goulder 2008-08-04 21:14:35 UTC
I can confirm I'm not getting this problem anymore...  I am now using evo 2.22 but also didn't have the problem with evo 2.20

think I reported this against 2.16 or something so looks like it has disappeared...
Comment 22 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-08-04 21:16:54 UTC
reopening per comment #21
Comment 23 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-08-04 21:17:09 UTC
and closing, thanks for replying.