Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1700539

Summary: gssproxy segmentation fault
Product: Red Hat Enterprise Linux 8 Reporter: Robbie Harwood <rharwood>
Component: gssproxyAssignee: Robbie Harwood <rharwood>
Status: CLOSED ERRATA QA Contact: anuja <amore>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.1CC: afarley, amore, fs-qe, ksiddiqu
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://pagure.io/gssproxy/pull-request/244
Whiteboard:
Fixed In Version: gssproxy-0.8.0-14.el8 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1700541 (view as bug list) Environment:
Last Closed: 2019-11-05 21:29:38 UTC Type: Bug
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: 1700541    
Bug Blocks: 1699331    

Description Robbie Harwood 2019-04-16 20:15:44 UTC
This bug was initially created as a copy of Bug #1699331

gssproxy segfaults very often like this:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f55ec470700 (LWP 110728)]
0x00007f55f5e57c30 in pthread_mutex_lock () from /lib64/libpthread.so.0
(gdb) where
#0  0x00007f55f5e57c30 in pthread_mutex_lock () from /lib64/libpthread.so.0
#1  0x00007f55f609ec98 in gss_krb5int_set_allowable_enctypes () from /lib64/libgssapi_krb5.so.2
#2  0x00007f55f6087a6e in gss_set_cred_option () from /lib64/libgssapi_krb5.so.2
#3  0x00007f55f609c46b in gss_krb5_set_allowable_enctypes () from /lib64/libgssapi_krb5.so.2
#4  0x0000559f1bb46db5 in gp_import_gssx_cred ()
#5  0x0000559f1bb49ef6 in gp_init_sec_context ()
#6  0x0000559f1bb44a5a in gp_rpc_process_call ()
#7  0x0000559f1bb3c6ec in gp_worker_main ()
#8  0x00007f55f5e55dd5 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f55f5b7eead in clone () from /lib64/libc.so.6
(gdb)

Comment 4 anuja 2019-08-12 13:09:49 UTC
Verified with sanity only run 
test-suite : upstream: test_integration/test_nfs.py

[1m============================= test session starts ==============================[0m
platform linux -- Python 3.6.8, pytest-3.4.2, py-1.5.3, pluggy-0.6.0 -- /usr/libexec/platform-python
cachedir: .pytest_cache
rootdir: /home/cloud-user, inifile:
plugins: sourceorder-0.5, multihost-3.0
[1mcollecting ... [0mcollected 4 items

test_nfs.py::TestNFS::test_prepare_users <- ../../usr/lib/python3.6/site-packages/ipatests/test_integration/test_nfs.py [32mPASSED[0m[36m [ 25%][0m
test_nfs.py::TestNFS::test_krb5_nfsd <- ../../usr/lib/python3.6/site-packages/ipatests/test_integration/test_nfs.py [32mPASSED[0m[36m [ 50%][0m
test_nfs.py::TestNFS::test_krb5_nfs_manual_configuration <- ../../usr/lib/python3.6/site-packages/ipatests/test_integration/test_nfs.py [32mPASSED[0m[36m [ 75%][0m
test_nfs.py::TestNFS::test_automount <- ../../usr/lib/python3.6/site-packages/ipatests/test_integration/test_nfs.py [32mPASSED[0m[36m [100%][0m

---------------- generated xml file: /home/cloud-user/junit.xml ----------------
[32m[1m========================== 4 passed in 682.39 seconds ==========================[0m

Comment 6 anuja 2019-08-13 07:37:12 UTC
Verified Using version:
python3-gssapi-1.5.1-5.el8.x86_64
mod_auth_gssapi-1.6.1-6.el8.x86_64
ipa-server-4.8.0-6.module+el8.1.0+3869+84a20141.x86_64
gssproxy-0.8.0-14.el8.x86_64

Comment 8 errata-xmlrpc 2019-11-05 21:29:38 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.

https://access.redhat.com/errata/RHBA-2019:3515