#545 sssd_be segfaults During Automated Cache Credential and Offline Authentication Testing
Closed: Fixed Opened by jgalipea.

description
As of recent a regression has been introduced that is causing sssd_be to segfault during the automated acceptance test for credential cache expiration and offline authentications.[[BR]]

debbug[[BR]]

(gdb) bt full
#0  0x00007ffdac6a407f in remove_ldap_connection_callbacks (sh=0x14c5bf0) at providers/ldap/sdap_fd_events.c:55
        ret = 0
#1  0x00007ffdac693fea in sdap_mark_offline (ctx=0x14b81e0) at providers/ldap/ldap_common.c:369
        ret = <value optimized out>
        __FUNCTION__ = "sdap_mark_offline"
#2  0x00007ffdac6876b9 in sdap_account_info_common_done (ret=5, breq=0x14c5e50, str_on_err=0x7ffdac6a7d86 "Group lookup failed")
    at providers/ldap/ldap_id.c:714
        ctx = 0x14b81e0
        dp_err = 1
        errstr = 0x7ffdac6a7d86 "Group lookup failed"
#3  0x00007ffdb37a354e in _tevent_req_error () from /usr/lib64/libtevent.so.0
No symbol table info available.
#4  0x00007ffdac688281 in groups_get_connect_done (subreq=0x0) at providers/ldap/ldap_id.c:348
        req = 0x14c6790
        state = <value optimized out>
        ret = 5
        __FUNCTION__ = "groups_get_connect_done"
#5  0x00007ffdb37a354e in _tevent_req_error () from /usr/lib64/libtevent.so.0
No symbol table info available.
#6  0x00007ffdb37a354e in _tevent_req_error () from /usr/lib64/libtevent.so.0
No symbol table info available.
#7  0x000000000040d7c2 in be_resolve_server_done (subreq=0x0) at providers/data_provider_fo.c:371
        req = 0x14c6270
---Type <return> to continue, or q <return> to quit---
        state = 0x14c5d10
        callback = <value optimized out>
        ret = 2
        __FUNCTION__ = "be_resolve_server_done"
#8  0x00007ffdb37a27d7 in ?? () from /usr/lib64/libtevent.so.0
No symbol table info available.
#9  0x00007ffdb37a440a in ?? () from /usr/lib64/libtevent.so.0
No symbol table info available.
#10 0x00007ffdb37a1780 in _tevent_loop_once () from /usr/lib64/libtevent.so.0
No symbol table info available.
#11 0x00007ffdb37a17fb in ?? () from /usr/lib64/libtevent.so.0
No symbol table info available.
#12 0x000000000042b5f1 in server_loop (main_ctx=0x149e5a0) at util/server.c:488
No locals.
#13 0x000000000040cf97 in main (argc=<value optimized out>, argv=0x0) at providers/data_provider_be.c:1211
        opt = <value optimized out>
        pc = <value optimized out>
        be_domain = 0x149d4b0 "LDAP"
        srv_name = <value optimized out>
        conf_entry = <value optimized out>
        main_ctx = 0x149e5a0
        ret = <value optimized out>
        long_options = {{longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x63c6e0, val = 0, descrip = 0x4300b7 "Help options:", 
---Type <return> to continue, or q <return> to quit---q
argDescrip = Quit
(gdb) up
#1  0x00007ffdac693fea in sdap_mark_offline (ctx=0x14b81e0) at providers/ldap/ldap_common.c:369
369         ret = remove_ldap_connection_callbacks(ctx->gsh);
(gdb) down
#0  0x00007ffdac6a407f in remove_ldap_connection_callbacks (sh=0x14c5bf0) at providers/ldap/sdap_fd_events.c:55
55      ret = talloc_free(sh->sdap_fd_events->conncb);
(gdb) print sh
$1 = (struct sdap_handle *) 0x14c5bf0
(gdb) print *sh
$2 = {ldap = 0x0, connected = false, sdap_fd_events = 0x0, ops = 0x0, destructor_lock = false, release_memory = false}
(gdb)

version[[BR]]
sssd-1.2.90-0.2010061620git564d213.fc12.x86_64


Fields changed

component: SSSD => LDAP Provider
milestone: NEEDS_TRIAGE => SSSD 1.2.1
owner: somebody => sgallagh
priority: critical => blocker
status: new => assigned

Fixed by 8d5bacbccbcc099c314c359ec3bd87f9421a5244

resolution: => fixed
status: assigned => closed

Fields changed

fixedin: => 1.2.1

Fields changed

rhbz: => 0

Metadata Update from @jgalipea:
- Issue assigned to sgallagh
- Issue set to the milestone: SSSD 1.2.1

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/1587

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.

Metadata