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 619959 - Crash in format_itip at itip-formatter.c line 2567
Crash in format_itip at itip-formatter.c line 2567
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.30.x (obsolete)
Other Linux
: Normal critical
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
: 621496 621865 622307 622349 622380 623141 623582 623683 624491 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2010-05-28 16:18 UTC by antonio
Modified: 2010-07-15 21:36 UTC
See Also:
GNOME target: ---
GNOME version: 2.29/2.30


Attachments
Test Calendar file (2.25 KB, application/octet-stream)
2010-06-09 13:57 UTC, antonio
  Details
proposed evo 2.30.x patch (1.28 KB, patch)
2010-06-11 08:36 UTC, Milan Crha
committed Details | Review

Description antonio 2010-05-28 16:18:32 UTC
When trying to open an invite, evolution 2.30.1.2 crashes with the following backtrace:

(gdb) bt
  • #0 format_itip
    at itip-formatter.c line 2567
  • #1 plugin_lib_invoke
    at e-plugin-lib.c line 116
  • #2 e_plugin_invoke
    at e-plugin.c line 692
  • #3 emfh_format_format
    at em-format-hook.c line 78
  • #4 em_format_part_as
    at em-format.c line 675
  • #5 em_format_part
    at em-format.c line 704
  • #6 efh_format_message
    at em-format-html.c line 2782
  • #7 efh_format_exec
    at em-format-html.c line 216
  • #8 mail_msg_proxy
    at mail-mt.c line 471
  • #9 ??
    from /lib/libglib-2.0.so.0
  • #10 ??
    from /lib/libglib-2.0.so.0
  • #11 start_thread
    from /lib/i686/cmov/libpthread.so.0
  • #12 clone
    from /lib/i686/cmov/libc.so.6

Comment 1 antonio 2010-05-28 16:36:56 UTC
Debian unstable evolution package: 2.30.1.2-3
Evolution Version 2.30.1.2

18:19:48 (130)$ uname -a
Linux enki 2.6.32-trunk-686 #1 SMP Sun Jan 10 06:32:16 UTC 2010 i686 GNU/Linux
Comment 2 antonio 2010-06-09 13:57:07 UTC
Created attachment 163200 [details]
Test Calendar file

The attached file causes the crash when received in an email.

  The file is parsed correctly when accessed through the File->Import menu.
Comment 3 Fabien Tassin 2010-06-10 11:53:49 UTC
Also crashes in Ubuntu Maverick (10.10) using evolution 2.30.1.2,
while opening a message with a text/calendar attachment (coming from outlook)

http://paste.ubuntu.com/447726/
Comment 4 Milan Crha 2010-06-11 08:36:58 UTC
Created attachment 163368 [details] [review]
proposed evo 2.30.x patch

for evolution 2.30.x;

Thanks for a bug report. I cannot reproduce this myself, but it seems like the same workaround as in bug #612082 is needed for gnome-2-30 (note the actual master has it done this way already).

Could anyone of you give a try to this patch and report back whether it helps or not, please? Thanks in advance.
Comment 5 antonio 2010-06-11 12:33:26 UTC
(In reply to comment #4)
...
> Could anyone of you give a try to this patch and report back whether it helps
> or not, please? Thanks in advance.

I have rebuilt the debian package with this patch included, and I have both good news and bad news:

  The good news is that I do not get a crash

  The bad news is that evolution takes too long to display the content of the email. (the first time I tried took 25 seconds, then it took between 5 and 8 seconds to display)

  A litte explanation;

  When I select the email that contains the invite, the preview pane shows "Formatting message...", and the status bar shows "Retrieving message 'XXXXX' (100% complete)" for most of the time, and a fraction of a second before displaying the invite it shows "Formatting message (100% Complete)"

  Nothing is displayed in the standard output while while it is "hanging", when run with CAMEL_DEBUG=all, the following output comes out quickly when the message is clicked, and no output until the invite is displayed
Thread 0 >
Get folder info(0x9c9b520:mbox:/home/antonio/.evolution/mail/local, 'Templates') =
  uri: mbox:/home/antonio/.evolution/mail/local#Templates
  full_name: Templates
  flags: 00000008
< 0 >
Thread 0 >
CamelStore('mbox:/home/antonio/.evolution/mail/local'):get_folder('Templates', 0) = 0x9cab368
< 0 >
Thread 0 >
Get folder info(0x9c9b520:mbox:/home/antonio/.evolution/mail/local, 'Templates') =
  uri: mbox:/home/antonio/.evolution/mail/local#Templates
  full_name: Templates
  flags: 00000008
< 0 >
Thread 0 >
CamelStore('mbox:/home/antonio/.evolution/mail/local'):get_folder('Templates', 0) = 0x9cab368
< 0 >
Thread 0 >
Get folder info(0x9c9b520:mbox:/home/antonio/.evolution/mail/local, 'Templates') =
  uri: mbox:/home/antonio/.evolution/mail/local#Templates
  full_name: Templates
  flags: 00000008
< 0 >
Thread 0 >
CamelStore('mbox:/home/antonio/.evolution/mail/local'):get_folder('Templates', 0) = 0x9cab368
< 0 >
Thread 0 >
CamelFolder:get_message('INBOX', '173375') =
class: CamelMimeMessage
mime-type: multipart/mixed; boundary="----=_20100609154747_15879"
content class: CamelMultipart
content mime-type: multipart/mixed; boundary="----=_20100609154747_15879"
  class: CamelMimePart
  mime-type: text/plain; charset="iso-8859-1"
  content class: CamelDataWrapper
  content mime-type: text/plain; charset="iso-8859-1"
  class: CamelMimePart
  mime-type: application/octet-stream; name="invite_bug619959.calendar"
  content class: CamelDataWrapper
  content mime-type: application/octet-stream; name="invite_bug619959.calendar"
< 0 >
Comment 6 Akhil Laddha 2010-06-14 10:56:50 UTC
*** Bug 621496 has been marked as a duplicate of this bug. ***
Comment 7 Fabien Tassin 2010-06-14 18:40:54 UTC
I'm using the patch in ubuntu for a few days now. indeed, the crash is gone.
I didn't notice the slowness experienced by antonio compared to before the patch.

The slowness appeared for me when i upgraded from evo 2.28.* to 2.30.* (ubuntu lucid vs maverick) but it's another story.

I'd say you can commit.
Comment 8 antonio 2010-06-15 08:29:05 UTC
  I have not encountered this error further (with invites from multiple versions of Outlook),

  I also agree that you can commit.

  Antonio
Comment 9 Akhil Laddha 2010-06-17 09:50:53 UTC
*** Bug 621865 has been marked as a duplicate of this bug. ***
Comment 10 Fabio Durán Verdugo 2010-06-21 19:20:59 UTC
*** Bug 622307 has been marked as a duplicate of this bug. ***
Comment 11 Akhil Laddha 2010-06-22 06:41:34 UTC
*** Bug 622349 has been marked as a duplicate of this bug. ***
Comment 12 Akhil Laddha 2010-06-22 12:09:57 UTC
*** Bug 622380 has been marked as a duplicate of this bug. ***
Comment 13 Milan Crha 2010-06-23 15:49:52 UTC
Created commit 6312708 in evo gnome-2-30 (2.30.3+)

I'm sorry for a late response (I missed the Monday release), I wasn't CC'ed on the bug, so I didn't know about your comments. :(
Comment 14 eric 2010-06-29 14:50:24 UTC
still open in 2.30.2
Comment 15 Fabio Durán Verdugo 2010-06-29 15:19:35 UTC
*** Bug 623141 has been marked as a duplicate of this bug. ***
Comment 16 Akhil Laddha 2010-07-05 12:59:52 UTC
*** Bug 623582 has been marked as a duplicate of this bug. ***
Comment 17 Akhil Laddha 2010-07-07 03:29:04 UTC
*** Bug 623683 has been marked as a duplicate of this bug. ***
Comment 18 cat 2010-07-15 21:36:31 UTC
*** Bug 624491 has been marked as a duplicate of this bug. ***