GNOME Bugzilla – Bug 634573
Crash when importing ics file
Last modified: 2010-11-19 14:49:53 UTC
Created attachment 174234 [details] test event Moving from a downstream bug report: https://bugzilla.redhat.com/show_bug.cgi?id=652132 e-calendar-factory can crash when importing http://www.hds.com/anz/events/hitachi-data-systems-melbourne-christmas-party-2010.ics (I attached it). Downstream reported tried with the evolution-exchange calendar, I tried with the Personal calendar. Both are crashing, mine on a different place.
+ Trace 224629
Thread 1 (Thread 1872)
---Type <return> to continue, or q <return> to quit---q 0xe21610 "BEGIN:VCALENDAR\r\nPRODID:-//Microsoft Corporation//Outlook 12.0 MIMEDIR//EN\r\nVERSQuit (gdb) l 2891 GMappedFile *mapped_file; 2892 GError *error = NULL; 2893 2894 mapped_file = g_mapped_file_new (sfname, FALSE, &error); 2895 if (!mapped_file) { 2896 g_message ("DEBUG: could not map %s: %s\n", 2897 sfname, error->message); 2898 g_error_free (error); 2899 continue; 2900 } (gdb) p sfname $1 = (gchar *) 0x0 (gdb) p error $2 = (GError *) 0x0
Created attachment 174843 [details] [review] eds patch for evolution-data-server; There was no support for inline attachments in ECalComponent, which later could lead to anything, in this case to a crash. I added support for inline attachments into ECalComponent, and fixed couple things here and there when testing things around this.
Created attachment 174844 [details] [review] eex patch for evolution-exchange; Related part to this. May address could things as well.
Created commit 92bf50a in eds master (2.91.3+) Created commit 8e936b3 in eds gnome-2-32 (2.32.2+) Created commit 01d0da5 in eex master (2.91.3+) Created commit 9ad860d in eex gnome-2-32 (2.32.2+)