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 694783 - SSSD crashes during getent when anonymous bind is disabled.
Summary: SSSD crashes during getent when anonymous bind is disabled.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: sssd
Version: 6.1
Hardware: Unspecified
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Stephen Gallagher
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On:
Blocks: 694853
TreeView+ depends on / blocked
 
Reported: 2011-04-08 11:43 UTC by Gowrishankar Rajaiyan
Modified: 2020-05-02 16:19 UTC (History)
8 users (show)

Fixed In Version: sssd-1.5.1-27.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 694853 (view as bug list)
Environment:
Last Closed: 2011-05-19 11:40:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github SSSD sssd issues 1883 0 None None None 2020-05-02 16:19:50 UTC
Red Hat Product Errata RHSA-2011:0560 0 normal SHIPPED_LIVE Low: sssd security, bug fix, and enhancement update 2011-05-19 11:38:17 UTC

Description Gowrishankar Rajaiyan 2011-04-08 11:43:40 UTC
Description of problem:


Version-Release number of selected component (if applicable):
sssd-1.5.1-24.el6.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Configure sssd to use anonymous bind (see additional info for relevant sssd.conf section)
2. Disable anonymous bind on server.
3. restart sssd clearing cache.
4. getent -s sss passwd user
  
Actual results:
sssd crashes

# abrt-cli -i 0:a67bdcc45c5579d8c95f0b05e0537ec69c6ccf71
>> Generating backtrace
Crash ID:           0:a67bdcc45c5579d8c95f0b05e0537ec69c6ccf71
Last crash:         Fri 08 Apr 2011 04:12:53 PM IST
Analyzer:           CCpp
Component:          sssd
Package:            sssd-1.5.1-24.el6
Command:            /usr/libexec/sssd/sssd_be -d 9 --debug-to-files --domain domain1
Executable:         /usr/libexec/sssd/sssd_be
System:             Red Hat Enterprise Linux Server release 6.1 Beta (Santiago), kernel 2.6.32-122.el6.x86_64
Reason:             Process /usr/libexec/sssd/sssd_be was killed by signal 11 (SIGSEGV)
Coredump file:      /var/spool/abrt/ccpp-1302259373-20160/coredump
Rating:             4
Crash function:     sdap_set_rootdse_supported_lists
Hostname:           rhel6-1.gsr.pnq.redhat.com


[root@rhel6-1 ~]# gdb --core=/var/spool/abrt/ccpp-1302259373-20160/coredump /usr/libexec/sssd/sssd_be --quiet -ex "thread apply all bt full" -ex "quit"
Reading symbols from /usr/libexec/sssd/sssd_be...Reading symbols from /usr/lib/debug/usr/libexec/sssd/sssd_be.debug...done.
done.
[New Thread 20160]
Missing separate debuginfo for 
Try: yum --disablerepo='*' --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/1d/5cd871d8d94997ac446cd424e091f9eed61b8e
Reading symbols from /lib64/libpam.so.0.82.2...Reading symbols from /usr/lib/debug/lib64/libpam.so.0.82.2.debug...done.
done.
Loaded symbols for /lib64/libpam.so.0.82.2
Reading symbols from /usr/lib64/libtevent.so.0.9.8...Reading symbols from /usr/lib/debug/usr/lib64/libtevent.so.0.9.8.debug...done.
done.
Loaded symbols for /usr/lib64/libtevent.so.0.9.8
Reading symbols from /usr/lib64/libtalloc.so.2.0.1...Reading symbols from /usr/lib/debug/usr/lib64/libtalloc.so.2.0.1.debug...done.
done.
Loaded symbols for /usr/lib64/libtalloc.so.2.0.1
Reading symbols from /lib64/libpopt.so.0.0.0...Reading symbols from /usr/lib/debug/lib64/libpopt.so.0.0.0.debug...done.
done.
Loaded symbols for /lib64/libpopt.so.0.0.0
Reading symbols from /usr/lib64/libldb.so.0.9.10...Reading symbols from /usr/lib/debug/usr/lib64/libldb.so.0.9.10.debug...done.
done.
Loaded symbols for /usr/lib64/libldb.so.0.9.10
Reading symbols from /lib64/libdbus-1.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib64/libdbus-1.so.3
Reading symbols from /lib64/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/librt.so.1
Reading symbols from /lib64/libpcre.so.0.0.1...Reading symbols from /usr/lib/debug/lib64/libpcre.so.0.0.1.debug...done.
done.
Loaded symbols for /lib64/libpcre.so.0.0.1
Reading symbols from /usr/lib64/libini_config.so.2.0.0...Reading symbols from /usr/lib/debug/usr/lib64/libini_config.so.2.0.0.debug...done.
done.
Loaded symbols for /usr/lib64/libini_config.so.2.0.0
Reading symbols from /usr/lib64/libcollection.so.2.0.0...Reading symbols from /usr/lib/debug/usr/lib64/libcollection.so.2.0.0.debug...done.
done.
Loaded symbols for /usr/lib64/libcollection.so.2.0.0
Reading symbols from /usr/lib64/libdhash.so.1.0.0...Reading symbols from /usr/lib/debug/usr/lib64/libdhash.so.1.0.0.debug...done.
done.
Loaded symbols for /usr/lib64/libdhash.so.1.0.0
Reading symbols from /lib64/liblber-2.4.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/liblber-2.4.so.2
Reading symbols from /lib64/libldap-2.4.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libldap-2.4.so.2
Reading symbols from /usr/lib64/libtdb.so.1...
warning: the debug information found in "/usr/lib/debug//usr/lib64/libtdb.so.1.2.1.debug" does not match "/usr/lib64/libtdb.so.1" (CRC mismatch).


warning: the debug information found in "/usr/lib/debug/usr/lib64/libtdb.so.1.2.1.debug" does not match "/usr/lib64/libtdb.so.1" (CRC mismatch).

(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libtdb.so.1
Reading symbols from /usr/lib64/libssl3.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libssl3.so
Reading symbols from /usr/lib64/libsmime3.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libsmime3.so
Reading symbols from /usr/lib64/libnss3.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libnss3.so
Reading symbols from /usr/lib64/libnssutil3.so...Reading symbols from /usr/lib/debug/usr/lib64/libnssutil3.so.debug...done.
done.
Loaded symbols for /usr/lib64/libnssutil3.so
Reading symbols from /lib64/libplds4.so...Reading symbols from /usr/lib/debug/lib64/libplds4.so.debug...done.
done.
Loaded symbols for /lib64/libplds4.so
Reading symbols from /lib64/libplc4.so...Reading symbols from /usr/lib/debug/lib64/libplc4.so.debug...done.
done.
Loaded symbols for /lib64/libplc4.so
Reading symbols from /lib64/libnspr4.so...Reading symbols from /usr/lib/debug/lib64/libnspr4.so.debug...done.
done.
Loaded symbols for /lib64/libnspr4.so
Reading symbols from /lib64/libpthread.so.0...(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /usr/lib64/libcares.so.2.0.0...Reading symbols from /usr/lib/debug/usr/lib64/libcares.so.2.0.0.debug...done.
done.
Loaded symbols for /usr/lib64/libcares.so.2.0.0
Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/libaudit.so.1...
warning: the debug information found in "/usr/lib/debug//lib64/libaudit.so.1.0.0.debug" does not match "/lib64/libaudit.so.1" (CRC mismatch).


warning: the debug information found in "/usr/lib/debug/lib64/libaudit.so.1.0.0.debug" does not match "/lib64/libaudit.so.1" (CRC mismatch).

(no debugging symbols found)...done.
Loaded symbols for /lib64/libaudit.so.1
Reading symbols from /lib64/libcrypt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libcrypt.so.1
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /usr/lib64/libpath_utils.so.1.0.0...Reading symbols from /usr/lib/debug/usr/lib64/libpath_utils.so.1.0.0.debug...done.
done.
Loaded symbols for /usr/lib64/libpath_utils.so.1.0.0
Reading symbols from /usr/lib64/libref_array.so.1.0.0...Reading symbols from /usr/lib/debug/usr/lib64/libref_array.so.1.0.0.debug...done.
done.
Loaded symbols for /usr/lib64/libref_array.so.1.0.0
Reading symbols from /lib64/libresolv.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libresolv.so.2
Reading symbols from /usr/lib64/libsasl2.so.2.0.23...Reading symbols from /usr/lib/debug/usr/lib64/libsasl2.so.2.0.23.debug...done.
done.
Loaded symbols for /usr/lib64/libsasl2.so.2.0.23
Reading symbols from /lib64/libz.so.1.2.3...Reading symbols from /usr/lib/debug/lib64/libz.so.1.2.3.debug...done.
done.
Loaded symbols for /lib64/libz.so.1.2.3
Reading symbols from /lib64/libfreebl3.so...Reading symbols from /usr/lib/debug/lib64/libfreebl3.so.debug...done.
done.
Loaded symbols for /lib64/libfreebl3.so
Reading symbols from /usr/lib64/ldb/memberof.so...Reading symbols from /usr/lib/debug/usr/lib64/ldb/memberof.so.debug...done.
done.
Loaded symbols for /usr/lib64/ldb/memberof.so
Reading symbols from /usr/lib64/sssd/libsss_ldap.so.1.0.0...Reading symbols from /usr/lib/debug/usr/lib64/sssd/libsss_ldap.so.1.0.0.debug...done.
done.
Loaded symbols for /usr/lib64/sssd/libsss_ldap.so.1.0.0
Reading symbols from /lib64/libkrb5.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib64/libkrb5.so.3
Reading symbols from /lib64/libk5crypto.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib64/libk5crypto.so.3
Reading symbols from /lib64/libcom_err.so.2.1...Reading symbols from /usr/lib/debug/lib64/libcom_err.so.2.1.debug...done.
done.
Loaded symbols for /lib64/libcom_err.so.2.1
Reading symbols from /lib64/libkrb5support.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib64/libkrb5support.so.0
Reading symbols from /lib64/libkeyutils.so.1.3...Reading symbols from /usr/lib/debug/lib64/libkeyutils.so.1.3.debug...done.
done.
Loaded symbols for /lib64/libkeyutils.so.1.3
Reading symbols from /lib64/libselinux.so.1...
warning: the debug information found in "/usr/lib/debug//lib64/libselinux.so.1.debug" does not match "/lib64/libselinux.so.1" (CRC mismatch).


warning: the debug information found in "/usr/lib/debug/lib64/libselinux.so.1.debug" does not match "/lib64/libselinux.so.1" (CRC mismatch).

(no debugging symbols found)...done.
Loaded symbols for /lib64/libselinux.so.1
Reading symbols from /lib64/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libnss_files.so.2
Reading symbols from /lib64/libnss_sss.so.2...Reading symbols from /usr/lib/debug/lib64/libnss_sss.so.2.debug...done.
done.
Loaded symbols for /lib64/libnss_sss.so.2
Reading symbols from /usr/lib64/libsoftokn3.so...Reading symbols from /usr/lib/debug/usr/lib64/libsoftokn3.so.debug...done.
done.
Loaded symbols for /usr/lib64/libsoftokn3.so
Reading symbols from /usr/lib64/libsqlite3.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libsqlite3.so.0
Reading symbols from /usr/lib64/libnssdbm3.so...Reading symbols from /usr/lib/debug/usr/lib64/libnssdbm3.so.debug...done.
done.
Loaded symbols for /usr/lib64/libnssdbm3.so
Reading symbols from /usr/lib64/libnsspem.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libnsspem.so
Core was generated by `/usr/libexec/sssd/sssd_be -d 9 --debug-to-files --domain domain1'.
Program terminated with signal 11, Segmentation fault.
#0  sdap_set_rootdse_supported_lists (rootdse=0x33139903e0, sh=0x1ca1450) at src/providers/ldap/sdap.c:448
448	        if (strcasecmp(el->name, "supportedControl") == 0) {

Thread 1 (Thread 0x7ff1c02ba700 (LWP 20160)):
#0  sdap_set_rootdse_supported_lists (rootdse=0x33139903e0, sh=0x1ca1450) at src/providers/ldap/sdap.c:448
        el = 0x800000010
        ret = <value optimized out>
        i = <value optimized out>
#1  0x00007ff1b9fb5529 in sdap_cli_rootdse_done (subreq=0x0) at src/providers/ldap/sdap_async_connection.c:1273
        req = 0x1c9ec60
        state = 0x1ca10f0
        rootdse = 0x33139903e0
        sasl_mech = <value optimized out>
        ret = 2
        __FUNCTION__ = "sdap_cli_rootdse_done"
#2  0x0000003314a0447e in tevent_req_finish (req=<value optimized out>, error=<value optimized out>, 
    location=<value optimized out>) at tevent_req.c:133
No locals.
#3  _tevent_req_error (req=<value optimized out>, error=<value optimized out>, location=<value optimized out>)
    at tevent_req.c:188
No locals.
#4  0x00007ff1b9f9db03 in sdap_get_rootdse_done (subreq=0x0) at src/providers/ldap/sdap_async.c:708
        req = 0x1ca1320
        state = 0x1ca1710
        results = 0x0
        num_results = 0
        ret = 0
        __FUNCTION__ = "sdap_get_rootdse_done"
#5  0x00007ff1b9f9d63a in sdap_get_generic_done (op=<value optimized out>, reply=<value optimized out>, 
    error=<value optimized out>, pvt=<value optimized out>) at src/providers/ldap/sdap_async.c:926
        req = 0x1ca0850
        state = <value optimized out>
        attrs = <value optimized out>
        errmsg = 0x1ca9d30 ""
        result = 48
        ret = <value optimized out>
        __FUNCTION__ = "sdap_get_generic_done"
#6  0x00007ff1b9fa0705 in sdap_process_message (ev=<value optimized out>, pvt=<value optimized out>)
    at src/providers/ldap/sdap_async.c:307
        msgtype = <value optimized out>
        ret = 0
        reply = 0x1d3eed0
        op = 0x1caa2f0
Missing separate debuginfos, use: debuginfo-install audit-libs-2.1-1.el6.x86_64 dbus-libs-1.2.24-4.el6_0.x86_64 glibc-2.12-1.25.el6.x86_64 krb5-libs-1.9-8.el6.x86_64 libselinux-2.0.94-5.el6.x86_64 libtdb-1.2.1-3.el6.x86_64 nss-3.12.9-7.el6.x86_64 openldap-2.4.23-14.el6.x86_64 sqlite-3.6.20-1.el6.x86_64
---Type <return> to continue, or q <return> to quit---
        msgid = 1
#7  sdap_process_result (ev=<value optimized out>, pvt=<value optimized out>) at src/providers/ldap/sdap_async.c:207
        sh = <value optimized out>
        no_timeout = {tv_sec = 0, tv_usec = 0}
        te = <value optimized out>
        msg = 0x1d4bec0
        ret = <value optimized out>
        __FUNCTION__ = "sdap_process_result"
#8  0x0000003314a05456 in epoll_event_loop (ev=<value optimized out>, location=<value optimized out>)
    at tevent_standard.c:309
        fde = <value optimized out>
        flags = <value optimized out>
        ret = 1
        i = <value optimized out>
        events = {{events = 1, data = {ptr = 0x1ca0a30, fd = 30018096, u32 = 30018096, u64 = 30018096}}}
        timeout = <value optimized out>
#9  std_event_loop_once (ev=<value optimized out>, location=<value optimized out>) at tevent_standard.c:544
        std_ev = 0x1c77510
        tval = {tv_sec = 6, tv_usec = 108851}
#10 0x0000003314a026d0 in _tevent_loop_once (ev=0x1c77450, location=0x43f875 "src/util/server.c:526") at tevent.c:490
        ret = <value optimized out>
        nesting_stack_ptr = 0x0
#11 0x0000003314a0273b in tevent_common_loop_wait (ev=0x1c77450, location=0x43f875 "src/util/server.c:526") at tevent.c:591
        ret = <value optimized out>
#12 0x00000000004320f1 in server_loop (main_ctx=0x1c785c0) at src/util/server.c:526
No locals.
#13 0x000000000040e97b in main (argc=6, argv=<value optimized out>) at src/providers/data_provider_be.c:1333
        opt = <value optimized out>
        pc = <value optimized out>
        be_domain = 0x1c76490 "domain1"
        srv_name = <value optimized out>
        conf_entry = <value optimized out>
        main_ctx = 0x1c785c0
        ret = 0
        long_options = {{longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x645d40, val = 0, 
            descrip = 0x437112 "Help options:", argDescrip = 0x0}, {longName = 0x437120 "debug-level", shortName = 100 'd', 
            argInfo = 2, arg = 0x645e20, val = 0, descrip = 0x4370f1 "Debug level", argDescrip = 0x0}, {
            longName = 0x43712c "debug-to-files", shortName = 102 'f', argInfo = 0, arg = 0x645e24, val = 0, 
            descrip = 0x437d88 "Send the debug output to files instead of stderr", argDescrip = 0x0}, {
            longName = 0x43713b "debug-timestamps", shortName = 0 '\000', argInfo = 2, arg = 0x645d00, val = 0, 
            descrip = 0x4370fd "Add debug timestamps", argDescrip = 0x0}, {longName = 0x4386f8 "domain", 
            shortName = 0 '\000', argInfo = 1, arg = 0x7fffe45be9c8, val = 0, 
            descrip = 0x437dc0 "Domain of the information provider (mandatory)", argDescrip = 0x0}, {longName = 0x0, 
            shortName = 0 '\000', argInfo = 0, arg = 0x0, val = 0, descrip = 0x0, argDescrip = 0x0}}
        __FUNCTION__ = "main"

Expected results:
sssd should not crash.

Additional info:
[domain/domain1]
id_provider = ldap
auth_provider = ldap
ldap_uri = ldaps://sssdldap.redhat.com:636
ldap_search_base = dc=example,dc=com
ldap_tls_reqcert = demand
ldap_tls_cacertdir = /etc/openldap/cacerts
ldap_tls_cacert = /etc/openldap/cacerts/cacert.asc
cache_credentials = true
enumerate =  false
debug_level = 9

Comment 1 Sumit Bose 2011-04-08 11:52:15 UTC
Upstream ticket: https://fedorahosted.org/sssd/ticket/841

Comment 5 Gowrishankar Rajaiyan 2011-04-11 07:36:55 UTC
from domain logs:
(Mon Apr 11 13:02:47 2011) [sssd[be[LDAP]]] [sdap_get_generic_done] (6): Search result: Inappropriate authentication(48), Anonymous access is not allowed.
(Mon Apr 11 13:02:47 2011) [sssd[be[LDAP]]] [sdap_get_generic_done] (2): Unexpected result from ldap: Inappropriate authentication(48), Anonymous access is not allowed.
(Mon Apr 11 13:02:47 2011) [sssd[be[LDAP]]] [sdap_get_rootdse_done] (2): RootDSE could not be retrieved. Please check that anonymous access to RootDSE is allowed

# abrt-cli -l
returns no crashes, as expected.

# rpm -qi sssd | head
Name        : sssd                         Relocations: (not relocatable)
Version     : 1.5.1                             Vendor: Red Hat, Inc.
Release     : 25.el6                        Build Date: Fri 08 Apr 2011 10:53:31 PM IST
Install Date: Mon 11 Apr 2011 11:27:08 AM IST      Build Host: x86-003.build.bos.redhat.com
Group       : Applications/System           Source RPM: sssd-1.5.1-25.el6.src.rpm
Size        : 3462773                          License: GPLv3+
Signature   : (none)
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL         : http://fedorahosted.org/sssd/
Summary     : System Security Services Daemon

Comment 6 Gowrishankar Rajaiyan 2011-04-11 14:50:04 UTC
Re-opening with the latest coredump, since this crash could be re-produced.

# abrt-cli -i 0:287feec92546c01d402e0988ccda51fbaa189448
>> Generating backtrace
Crash ID:           0:287feec92546c01d402e0988ccda51fbaa189448
Last crash:         Mon 11 Apr 2011 06:50:19 PM IST
Analyzer:           CCpp
Component:          sssd
Package:            sssd-1.5.1-25.el6
Command:            /usr/libexec/sssd/sssd_be -d 0 --debug-to-files --domain LDAP
Executable:         /usr/libexec/sssd/sssd_be
System:             Red Hat Enterprise Linux Server release 6.1 Beta (Santiago), kernel 2.6.32-122.el6.x86_64
Reason:             Process /usr/libexec/sssd/sssd_be was killed by signal 11 (SIGSEGV)
Coredump file:      /var/spool/abrt/ccpp-1302528019-13501/coredump
Rating:             0
Hostname:           rhel6-1.gsr.pnq.redhat.com
[root@rhel6-1 ~]# 

# gdb --core=/var/spool/abrt/ccpp-1302528019-13501/coredump /usr/libexec/sssd/sssd_be --quiet -ex "thread apply all bt full" -ex "quit" 
[root@rhel6-1 ~]# gdb --core=/var/spool/abrt/ccpp-1302528019-13501/coredump /usr/libexec/sssd/sssd_be --quiet -ex "thread apply all bt full" -ex "quit" 
Reading symbols from /usr/libexec/sssd/sssd_be...Reading symbols from /usr/lib/debug/usr/libexec/sssd/sssd_be.debug...done.
done.
[New Thread 13501]
Missing separate debuginfo for 
Try: yum --disablerepo='*' --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/1d/5cd871d8d94997ac446cd424e091f9eed61b8e
Reading symbols from /lib64/libpam.so.0.82.2...Reading symbols from /usr/lib/debug/lib64/libpam.so.0.82.2.debug...done.
done.
Loaded symbols for /lib64/libpam.so.0.82.2
Reading symbols from /usr/lib64/libtevent.so.0.9.8...Reading symbols from /usr/lib/debug/usr/lib64/libtevent.so.0.9.8.debug...done.
done.
Loaded symbols for /usr/lib64/libtevent.so.0.9.8
Reading symbols from /usr/lib64/libtalloc.so.2.0.1...Reading symbols from /usr/lib/debug/usr/lib64/libtalloc.so.2.0.1.debug...done.
done.
Loaded symbols for /usr/lib64/libtalloc.so.2.0.1
Reading symbols from /lib64/libpopt.so.0.0.0...Reading symbols from /usr/lib/debug/lib64/libpopt.so.0.0.0.debug...done.
done.
Loaded symbols for /lib64/libpopt.so.0.0.0
Reading symbols from /usr/lib64/libldb.so.0.9.10...Reading symbols from /usr/lib/debug/usr/lib64/libldb.so.0.9.10.debug...done.
done.
Loaded symbols for /usr/lib64/libldb.so.0.9.10
Reading symbols from /lib64/libdbus-1.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib64/libdbus-1.so.3
Reading symbols from /lib64/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/librt.so.1
Reading symbols from /lib64/libpcre.so.0.0.1...Reading symbols from /usr/lib/debug/lib64/libpcre.so.0.0.1.debug...done.
done.
Loaded symbols for /lib64/libpcre.so.0.0.1
Reading symbols from /usr/lib64/libini_config.so.2.0.0...Reading symbols from /usr/lib/debug/usr/lib64/libini_config.so.2.0.0.debug...done.
done.
Loaded symbols for /usr/lib64/libini_config.so.2.0.0
Reading symbols from /usr/lib64/libcollection.so.2.0.0...Reading symbols from /usr/lib/debug/usr/lib64/libcollection.so.2.0.0.debug...done.
done.
Loaded symbols for /usr/lib64/libcollection.so.2.0.0
Reading symbols from /usr/lib64/libdhash.so.1.0.0...Reading symbols from /usr/lib/debug/usr/lib64/libdhash.so.1.0.0.debug...done.
done.
Loaded symbols for /usr/lib64/libdhash.so.1.0.0
Reading symbols from /lib64/liblber-2.4.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/liblber-2.4.so.2
Reading symbols from /lib64/libldap-2.4.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libldap-2.4.so.2
Reading symbols from /usr/lib64/libtdb.so.1...
warning: the debug information found in "/usr/lib/debug//usr/lib64/libtdb.so.1.2.1.debug" does not match "/usr/lib64/libtdb.so.1" (CRC mismatch).


warning: the debug information found in "/usr/lib/debug/usr/lib64/libtdb.so.1.2.1.debug" does not match "/usr/lib64/libtdb.so.1" (CRC mismatch).

(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libtdb.so.1
Reading symbols from /usr/lib64/libssl3.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libssl3.so
Reading symbols from /usr/lib64/libsmime3.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libsmime3.so
Reading symbols from /usr/lib64/libnss3.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libnss3.so
Reading symbols from /usr/lib64/libnssutil3.so...Reading symbols from /usr/lib/debug/usr/lib64/libnssutil3.so.debug...done.
done.
Loaded symbols for /usr/lib64/libnssutil3.so
Reading symbols from /lib64/libplds4.so...Reading symbols from /usr/lib/debug/lib64/libplds4.so.debug...done.
done.
Loaded symbols for /lib64/libplds4.so
Reading symbols from /lib64/libplc4.so...Reading symbols from /usr/lib/debug/lib64/libplc4.so.debug...done.
done.
Loaded symbols for /lib64/libplc4.so
Reading symbols from /lib64/libnspr4.so...Reading symbols from /usr/lib/debug/lib64/libnspr4.so.debug...done.
done.
Loaded symbols for /lib64/libnspr4.so
Reading symbols from /lib64/libpthread.so.0...(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /usr/lib64/libcares.so.2.0.0...Reading symbols from /usr/lib/debug/usr/lib64/libcares.so.2.0.0.debug...done.
done.
Loaded symbols for /usr/lib64/libcares.so.2.0.0
Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/libaudit.so.1...
warning: the debug information found in "/usr/lib/debug//lib64/libaudit.so.1.0.0.debug" does not match "/lib64/libaudit.so.1" (CRC mismatch).


warning: the debug information found in "/usr/lib/debug/lib64/libaudit.so.1.0.0.debug" does not match "/lib64/libaudit.so.1" (CRC mismatch).

(no debugging symbols found)...done.
Loaded symbols for /lib64/libaudit.so.1
Reading symbols from /lib64/libcrypt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libcrypt.so.1
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /usr/lib64/libpath_utils.so.1.0.0...Reading symbols from /usr/lib/debug/usr/lib64/libpath_utils.so.1.0.0.debug...done.
done.
Loaded symbols for /usr/lib64/libpath_utils.so.1.0.0
Reading symbols from /usr/lib64/libref_array.so.1.0.0...Reading symbols from /usr/lib/debug/usr/lib64/libref_array.so.1.0.0.debug...done.
done.
Loaded symbols for /usr/lib64/libref_array.so.1.0.0
Reading symbols from /lib64/libresolv.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libresolv.so.2
Reading symbols from /usr/lib64/libsasl2.so.2.0.23...Reading symbols from /usr/lib/debug/usr/lib64/libsasl2.so.2.0.23.debug...done.
done.
Loaded symbols for /usr/lib64/libsasl2.so.2.0.23
Reading symbols from /lib64/libz.so.1.2.3...Reading symbols from /usr/lib/debug/lib64/libz.so.1.2.3.debug...done.
done.
Loaded symbols for /lib64/libz.so.1.2.3
Reading symbols from /lib64/libfreebl3.so...Reading symbols from /usr/lib/debug/lib64/libfreebl3.so.debug...done.
done.
Loaded symbols for /lib64/libfreebl3.so
Reading symbols from /usr/lib64/ldb/memberof.so...Reading symbols from /usr/lib/debug/usr/lib64/ldb/memberof.so.debug...done.
done.
Loaded symbols for /usr/lib64/ldb/memberof.so
Reading symbols from /usr/lib64/sssd/libsss_ldap.so.1.0.0...Reading symbols from /usr/lib/debug/usr/lib64/sssd/libsss_ldap.so.1.0.0.debug...done.
done.
Loaded symbols for /usr/lib64/sssd/libsss_ldap.so.1.0.0
Reading symbols from /lib64/libkrb5.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib64/libkrb5.so.3
Reading symbols from /lib64/libk5crypto.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib64/libk5crypto.so.3
Reading symbols from /lib64/libcom_err.so.2.1...Reading symbols from /usr/lib/debug/lib64/libcom_err.so.2.1.debug...done.
done.
Loaded symbols for /lib64/libcom_err.so.2.1
Reading symbols from /lib64/libkrb5support.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib64/libkrb5support.so.0
Reading symbols from /lib64/libkeyutils.so.1.3...Reading symbols from /usr/lib/debug/lib64/libkeyutils.so.1.3.debug...done.
done.
Loaded symbols for /lib64/libkeyutils.so.1.3
Reading symbols from /lib64/libselinux.so.1...
warning: the debug information found in "/usr/lib/debug//lib64/libselinux.so.1.debug" does not match "/lib64/libselinux.so.1" (CRC mismatch).


warning: the debug information found in "/usr/lib/debug/lib64/libselinux.so.1.debug" does not match "/lib64/libselinux.so.1" (CRC mismatch).

(no debugging symbols found)...done.
Loaded symbols for /lib64/libselinux.so.1
Reading symbols from /lib64/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libnss_files.so.2
Reading symbols from /usr/lib64/sssd/libsss_simple.so.1.0.0...Reading symbols from /usr/lib/debug/usr/lib64/sssd/libsss_simple.so.1.0.0.debug...done.
done.
Loaded symbols for /usr/lib64/sssd/libsss_simple.so.1.0.0
Reading symbols from /usr/lib64/libsoftokn3.so...Reading symbols from /usr/lib/debug/usr/lib64/libsoftokn3.so.debug...done.
done.
Loaded symbols for /usr/lib64/libsoftokn3.so
Reading symbols from /usr/lib64/libsqlite3.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libsqlite3.so.0
Reading symbols from /usr/lib64/libnssdbm3.so...Reading symbols from /usr/lib/debug/usr/lib64/libnssdbm3.so.debug...done.
done.
Loaded symbols for /usr/lib64/libnssdbm3.so
Reading symbols from /usr/lib64/libnsspem.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libnsspem.so
Reading symbols from /lib64/libnss_sss.so.2...Reading symbols from /usr/lib/debug/lib64/libnss_sss.so.2.debug...done.
done.
Loaded symbols for /lib64/libnss_sss.so.2
Reading symbols from /lib64/libnss_dns.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libnss_dns.so.2
Core was generated by `/usr/libexec/sssd/sssd_be -d 0 --debug-to-files --domain LDAP'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007ff9933cded8 in enum_users_op_done (subreq=0x0) at src/providers/ldap/ldap_id_enum.c:518
518	    DEBUG(4, ("Users higher USN value: [%s]\n",

Thread 1 (Thread 0x7ff9996fb700 (LWP 13501)):
#0  0x00007ff9933cded8 in enum_users_op_done (subreq=0x0) at src/providers/ldap/ldap_id_enum.c:518
        req = 0x20860d0
        state = 0x2086e10
        usn_value = 0x0
        ret = 0
        __FUNCTION__ = "enum_users_op_done"
#1  0x00007ff9933eb254 in sdap_get_users_process (subreq=0x0) at src/providers/ldap/sdap_async_accounts.c:497
        req = 0x20898a0
        state = 0x2129b80
        ret = 0
        __FUNCTION__ = "sdap_get_users_process"
#2  0x00007ff9933de63a in sdap_get_generic_done (op=<value optimized out>, reply=<value optimized out>, 
    error=<value optimized out>, pvt=<value optimized out>) at src/providers/ldap/sdap_async.c:926
        req = 0x2089d10
        state = <value optimized out>
        attrs = <value optimized out>
        errmsg = 0x0
        result = 0
        ret = <value optimized out>
        __FUNCTION__ = "sdap_get_generic_done"
#3  0x00007ff9933e1705 in sdap_process_message (ev=<value optimized out>, pvt=<value optimized out>)
    at src/providers/ldap/sdap_async.c:307
        msgtype = <value optimized out>
        ret = 0
        reply = 0x214bb60
        op = 0x213d720
        msgid = 3
#4  sdap_process_result (ev=<value optimized out>, pvt=<value optimized out>) at src/providers/ldap/sdap_async.c:207
        sh = <value optimized out>
        no_timeout = {tv_sec = 0, tv_usec = 0}
        te = <value optimized out>
        msg = 0x21429f0
        ret = <value optimized out>
        __FUNCTION__ = "sdap_process_result"
#5  0x0000003314a034e5 in tevent_common_loop_timer_delay (ev=0x2067450) at tevent_timed.c:254
        current_time = {tv_sec = 0, tv_usec = 0}
        te = 0x215c8a0
#6  0x0000003314a0531b in std_event_loop_once (ev=<value optimized out>, location=<value optimized out>)
    at tevent_standard.c:537
Missing separate debuginfos, use: debuginfo-install audit-libs-2.1-1.el6.x86_64 dbus-libs-1.2.24-4.el6_0.x86_64 glibc-2.12-1.25.el6.x86_64 krb5-libs-1.9-8.el6.x86_64 libselinux-2.0.94-5.el6.x86_64 libtdb-1.2.1-3.el6.x86_64 nss-3.12.9-8.el6.x86_64 openldap-2.4.23-14.el6.x86_64 sqlite-3.6.20-1.el6.x86_64
---Type <return> to continue, or q <return> to quit---
        std_ev = 0x2067510
        tval = {tv_sec = 59, tv_usec = 145934}
#7  0x0000003314a026d0 in _tevent_loop_once (ev=0x2067450, location=0x43f875 "src/util/server.c:526") at tevent.c:490
        ret = <value optimized out>
        nesting_stack_ptr = 0x0
#8  0x0000003314a0273b in tevent_common_loop_wait (ev=0x2067450, location=0x43f875 "src/util/server.c:526") at tevent.c:591
        ret = <value optimized out>
#9  0x00000000004320f1 in server_loop (main_ctx=0x20685c0) at src/util/server.c:526
No locals.
#10 0x000000000040e97b in main (argc=6, argv=<value optimized out>) at src/providers/data_provider_be.c:1333
        opt = <value optimized out>
        pc = <value optimized out>
        be_domain = 0x2066490 "LDAP"
        srv_name = <value optimized out>
        conf_entry = <value optimized out>
        main_ctx = 0x20685c0
        ret = 0
        long_options = {{longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x645d40, val = 0, 
            descrip = 0x437112 "Help options:", argDescrip = 0x0}, {longName = 0x437120 "debug-level", shortName = 100 'd', 
            argInfo = 2, arg = 0x645e20, val = 0, descrip = 0x4370f1 "Debug level", argDescrip = 0x0}, {
            longName = 0x43712c "debug-to-files", shortName = 102 'f', argInfo = 0, arg = 0x645e24, val = 0, 
            descrip = 0x437d88 "Send the debug output to files instead of stderr", argDescrip = 0x0}, {
            longName = 0x43713b "debug-timestamps", shortName = 0 '\000', argInfo = 2, arg = 0x645d00, val = 0, 
            descrip = 0x4370fd "Add debug timestamps", argDescrip = 0x0}, {longName = 0x4386f8 "domain", 
            shortName = 0 '\000', argInfo = 1, arg = 0x7fffc2e95418, val = 0, 
            descrip = 0x437dc0 "Domain of the information provider (mandatory)", argDescrip = 0x0}, {longName = 0x0, 
            shortName = 0 '\000', argInfo = 0, arg = 0x0, val = 0, descrip = 0x0, argDescrip = 0x0}}
        __FUNCTION__ = "main"


Tested:
# rpm -qi sssd | head
Name        : sssd                         Relocations: (not relocatable)
Version     : 1.5.1                             Vendor: Red Hat, Inc.
Release     : 25.el6                        Build Date: Fri 08 Apr 2011
10:53:31 PM IST
Install Date: Mon 11 Apr 2011 11:27:08 AM IST      Build Host:
x86-003.build.bos.redhat.com
Group       : Applications/System           Source RPM:
sssd-1.5.1-25.el6.src.rpm
Size        : 3462773                          License: GPLv3+
Signature   : (none)
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL         : http://fedorahosted.org/sssd/
Summary     : System Security Services Daemon

Comment 8 Gowrishankar Rajaiyan 2011-04-12 05:33:26 UTC
# abrt-cli -i 0:f89feaeb96f0f20c3e1cec91bd61480b3975a15a
>> Generating backtrace
Crash ID:           0:f89feaeb96f0f20c3e1cec91bd61480b3975a15a
Last crash:         Tue 12 Apr 2011 10:52:17 AM IST
Analyzer:           CCpp
Component:          sssd
Package:            sssd-1.5.1-26.el6
Command:            /usr/libexec/sssd/sssd_be -d 0 --debug-to-files --domain LDAP
Executable:         /usr/libexec/sssd/sssd_be
System:             Red Hat Enterprise Linux Server release 6.1 Beta (Santiago), kernel 2.6.32-122.el6.x86_64
Reason:             Process /usr/libexec/sssd/sssd_be was killed by signal 11 (SIGSEGV)
Coredump file:      /var/spool/abrt/ccpp-1302585737-16588/coredump
Rating:             4
Crash function:     sysdb_attrs_get_el_int
Hostname:           rhel6-1.gsr.pnq.redhat.com


# gdb --core=/var/spool/abrt/ccpp-1302585737-16588/coredump /usr/libexec/sssd/sssd_be --quiet -ex "thread apply all bt full" -ex "quit" 
Reading symbols from /usr/libexec/sssd/sssd_be...Reading symbols from /usr/lib/debug/usr/libexec/sssd/sssd_be.debug...done.
done.
[New Thread 16588]
Missing separate debuginfo for 
Try: yum --disablerepo='*' --enablerepo='*-debuginfo' install /usr/lib/debug/.build-id/1d/5cd871d8d94997ac446cd424e091f9eed61b8e
Reading symbols from /lib64/libpam.so.0.82.2...Reading symbols from /usr/lib/debug/lib64/libpam.so.0.82.2.debug...done.
done.
Loaded symbols for /lib64/libpam.so.0.82.2
Reading symbols from /usr/lib64/libtevent.so.0.9.8...Reading symbols from /usr/lib/debug/usr/lib64/libtevent.so.0.9.8.debug...done.
done.
Loaded symbols for /usr/lib64/libtevent.so.0.9.8
Reading symbols from /usr/lib64/libtalloc.so.2.0.1...Reading symbols from /usr/lib/debug/usr/lib64/libtalloc.so.2.0.1.debug...done.
done.
Loaded symbols for /usr/lib64/libtalloc.so.2.0.1
Reading symbols from /lib64/libpopt.so.0.0.0...Reading symbols from /usr/lib/debug/lib64/libpopt.so.0.0.0.debug...done.
done.
Loaded symbols for /lib64/libpopt.so.0.0.0
Reading symbols from /usr/lib64/libldb.so.0.9.10...Reading symbols from /usr/lib/debug/usr/lib64/libldb.so.0.9.10.debug...done.
done.
Loaded symbols for /usr/lib64/libldb.so.0.9.10
Reading symbols from /lib64/libdbus-1.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib64/libdbus-1.so.3
Reading symbols from /lib64/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/librt.so.1
Reading symbols from /lib64/libpcre.so.0.0.1...Reading symbols from /usr/lib/debug/lib64/libpcre.so.0.0.1.debug...done.
done.
Loaded symbols for /lib64/libpcre.so.0.0.1
Reading symbols from /usr/lib64/libini_config.so.2.0.0...Reading symbols from /usr/lib/debug/usr/lib64/libini_config.so.2.0.0.debug...done.
done.
Loaded symbols for /usr/lib64/libini_config.so.2.0.0
Reading symbols from /usr/lib64/libcollection.so.2.0.0...Reading symbols from /usr/lib/debug/usr/lib64/libcollection.so.2.0.0.debug...done.
done.
Loaded symbols for /usr/lib64/libcollection.so.2.0.0
Reading symbols from /usr/lib64/libdhash.so.1.0.0...Reading symbols from /usr/lib/debug/usr/lib64/libdhash.so.1.0.0.debug...done.
done.
Loaded symbols for /usr/lib64/libdhash.so.1.0.0
Reading symbols from /lib64/liblber-2.4.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/liblber-2.4.so.2
Reading symbols from /lib64/libldap-2.4.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libldap-2.4.so.2
Reading symbols from /usr/lib64/libtdb.so.1.2.1...Reading symbols from /usr/lib/debug/usr/lib64/libtdb.so.1.2.1.debug...done.
done.
Loaded symbols for /usr/lib64/libtdb.so.1.2.1
Reading symbols from /usr/lib64/libssl3.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libssl3.so
Reading symbols from /usr/lib64/libsmime3.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libsmime3.so
Reading symbols from /usr/lib64/libnss3.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libnss3.so
Reading symbols from /usr/lib64/libnssutil3.so...Reading symbols from /usr/lib/debug/usr/lib64/libnssutil3.so.debug...done.
done.
Loaded symbols for /usr/lib64/libnssutil3.so
Reading symbols from /lib64/libplds4.so...Reading symbols from /usr/lib/debug/lib64/libplds4.so.debug...done.
done.
Loaded symbols for /lib64/libplds4.so
Reading symbols from /lib64/libplc4.so...Reading symbols from /usr/lib/debug/lib64/libplc4.so.debug...done.
done.
Loaded symbols for /lib64/libplc4.so
Reading symbols from /lib64/libnspr4.so...Reading symbols from /usr/lib/debug/lib64/libnspr4.so.debug...done.
done.
Loaded symbols for /lib64/libnspr4.so
Reading symbols from /lib64/libpthread.so.0...(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /usr/lib64/libcares.so.2.0.0...Reading symbols from /usr/lib/debug/usr/lib64/libcares.so.2.0.0.debug...done.
done.
Loaded symbols for /usr/lib64/libcares.so.2.0.0
Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/libaudit.so.1.0.0...Reading symbols from /usr/lib/debug/lib64/libaudit.so.1.0.0.debug...done.
done.
Loaded symbols for /lib64/libaudit.so.1.0.0
Reading symbols from /lib64/libcrypt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libcrypt.so.1
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /usr/lib64/libpath_utils.so.1.0.0...Reading symbols from /usr/lib/debug/usr/lib64/libpath_utils.so.1.0.0.debug...done.
done.
Loaded symbols for /usr/lib64/libpath_utils.so.1.0.0
Reading symbols from /usr/lib64/libref_array.so.1.0.0...Reading symbols from /usr/lib/debug/usr/lib64/libref_array.so.1.0.0.debug...done.
done.
Loaded symbols for /usr/lib64/libref_array.so.1.0.0
Reading symbols from /lib64/libresolv.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libresolv.so.2
Reading symbols from /usr/lib64/libsasl2.so.2.0.23...Reading symbols from /usr/lib/debug/usr/lib64/libsasl2.so.2.0.23.debug...done.
done.
Loaded symbols for /usr/lib64/libsasl2.so.2.0.23
Reading symbols from /lib64/libz.so.1.2.3...Reading symbols from /usr/lib/debug/lib64/libz.so.1.2.3.debug...done.
done.
Loaded symbols for /lib64/libz.so.1.2.3
Reading symbols from /lib64/libfreebl3.so...Reading symbols from /usr/lib/debug/lib64/libfreebl3.so.debug...done.
done.
Loaded symbols for /lib64/libfreebl3.so
Reading symbols from /usr/lib64/ldb/memberof.so...Reading symbols from /usr/lib/debug/usr/lib64/ldb/memberof.so.debug...done.
done.
Loaded symbols for /usr/lib64/ldb/memberof.so
Reading symbols from /usr/lib64/sssd/libsss_ldap.so.1.0.0...Reading symbols from /usr/lib/debug/usr/lib64/sssd/libsss_ldap.so.1.0.0.debug...done.
done.
Loaded symbols for /usr/lib64/sssd/libsss_ldap.so.1.0.0
Reading symbols from /lib64/libkrb5.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib64/libkrb5.so.3
Reading symbols from /lib64/libk5crypto.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib64/libk5crypto.so.3
Reading symbols from /lib64/libcom_err.so.2.1...Reading symbols from /usr/lib/debug/lib64/libcom_err.so.2.1.debug...done.
done.
Loaded symbols for /lib64/libcom_err.so.2.1
Reading symbols from /lib64/libkrb5support.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib64/libkrb5support.so.0
Reading symbols from /lib64/libkeyutils.so.1.3...Reading symbols from /usr/lib/debug/lib64/libkeyutils.so.1.3.debug...done.
done.
Loaded symbols for /lib64/libkeyutils.so.1.3
Reading symbols from /lib64/libselinux.so.1...Reading symbols from /usr/lib/debug/lib64/libselinux.so.1.debug...done.
done.
Loaded symbols for /lib64/libselinux.so.1
Reading symbols from /lib64/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libnss_files.so.2
Reading symbols from /usr/lib64/sssd/libsss_simple.so.1.0.0...Reading symbols from /usr/lib/debug/usr/lib64/sssd/libsss_simple.so.1.0.0.debug...done.
done.
Loaded symbols for /usr/lib64/sssd/libsss_simple.so.1.0.0
Reading symbols from /usr/lib64/libsoftokn3.so...Reading symbols from /usr/lib/debug/usr/lib64/libsoftokn3.so.debug...done.
done.
Loaded symbols for /usr/lib64/libsoftokn3.so
Reading symbols from /usr/lib64/libsqlite3.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libsqlite3.so.0
Reading symbols from /usr/lib64/libnssdbm3.so...Reading symbols from /usr/lib/debug/usr/lib64/libnssdbm3.so.debug...done.
done.
Loaded symbols for /usr/lib64/libnssdbm3.so
Reading symbols from /usr/lib64/libnsspem.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libnsspem.so
Reading symbols from /lib64/libnss_sss.so.2...Reading symbols from /usr/lib/debug/lib64/libnss_sss.so.2.debug...done.
done.
Loaded symbols for /lib64/libnss_sss.so.2
Core was generated by `/usr/libexec/sssd/sssd_be -d 0 --debug-to-files --domain LDAP'.
Program terminated with signal 11, Segmentation fault.
#0  sysdb_attrs_get_el_int (attrs=0x33139903e0, name=0x7fef36cb64aa "lastUSN", alloc=false, el=0x7fff1ca77988)
    at src/db/sysdb.c:255
255	        if (strcasecmp(name, attrs->a[i].name) == 0)

Thread 1 (Thread 0x7fef3cfa1700 (LWP 16588)):
#0  sysdb_attrs_get_el_int (attrs=0x33139903e0, name=0x7fef36cb64aa "lastUSN", alloc=false, el=0x7fff1ca77988)
    at src/db/sysdb.c:255
        e = <value optimized out>
        i = <value optimized out>
#1  0x000000000041b454 in sysdb_attrs_get_string (attrs=<value optimized out>, name=<value optimized out>, 
    string=0x7fff1ca779f8) at src/db/sysdb.c:297
        el = 0x33139903e0
        ret = <value optimized out>
#2  0x00007fef36ca4f90 in sdap_get_server_opts_from_rootdse (memctx=<value optimized out>, server=<value optimized out>, 
    rootdse=0x33139903e0, opts=0x1ada690, srv_opts=0x1ade528) at src/providers/ldap/sdap.c:638
        so = 0x1adfad0
        usn_attrs = {{last_name = 0x7fef36cb64aa "lastUSN", entry_name = 0x7fef36cb6480 "entryUSN"}, {
            last_name = 0x7fef36cb64bd "highestCommittedUSN", entry_name = 0x7fef36cb64b2 "uSNChanged"}, {last_name = 0x0, 
            entry_name = 0x0}}
        last_usn_name = <value optimized out>
        last_usn_value = 0x1adfc40 ""
        entry_usn_name = 0x0
        ret = <value optimized out>
        i = <value optimized out>
        __FUNCTION__ = "sdap_get_server_opts_from_rootdse"
#3  0x00007fef36c9c53c in sdap_cli_rootdse_done (subreq=0x0) at src/providers/ldap/sdap_async_connection.c:1290
        req = 0x1adfd10
        state = 0x1ade4f0
        rootdse = 0x33139903e0
        sasl_mech = <value optimized out>
        ret = <value optimized out>
        __FUNCTION__ = "sdap_cli_rootdse_done"
#4  0x0000003314a0447e in tevent_req_finish (req=<value optimized out>, error=<value optimized out>, 
    location=<value optimized out>) at tevent_req.c:133
No locals.
#5  _tevent_req_error (req=<value optimized out>, error=<value optimized out>, location=<value optimized out>)
    at tevent_req.c:188
No locals.
#6  0x00007fef36c84b03 in sdap_get_rootdse_done (subreq=0x0) at src/providers/ldap/sdap_async.c:708
        req = 0x1ae14c0
        state = 0x1adfad0
        results = 0x0
        num_results = 0
Missing separate debuginfos, use: debuginfo-install dbus-libs-1.2.24-4.el6_0.x86_64 glibc-2.12-1.25.el6.x86_64 krb5-libs-1.9-8.el6.x86_64 nss-3.12.9-8.el6.x86_64 openldap-2.4.23-14.el6.x86_64 sqlite-3.6.20-1.el6.x86_64
---Type <return> to continue, or q <return> to quit---
        ret = 0
        __FUNCTION__ = "sdap_get_rootdse_done"
#7  0x00007fef36c8463a in sdap_get_generic_done (op=<value optimized out>, reply=<value optimized out>, 
    error=<value optimized out>, pvt=<value optimized out>) at src/providers/ldap/sdap_async.c:926
        req = 0x1adc0d0
        state = <value optimized out>
        attrs = <value optimized out>
        errmsg = 0x1b95040 ""
        result = 48
        ret = <value optimized out>
        __FUNCTION__ = "sdap_get_generic_done"
#8  0x00007fef36c87705 in sdap_process_message (ev=<value optimized out>, pvt=<value optimized out>)
    at src/providers/ldap/sdap_async.c:307
        msgtype = <value optimized out>
        ret = 0
        reply = 0x1ae99e0
        op = 0x1b7fb80
        msgid = 1
#9  sdap_process_result (ev=<value optimized out>, pvt=<value optimized out>) at src/providers/ldap/sdap_async.c:207
        sh = <value optimized out>
        no_timeout = {tv_sec = 0, tv_usec = 0}
        te = <value optimized out>
        msg = 0x1b807c0
        ret = <value optimized out>
        __FUNCTION__ = "sdap_process_result"
#10 0x0000003314a05456 in epoll_event_loop (ev=<value optimized out>, location=<value optimized out>)
    at tevent_standard.c:309
        fde = <value optimized out>
        flags = <value optimized out>
        ret = 1
        i = <value optimized out>
        events = {{events = 1, data = {ptr = 0x1ae16a0, fd = 28186272, u32 = 28186272, u64 = 28186272}}}
        timeout = <value optimized out>
#11 std_event_loop_once (ev=<value optimized out>, location=<value optimized out>) at tevent_standard.c:544
        std_ev = 0x1abd510
        tval = {tv_sec = 6, tv_usec = 348665}
#12 0x0000003314a026d0 in _tevent_loop_once (ev=0x1abd450, location=0x43f835 "src/util/server.c:526") at tevent.c:490
        ret = <value optimized out>
        nesting_stack_ptr = 0x0
#13 0x0000003314a0273b in tevent_common_loop_wait (ev=0x1abd450, location=0x43f835 "src/util/server.c:526") at tevent.c:591
        ret = <value optimized out>
#14 0x00000000004320b1 in server_loop (main_ctx=0x1abe5c0) at src/util/server.c:526
No locals.
#15 0x000000000040e97b in main (argc=6, argv=<value optimized out>) at src/providers/data_provider_be.c:1333
        opt = <value optimized out>
---Type <return> to continue, or q <return> to quit---
        pc = <value optimized out>
        be_domain = 0x1abc490 "LDAP"
        srv_name = <value optimized out>
        conf_entry = <value optimized out>
        main_ctx = 0x1abe5c0
        ret = 0
        long_options = {{longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x645d00, val = 0, 
            descrip = 0x4370d2 "Help options:", argDescrip = 0x0}, {longName = 0x4370e0 "debug-level", shortName = 100 'd', 
            argInfo = 2, arg = 0x645de0, val = 0, descrip = 0x4370b1 "Debug level", argDescrip = 0x0}, {
            longName = 0x4370ec "debug-to-files", shortName = 102 'f', argInfo = 0, arg = 0x645de4, val = 0, 
            descrip = 0x437d48 "Send the debug output to files instead of stderr", argDescrip = 0x0}, {
            longName = 0x4370fb "debug-timestamps", shortName = 0 '\000', argInfo = 2, arg = 0x645cc0, val = 0, 
            descrip = 0x4370bd "Add debug timestamps", argDescrip = 0x0}, {longName = 0x4386b8 "domain", 
            shortName = 0 '\000', argInfo = 1, arg = 0x7fff1ca77e98, val = 0, 
            descrip = 0x437d80 "Domain of the information provider (mandatory)", argDescrip = 0x0}, {longName = 0x0, 
            shortName = 0 '\000', argInfo = 0, arg = 0x0, val = 0, descrip = 0x0, argDescrip = 0x0}}
        __FUNCTION__ = "main"

Comment 10 Gowrishankar Rajaiyan 2011-04-29 14:31:04 UTC
LDAP provider doesn't die even when there is no rootDSE data. No crash detected.

Verified. 
# rpm -qi sssd | head
Name        : sssd                         Relocations: (not relocatable)
Version     : 1.5.1                             Vendor: Red Hat, Inc.
Release     : 30.el6                        Build Date: Fri 15 Apr 2011 09:37:47 PM IST
Install Date: Mon 18 Apr 2011 05:36:41 PM IST      Build Host: x86-005.build.bos.redhat.com
Group       : Applications/System           Source RPM: sssd-1.5.1-30.el6.src.rpm
Size        : 3464053                          License: GPLv3+
Signature   : (none)
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL         : http://fedorahosted.org/sssd/
Summary     : System Security Services Daemon

Comment 11 errata-xmlrpc 2011-05-19 11:40:52 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0560.html

Comment 12 errata-xmlrpc 2011-05-19 13:03:59 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0560.html


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