#2049 sssd_nss core dumps under load
Closed: Fixed None Opened 10 years ago by jhrozek.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 6): Bug 997406

Loaded symbols for /usr/lib64/ldb/modules/ldb/skel.so
Reading symbols from /usr/lib64/ldb/modules/ldb/tdb.so...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib64/ldb/modules/ldb/tdb.so
Core was generated by `/usr/local/libexec/sssd/sssd_nss -d 0x17f0'.
Program terminated with signal 11, Segmentation fault.
#0  sss_mc_is_valid_rec (_mcc=0x6f3100, rec_len=102, key=<value optimized out>,
_rec=0x7fffcc441ca8) at src/responder/nss/nsssrv_mmap_cache.c:257
257                 slot = self->next;
Missing separate debuginfos, use: debuginfo-install
cyrus-sasl-lib-2.1.23-13.el6_3.1.x86_64 dbus-libs-1.2.24-7.el6_3.x86_64
glib2-2.22.5-7.el6.x86_64 glibc-2.12-1.107.el6_4.2.x86_64
libcollection-0.6.0-9.el6.x86_64 libdhash-0.4.2-9.el6.x86_64
libini_config-0.6.1-9.el6.x86_64 libldb-1.1.13-3.el6.x86_64
libpath_utils-0.2.1-9.el6.x86_64 libref_array-0.1.1-9.el6.x86_64
libtevent-0.9.18-1.el6_4.x86_64 nss-3.14.3-4.el6_4.x86_64
nss-softokn-freebl-3.14.3-3.el6_4.x86_64 nss-util-3.14.3-3.el6_4.x86_64
openldap-2.4.23-32.el6_4.1.x86_64 pcre-7.8-6.el6.x86_64 popt-1.13-7.el6.x86_64
sssd-common-1.10.93-0.20130729T1059Zgit1933ff1.el6_4.x86_64
zlib-1.2.3-29.el6.x86_64
(gdb) bt
#0  sss_mc_is_valid_rec (_mcc=0x6f3100, rec_len=102, key=<value optimized out>,
_rec=0x7fffcc441ca8) at src/responder/nss/nsssrv_mmap_cache.c:257
#1  sss_mc_find_free_slots (_mcc=0x6f3100, rec_len=102, key=<value optimized
out>, _rec=0x7fffcc441ca8)
    at src/responder/nss/nsssrv_mmap_cache.c:341
#2  sss_mc_get_record (_mcc=0x6f3100, rec_len=102, key=<value optimized out>,
_rec=0x7fffcc441ca8) at src/responder/nss/nsssrv_mmap_cache.c:440
#3  0x00000000004278aa in sss_mmap_cache_pw_store (_mcc=0x6f3100,
name=0x7fffcc441de0, pw=0x7fffcc441df0, uid=20670, gid=3003, gecos=
    0x7fffcc441e20, homedir=0x7fffcc441e10, shell=0x7fffcc441e00) at
src/responder/nss/nsssrv_mmap_cache.c:554
#4  0x0000000000408745 in fill_pwent (packet=0x6f8620, dom=<value optimized
out>, nctx=0x6f3070, filter_users=false, pw_mmap_cache=true, msgs=
    0x6fe380, count=0x7fffcc441ecc) at src/responder/nss/nsssrv_cmd.c:438
#5  0x0000000000409708 in nss_cmd_getpw_send_reply (dctx=0x6f3a90,
filter=false) at src/responder/nss/nsssrv_cmd.c:482
#6  0x000000000041915a in nss_cmd_getbynam (cmd=<value optimized out>,
cctx=0x6fe460) at src/responder/nss/nsssrv_cmd.c:1094
#7  0x000000000042fe4a in client_cmd_execute (ev=<value optimized out>,
fde=<value optimized out>, flags=<value optimized out>,
    ptr=<value optimized out>) at src/responder/common/responder_common.c:270
#8  client_recv (ev=<value optimized out>, fde=<value optimized out>,
flags=<value optimized out>, ptr=<value optimized out>)
    at src/responder/common/responder_common.c:302
#9  client_fd_handler (ev=<value optimized out>, fde=<value optimized out>,
flags=<value optimized out>, ptr=<value optimized out>)
    at src/responder/common/responder_common.c:352
#10 0x0000003f61008e5e in ?? () from /usr/lib64/libtevent.so.0
#11 0x0000003f61007286 in ?? () from /usr/lib64/libtevent.so.0
#12 0x0000003f6100349d in _tevent_loop_once () from /usr/lib64/libtevent.so.0
#13 0x0000003f6100351b in tevent_common_loop_wait () from
/usr/lib64/libtevent.so.0
#14 0x0000003f610071f6 in ?? () from /usr/lib64/libtevent.so.0
#15 0x00007fa0f731f7b3 in server_loop (main_ctx=0x6eb730) at
src/util/server.c:602
#16 0x0000000000406dcc in main (argc=<value optimized out>, argv=<value
optimized out>) at src/responder/nss/nsssrv.c:622

Fields changed

blockedby: =>
blocking: =>
changelog: =>
coverity: =>
design: =>
design_review: => 0
feature_milestone: =>
fedora_test_page: =>
patch: 0 => 1
review: True => 0
selected: =>
testsupdated: => 0

Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.10.2
owner: somebody => lslebodn

resolution: => fixed
status: new => closed

The final patch seems to be 581de96

Fields changed

changelog: => N/A, just a bugfix

Metadata Update from @jhrozek:
- Issue assigned to lslebodn
- Issue set to the milestone: SSSD 1.10.2

7 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/3091

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata