Bug 528393 - Evolution freezes frequently
Summary: Evolution freezes frequently
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: evolution-data-server
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Matthew Barnes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 459356 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-11 22:56 UTC by Jonathan Ryshpan
Modified: 2009-10-19 11:28 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-10-14 14:18:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Stacktrace of hanging evolution (15.37 KB, text/plain)
2009-10-12 20:07 UTC, Jonathan Ryshpan
no flags Details
Stacktrace of hanging evolution (21.03 KB, text/plain)
2009-10-13 06:06 UTC, Jonathan Ryshpan
no flags Details
Stacktrace of hanging evolution (22.84 KB, text/plain)
2009-10-13 23:13 UTC, Jonathan Ryshpan
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 595421 0 None None None Never

Description Jonathan Ryshpan 2009-10-11 22:56:55 UTC
Description of problem:
Several times a day evolution freezes, doesn't respond to input or
refresh its window.  Generally, if I click on the window decoration to
delete the window, the window manager (gnome) puts up an error box that
evolution is not responding and asking if I want it killed.  When I
respond yes and restart evolution it runs fine for a while, then crashes
again after a while.  Sometimes no box appears (evolution must be
responding to a message from the window manager, though nothing is
visible on the screen), and in this case evolution has to be killed from
a command window.  All of these crashes seem to be quite random: the
evolution window can be visible on hidden (when visible) displaying or
composing mail or doing nothing.


Version-Release number of selected component (if applicable):
evolution-2.26.3-1.fc11.x86_64


How reproducible:
Not very.


Steps to Reproduce:
1. Start Evolution
2. Wait for it to freeze

  
Actual results:
Evolution freezes


Expected results:
Evolution continues to run OK


Additional info:
I know this is not very helpful, but I have been advised to post this to 
the bugzilla, since developers don't follow the evolution mailing list.

Comment 1 Milan Crha 2009-10-12 08:37:21 UTC
Thanks for a bug report. Please install debug info packages for evolution, evolution-data-server and gtkhtml3 and when this happens again, please do this:
a) find process ID (PID) of a frozen evolution
   (for example by: ps -A | grep evo)
b) get a backtrace of the frozen evolution, to see what it is doing:
   $ gdb --batch --ex "t a a bt" -pid=PID &>evo.bt
   (replace PID with a real process ID from step a)
c) upload evo.bt here, so we can check its state.

Thanks in advance.

Comment 2 Jonathan Ryshpan 2009-10-12 20:07:52 UTC
Created attachment 364514 [details]
Stacktrace of hanging evolution

Milan: Your wish is my command.

Evolution was unable to send a message.  File->Quit caused the evo window to turn grey and stop responging, but did not cause evolution to quit.  Clicking on the close window decoration ("X") did not close the window, and gnome did not respond with a pop-up asking if it should kill the process.  When evo was killed from the console and restarted the message was sent immediately.

Comment 3 Jonathan Ryshpan 2009-10-12 20:14:22 UTC
System notes:
4 processor x86_64 system with 8 Gbytes memory
All updates installed
Fairly reliable DSL connection.
All mail and addresses are local.

NB: I have just ticked:
    Mail Preferences->Junk->Lookup in local address book only
which had been unticked.

Comment 4 Jonathan Ryshpan 2009-10-13 06:06:53 UTC
Created attachment 364552 [details]
Stacktrace of hanging evolution

Here's a much better stacktrace.  I have now downloaded all the apprporiate foo-debuginfo...rpm packages.  

The situation is now that Evolution is unable to download mail.  Clicking "Send/Receive" starts the usual pop-up window.  Clicking "Cancel All" on this window does not cause it to disappear.  Clicking File->Quit greys out the Inbox, Drafts, etc. pane but not the pane of message subjects, etc.  Clicking the close decoration on evolution's window causes no change at all -- the evolution window does not disappear and gnome does not query whether evolution should be killed.

Comment 5 Milan Crha 2009-10-13 08:37:21 UTC
Thanks for the update. I see from backtraces that Evolution is waiting on a response from GnomeKeyring, thus assigning to them for an advice.

> Thread 4 (Thread 0x7f93d5e65910 (LWP 9728)):
> #0  0x0000003bda40de1b in read () from /lib64/libpthread.so.0
> #1  0x000000324de0bcaa in read (__nbytes=<value optimized out>, 
>     __buf=<value optimized out>, __fd=<value optimized out>)
>     at /usr/include/bits/unistd.h:45
> #2  gnome_keyring_socket_read_all (__nbytes=<value optimized out>, 
>     __buf=<value optimized out>, __fd=<value optimized out>)
>     at gnome-keyring-socket.c:184
> #3  0x000000324de0bd37 in gnome_keyring_socket_read_buffer (fd=54, 
>     buffer=0x7f93d5e64c30) at gnome-keyring-socket.c:229
> #4  0x000000324de06a12 in run_sync_operation (buffer=0x7f93d5e64c60, 
>     receive_buffer=0x7f93d5e64c30) at gnome-keyring.c:386
> #5  0x000000324de0917b in gnome_keyring_get_default_keyring_sync (
>     keyring=0x7f93fc027cb8) at gnome-keyring.c:651
> #6  0x00007f93fbe1485c in e_passwords_init () at e-passwords.c:1277
> ...

Comment 6 Jonathan Ryshpan 2009-10-13 09:14:09 UTC
(In reply to comment #5)
> Thanks for the update. I see from backtraces that Evolution is waiting on a
> response from GnomeKeyring, thus assigning to them for an advice.

This makes perfect sense.  The problem started about the time that GnomeKeyring appeared as part of my Fedora system -- maybe this was when I switched from KDE to gnome.  Though I never associated the trouble with GnomeKeyring till now.  

I've never liked GnomeKeyring.  For a home system, which mine is, it's just another password to type in when the system starts, and I suspect that I'm not alone in that opinion.  Is there any way to make it go away?

BTW: Your last comment is dated 2009-10-13 04:37:21 EDT, which is pretty late.  Are you a night owl (like myself), or are you in Europe, where it's about 11:00AM now.

Comment 7 Milan Crha 2009-10-13 12:19:20 UTC
(In reply to comment #6)
> I've never liked GnomeKeyring.  For a home system, which mine is, it's just
> another password to type in when the system starts, and I suspect that I'm not
> alone in that opinion.  Is there any way to make it go away?

If I recall correctly, I wasn't able to uninstall GnomeKeyring from a system, as couple other packages are depending on it. An ugly hack, which I did on my machine, and which I would never advice to anybody publicly, is to rename the gnome-keyring-daemon executable to some other name, thus any attempt to start it will fail, which means to use password file in Evolution. You can try that, but the better would be to find out what's going wrong in there for sure. (Don't forget to stop any running daemon before renaming it.)

> BTW: Your last comment is dated 2009-10-13 04:37:21 EDT, which is pretty late. 
> Are you a night owl (like myself), or are you in Europe, where it's about
> 11:00AM now.  

Yup, I'm a European :)

Comment 8 Jonathan Ryshpan 2009-10-13 23:13:07 UTC
Created attachment 364665 [details]
Stacktrace of hanging evolution

Yet one more stack trace.  This time evolution is completely hung.  Clicking the window decoration to close the process *does* provoke the message from gnome asking if the process should be killed.  Hopefully the last trace I'll submit.

Comment 9 Milan Crha 2009-10-14 08:53:25 UTC
Thanks for the update. Thread 1 is doing the same thing as copied in comment #5, thus it's the same issue as before.

Comment 10 Milan Crha 2009-10-14 14:18:09 UTC
There is an upstream bug for this [1], with some explanations what's causing the hang. I'm upstreaming this, and moving it to evolution-data-server.

[1] https://bugzilla.gnome.org/show_bug.cgi?id=595421

Comment 11 Milan Crha 2009-10-19 11:28:21 UTC
*** Bug 459356 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.