Bug 745695 - [abrt] gnome-keyring-2.28.2-6.el6: sec_free: Process /usr/bin/gnome-keyring-daemon was killed by signal 6 (SIGABRT)
Summary: [abrt] gnome-keyring-2.28.2-6.el6: sec_free: Process /usr/bin/gnome-keyring-d...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: gnome-keyring
Version: 6.3
Hardware: x86_64
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Tomáš Bžatek
QA Contact: Desktop QE
URL:
Whiteboard:
: 767520 771589 773712 784500 796806 802256 (view as bug list)
Depends On:
Blocks: 708919 767520 784500
TreeView+ depends on / blocked
 
Reported: 2011-10-13 05:28 UTC by prashant ingale
Modified: 2018-11-28 21:27 UTC (History)
6 users (show)

Fixed In Version: gnome-keyring-2.28.2-7.el6
Doc Type: Bug Fix
Doc Text:
Cause: Missing thread locking mechanism Consequence: Random crashes/asserts/aborts on multiple integrated ssh-agent key requests Fix: Thread locks have been put in place Result: No more crashes on multiple requests at a same time
Clone Of:
Environment:
Last Closed: 2012-06-20 14:04:56 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0878 0 normal SHIPPED_LIVE gnome-keyring bug fix update 2012-06-19 20:47:42 UTC

Description prashant ingale 2011-10-13 05:28:25 UTC
Description of problem:

When ssh to many different hosts at the same time, the gnome-keyring-daemon dumps core

Version-Release number of selected component (if applicable):

release: Red Hat Enterprise Linux Workstation release 6.1 (Santiago)
architecture: x86_64
package: gnome-keyring-2.28.2-6.el6
 
How reproducible:
randomly 

Steps to Reproduce:
1.try to ssh a 100 machines simultenously. 
2.
3.
  
Actual results:
gnome-keyring-daemon is aborted 

Expected results:
gnome-keyring-daemon should not abort

Additional info:

Comment 6 RHEL Program Management 2011-12-19 17:20:17 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux maintenance release. Product Management has 
requested further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed 
products. This request is not yet committed for inclusion in an Update release.

Comment 8 Tomáš Bžatek 2012-02-03 13:11:10 UTC
*** Bug 784500 has been marked as a duplicate of this bug. ***

Comment 9 Stanislav Graf 2012-02-13 15:30:53 UTC
Package: gnome-keyring-2.28.2-6.el6
Architecture: x86_64
OS Release: Red Hat Enterprise Linux Workstation release 6.2 (Santiago)

Comment
-----
I did 4 ssh connections in parallel, using password authentication. I had a kerberos ticket and SSH was probably trying it first.

Comment 10 Stanislav Graf 2012-02-15 08:33:42 UTC
Package: gnome-keyring-2.28.2-6.el6
Architecture: x86_64
OS Release: Red Hat Enterprise Linux Workstation release 6.2 (Santiago)

Comment
-----
Perform 4 ssh connections in parallel (using terminator). Recent packages changes from yum.log:
Feb 14 10:44:46 Installed: gitk-1.7.1-2.el6_0.1.noarch
Feb 14 10:47:21 Updated: kernel-firmware-2.6.32-220.4.2.el6.noarch
Feb 14 10:47:22 Updated: httpd-tools-2.2.15-15.el6_2.1.x86_64
Feb 14 10:47:26 Updated: httpd-2.2.15-15.el6_2.1.x86_64
Feb 14 10:47:44 Updated: selinux-policy-3.7.19-126.el6_2.6.noarch
Feb 14 10:48:04 Updated: selinux-policy-targeted-3.7.19-126.el6_2.6.noarch
Feb 14 10:48:05 Updated: httpd-manual-2.2.15-15.el6_2.1.noarch
Feb 14 10:48:12 Installed: kernel-2.6.32-220.4.2.el6.x86_64
Feb 14 10:48:28 Installed: kernel-devel-2.6.32-220.4.2.el6.x86_64
Feb 14 10:48:30 Updated: kernel-headers-2.6.32-220.4.2.el6.x86_64

Comment 11 Tomáš Bžatek 2012-02-27 16:38:40 UTC
How to test: 

1. generate private key pair, set it up for ssh authentication for another local account (using "test" here)
2. for i in `seq 1 1000`; do (ssh localhost -l test id&); done
3. make sure it prints the `id` output: "uid=500(test) gid=500(test) groups=500(test)"

--> no crash/abort/assertion should show up, the gnome-keyring-daemon process should survive the torture test

Comment 12 Tomáš Bžatek 2012-02-28 09:57:41 UTC
*** Bug 796806 has been marked as a duplicate of this bug. ***

Comment 13 Tomáš Bžatek 2012-02-28 13:28:44 UTC
*** Bug 767520 has been marked as a duplicate of this bug. ***

Comment 14 Tomáš Bžatek 2012-02-28 13:29:48 UTC
*** Bug 771589 has been marked as a duplicate of this bug. ***

Comment 15 Tomáš Bžatek 2012-02-28 13:31:22 UTC
*** Bug 773712 has been marked as a duplicate of this bug. ***

Comment 17 Tomáš Bžatek 2012-02-28 15:34:17 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause: Missing thread locking mechanism

Consequence: Random crashes/asserts/aborts on multiple integrated ssh-agent key requests

Fix: Thread locks have been put in place

Result: No more crashes on multiple requests at a same time

Comment 18 Tomáš Bžatek 2012-03-14 11:02:17 UTC
*** Bug 802256 has been marked as a duplicate of this bug. ***

Comment 21 errata-xmlrpc 2012-06-20 14:04:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0878.html


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