GNOME Bugzilla – Bug 350395
Evolution crash with bad ics attachment
Last modified: 2013-09-10 14:04:39 UTC
Steps to reproduce: Evolution crashes with the attached dump (from bug buddy) when it receives a bad (but not corrupted) ics attachment in an email (embedded below in case you read this in evolution and it crashes for you). It's annoying because I now have to delete the email through an alternate means to be able to use Evolution again (because it remembers that email as the last I selected when it starts up again *sigh*). BTW: I think it's clear that the problem is that the date is before 1900 (I know it's the broken Outlook that the real problem but anyway, Evolution should crash and burn because of it). Thanks, Christian --BEGIN ICAL BEGIN:VCALENDAR METHOD:PUBLISH PRODID:-//Oracle/Outlook Connector//EN VERSION:2.0 BEGIN:VEVENT DTEND:16010101T000000Z DTSTART:16010101T000000Z ORGANIZER;SENT-BY=xxx;CN=xxx DESCRIPTION:Proposed By: XXX\nSensitivity:Normal\nImportance: Normal\n\nWhen: Friday\, May 26\, 2006 11:00 AM-12:00 PM (GMT-05:00) Eastern Time (US & Canada).\n\n*~*~*~*~*~*~*~*~*~*\n\n SUMMARY:XXX PRIORITY:5 SEQUENCE:0 TRANSP:OPAQUE ATTENDEE;ROLE=REQ-PARTICIPANT;RSVP=FALSE;CN=xxx ATTENDEE;ROLE=REQ-PARTICIPANT;RSVP=FALSE;CN=xxxx DTSTAMP:20060525T193504Z UID:xxx END:VEVENT END:VCALENDAR --END ICAL Stack trace: Backtrace was generated from '/usr/bin/evolution-2.6' Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread -1500494144 (LWP 8325)] [New Thread -1564402768 (LWP 8336)] [New Thread -1555850320 (LWP 8335)] [New Thread -1547457616 (LWP 8334)] [New Thread -1530475600 (LWP 8332)] [New Thread -1538872400 (LWP 8331)] [New Thread -1522082896 (LWP 8329)] [New Thread -1513690192 (LWP 8328)] [New Thread -1505293392 (LWP 8326)] 0xffffe410 in __kernel_vsyscall ()
+ Trace 70075
Thread 1 (Thread -1500494144 (LWP 8325))
Other information: This problem was originally posted at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=368920
Created attachment 70468 [details] [review] Patch that fixes the problem The patch adds some extra checks to avoid the crash. It's been used in Debian since Jun 11 2006. Please assign to Harish.
thanks for submitting the patch
Set target milestone to 2.8
Øystein: just out of curiosity, what does your comment "Also, year assumption won't fail." exactly mean in this case?
The patch can be committed to gnome-2-14 branch and HEAD.
Fixed to head and stable.