Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 362789 - mail-client/evolution-2.32.2 crashes when importing calendar (.ics)
Summary: mail-client/evolution-2.32.2 crashes when importing calendar (.ics)
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-10 00:31 UTC by Uwe Breidenbach
Modified: 2011-06-11 10:43 UTC (History)
0 users

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


Attachments
1.patch (110-git-name-selector-fixes.patch,6.64 KB, patch)
2011-04-10 13:32 UTC, Pacho Ramos
Details | Diff
Example calendar (calendar_example.ics,653 bytes, text/plain)
2011-04-10 21:16 UTC, Uwe Breidenbach
Details
saved rejects from 1.patch (e-name-selector-dialog.c.rej,1.56 KB, text/plain)
2011-04-10 21:23 UTC, Uwe Breidenbach
Details
error and backtrace (only evolution compiled with -ggdb) (backtrace.log,8.53 KB, text/plain)
2011-04-10 22:29 UTC, Uwe Breidenbach
Details
error and full backtrace with all relevant packages (backtrace.log,16.60 KB, text/plain)
2011-04-12 11:58 UTC, Uwe Breidenbach
Details
error and full backtrace with all relevant packages (english) (backtrace.log,17.15 KB, text/plain)
2011-04-12 12:53 UTC, Uwe Breidenbach
Details
error and full backtrace 2.32.2-r3 (backtrace.log,15.94 KB, text/plain)
2011-04-12 23:14 UTC, Uwe Breidenbach
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Uwe Breidenbach 2011-04-10 00:31:19 UTC
mail-client/evolution-2.32.2 crashes when importing calendar with the following message:
eplugin-readdbx-Message: DBX Plugin enabled

(evolution:21231): GLib-CRITICAL **: g_variant_new_string: assertion `g_utf8_validate (string, -1, NULL)' failed

Rebuilding doesn't change anything.


Reproducible: Always

Steps to Reproduce:
1. Start Evolution
2. File -> import -> from file -> choose .ics-file -> choose target calendar -> next -> perform

Actual Results:  
Evolution crashes after these steps

Expected Results:  
Evolution shoult import the calendar and keep on running.


# eix evolution -I
[I] dev-python/evolution-python
     Available versions:  2.32.0!t
     Installed versions:  2.32.0!t(01:35:17 10.04.2011)
     Homepage:            http://pygtk.org/
     Description:         Python bindings for Evolution and Evolution Data Server

[I] gnome-extra/evolution-data-server
     Available versions:  2.30.3 2.32.2 {debug doc gnome-keyring ipv6 kerberos ldap ssl test +weather}
     Installed versions:  2.32.2(01:34:41 10.04.2011)(gnome-keyring ipv6 ldap ssl weather -doc -kerberos -test)
     Homepage:            http://www.gnome.org/projects/evolution/
     Description:         Evolution groupware backend

[I] gnome-extra/evolution-webcal
     Available versions:  2.32.0
     Installed versions:  2.32.0(01:35:33 10.04.2011)
     Homepage:            http://www.gnome.org/
     Description:         A GNOME URL handler for web-published ical calendar files

[I] mail-client/evolution
     Available versions:  (2.0) 2.30.2-r1 2.32.2 ~2.32.2-r1 ~2.32.2-r2
	{clutter connman crypt doc gstreamer kerberos ldap networkmanager nntp pda profile python ssl}
     Installed versions:  2.32.2(2.0)(02:03:23 10.04.2011)(crypt gstreamer ldap python ssl -clutter -doc -kerberos -networkmanager)
     Homepage:            http://www.gnome.org/projects/evolution/
     Description:         Integrated mail, addressbook and calendaring functionality

4 Treffer.


# emerge --info
Portage 2.1.9.42 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.5, glibc-2.11.3-r0, 2.6.36-gentoo-r8 x86_64)
=================================================================
System uname: Linux-2.6.36-gentoo-r8-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-1.12.14
Timestamp of tree: Sat, 09 Apr 2011 22:45:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage_distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/ http://gentoo.mirror.dkm.cz/pub/gentoo/ http://mirror.leaseweb.com/gentoo/ http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://ftp.halifax.rwth-aachen.de/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://de-mirror.org/distro/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://gentoo.mirror.dkm.cz/pub/gentoo/ http://gentoo.modulix.net/gentoo/ http://gentoo.mneisen.org/ ftp://ftp.halifax.rwth-aachen.de/gentoo/ ftp://de-mirror.org/distro/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://mirror.opteamax.de/gentoo/ http://gentoo.inode.at/ http://gentoo.wheel.sk/ ftp://gentoo.imj.fr/pub/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.qubenet.net/mirror/gentoo/ http://gentoo.supp.name/ ftp://gentoo.inode.at/source/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en de_DE en_US"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /usr/local/portage_overlay"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="64bit X a52 aac acl acpi alsa amd64 bash-completion berkdb branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dmx dri dts dvd dvdr eds emboss encode evo exif firefox flac fortran gdbm gdu gif gnome gnome-keyring gnutls gpm gstreamer gtk iconv ipv6 java jpeg lcms ldap libnotify lm_sensors loop-aes mad mikmod mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses nls nptl nptlonly ogg opengl openmp pae pam pango pcre pdf perl png policykit ppds pppd pulseaudio python qt3support readline samba sdl session spell sse sse2 sse3 ssl ssse3 startup-notification svg sysfs tcpd threads tiff truetype udev unicode usb vdpau vorbis x264 xcb xml xorg xulrunner xv xvid zlib zsh-completion" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en de_DE en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Pacho Ramos gentoo-dev 2011-04-10 10:03:05 UTC
Please retry with 2.32.2-r2
Comment 2 Uwe Breidenbach 2011-04-10 11:47:57 UTC
2.32.2-r2 doesn't work either.
Comment 3 Pacho Ramos gentoo-dev 2011-04-10 12:06:58 UTC
Please attach a calendar to test, also provide a proper backtrace following http://www.gentoo.org/proj/en/qa/backtraces.xml and installing bug-buddy
Comment 4 Pacho Ramos gentoo-dev 2011-04-10 13:32:37 UTC
Created attachment 269289 [details, diff]
1.patch

This patch is supposed to fix crashers on calendar, please try to apply it to evolution-DATA-SERVER (not evolution itself)
Comment 5 Uwe Breidenbach 2011-04-10 21:16:11 UTC
Created attachment 269395 [details]
Example calendar

Here is an example of an calendar, with which evolution crashes.
Comment 6 Uwe Breidenbach 2011-04-10 21:23:22 UTC
Created attachment 269399 [details]
saved rejects from 1.patch

I couldn't apply the patch correctly to gnome-extra/evolution-data-server-2.32.2 neither manualy nor in a modified ebuild.
I attached the rej-file mentioned in the following message:

$ patch -p1 <110-git-name-selector-fixes.patch 
patching file libedataserverui/e-name-selector-dialog.c
Hunk #3 FAILED at 119.
Hunk #7 FAILED at 894.
2 out of 7 hunks FAILED -- saving rejects to file libedataserverui/e-name-selector-dialog.c.rej
patching file libedataserverui/e-name-selector-dialog.ui
Comment 7 Uwe Breidenbach 2011-04-10 22:29:00 UTC
Created attachment 269413 [details]
error and backtrace (only evolution compiled with -ggdb)

bug-buddy is installed, but doesn't start automaticly after evolution crashes.
$ eix bug-buddy -c
[I] dev-python/bug-buddy-python (2.32.0@26.03.2011): Python bindings for Bug Buddy
[I] gnome-extra/bug-buddy (2.32.0-r2(2)@24.02.2011): A graphical bug reporting tool


I emerged evolution with the following command:
CFLAGS="-march=core2 -O0 -ggdb" FEATURES="nostrip" LDFLAGS="" emerge -1av evolution

And attached a full backtrace of the bug. I hope this is enough, otherwise I would have to rebuild a lot more packages with debug information.
Comment 8 Pacho Ramos gentoo-dev 2011-04-11 09:26:10 UTC
As you can see in backtrace, a lot of debugging symbols are missing, then, you would need to also rebuild ebuilds providing that libs with the same options than evolution (I think -O0 is not needed)
Comment 9 Pacho Ramos gentoo-dev 2011-04-12 11:14:27 UTC
Please retry with:
evolution-data-server-2.32.2-r1
evolution-2.32.2-r3
Comment 10 Uwe Breidenbach 2011-04-12 11:58:25 UTC
Created attachment 269645 [details]
error and full backtrace with all relevant packages

Yesterday I hadn't enough time to recompile. But heres the new backtrace. This time I tried with the following ebuilds (there wasn't as many as I thought there would be):

# CFLAGS="-march=core2 -O1 -ggdb" FEATURES="nostrip" LDFLAGS="" USE="debug" MAKEOPTS="-j5" emerge -1av evolution evolution-data-server glib glibc gtk+ 

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-libs/glibc-2.11.3  USE="debug* (multilib) nls -gd -glibc-omitfp (-hardened) -profile (-selinux) -vanilla" 0 kB
[ebuild   R   ] dev-libs/glib-2.26.1-r1  USE="debug* static-libs -doc -fam (-introspection) (-selinux) -test -xattr" 0 kB
[ebuild   R   ] x11-libs/gtk+-2.22.1-r1  USE="cups debug* jpeg tiff (-aqua) -doc -examples (-introspection) -jpeg2k -test -vim-syntax -xinerama" 0 kB
[ebuild   R   ] gnome-extra/evolution-data-server-2.32.2  USE="gnome-keyring ipv6 ldap ssl weather -doc -kerberos -test" 0 kB
[ebuild   R   ] mail-client/evolution-2.32.2-r2  USE="crypt gstreamer ldap python ssl (-clutter) -connman -doc -kerberos -networkmanager" 0 kB

Total: 5 packages (5 reinstalls), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] 


evolution-data-server-2.32.2-r1 and evolution-2.32.2-r3 are not in portage yet.
Comment 11 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-04-12 12:25:47 UTC
> g_variant_is_trusted (value=0x0) at gvariant-core.c:599
> 599	gvariant-core.c: Datei oder Verzeichnis nicht gefunden.
> 	in gvariant-core.c

it would be useful to have the message in english, try adding LC_ALL="C" before starting gdb/eds/evo
Comment 12 Uwe Breidenbach 2011-04-12 12:53:25 UTC
Created attachment 269665 [details]
error and full backtrace with all relevant packages (english)

Here it is.

If I saw it correctly it was just one german message:
"Datei oder Verzeichnis nicht gefunden"
what means "No such file or directory"
Comment 13 Pacho Ramos gentoo-dev 2011-04-12 18:47:00 UTC
(In reply to comment #10)
> evolution-data-server-2.32.2-r1 and evolution-2.32.2-r3 are not in portage yet.

They should already be there after resync
Comment 14 Uwe Breidenbach 2011-04-12 23:04:02 UTC
I can't compile evolution-data-server-2.32.2-r1, because emerge failed. See the following bug:
Failed to emerge gnome-extra/evolution-data-server-2.32.2-r1

evolution-2.32.2-r3 still has the bug. The pleasent news is, that bug-buddy now opens after the crash. I sent in a bug:
https://bugzilla.gnome.org/show_bug.cgi?id=647610
Comment 15 Uwe Breidenbach 2011-04-12 23:07:03 UTC
> I can't compile evolution-data-server-2.32.2-r1, because emerge failed. See the
> following bug:
> Failed to emerge gnome-extra/evolution-data-server-2.32.2-r1

Wrong content in the clipboard. Here is the real link:
https://bugs.gentoo.org/show_bug.cgi?id=363405
Comment 16 Uwe Breidenbach 2011-04-12 23:14:25 UTC
Created attachment 269737 [details]
error and full backtrace 2.32.2-r3

Hers a backtrace of the evolution-2.32.2-r3
Comment 17 Uwe Breidenbach 2011-04-13 15:41:31 UTC
Sadly still not working on ~x86 with evolution-data-server-2.32.2-r1 and neither evolution-2.32.2-r2 nor evolution-2.32.2-r3.
Comment 18 Alex Buell 2011-05-27 11:16:16 UTC
This patch is so important and so urgent please action this asap. This also fixes a problem where invalid utf8 email addreses from spammers will crash Evolution.
Comment 19 Alex Buell 2011-05-27 11:17:56 UTC
This patch is so important and so urgent please action this asap. This also fixes a problem where invalid utf8 email addreses from spammers will crash Evolution.
Comment 20 Pacho Ramos gentoo-dev 2011-06-04 10:45:01 UTC
(In reply to comment #18)
> This patch is so important and so urgent please action this asap. This also
> fixes a problem where invalid utf8 email addreses from spammers will crash
> Evolution.

What patch? I am missing it :-S
Comment 21 Pacho Ramos gentoo-dev 2011-06-11 10:43:41 UTC
We won't be able to fix this until upstream or anybody finds a solution for:
https://bugzilla.gnome.org/show_bug.cgi?id=638673

We will track it directly upstream then and, if a solution appears, try to apply it upstream