-
Bug
-
Resolution: Done-Errata
-
Normal
-
rhel-9.4
-
glibc-2.34-85.el9
-
None
-
Moderate
-
rhel-sst-pt-libraries
-
ssg_platform_tools
-
11
-
14
-
3
-
False
-
-
Yes
-
None
-
Bug Fix
-
-
Done
-
-
Unspecified
-
None
Description of problem:
NSCD exits with ABRT when reading `passwd` cache.
Version-Release number of selected component (if applicable):
glibc-2.28-189.1.el8.x86_64
How reproducible:
always
Steps to Reproduce:
1. start nscd
2. ABRT almost immediately
Actual results:
strace shows :
[pid 219045] write(2</dev/null>, "nscd: cache.c:426: prune_cache: Assertion `dh->usable' failed.\n", 63) = 63
Expected results:
runs without error
Additional info:
Debug output (actual IDs redacted for safety / confidentiality) :
Mon 26 Jun 2023 06:55:18 PM EDT - 452466: Reloading "<redacted>" in user database cache!
Mon 26 Jun 2023 06:55:18 PM EDT - 452466: Reloading "<redacted>" in user database cache!
Mon 26 Jun 2023 06:55:18 PM EDT - 452466: Reloading "<redacted>" in user database cache!
Mon 26 Jun 2023 06:55:18 PM EDT - 452466: Reloading "<redacted>" in user database cache!
nscd: cache.c:426: prune_cache: Assertion `dh->usable' failed.
Back trace :
#0 0x00007fd2d11336cc in __nscd_get_map_ref () from /lib64/libc.so.6
#1 0x00007fd2d112fa7a in nscd_getpw_r () from /lib64/libc.so.6
#2 0x00007fd2d112feac in __nscd_getpwuid_r () from /lib64/libc.so.6
#3 0x00007fd2d10c6dbf in getpwuid_r@@GLIBC_2.2.5 () from /lib64/libc.so.6
#4 0x00007fd2d17d0976 in pam_modutil_getpwuid () from /lib64/libpam.so.0
#5 0x00007fd2cdd8cb12 in pam_sm_authenticate () from /usr/lib64/security/pam_succeed_if.so
#6 0x00007fd2d17ca7b4 in _pam_dispatch () from /lib64/libpam.so.0
#7 0x00005630c43259a3 in cron_close_pam ()
#8 0x00005630c43251cf in do_command ()
#9 0x00005630c4324170 in job_runqueue ()
#10 0x00005630c432193c in main ()
bt full attached.
- clones
-
RHEL-1192 glibc: nscd aborts with failed assert in prune_cache
- Closed
- links to
-
RHBA-2023:122804 glibc bug fix and enhancement update
- mentioned on