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 2054825

Summary: sssd_be segfault at 0 ip 00007f16b5fcab7e sp 00007fffc1cc0988 error 4 in libc-2.28.so[7f16b5e72000+1bc000]
Product: Red Hat Enterprise Linux 8 Reporter: Jeremy Absher <jabsher>
Component: sssdAssignee: Sumit Bose <sbose>
Status: CLOSED ERRATA QA Contact: shridhar <sgadekar>
Severity: medium Docs Contact:
Priority: high    
Version: 8.5CC: aboscatt, abroy, atikhono, dowdle, grajaiya, lslebodn, msauton, mzidek, pbrezina, pjasbuti, pkettman, sbose, sgadekar, tmihinto, tscherf
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: x86_64   
OS: Linux   
Whiteboard: sync-to-jira
Fixed In Version: sssd-2.9.1-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-14 15:49:57 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:

Comment 1 Alexey Tikhonov 2022-02-15 20:02:56 UTC
(In reply to Jeremy Absher from comment #0)
> 
> How reproducible:
> Always.  

Great. Please enable 'debug_level = 9', wait for a crash and attach sssd_$domain.log (as a private comment).

> 
> #0  __strcasecmp_l_sse42 () at
> ../sysdeps/x86_64/multiarch/strcmp-sse42.S:1648
> No locals.
> #1  0x000055d76e45d064 in be_resolve_server_process (
>     subreq=subreq@entry=0x55d77047da40, state=state@entry=0x55d770434f50,
>     new_subreq=new_subreq@entry=0x7ffd94d0b0c0)
>     at src/providers/data_provider_fo.c:682
>         ret = 0
>         srv_status_change = 0
>         callback = <optimized out>
>         srvname = <optimized out>
>         __FUNCTION__ = "be_resolve_server_process"
> #2  0x000055d76e45d2d0 in be_resolve_server_done (subreq=0x55d77047da40)
>     at src/providers/data_provider_fo.c:555
>         new_subreq = 0x7f4097f42dd0 <tevent_req_destructor>
>         req = 0x55d770434d90
>         state = 0x55d770434f50
>         timeout = 31
>         ret = <optimized out>
>         __FUNCTION__ = "be_resolve_server_done"


Most probably duplicate of bz 1884912 (and bz 1773488)

Comment 7 Scott Dowdle 2022-06-02 21:41:58 UTC
I have this also in EL9 (with AlmaLinux 9)

Comment 10 Alexey Tikhonov 2022-08-16 15:36:34 UTC
JFTR: another crash bug under `be_resolve_server_done()`: bz 2052918

Comment 11 Abhijit Roy 2022-08-30 16:28:42 UTC
(In reply to Alexey Tikhonov from comment #10)
> JFTR: another crash bug under `be_resolve_server_done()`: bz 2052918

Hi Sumit/Alexey,

On case: 03292814 cus is not able to see any segfaults after adding `ad_enabled_domains`

Comment 13 Alexey Tikhonov 2022-09-16 15:01:18 UTC
bz 2052918 and https://github.com/SSSD/sssd/issues/6007 might be relevant (or not).

Comment 16 Alexey Tikhonov 2023-01-20 15:34:54 UTC
Also see https://bugzilla.redhat.com/show_bug.cgi?id=2035625#c6

Comment 22 Alexey Tikhonov 2023-04-05 16:39:20 UTC
Upstream PR: https://github.com/SSSD/sssd/pull/6660

Comment 23 Alexey Tikhonov 2023-06-06 12:27:36 UTC
Pushed PR: https://github.com/SSSD/sssd/pull/6660

* `master`
    * 8a8869994745429b3f5535a5d0b91f1d0b2fa723 - fail_over: protect against a segmentation fault
* `sssd-2-9`
    * f63a54c3d89866949810d5bcdb09bf2edd3ced02 - fail_over: protect against a segmentation fault

Comment 35 errata-xmlrpc 2023-11-14 15:49:57 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 (sssd bug fix and enhancement update), 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-2023:7127