Bug 245289

Summary: Frequent hang (or freeze) while reading mail and marking spam
Product: [Fedora] Fedora Reporter: David Nielsen <gnomeuser>
Component: evolutionAssignee: Matthew Barnes <mbarnes>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: ben, bnocera, mcepl, wwoods
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: 2.10.2-3.fc7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-07-03 16:26:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 235703    
Attachments:
Description Flags
Backtrace of random hang
none
backtrace of junkfiltering scenerio
none
terminal output
none
backtrace none

Description David Nielsen 2007-06-22 06:07:01 UTC
Description of problem:
I'm seeing quite frequent hangs in Evolution, bug-buddy does not get triggered
but running in gdb I was able to catch a glimpse of the action. Normally this
will happen at random just reading mail but I found a way to provoke it by
marking a specific mail as spam. I'm attaching both backtraces.

I don't know what specifically triggers this when reading mail but marking this
one spam mail seems to do the trick every time.

Version-Release number of selected component (if applicable):
evolution-2.11.4-1.fc8
evolution-data-server-1.11.4-1.fc8
bogofilter-1.1.5-1.fc7

How reproducible:
100%

Steps to Reproduce:
1. Start reading mail, eventually it will hang
  
Actual results:
Evolution hangs but bug-buddy is not launched

Expected results:
I know it's Evolution and thus one shouldn't get ones hopes up, but if it would
at least let me read my mail it would be nice.

Additional info:

Comment 1 David Nielsen 2007-06-22 06:07:01 UTC
Created attachment 157598 [details]
Backtrace of random hang

Comment 2 David Nielsen 2007-06-22 06:07:54 UTC
Created attachment 157599 [details]
backtrace of junkfiltering scenerio

Comment 3 David Nielsen 2007-06-22 06:09:22 UTC
CC'ing wwoods, Will you mentioned at the last QA meeting that
Evolution was hanging for you as well.

Comment 4 Matthew Barnes 2007-06-27 04:08:11 UTC
The backtrace shows an invalid free() in Thread 1.  I vaguely recall this or
something like it being fixed in the latest release.

Can you please try upgrading to evolution-2.11.4-1.fc8 and see if you still
experience the hang?  If you still see the hangs can you try running Evolution
from a terminal and post any messages that get printed?

(Thanks for installing the debuginfo packages, by the way.)

Comment 5 David Nielsen 2007-06-27 06:14:34 UTC
Evolution-2.11.4-1.fc8 is also displaying an uncanny ability to hang every few
minutes.

I'm attaching the direct output from running 2.11.4-1.fc8 in gdb and the
backtrace I managed to capture. The problem is now so bad you just have to start
Evolution then sit back and wait for it to take a nose dive, normally does not
take more than 30-45 secs.

And might I add debuginfo-install from the yum-utils package.. most handy
package when using Evolution ever.

Comment 6 David Nielsen 2007-06-27 06:15:44 UTC
Created attachment 157981 [details]
terminal output

obsoleting old backtraces

Comment 7 David Nielsen 2007-06-27 06:16:17 UTC
Created attachment 157982 [details]
backtrace

Comment 8 Matthew Barnes 2007-06-27 14:49:57 UTC
*** Bug 245937 has been marked as a duplicate of this bug. ***

Comment 9 Matěj Cepl 2007-06-27 14:53:34 UTC
change of summary to make it more discoverable

Comment 10 Matthew Barnes 2007-06-27 16:44:23 UTC
I think I have a fix for the problem.  Memory was being allocated and
deallocated by two different memory management schemes (GLib's slab allocator
versus glibc).

This issue seems to be affecting Fedora 7 users as well.  Could someone please
confirm that the problem is fixed in Rawhide before I push it to Fedora 7?

Please try evolution-2.11.4-2.fc8.

Comment 11 David Nielsen 2007-06-27 18:10:54 UTC
I never thought I would say this about Evolution... but it seems stable. It's
been sitting there letting me read my mail for at least 20 mins with repeated
hits to my mail server.. ample abuse and no crash. I definitely owe you beer
Matthew.

Comment 12 Matthew Barnes 2007-06-27 19:09:01 UTC
Thanks for the confirmation.  Given the severity of the problem I'll go ahead
and push the fix to Fedora 7 and just neglect to mention that it was caused by
one of my own patches.  *smiles sheepishly*

Also fixed in evolution-2.10.2-3.fc7.

Comment 13 Fedora Update System 2007-06-28 01:47:43 UTC
evolution-2.10.2-3.fc7 has been pushed to the Fedora 7 testing repository.  If problems still persist, please make note of it in this bug report.

Comment 14 Fedora Update System 2007-07-03 16:26:17 UTC
evolution-2.10.2-3.fc7 has been pushed to the Fedora 7 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 15 Ben Konrath 2007-07-03 16:37:36 UTC
*** Bug 245786 has been marked as a duplicate of this bug. ***