GNOME Bugzilla – Bug 536805
Single event local iCalendar locks Evolution and uses 1GB of memory
Last modified: 2010-06-24 23:51:18 UTC
Steps to reproduce: 1. Create a new local calendar in Evolution 2. Log out of Evolution and shutdown EDS 3. Copy my calendar.ics file into the correct ~/.evolution/calendar/local directory 4. Open Evolution and click on Calendar 5. Watch Evolution lock Stack trace: ---------Ok, this doesn't crash crash - but it locks hard-------------- evolution-data-server-Message: Server up and running in server_log_handler (evolution-data-server-2.22:4953): GLib-GObject-WARNING **: value "((ECalSourceTypeEnum) 4)" of type `ECalSourceTypeEnum' is invalid or out of range for property `source-type' of type `ECalSourceTypeEnum' in server_log_handler (evolution-data-server-2.22:4953): libecalbackendfile-WARNING **: e-cal-backend-file.c:481: Tried to add an already existing recurrence in server_log_handler (evolution-data-server-2.22:4953): libecalbackendfile-WARNING **: e-cal-backend-file.c:481: Tried to add an already existing recurrence in server_log_handler (evolution-data-server-2.22:4953): libecalbackendfile-WARNING **: e-cal-backend-file.c:481: Tried to add an already existing recurrence in server_log_handler (evolution-data-server-2.22:4953): libecalbackendfile-WARNING **: e-cal-backend-file.c:481: Tried to add an already existing recurrence in server_log_handler (evolution-data-server-2.22:4953): libecalbackendfile-WARNING **: e-cal-backend-file.c:481: Tried to add an already existing recurrence in server_log_handler (evolution-data-server-2.22:4953): libecalbackendfile-WARNING **: e-cal-backend-file.c:481: Tried to add an already existing recurrence (evolution-data-server-2.22:4953): libecalbackendhttp-WARNING **: The component does not have the mandatory property UID impl_GNOME_Evolution_Addressbook_BookFactory_getBook + file:///home/ryan/.evolution/addressbook/local/system => 0x807b750 impl_GNOME_Evolution_Addressbook_Book_open (0x807b750) (evolution-data-server-2.22:4953): libedata-book-WARNING **: impl_GNOME_Evolution_Addressbook_Book_getBookView ((contains "x-evolution-any-field" "")) e_data_book_respond_get_book_view book_view file uref (evolution-data-server-2.22:4953): libecalbackendhttp-WARNING **: The component does not have the mandatory property UID -------------Here is running evolution on the command line------------ ryan@ultra24:~$ evolution --component calendar (evolution:4975): libecal-WARNING **: time_t out of range (evolution:4975): libecal-WARNING **: time_t out of range (evolution:4975): libecal-WARNING **: time_t out of range (evolution:4975): libecal-WARNING **: time_t out of range (evolution:4975): libecal-WARNING **: time_t out of range (evolution:4975): libecal-WARNING **: time_t out of range (evolution:4975): libecal-WARNING **: time_t out of range (evolution:4975): libecal-WARNING **: time_t out of range (evolution:4975): libecal-WARNING **: time_t out of range (evolution:4975): libecal-WARNING **: time_t out of range (evolution:4975): libecal-WARNING **: time_t out of range (evolution:4975): libecal-WARNING **: time_t out of range (evolution:4975): calendar-gui-CRITICAL **: e_day_view_add_event: assertion `end > add_event_data->day_view->lower' failed (evolution:4975): calendar-gui-CRITICAL **: e_day_view_add_event: assertion `end > add_event_data->day_view->lower' failed (evolution:4975): calendar-gui-CRITICAL **: e_week_view_add_event: assertion `end > add_event_data->week_view->day_starts[0]' failed (evolution:4975): calendar-gui-CRITICAL **: e_week_view_add_event: assertion `end > add_event_data->week_view->day_starts[0]' failed (evolution:4975): calendar-gui-CRITICAL **: e_week_view_add_event: assertion `end > add_event_data->week_view->day_starts[0]' failed (evolution:4975): libecal-WARNING **: time_t out of range Other information: I will attach the icalendar file that causes the crash
Created attachment 112211 [details] icalendar crash causer Locally or remotely, a calendar with an event like this will cause Evolution to lock up.
ics file attached in comment#1 does the trick even in evolution 2.27.91 ... evolution cpu went high .. when i tried to navigate in different days, evolution crashed. Memory status: size: 1170194432 vsize: 1170194432 resident: 450633728 share: 31248384 rss: 450633728 rss_rlim: 18446744073709551615 CPU usage: start_time: 1251185307 rtime: 29822 utime: 23527 stime: 6295 cutime:4 cstime: 10 timeout: 0 it_real_value: 0 frequency: 100 Backtrace was generated from '/usr/bin/evolution' [?1034h[Thread debugging using libthread_db enabled] [New Thread 0x7fc240bf9950 (LWP 13404)] [New Thread 0x7fc24be63950 (LWP 13313)] [New Thread 0x7fc2403f8950 (LWP 13288)] [New Thread 0x7fc23f3c1950 (LWP 11660)] [New Thread 0x7fc23fbc2950 (LWP 11659)] [New Thread 0x7fc2497e5950 (LWP 11656)] [New Thread 0x7fc24a279950 (LWP 11655)] [New Thread 0x7fc24aa7a950 (LWP 11653)] [New Thread 0x7fc24b488950 (LWP 11652)] [New Thread 0x7fc24d8d4950 (LWP 11649)] [New Thread 0x7fc24d0d3950 (LWP 11648)] 0x00007fc2659785af in waitpid () from /lib64/libpthread.so.0
+ Trace 217117
Thread 1 (Thread 0x7fc2698267f0 (LWP 11617))
----------- .xsession-errors (144 sec old) --------------------- Window manager warning: Attempt to perform window operation 26 on window none when operation 26 on none already in effect Window manager warning: Attempt to perform window operation 26 on window none when operation 26 on none already in effect Window manager warning: Attempt to perform window operation 26 on window none when operation 26 on none already in effect Window manager warning: Attempt to perform window operation 26 on window none when operation 26 on none already in effect Window manager warning: Attempt to perform window operation 26 on window none when operation 26 on none already in effect Window manager warning: Attempt to perform window operation 26 on window none when operation 26 on none already in effect Window manager warning: Attempt to perform window operation 26 on window none when operation 26 on none already in effect Window manager warning: Attempt to perform window operation 26 on window none when operation 26 on none already in effect Window manager warning: Attempt to perform window operation 26 on window none when operation 26 on none already in effect Window manager warning: Attempt to perform window operation 26 on window none when operation 26 on none already in effect Window manager warning: Attempt to perform window operation 26 on window none when operation 26 on none already in effect Window manager warning: Attempt to perform window operation 26 on window none when operation 26 on none already in effect Window manager warning: Attempt to perform window operation 26 on window none when operation 26 on none already in effect Window manager warning: Attempt to perform window operation 26 on window none when operation 26 on none already in effect Window manager warning: Attempt to perform window operation 26 on window none when operation 26 on none already in effect --------------------------------------------------
The issue is with DTSTART;VALUE=X:20070122T000000 removing from it ";VALUE=X" will cause it working as expected. Based on [1] the VALUE can be omitted, or if used, then either DATE or DATE-TIME Though the fix should come to libical, which we do not have under control any more (not talking about the issue how and where to fix it). [1] http://tools.ietf.org/html/rfc2445.html#section-4.8.2.4
*** Bug 606788 has been marked as a duplicate of this bug. ***
I just got same crash in 2.28.2. I was trying advance search in calendar month view, i cleared search when it didn't give any results and evolution crashed.
I guess the comment #5 is just a coincidence and seems to be unrelated to the original report about having one event causing memory allocation at 1GB and higher. Also note that this part changed heavily in 2.30, that can look differently there. I sent an email [1] to libical developers [2], and because we cannot do more here, then I'm closing this as NotGnome. [1] http://sourceforge.net/mailarchive/forum.php?thread_name=1269533853.25920.6.camel%40localhost&forum_name=freeassociation-devel [2] http://sourceforge.net/mailarchive/forum.php?forum_name=freeassociation-devel
*** Bug 619557 has been marked as a duplicate of this bug. ***
*** Bug 622671 has been marked as a duplicate of this bug. ***