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 539210 - evolution hangs - stuck trying to read from gnome keyring
evolution hangs - stuck trying to read from gnome keyring
Status: RESOLVED DUPLICATE of bug 532771
Product: evolution
Classification: Applications
Component: Mailer
2.22.x (obsolete)
Other All
: Normal critical
: ---
Assigned To: evolution-mail-maintainers
Evolution QA team
evolution[passwords]
Depends on: 544998
Blocks:
 
 
Reported: 2008-06-20 01:17 UTC by Mikel Ward
Modified: 2008-08-21 12:06 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Mikel Ward 2008-06-20 01:17:11 UTC
Please describe the problem:
While I was writing a message, Evolution hung.

I thought I'd lost everything, but looking in the syslog showed a ridiculously large number of these:
Jun 20 11:14:56 laptop gnome-keyring-daemon[17045]: couldn't read 4 bytes from client:

I killed gnome-keyring-daemon, and Evolution started responding again.

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Matthew Barnes 2008-06-20 14:24:40 UTC
Likely a gnome-keyring issue, possibly a dupe of bug #502603.

What versions of evolution-data-server and gnome-keyring are you using?
Comment 2 Jeffrey Stedfast 2008-06-20 21:25:41 UTC
not sure if it's the same bug, but I get this quite often for auto-check.

if I click the Send&Receive dialog sometimes a prompt pops up asking for a passwd...

sometimes a prompt doesn't pop up, but I can cancel the mail-check provider that is hanging waiting for a passwd by hitting cancel in the send&receive dialog

hopefully that helps.

basically, I see this a lot.


I'm on openSUSE 10.3,

evolution-data-server-debuginfo-1.12.0-11.3
evolution-devel-2.12.0-29.6
evolution-2.12.0-29.6
evolution-data-server-1.12.0-11.3
evolution-pilot-2.12.0-29.6
evolution-data-server-devel-1.12.0-11.3
evolution-debuginfo-2.12.0-29.6

gnome-keyring-manager-2.20.0-3
gnome-keyring-2.20-4
gnome-keyring-devel-2.20-4
Comment 3 Jeffrey Stedfast 2008-06-20 23:45:37 UTC
actually, I just realised that this may not happen on my 10.3 laptop, it might just happen on my Ubuntu 8.04 desktop? (I'm about to install openSUSE 11.0 tho)

just in case, lemme list the versions

e-d-s/gnome-keyring* 2.22.2

Comment 4 Mikel Ward 2008-06-23 03:42:27 UTC
gnome-keyring-2.22.1-1.fc9.i386
evolution-data-server-2.22.1-2.fc9.i386
Comment 5 C de-Avillez 2008-07-27 15:58:28 UTC
gnome-keyring 2.23.5 (with the fix for bug 502603)
e-d-s 2.23.6 trunk
e-d-s 2.23.4
Ubuntu Hardy.

Every so often -- at least daily, sometimes more than once -- Evo hangs. Running gdb shows a bt similar to bug 502603. All BTs I have gotten have the same signature.

Still sounds like g-kr has problems.

bt:

  • #0 read
    from /lib/libpthread.so.0
  • #1 read_all
    at /usr/include/bits/unistd.h line 45
  • #2 run_sync_operation
    at gnome-keyring.c line 575
  • #3 gnome_keyring_find_items_sync
    at gnome-keyring.c line 2141
  • #4 ep_keyring_lookup_passwords
    at ../../../evolution-data-server/libedataserverui/e-passwords.c line 392
  • #5 ep_get_password_keyring
    at ../../../evolution-data-server/libedataserverui/e-passwords.c line 847
  • #6 ep_get_password
    at ../../../evolution-data-server/libedataserverui/e-passwords.c line 950
  • #7 ep_idle_dispatch
    at ../../../evolution-data-server/libedataserverui/e-passwords.c line 448
  • #8 IA__g_main_context_dispatch
    at /build/buildd/glib2.0-2.17.4/glib/gmain.c line 2068
  • #9 g_main_context_iterate
    at /build/buildd/glib2.0-2.17.4/glib/gmain.c line 2701
  • #10 IA__g_main_loop_run
    at /build/buildd/glib2.0-2.17.4/glib/gmain.c line 2924
  • #11 bonobo_main
    at bonobo-main.c line 311
  • #12 main
    at ../../../evolution/shell/main.c line 783


Comment 6 C de-Avillez 2008-07-27 17:17:54 UTC
opened bug 544998 against gnome-keyring.

Stef added a comment there that might impact us on Evo (comment 1):

"FWIW, UI programs should generally use asynchronous gnome-keyring functions
rather than the synchronous ones (which evolution is doing in the stack trace
above). This allows them to keep the UI interactive during a
gnome-keyring-daemon prompt or some such."

So there might be something for us to do on Evo...

Comment 7 C de-Avillez 2008-07-27 17:19:04 UTC
dammit, I am running Ubuntu Intrepid, not Hardy... sorry.
Comment 8 Kandepu Prasad 2008-08-21 12:06:21 UTC
As per the discussion IRC:
<hggdh> I would mark 532771 as depends on 544998, and dup 539210 to 532771 -- until we are sure the problem is *only* on g-kr, I would rather keep one open

Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.


*** This bug has been marked as a duplicate of 532771 ***