Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95917 - Evolution crashes when trying to generate a dbus event on new mail
Summary: Evolution crashes when trying to generate a dbus event on new mail
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
Depends on:
Blocks: 95548
  Show dependency tree
 
Reported: 2005-06-12 19:57 UTC by Alex Murray
Modified: 2005-07-17 22:08 UTC (History)
2 users (show)

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


Attachments
debug info on the crash (evol_debug,1.97 KB, text/plain)
2005-06-27 02:01 UTC, Chris Rebert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Murray 2005-06-12 19:57:55 UTC
If I enable "Generate a dbus message when new mail arrives", Evolution crashes
with the following ouput from console:

alex@enigma ~ $ evolution
es menu class init
adding hook target 'source'

(evolution:9831): camel-WARNING **: Invalid root:
'/home/alex/.evolution/mail/local/Drafts.ibex.index'

(evolution:9831): camel-WARNING **: version: TEXT.000 (TEXT.000)

(evolution:9831): camel-WARNING **: block size: 1024 (1024) OK

(evolution:9831): camel-WARNING **: free: 0 (0 add size < 1024) OK

(evolution:9831): camel-WARNING **: last: 6144 (6144 and size: 1024) BAD

(evolution:9831): camel-WARNING **: flags: unSYNC
Failed to connect to the D-BUS daemon: Unable to determine the address of the
message bus
9831: arguments to dbus_connection_get_data() were incorrect, assertion
"connection != NULL" failed in file dbus-connection.c line 3592.
This is normally a bug in some application using the D-BUS library.
9831: arguments to dbus_connection_set_watch_functions() were incorrect,
assertion "connection != NULL" failed in file dbus-connection.c line 2917.
This is normally a bug in some application using the D-BUS library.

** ERROR **: Not enough memory to set up DBusConnection for use with GLib
aborting...

However dbus is running:
alex@enigma ~ $ ps -e | grep dbus
 7830 ?        00:00:00 dbus-daemon-1
 9827 ?        00:00:00 dbus-daemon-1

Is there perhaps some version mismatch between the two??



Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r9 i686)
=================================================================
System uname: 2.6.11-gentoo-r9 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 28 2005, 12:54:02)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.5, 1.9.5, 1.7.9-r1, 1.6.3, 1.4_p6, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://206.75.217.181/ http://mirror.datapipe.net/gentoo"
LANG="en_AU.UTF-8"
LC_ALL="en_AU.UTF-8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa avi berkdb bitmap-fonts cddb cdr cups eds emacs emboss
encode evo fam fbcon gdbm gif gimp gnome gnutls gpm gstreamer gtk gtk2 hal imap
imlib jpeg libg++ mad mmx mp3 mpeg ncurses nls nptl offensive ogg oggvorbis
opengl pam pdflib png ppds python quicktime readline samba scanner sdl spell sse
sse2 ssl svg svga tcpd tetex tiff truetype truetype-fonts type1-fonts usb vorbis
win32codecs wmf xine xml xml2 xpm xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, LINGUAS


---------------------------------------------------------------------

[ebuild   R   ] sys-apps/dbus-0.23-r3  +X -debug +gtk +python -qt +xml2 0 kB
[ebuild   R   ] mail-client/evolution-2.2.1.1  +crypt -debug -doc +gstreamer
-ipv6 -kerberos +ldap -mono -mozilla -nntp -pda +spell +ssl 0 kB
[ebuild   R   ] gnome-extra/evolution-data-server-1.2.1-r1  -debug -doc -ipv6
-kerberos +ldap -mozilla -nntp +ssl 0 kB

---------------------------------------------------------------------
Comment 1 Chris Rebert 2005-06-27 02:00:21 UTC
Don't know if this helps much, but I'm attaching bug-buddy's crash info for
evolution.

Also, in case anyone can't open evolution to disable the pref without evolution
crashing, the GConf key for the D-BUS message is
/apps/evolution/mail/notify/gen_dbus_msg
Comment 2 Chris Rebert 2005-06-27 02:01:09 UTC
Created attachment 62032 [details]
debug info on the crash
Comment 3 Stian Skjelstad 2005-06-28 05:23:46 UTC
I got random segfaults when I enabled dbus in evolution too. Does gnome have any
listeners for those events btw?
Comment 4 Alex Murray 2005-07-12 07:02:03 UTC
Looks like this has been fixed in GNOME CVS:
http://cvs.gnome.org/viewcvs/evolution/plugins/new-mail-notify/new-mail-notify.c?rev=1.6&view=log

(GNOME Bugzilla bug link: http://bugzilla.gnome.org/show_bug.cgi?id=274329)

Any chance this patch can be put into portage.
Comment 5 Alex Murray 2005-07-12 16:58:07 UTC
Link to the patch on GNOME bugzilla:
http://bugzilla.gnome.org/attachment.cgi?id=48819&action=view
Comment 6 Leonardo Boshell (RETIRED) gentoo-dev 2005-07-17 22:08:14 UTC
Patch added in evolution-2.2.3-r1. Thanks for your help.