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 272632 - crash when accepting meeting invitation
crash when accepting meeting invitation
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.2.x (obsolete)
Other All
: Normal major
: ---
Assigned To: vivek jain
Evolution QA team
: 300255 300712 302060 303958 304418 306427 307122 313151 316973 319345 320885 326355 326894 327883 335449 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-02-16 01:48 UTC by Sebastien Bacher
Modified: 2013-09-13 00:50 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (540 bytes, patch)
2005-04-11 14:10 UTC, Tommi Komulainen
none Details | Review
attached the example meeting request that crashes evolution (34.94 KB, text/plain)
2005-07-22 11:15 UTC, Khasim Shaheed
  Details

Description Sebastien Bacher 2005-02-16 01:48:15 UTC
This bug has been opened here: https://bugzilla.ubuntu.com/6604

"I have a ms outlook meeting invitation (mail is from exchange account,
trying to send to exchange calendar) that crashes everytime I try to accept
it. I can accept it fine in the evolution in debian unstable, but it
crashes in hoary (evo 2.1.5).  The email has a word document attachment in
addition to the meeting invitation.

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

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread -1232513504 (LWP 31909)]
[New Thread -1303348304 (LWP 32665)]
[New Thread -1293108304 (LWP 32657)]
[New Thread -1248117840 (LWP 32537)]
[New Thread -1282364496 (LWP 32455)]
[New Thread -1273877584 (LWP 32422)]
[New Thread -1265484880 (LWP 32421)]
[New Thread -1257092176 (LWP 32420)]
[New Thread -1239725136 (LWP 32416)]
0xffffe410 in __kernel_vsyscall ()

Comment 1 Not Zed 2005-02-22 03:38:33 UTC
please attach an example message.

not likely to be fixed otherwise.

Comment 2 Joe Barnett 2005-02-22 18:45:42 UTC
i can't attach the email here, but who should I forward it to if I
want somebody to look at this?
Comment 3 Not Zed 2005-03-17 07:27:43 UTC
send it to me
Comment 4 Tommi Komulainen 2005-04-11 11:34:15 UTC
I'm seeing similar crash with 2.2.1.1.  I can't provide an example, but
debugging the issue a little I see that em_utils_temp_save_part() is called with
part = NULL
Comment 5 Tommi Komulainen 2005-04-11 14:10:59 UTC
Created attachment 45137 [details] [review]
proposed patch

The crash appears to go away with this patch, now
camel_mime_message_get_part_by_content_id() returns non-NULL value.  A better
fix could possibly be to make camel_mime_message_get_part_by_content_id()
accept cids including the 'cid:' prefix as well, but throw out the prefix
before processing.
Comment 6 Not Zed 2005-04-12 06:02:56 UTC
hmm, the patch should work, get_part_by_content_id() should NOT perform any
processing on the string at all.

the code should also check the part isn't null before using it - there is no
guarantee the message will contain the part anyway.

that function also looks somewhat questionable, it should probably using the
em_format functions to look for parts, as they should be goverened (i guess?) by
the multipart/related rules.  i.e. this code will not properly handle multiple
attachments with the same cid, in a different sub-tree of the message. which is
possible, if not a good case.

PS i never got the test message

Comment 7 Joe Barnett 2005-04-13 23:47:58 UTC
forwarding test message now. (lost the old one, but just got a new one from the
same source that displays the same behavior)
Comment 8 JP Rosevear 2005-04-18 14:48:20 UTC
This looks like harish's attachment code, moving to him.
Comment 9 Kjartan Maraas 2005-04-27 13:45:17 UTC
*** Bug 300255 has been marked as a duplicate of this bug. ***
Comment 10 Kjartan Maraas 2005-04-27 13:45:52 UTC
*** Bug 300712 has been marked as a duplicate of this bug. ***
Comment 11 Kjartan Maraas 2005-04-27 13:46:20 UTC
*** Bug 302060 has been marked as a duplicate of this bug. ***
Comment 12 Elijah Newren 2005-05-17 17:49:51 UTC
*** Bug 304418 has been marked as a duplicate of this bug. ***
Comment 13 Sebastien Bacher 2005-06-11 13:10:41 UTC
*** Bug 307122 has been marked as a duplicate of this bug. ***
Comment 14 Sebastien Bacher 2005-06-11 13:11:49 UTC
*** Bug 306427 has been marked as a duplicate of this bug. ***
Comment 15 Paul Bryan 2005-06-16 19:30:28 UTC
For anyone interested in this bug, in April, I had applied the patch above on my
Debian system. I have been using it ever since, with this bug never reoccurring.
I'm curious if/when this patch (or other fix) is planned to make it into a
release of Evolution to close this bug?
Comment 16 Khasim Shaheed 2005-07-22 10:45:25 UTC
I am able to reproduce this with evolution 2.3.x using exchange account.

Debugging Info:

Thread 1 (Thread 1097772672 (LWP 23517))

  • #0 ??
  • #1 ??
  • #2 ??
  • #3 ??
  • #4 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #5 gnome_init_with_popt_table
    from /opt/gnome/lib/libgnomeui-2.so.0
  • #6 segv_redirect
    at main.c line 424
  • #7 <signal handler called>
  • #8 camel_mime_part_get_filename
    at camel-mime-part.c line 468
  • #9 em_utils_temp_save_part
    at em-utils.c line 1172
  • #10 update_item
    at itip-formatter.c line 759
  • #11 view_response_cb
    at itip-formatter.c line 1345
  • #12 g_cclosure_marshal_VOID
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #13 g_closure_invoke
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #14 g_signal_chain_from_overridden
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #15 g_signal_emit_valist
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #16 g_signal_emit
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #17 button_clicked_cb
    at itip-view.c line 672
  • #18 g_cclosure_marshal_VOID__VOID
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #19 g_closure_invoke
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #20 g_signal_chain_from_overridden
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #21 g_signal_emit_valist
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #22 g_signal_emit
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #23 gtk_button_clicked
    from /opt/gnome/lib/libgtk-x11-2.0.so.0
  • #24 gtk_button_new
    from /opt/gnome/lib/libgtk-x11-2.0.so.0
  • #25 g_cclosure_marshal_VOID__VOID
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #26 g_closure_ref
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #27 g_closure_invoke
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #28 g_signal_chain_from_overridden
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #29 g_signal_emit_valist
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #30 g_signal_emit
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #31 gtk_button_released
    from /opt/gnome/lib/libgtk-x11-2.0.so.0
  • #32 gtk_button_released
    from /opt/gnome/lib/libgtk-x11-2.0.so.0
  • #33 gtk_marshal_BOOLEAN__VOID
    from /opt/gnome/lib/libgtk-x11-2.0.so.0
  • #34 g_closure_ref
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #35 g_closure_invoke
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #36 g_signal_chain_from_overridden
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #37 g_signal_emit_valist
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #38 g_signal_emit
    from /opt/gnome/lib/libgobject-2.0.so.0
  • #39 gtk_widget_get_default_style
    from /opt/gnome/lib/libgtk-x11-2.0.so.0
  • #40 gtk_propagate_event
    from /opt/gnome/lib/libgtk-x11-2.0.so.0
  • #41 gtk_main_do_event
    from /opt/gnome/lib/libgtk-x11-2.0.so.0
  • #42 gdk_add_client_message_filter
    from /opt/gnome/lib/libgdk-x11-2.0.so.0
  • #43 g_main_context_dispatch
    from /opt/gnome/lib/libglib-2.0.so.0
  • #44 g_main_context_acquire
    from /opt/gnome/lib/libglib-2.0.so.0
  • #45 g_main_loop_run
    from /opt/gnome/lib/libglib-2.0.so.0
  • #46 bonobo_main
    from /opt/gnome/lib/libbonobo-2.so.0
  • #47 main
    at main.c line 602
  • #0 ??

Comment 17 Khasim Shaheed 2005-07-22 11:15:22 UTC
Created attachment 49560 [details]
attached the example meeting request that crashes evolution
Comment 18 vivek jain 2005-07-28 05:23:44 UTC
Fixed comitted to CVS Head.
Comment 19 Michele Baldessari 2005-08-10 20:07:57 UTC
*** Bug 313151 has been marked as a duplicate of this bug. ***
Comment 20 parthasarathi susarla 2005-11-22 09:20:26 UTC
*** Bug 320885 has been marked as a duplicate of this bug. ***
Comment 21 Chenthill P 2005-12-05 19:35:39 UTC
*** Bug 319345 has been marked as a duplicate of this bug. ***
Comment 22 Chenthill P 2006-01-06 09:24:55 UTC
*** Bug 303958 has been marked as a duplicate of this bug. ***
Comment 23 Chenthill P 2006-01-10 05:45:22 UTC
*** Bug 326355 has been marked as a duplicate of this bug. ***
Comment 24 Karsten Bräckelmann 2006-01-15 04:32:09 UTC
*** Bug 326894 has been marked as a duplicate of this bug. ***
Comment 25 Karsten Bräckelmann 2006-01-20 18:14:28 UTC
*** Bug 327883 has been marked as a duplicate of this bug. ***
Comment 26 Chenthill P 2006-01-20 20:17:22 UTC
*** Bug 316973 has been marked as a duplicate of this bug. ***
Comment 27 Sergej Kotliar 2006-03-22 21:21:54 UTC
*** Bug 335449 has been marked as a duplicate of this bug. ***