After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 272176 - slight deviations in vCal-format cause evolution-crash
slight deviations in vCal-format cause evolution-crash
Status: VERIFIED FIXED
Product: evolution
Classification: Applications
Component: Calendar
2.0.x (obsolete)
Other All
: Normal major
: ---
Assigned To: Dinesh Layek
Evolution QA team
: 316777 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-02-03 12:59 UTC by Andreas Leitgeb
Modified: 2013-09-10 14:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Demo mbox file with vCal-attachment that crashes evo (646 bytes, text/plain)
2005-09-12 09:46 UTC, Andreas Leitgeb
  Details
fixes the bug (1.60 KB, patch)
2005-09-26 11:40 UTC, Dinesh Layek
none Details | Review
modified patch (3.24 KB, patch)
2005-09-28 14:49 UTC, Dinesh Layek
none Details | Review

Description Andreas Leitgeb 2005-02-03 12:59:29 UTC
Distribution: Debian 3.1
Package: Evolution
Priority: Blocker
Version: GNOME2.8.1 2.0.3
Gnome-Distributor: Debian
Synopsis: slight deviations in vCal-format cause evolution-crash
Bugzilla-Product: Evolution
Bugzilla-Component: Calendar
Bugzilla-Version: 2.0.3
BugBuddy-GnomeVersion: 2.0 (2.8.0)
Description:
Description of the crash:
Upon viewing a mail with a slightly broken vCal-attachment, evolution
crashes.

Steps to reproduce the crash:

1. write these lines to a file:
=== start ===
BEGIN:VCALENDAR
PRODID:-//DUMMY//blah//EN
VERSION:1.0
BEGIN:VEVENT
DTSTART:20041213T160000Z
DTEND:20041213T220000Z
DESCRIPTION; ENCODING=QUOTED-PRINTABLE: blah...
SUMMARY: blah...
LOCATION: blah...
END:VEVENT
END:VCALENDAR
=== end ===
Note, that there is a single blank before "ENCODING=".
This blank triggers the bug. (Other deviations may do, too, 
but I happened to stumble over that extra blank.)

2. mail or copy a mail with this file attached to one of evolution's
     mail-folders.  In my tests, the attachment was base64 encoded. 
     This may or may not be necessary for reproducing the bug.

3. View the mail with evolution: crash.

Expected Results:
  evolution really should not crash with any kind of rubbish sent as
vCal attachment.

How often does this happen?
  100% deterministically. - whenever I view such a mail.

Additional Information:
   On request, I can provide a crash.mbox file that crashes evo.


Debugging Information:

I've condensed a bunch of "(no debugging symbols found)"-lines,
leaving just the first and last of each separate bunch, plus 
a note of the number of elided lines.

There is a thread with SSL-stuff.  This is, because I've 
got an imaps-box configured. Though, my testcase was
in a local folder, so it crashed while the dialog for 
accepting imaps-server's certificate was still waiting
for my Ok/Cancel.

Backtrace was generated from '/usr/bin/evolution'

(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(no debugging symbols found)
`system-supplied DSO at 0xffffe000' has disappeared; keeping its
symbols.
(no debugging symbols found)
((( 51 "no debugging symbols found" lines elided)))
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 1094487616 (LWP 32187)]
[New Thread 1164786608 (LWP 32197)]
[New Thread 1156398000 (LWP 32196)]
[New Thread 1148009392 (LWP 32194)]
[New Thread 1138121648 (LWP 32193)]
[New Thread 1129712560 (LWP 32191)]
[New Thread 1121323952 (LWP 32190)]
[New Thread 1112935344 (LWP 32189)]
(no debugging symbols found)
((( 61 "no debugging symbols found" lines elided)))
(no debugging symbols found)
0x40f90511 in __waitpid_nocancel () from /lib/tls/libpthread.so.0

Thread 1 (Thread 1094487616 (LWP 32187))

  • #0 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #1 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #2 e_sidebar_get_type
  • #3 <signal handler called>
  • #4 icalvalue_get_text
    from /usr/lib/libecal.so.6
  • #5 icalproperty_get_description
    from /usr/lib/libecal.so.6
  • #6 e_cal_component_set_classification
    from /usr/lib/libecal.so.6
  • #7 e_cal_component_get_description_list
    from /usr/lib/libecal.so.6
  • #8 e_itip_control_new
    from /usr/lib/evolution/2.0/components/libevolution-calendar.so
  • #9 e_itip_control_new
    from /usr/lib/evolution/2.0/components/libevolution-calendar.so
  • #10 e_itip_control_new
    from /usr/lib/evolution/2.0/components/libevolution-calendar.so
  • #11 e_itip_control_set_data
    from /usr/lib/evolution/2.0/components/libevolution-calendar.so
  • #12 goto_dialog
    from /usr/lib/evolution/2.0/components/libevolution-calendar.so
  • #13 g_child_watch_add
    from /usr/lib/libglib-2.0.so.0
  • #14 g_main_depth
    from /usr/lib/libglib-2.0.so.0
  • #15 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #16 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #17 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #18 bonobo_main
    from /usr/lib/libbonobo-2.so.0
  • #19 main
  • #0 __waitpid_nocancel
    from /lib/tls/libpthread.so.0



Unknown reporter: avl@logic.at, changed to bugbuddy-import@ximian.com.
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.

Comment 1 viren 2005-09-09 07:03:48 UTC
Can you provide a crash.mbox file that crashes evo
Comment 2 Andreas Leitgeb 2005-09-12 09:46:43 UTC
Created attachment 52117 [details]
Demo mbox file with vCal-attachment that crashes evo

this is an anonymized and reduced reproduction of an original mail, which 
I received and which crashed evolution 2.0.3
Meanwhile I've got 2.0.4 installed, and that version still crashes
Comment 3 Dinesh Layek 2005-09-26 11:40:39 UTC
Created attachment 52664 [details] [review]
fixes the bug
Comment 4 Dinesh Layek 2005-09-28 14:49:37 UTC
Created attachment 52776 [details] [review]
modified patch
Comment 5 Dinesh Layek 2005-09-30 06:22:10 UTC
*** Bug 316777 has been marked as a duplicate of this bug. ***
Comment 6 Chenthill P 2005-09-30 14:26:16 UTC
Committed the fix in gnome-2-12 and head.
Comment 7 Nagappan Alagappan 2005-10-03 11:15:16 UTC
Verified with evolution-2.4.0.0.200510030429-0.snap.novell.0.1 and it works fine.