Changing Event with Attachment after Cut and Paste Crashes Evo

Bug #35916 reported by Stu Hood
12
Affects Status Importance Assigned to Milestone
Evolution
Fix Released
Critical
evolution (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

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

Revision history for this message
Stu Hood (stuhood) wrote :

Just noticed: if you remove the attachment from a Cut and Pasted item, it will save just fine. But as long as it has the attachment, it can't be saved.

Revision history for this message
Daniel Holbach (dholbach) wrote :

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?

Changed in evolution:
assignee: nobody → desktop-bugs
status: Unconfirmed → Needs Info
Revision history for this message
Stu Hood (stuhood) wrote :

Happens every time. Here you go!

http://www.hoodidge.net/evoCrash.txt

Thanks.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for the backtrace. Do you have libglib2.0-0-dbg installed? Could you try getting the backtrace with gdb to note if that makes a difference:
- gdb evolution
(gdb) run ...
get it crashing
(gdb) thread apply all bt

Revision history for this message
Stu Hood (stuhood) wrote :

Oh noes! That crashed my computer and deleted my home directory! ... April Fools?

I already had glib2.0-0-dbg installed, and here is the updated trace, from running evolution with gdb.

http://www.hoodidge.net/evoCrash.txt

Thanks

Revision history for this message
Stu Hood (stuhood) wrote :

So, looking at it, this seems relevant:

>>>Thread 1 (Thread -1231623968 (LWP 28806)):
>>>#0 0xb7482101 in g_utf8_validate () from /usr/lib/libglib-2.0.so.0
>>>#1 0xb744bf18 in strdup_len () from /usr/lib/libglib-2.0.so.0
>>>#2 0xb744c44e in g_filename_from_utf8 () from /usr/lib/libglib-2.0.so.0
>>>#3 0xb66dd299 in get_attachment_list ()

I can tell you, the filename of the attachment has been different every time, and has not contained any special characters. For instance, this time I used 'new file' on my desktop, containing only the word "blah".

Revision history for this message
Sebastien Bacher (seb128) wrote :

I've forwarded the issue upstream: http://bugzilla.gnome.org/show_bug.cgi?id=337046
The backtrace is weird, it looks like glib is not a debug one

What locale are you using?

Changed in evolution:
status: Needs Info → Unconfirmed
Revision history for this message
Stu Hood (stuhood) wrote :

The language selected in "System>Language Support" is English.

I have American, British and Canadian English dictionaries installed for Evolution, but its only set to check for American.

Thanks

Revision history for this message
Daniel Holbach (dholbach) wrote :

Can you run
    locale
in a terminal and copy the output over here?

Changed in evolution:
status: Unconfirmed → Needs Info
Revision history for this message
Stu Hood (stuhood) wrote :

Wow, this one has been sleeping for a while. After checking that it was still happening on my up to date Dapper machine, I got this output from locale:
-------------------------------------------------------------------------------------
stuhood@stusdesktop:~$ locale
LANG=en_US.UTF-8
LANGUAGE=en_US:en_GB:en
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
-------------------------------------------------------------------------------------

And since I have a machine running up-to-date Edgy as well, I was able to reproduce the error on there. Here is the output:
-------------------------------------------------------------------------------------
stuhood@stuhood-laptop:~$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
-------------------------------------------------------------------------------------

Stu Hood (stuhood)
Changed in evolution:
assignee: desktop-bugs → nobody
status: Needs Info → Unconfirmed
Changed in evolution:
assignee: nobody → desktop-bugs
status: Unconfirmed → Confirmed
Revision history for this message
Bill Gjestvang (bgjestvang) wrote :

Evolution hangs up every time I try to accept a meeting invitation with attachments. Seems to me that it used to actually crash when doing that. I'm currently running edgy (evolution 2.8.1-0ubuntu4, evolution-exchange 2.8.1-0ubuntu1), but I had the crash on dapper as well.

What info would be helpful?

Revision history for this message
Sebastien Bacher (seb128) wrote :

Bill, your bug looks a different one, you should probably open a new bug with a debug backtrace (https://wiki.ubuntu.com/Backtrace) for it

Revision history for this message
Bill Gjestvang (bgjestvang) wrote :

This cut-paste-save bug is still present on the latest gutsy-devel, evolution 2.11.91-0ubuntu1. I'll attach a backtrace.

(The meeting invitation thing I mentioned, which Sebastian said was a separate bug, is no longer happening.)

Changed in evolution:
status: Confirmed → Triaged
Changed in evolution:
status: New → Confirmed
Changed in evolution:
status: Confirmed → In Progress
Changed in evolution:
status: In Progress → Fix Released
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Bill, please open a new bug with apport if you still have the problem with Hardy. thanks.

Changed in evolution:
status: Triaged → Fix Released
Changed in evolution:
importance: Unknown → Critical
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.