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 337046 - Changing Event with Attachment after Cut and Paste Crashes Evo
Changing Event with Attachment after Cut and Paste Crashes Evo
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
2.12.x
Other Linux
: High critical
: ---
Assigned To: Srinivasa Ragavan
Evolution QA team
: 515751 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-04-03 15:40 UTC by Sebastien Bacher
Modified: 2013-09-13 00:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
>GNU gdb 6.6-debian >Copyright (C) 2006 Free Software Foundation, Inc. >GDB is free software, covered by the GNU General Public License, and you are gdb output and backtrace from 2.11.91-0ubuntu1 (76.46 KB, text/plain)
2007-08-30 20:14 UTC, bill
  Details
Proposed patch (1.94 KB, patch)
2008-01-22 04:13 UTC, Srinivasa Ragavan
committed Details | Review

Description Sebastien Bacher 2006-04-03 15:40:07 UTC
That bug has been opened on https://launchpad.net/distros/ubuntu/+source/evolution/+bug/35916

"Distribution: Ubuntu 6.04 (dapper)
Package: Evolution
Version: GNOME2.14.0 2.6.x
Gnome-Distributor: Ubuntu
Synopsis: Changing Event with Attachment after Cut and Paste Crashes Evo
Bugzilla-Product: Evolution
Bugzilla-Component: Calendar

Description of the crash: I cut and pasted an event from Tuesday to Thursday on my calendar. Then I noticed that it was in the wrong category, so I opened it and changed the category. When I hit "Save", Evolution crashed. It does this every time I try to change any detials of this particular item, even after a restart.

Steps to reproduce the crash:
1. Cut and paste an event (with an ATTACHMENT) from one day to another...
2. Open it up and change something...
3. Try to save it.

Expected Results: It should save the item.

How often does this happen? With every cut and pasted event that has an attachment.

Debugging Information:

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

http://www.hoodidge.net/bugs/Evo-Attachment-Crash.txt
...
> Thanks for your bug report. If this is reproducible, could you please get another stack trace with evolution-dbg, evolution-data-server-dbg, libgtk2.0-0-dbg, libglib2.0-0-dbg, libc6-dbg installed?
...
Happens every time. Here you go!

stuhood@stuslaptop:~$ gdb evolution
GNU gdb 6.4-debian
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...Using host libthread_db library "/ lib/tls/i686/cmov/libthread_db.so.1".

(gdb) run
Starting program: /usr/bin/evolution
[Thread debugging using libthread_db enabled]
[New Thread -1231623968 (LWP 28806)]
CalDAV Eplugin starting up ...

(evolution:28806): evolution-mail-WARNING **: ignored this junk plugin: not enab led or we have already loaded one

(evolution:28806): e-utils-WARNING **: Plugin 'Spamassassin junk plugin' failed to load hook 'org.gnome.evolution.mail.junk:1.0'

(evolution:28806): camel-WARNING **: camel_exception_get_id called with NULL par ameter.
[New Thread -1238213712 (LWP 28815)]
[New Thread -1246606416 (LWP 28816)]
[New Thread -1255040080 (LWP 28817)]
[Thread -1255040080 (LWP 28817) exited]
[New Thread -1255040080 (LWP 28818)]
[Thread -1246606416 (LWP 28816) exited]
[New Thread -1246606416 (LWP 28820)]
[New Thread -1264251984 (LWP 28821)]
[New Thread -1273267280 (LWP 28841)]
[New Thread -1273533520 (LWP 28846)]
[New Thread -1281926224 (LWP 28847)]
[New Thread -1290318928 (LWP 28848)]
[New Thread -1298711632 (LWP 28852)]
[New Thread -1307104336 (LWP 28853)]
[Thread -1290318928 (LWP 28848) exited]
[New Thread -1290318928 (LWP 28854)]
[New Thread -1315497040 (LWP 28856)]
[New Thread -1323889744 (LWP 28857)]
[Thread -1290318928 (LWP 28854) exited]
[Thread -1323889744 (LWP 28857) exited]
[New Thread -1323889744 (LWP 28858)]
[New Thread -1290318928 (LWP 28859)]
[New Thread -1332282448 (LWP 28860)]
[New Thread -1340675152 (LWP 28861)]
[Thread -1340675152 (LWP 28861) exited]
[Thread -1323889744 (LWP 28858) exited]
[Thread -1332282448 (LWP 28860) exited]
[Thread -1290318928 (LWP 28859) exited]
[Thread -1298711632 (LWP 28852) exited]
[Thread -1273533520 (LWP 28846) exited]
[Thread -1281926224 (LWP 28847) exited]
[Thread -1307104336 (LWP 28853) exited]
[Thread -1315497040 (LWP 28856) exited]
[New Thread -1315497040 (LWP 28866)]
[Thread -1315497040 (LWP 28866) exited]
[New Thread -1315497040 (LWP 28892)]
[New Thread -1307104336 (LWP 28893)]

(evolution:28806): GLib-GObject-WARNING **: IA__g_object_set_valist: property `w idth' of object class `GtkTreeViewColumn' is not writable

(evolution:28806): libglade-WARNING **: unknown property `ellipsize' for class ` GtkImage'

(evolution:28806): libglade-WARNING **: unknown property `width_chars' for class  `GtkImage'

(evolution:28806): libglade-WARNING **: unknown property `single_line_mode' for class `GtkImage'

(evolution:28806): libglade-WARNING **: unknown property `angle' for class `GtkI mage'
[Thread -1315497040 (LWP 28892) exited]
dropping a text/uri-list
Drag finished, success 1 delete 0
[New Thread -1315497040 (LWP 28932)]
[Thread -1315497040 (LWP 28932) exited]
[New Thread -1315497040 (LWP 28938)]
calendar selection changed
[Thread -1315497040 (LWP 28938) exited]
[New Thread -1315497040 (LWP 28942)]
[Thread -1315497040 (LWP 28942) exited]
[New Thread -1315497040 (LWP 28967)]
[Thread -1315497040 (LWP 28967) exited]
[New Thread -1315497040 (LWP 28971)]
[Thread -1315497040 (LWP 28971) exited]
[New Thread -1315497040 (LWP 28976)]
[Thread -1315497040 (LWP 28976) exited]

(evolution:28806): GLib-GObject-WARNING **: IA__g_object_set_valist: property `w idth' of object class `GtkTreeViewColumn' is not writable

(evolution:28806): libglade-WARNING **: unknown property `ellipsize' for class ` GtkImage'

(evolution:28806): libglade-WARNING **: unknown property `width_chars' for class  `GtkImage'

(evolution:28806): libglade-WARNING **: unknown property `single_line_mode' for class `GtkImage'

(evolution:28806): libglade-WARNING **: unknown property `angle' for class `GtkI mage'
[New Thread -1315497040 (LWP 28983)]
calendar selection changed
[Thread -1315497040 (LWP 28983) exited]
[New Thread -1315497040 (LWP 28991)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1231623968 (LWP 28806)]
0xb7482101 in g_utf8_validate () from /usr/lib/libglib-2.0.so.0
(gdb) thread apply all bt

Thread 1 (Thread -1231623968 (LWP 28806))

  • #0 g_utf8_validate
    from /usr/lib/libglib-2.0.so.0
  • #1 strdup_len
    from /usr/lib/libglib-2.0.so.0
  • #2 g_filename_from_utf8
    from /usr/lib/libglib-2.0.so.0
  • #3 get_attachment_list
    from /usr/lib/evolution/2.6/components/libevolution-calendar.so
  • #4 save_comp
    from /usr/lib/evolution/2.6/components/libevolution-calendar.so
  • #5 save_comp_with_send
    from /usr/lib/evolution/2.6/components/libevolution-calendar.so
  • #6 menu_file_save_cb
    from /usr/lib/evolution/2.6/components/libevolution-calendar.so
  • #7 bonobo_socket_add_id
    from /usr/lib/libbonoboui-2.so.0
  • #8 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #9 bonobo_closure_invoke_va_list
    from /usr/lib/libbonobo-2.so.0
  • #10 bonobo_closure_invoke
    from /usr/lib/libbonobo-2.so.0
  • #11 bonobo_ui_component_add_verb_list
    from /usr/lib/libbonoboui-2.so.0
  • #12 _ORBIT_skel_small_Bonobo_UIComponent_execVerb
    from /usr/lib/libbonobo-2.so.0
  • #13 ORBit_c_stub_invoke
    from /usr/lib/libORBit-2.so.0
  • #14 Bonobo_UIComponent_execVerb
    from /usr/lib/libbonobo-2.so.0
  • #15 bonobo_ui_engine_ui_event
    from /usr/lib/libbonoboui-2.so.0
  • #16 g_cclosure_marshal_VOID__POINTER
    from /usr/lib/libgobject-2.0.so.0
  • #17 g_type_class_meta_marshal
    from /usr/lib/libgobject-2.0.so.0
  • #18 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #19 signal_emit_unlocked_R
    from /usr/lib/libgobject-2.0.so.0
  • #20 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #21 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #22 bonobo_ui_engine_emit_verb_on_w
    from /usr/lib/libbonoboui-2.so.0
  • #23 bonobo_ui_sync_status_new
    from /usr/lib/libbonoboui-2.so.0
  • #24 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #25 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #26 signal_emit_unlocked_R
    from /usr/lib/libgobject-2.0.so.0
  • #27 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #28 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #29 button_clicked
    at gtktoolbutton.c line 645
  • #30 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #31 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #32 signal_emit_unlocked_R
    from /usr/lib/libgobject-2.0.so.0
  • #33 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #34 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #35 IA__gtk_button_clicked
    at gtkbutton.c line 845
  • #36 gtk_real_button_released
    at gtkbutton.c line 1380
  • #37 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #38 g_type_class_meta_marshal
    from /usr/lib/libgobject-2.0.so.0
  • #39 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #40 signal_emit_unlocked_R
    from /usr/lib/libgobject-2.0.so.0
  • #41 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #42 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #43 IA__gtk_button_released
    at gtkbutton.c line 837
  • #44 gtk_button_button_release
    at gtkbutton.c line 1273
  • #45 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 83
  • #46 g_type_class_meta_marshal
    from /usr/lib/libgobject-2.0.so.0
  • #47 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #48 signal_emit_unlocked_R
    from /usr/lib/libgobject-2.0.so.0
  • #49 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #50 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #51 gtk_widget_event_internal
    at gtkwidget.c line 3732
  • #52 IA__gtk_propagate_event
    at gtkmain.c line 2208
  • #53 IA__gtk_main_do_event
    at gtkmain.c line 1445
  • #54 gdk_event_dispatch
    at gdkevents-x11.c line 2291
  • #55 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #56 g_main_context_iterate
    from /usr/lib/libglib-2.0.so.0
  • #57 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #58 bonobo_main
    from /usr/lib/libbonobo-2.so.0
  • #59 main
The program is running.  Exit anyway? (y or n) y
..."
Comment 1 Stu Hood 2006-04-17 06:55:52 UTC
This one is still occuring for me in 2.6.1

(bump)
Comment 2 André Klapper 2006-08-10 21:45:39 UTC
could be a duplicate of bug 341954 to me, at least the part:
  #5  0xb66ddafe in save_comp_with_send ()
   from /usr/lib/evolution/2.6/components/libevolution-calendar.so
  #6  0xb66dea37 in menu_file_save_cb ()
   from /usr/lib/evolution/2.6/components/libevolution-calendar.so
  #7  0xb7c76135 in bonobo_socket_add_id () from /usr/lib/libbonoboui-2.so.0
Comment 3 Stu Hood 2006-09-27 14:17:20 UTC
This is still happening under Evo 2.8.0 running under Ubuntu Edgy on a fresh install (and different machine). Refer back to the original bug (linked above) for more information.
Comment 4 bill 2007-08-30 20:05:46 UTC
This is still present on the latest gutsy-devel, evolution 2.11.91-0ubuntu1. I'll attach a backtrace.
Comment 5 bill 2007-08-30 20:14:18 UTC
Created attachment 94665 [details]
>GNU gdb 6.6-debian
>Copyright (C) 2006 Free Software Foundation, Inc.
>GDB is free software, covered by the GNU General Public License, and you are

gdb output and backtrace from 2.11.91-0ubuntu1
Comment 6 Srinivasa Ragavan 2008-01-22 04:13:44 UTC
Created attachment 103394 [details] [review]
Proposed patch
Comment 7 Srinivasa Ragavan 2008-01-24 03:09:51 UTC
Committed to trunk.
Comment 8 Kandepu Prasad 2008-02-12 12:41:03 UTC
*** Bug 515751 has been marked as a duplicate of this bug. ***