evolution crashes when using calendar

Bug #716433 reported by Steve Roberts on 2011-02-10
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
evolution (Fedora)
Won't Fix
Medium
evolution (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: evolution

Ubuntu 10.04 Evolution 2.28

Whenever I try to use the calendar evolution either hangs and has to be forced to close or the whole gnome desktop hangs so that I have to ctrl--alt-f1 to open terminal from where I can restart. Not using google calendar or any other online service.

Eg To reproduce:
Click on calendar
Page up or down one or more times - hangs

Or
re-open (in calendar as when crashed)
try to copy an appointment
appointment disappears (note it was copied, not cut)
paste - hangs

There seems no consistency except that crashes/hangs always occur when using calendar - appears stable if stay in mail window. This is very frustrating as it makes evolution unusable.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: evolution 2.28.3-0ubuntu10.2
ProcVersionSignature: Ubuntu 2.6.32-28.55-generic 2.6.32.27+drm33.12
Uname: Linux 2.6.32-28-generic x86_64
Architecture: amd64
Date: Thu Feb 10 13:47:53 2011
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
ProcEnviron:
 LANG=en_GB.utf8
 SHELL=/bin/bash
SourcePackage: evolution

abrt 1.1.0 detected a crash.

architecture: i686
Attached file: backtrace
cmdline: evolution -c mail --sync
component: evolution
crash_function: raise
executable: /usr/bin/evolution
global_uuid: 6f27b1bde132b66c0cb0916f3aa4d685a8a00814
kernel: 2.6.33.5-112.fc13.i686.PAE
package: evolution-2.30.1-6.fc13
rating: 4
reason: Process /usr/bin/evolution was killed by signal 6 (SIGABRT)
release: Fedora release 13 (Goddard)

comment
-----
Evloution dies with the message:

Gdk-ERROR **: The program 'evolution' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadGC (invalid GC parameter)'.
  (Details: serial 1919308 error_code 13 request_code 60 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
aborting...

when run with --sync it prints out

[alx@aronia ~]$ (evolution:11072): e-data-server-DEBUG: Loading categories from "/home/alx/.evolution/categories.xml"
(evolution:11072): e-data-server-DEBUG: Loaded 47 categories

** (evolution:11072): CRITICAL **: categories_icon_theme_hack: assertion `filename != NULL && *filename != '\0'' failed
evolution: xcb_io.c:452: _XReply: Assertion `!dpy->xcb->reply_data' failed.

[1]+ Aborted (core dumped) evolution --sync -c mail

How to reproduce
-----
1. Run evolution
2. Change view to Calendar
3.

Created attachment 419006
File: backtrace

Steve Roberts (drgrumpy) wrote :
Steve Roberts (drgrumpy) wrote :

Or
Open evolution in calendar
scroll up one click (with mouse wheel) - hangs

It also seems that I am unable to cut and paste items in the calendar views (may not be related)
right click an item, select copy
move to another day
right click, select paste - nothing happens or crash.

Steve Roberts (drgrumpy) wrote :

I upgraded to Maverick (clean install, home directory retained) in the hope of improving the situation - it seems to be worse, and now often closes when I just click on the calendar.

In case it was a problem with char encoding (as suggested elsewhere) I created a new calendar.ics file (utf-8/windows) with no improvement.

When started from the terminal and it crashes I get this:

The program 'evolution' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadGC (invalid GC parameter)'.
  (Details: serial 17035 error_code 13 request_code 66 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Please help.... I really need the calendar to work and there doesn't seem to be a viable alternative other than MS Outlook.

Steve Roberts (drgrumpy) wrote :

I found the same bug reported for fedora:

https://bugzilla.redhat.com/show_bug.cgi?id=598950

Could you please check whether you have crash files for evolution under /var/crash ? This is normally where evolution closing because of a crash would create files; which you can then send using the "ubuntu-bug file_name.crash" command to open a new bug. Please send the crash files with the above command if you find any, then report with the bug number here (or mention it if there are no crash files).

Changed in evolution (Ubuntu):
status: New → Incomplete
Steve Roberts (drgrumpy) wrote :

There are no crash files in /var/crash, in either the previous installation (10.04) or the new one (10.10).

Steve,

Please try the following two things to add additional information to this bug report:

 - Run evolution with the following command: evolution -c calendar --sync . This should allow us to figure out what causes the X error you pasted above. Reproduce the issue, then paste or attach the output here.

 - Please attach a copy of .xsession-errors after reproducing the issue. There may be a useful error message. Note that the above command will contain the same information.

Steve Roberts (drgrumpy) wrote :
Download full text (7.8 KiB)

Mathieu,

Thanks for your continued interest:

Running with the sync option as suggested evolution flashes up briefly, then immediately closes, before any chance to interact with it, resulting in similar but different errors with each attempt (mostly they don't seem too helpful), see below, but on one occasion I got a more extensive output (at the bottom), not sure if it helps:

This is the most common outcome
drgrumpy@sjr06x:~$ evolution -c calendar --sync
EI: MAIL PREFSevolution: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.

drgrumpy@sjr06x:~$ evolution -c calendar --sync
EI: MAIL PREFS*** glibc detected *** evolution: free(): corrupted unsorted chunks: 0x0000000003363c00 ***
Segmentation fault

drgrumpy@sjr06x:~$ evolution -c calendar --sync
EI: MAIL PREFSThe program 'evolution' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadGC (invalid GC parameter)'.
  (Details: serial 4010 error_code 13 request_code 66 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

drgrumpy@sjr06x:~$ evolution -c calendar --sync
EI: MAIL PREFSevolution: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
The program 'evolution' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadGC (invalid GC parameter)'.
  (Details: serial 3996 error_code 13 request_code 60 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

drgrumpy@sjr06x:~$ evolution -c calendar --sync
EI: MAIL PREFSevolution: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.

Once I got this:

drgrumpy@sjr06x:~$ evolution -c calendar --sync
EI: MAIL PREFS*** glibc detected *** evolution: double free or corruption (out): 0x000000000217a6e0 ***
======= Backtrace: =========
/lib/libc.so.6(+0x774b6)[0x7f4af64b44b6]
/lib/libc.so.6(cfree+0x73)[0x7f4af64bac83]
/usr/lib/libX11.so.6(+0x4a362)[0x7f4af34ed362]
/usr/lib/libX11.so.6(_XReply+0x140)[0x7f4af34ed9b0]
/usr/lib/libX11.so.6(XSync+0x63)[0x7f4af34e1333]
/usr/lib/libX11.so.6(+0x3e4eb)[0x7f4af34e14eb]
/usr/lib/libX11.so.6(XFreeGC+0xa4)[0x7f4af34c73f4]
/usr/lib/libgdk-x11-2.0.so.0(+0x5eb98)[0x7f4af8d43b98]
/usr/lib/libgobject-2.0.so.0(g_object_unref+0x174)[0x7f4af70c3e14]
/usr/lib/evolution/2.30/libetable.so.0(+0x26875)[0x7f4af513b875]
/usr/lib/evolution/2.30/libetable.so.0(+0x228dd)[0x7f4af51378dd]
/usr/lib/evolution/2.30/libetable.so.0(+0x44028)[0x7f4af5159028]
/usr/lib/evolution/2.30/libetable.so.0(+0x44144)[0x7f4af5159144]
/usr/lib/evolution/2.30/libetable.so.0(+0x441b4)[0x7f4af51591b4]
/usr/lib/libgo...

Read more...

Steve Roberts (drgrumpy) wrote :

Also .xsession-errors attached

Steve Roberts (drgrumpy) wrote :

No improvement with latest kernel update to 2.6.35.-28-generic

corneil (corneil) wrote :

I have had the same problems for some time now on lucid, maverick and natty beta 1 & 2.

Connect Evolution to my Google account using IMAP.
Create Calendar to Google Calendar using the same account.

Select Calendar view. Watch with 'System Monitor' you can see the memory usage of e-calendar-factory climb until all available memory is used.

Crash message says 'Not enough memory to report error'

My Calendar on Google isn't very full maybe 2-4 events per week most of them recurring weekly and about 80-120 annual recurring items.

Steve,
Please try to obtain a valgrind log following the instructions at https://wiki.ubuntu.com/Valgrind and attach the file to the bug report. This will greatly help us in tracking down your problem. These logs should be taken without the --sync option ;)

corneil, please file a separate bug using 'ubuntu-bug evolution' so we can identify your problem. It doesn't look like this would be the same thing.

Steve Roberts (drgrumpy) wrote :

Dear Mathieu,

Sorry for slow response. I actually already obtained a valgrind log at your request and posted it, some time ago, here:

https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/655405/comments/30

Apologies if I have confused things.

Steve

You are not alone I'm also suffering from this bug :-(

This message is a reminder that Fedora 13 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 13. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '13'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 13's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 13 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Fedora 13 changed to end-of-life (EOL) status on 2011-06-25. Fedora 13 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.

Jörg Frings-Fürst (jff-de) wrote :

 since 2011-02-18 status Incomplete

change status to invalid

Changed in evolution (Ubuntu):
status: Incomplete → Invalid
Changed in evolution (Fedora):
importance: Unknown → Medium
status: Unknown → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.