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 597548 - daemon crash at shutdown
daemon crash at shutdown
Status: RESOLVED INCOMPLETE
Product: gnome-keyring
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME keyring maintainer(s)
GNOME keyring maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2009-10-06 13:16 UTC by Matthias Clasen
Modified: 2010-02-18 04:00 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matthias Clasen 2009-10-06 13:16:56 UTC
This was reported in Fedora here: https://bugzilla.redhat.com/attachment.cgi?id=363790

The gnome-keyring version was 2.28.0


[New Thread 2011]
Core was generated by `/usr/bin/gnome-keyring-daemon --daemonize --login'.
Program terminated with signal 11, Segmentation fault.

Thread 2 (Thread 2011)

  • #0 pthread_join
    from /lib64/libpthread.so.0
  • #1 pthread_attr_setdetachstate
    from /lib64/libgthread-2.0.so.0
  • #2 g_thread_join
    from /lib64/libglib-2.0.so.0
  • #3 gck_ssh_agent_shutdown
    at gck-ssh-agent.c line 311
  • #4 pkcs11_ssh_cleanup
    at gkr-pkcs11-daemon.c line 188
  • #5 egg_cleanup_perform
    at egg-cleanup.c line 82
  • #6 main
    at gkr-daemon.c line 852

Thread 1 (Thread 2569)

  • #0 map_slot_down
    at /usr/include/bits/string3.h line 52
  • #1 plex_C_GetSessionInfo
    at gck-plex-layer.c line 380
  • #2 auth_C_CloseSession
    at gkr-pkcs11-auth-ep.c line 344
  • #3 close_session
    at gp11-module.c line 174
  • #4 free_session_pool
    at gp11-module.c line 226
  • #5 ??
    from /lib64/libglib-2.0.so.0
  • #6 g_hash_table_unref
    from /lib64/libglib-2.0.so.0
  • #7 destroy_session_table
    at gp11-module.c line 314
  • #8 gp11_module_dispose
    at gp11-module.c line 520
  • #9 g_object_unref
    from /lib64/libgobject-2.0.so.0
  • #10 run_client_thread
    at gck-ssh-agent.c line 176
  • #11 ??
    from /lib64/libglib-2.0.so.0
  • #12 start_thread
    from /lib64/libpthread.so.0
  • #13 clone
    from /lib64/libc.so.6
  • #14 ??

Comment 1 Stef Walter 2009-10-09 00:39:14 UTC
Vincent Untz committed a patch for another shutdown problem, which I believe to be related. Could you try out git HEAD, see if you still experience problems.

commit aabb6f6c77796e7d1f8ba961c109fa093291326c
Author: Vincent Untz <vuntz@gnome.org>
Date:   Fri Oct 2 19:27:07 2009 +0200

    [daemon] Fix a delay when the daemon quits
    
    g-k-d is a multi-threaded program, using a signal thread to stop the
    main loop. The main thread was using raise() to send SIGTERM to the
    signal thread, but it actually sends the signal to itself;
    pthread_kill() has to be used.
    
    This also implies a switch to pthread_create() instead of
    g_thread_create() since the GThread API doesn't cover pthread_kill().
Comment 2 Akhil Laddha 2010-02-18 04:00:51 UTC
Please feel free to reopen the bug if the problem still occurs with a newer
version of GNOME 2.28.2 or later, thanks.