#1488 Segfault in IPA subdomain provider
Closed: Fixed None Opened 6 years ago by sgallagh.

Occurs while running 'id -G <user_in_trusted_domain>' on sssd-1.8.97-0.20120816T1134Zgit56ad566.fc17.x86_64

#0  0x00007fcb71ece925 in raise () from /lib64/libc.so.6
No symbol table info available.
#1  0x00007fcb71ed00d8 in abort () from /lib64/libc.so.6
No symbol table info available.
#2  0x00007fcb751052a6 in talloc_abort (reason=0x7fcb7510b6a8 "Bad talloc magic value - access after free") at ../talloc.c:317
No locals.
#3  0x00007fcb751052d4 in talloc_abort_access_after_free () at ../talloc.c:336
No locals.
#4  talloc_chunk_from_ptr (ptr=<optimized out>) at ../talloc.c:357
No locals.
#5  0x00007fcb75106190 in talloc_chunk_from_ptr (ptr=0xcca190) at ../talloc.c:355
        pp = 0xcca190 "@", <incomplete sequence \312>
        tc = 0xcca140
#6  _talloc_free (ptr=0xcca190, location=<optimized out>) at ../talloc.c:1348
        tc = 0xcca140
#7  0x00007fcb69363512 in sdap_id_release_conn_data (conn_data=0x0) at src/providers/ldap/sdap_id_op.c:184
        _tmp_ctx = 0xcca190
        conn_cache = 0xca0340
#8  sdap_id_release_conn_data (conn_data=0xcca190) at src/providers/ldap/sdap_id_op.c:168
No locals.
#9  0x00007fcb693663df in sdap_id_op_done (op=<optimized out>, retval=<optimized out>, retval@entry=5, dp_err_out=dp_err_out@entry=0x7fffb88f067c) at src/providers/ldap/sdap_id_op.c:811
        communication_error = <optimized out>
        current_conn = 0xcca190
        __FUNCTION__ = "sdap_id_op_done"
        dp_err = <optimized out>
#10 0x00007fcb6929fc2e in ipa_get_subdomain_account_info_done (subreq=0x0) at src/providers/ipa/ipa_subdomains_id.c:205
        req = 0xcbdab0
        state = 0xcbdb80
        dp_error = 3
        ret = 5
#11 0x00007fcb75312f27 in tevent_req_finish (location=<optimized out>, state=TEVENT_REQ_USER_ERROR, req=<optimized out>) at ../tevent_req.c:110
No locals.
#12 _tevent_req_error (req=req@entry=0xcc85c0, error=error@entry=5, location=location@entry=0x7fcb693ab898 "src/providers/ipa/ipa_s2n_exop.c:647") at ../tevent_req.c:128
No locals.
#13 0x00007fcb692a111a in ipa_s2n_get_user_done (subreq=0x0) at src/providers/ipa/ipa_s2n_exop.c:647
        req = 0xcc85c0
        state = <optimized out>
        ret = <optimized out>
        result = <optimized out>
        retoid = <optimized out>
        retdata = <optimized out>
        attrs = <optimized out>
        now = <optimized out>
        homedir = <optimized out>
        __FUNCTION__ = "ipa_s2n_get_user_done"
#14 0x00007fcb75312f27 in tevent_req_finish (location=<optimized out>, state=TEVENT_REQ_USER_ERROR, req=<optimized out>) at ../tevent_req.c:110
No locals.
#15 _tevent_req_error (req=req@entry=0xce7bb0, error=error@entry=5, location=location@entry=0x7fcb693ab6a8 "src/providers/ipa/ipa_s2n_exop.c:181") at ../tevent_req.c:128
No locals.
#16 0x00007fcb692a06ba in ipa_s2n_exop_done (op=<optimized out>, reply=<optimized out>, error=<optimized out>, pvt=<optimized out>) at src/providers/ipa/ipa_s2n_exop.c:181
        req = 0xce7bb0
        state = <optimized out>
        ret = <optimized out>
        errmsg = 0x0
        retoid = 0x0
        retdata = 0x0
        __FUNCTION__ = "ipa_s2n_exop_done"
#17 0x00007fcb69328fee in sdap_process_message (msg=0xce3f50, ev=<optimized out>, sh=<optimized out>) at src/providers/ldap/sdap_async.c:366
        msgtype = 120
        ret = 0
        reply = 0xce45b0
        op = 0xcd0fa0
        msgid = <optimized out>
#18 sdap_process_result (ev=<optimized out>, pvt=<optimized out>) at src/providers/ldap/sdap_async.c:209
        sh = <optimized out>
        no_timeout = {tv_sec = 0, tv_usec = 0}
        te = <optimized out>
        msg = 0xce3f50
        ret = 120
        __FUNCTION__ = "sdap_process_result"
#19 0x00007fcb75314e12 in epoll_event_loop (tvalp=0x7fffb88f08f0, std_ev=0xc7c5e0) at ../tevent_standard.c:328
        fde = <optimized out>
        flags = <optimized out>
        ret = <optimized out>
        i = <optimized out>
        events = {{events = 1, data = {ptr = 0xccc720, fd = 13420320, u32 = 13420320, u64 = 13420320}}}
        timeout = <optimized out>
#20 std_event_loop_once (ev=<optimized out>, location=<optimized out>) at ../tevent_standard.c:567
        std_ev = 0xc7c5e0
        tval = {tv_sec = 9, tv_usec = 999978}
#21 0x00007fcb75311ed0 in _tevent_loop_once (ev=ev@entry=0xc7c510, location=location@entry=0x46d83f "src/util/server.c:554") at ../tevent.c:506
        ret = <optimized out>
        nesting_stack_ptr = 0x0
#22 0x00007fcb7531205b in tevent_common_loop_wait (ev=0xc7c510, location=0x46d83f "src/util/server.c:554") at ../tevent.c:607
        ret = <optimized out>
#23 0x0000000000447b93 in server_loop (main_ctx=0xc7d620) at src/util/server.c:554
No locals.
#24 0x000000000040b670 in main (argc=<optimized out>, argv=<optimized out>) at src/providers/data_provider_be.c:2361
        opt = <optimized out>
        pc = <optimized out>
        be_domain = 0xc7b400 "ipalab.qe"
        srv_name = <optimized out>
        main_ctx = 0xc7d620
        confdb_path = <optimized out>
        ret = <optimized out>
        long_options = {{longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x678fa0, val = 0, descrip = 0x464133 "Help options:", argDescrip = 0x0}, {longName = 0x464141 "debug-level", 
            shortName = 100 'd', argInfo = 2, arg = 0x679084, val = 0, descrip = 0x46414d "Debug level", argDescrip = 0x0}, {longName = 0x464159 "debug-to-files", shortName = 102 'f', argInfo = 0, 
            arg = 0x679080, val = 0, descrip = 0x465330 "Send the debug output to files instead of stderr", argDescrip = 0x0}, {longName = 0x464168 "debug-timestamps", shortName = 0 '\000', argInfo = 2, 
            arg = 0x678df4, val = 0, descrip = 0x464179 "Add debug timestamps", argDescrip = 0x0}, {longName = 0x46418e "debug-microseconds", shortName = 0 '\000', argInfo = 2, arg = 0x678df0, val = 0, 
            descrip = 0x465368 "Show timestamps with microseconds", argDescrip = 0x0}, {longName = 0x4659bd "domain", shortName = 0 '\000', argInfo = 1, arg = 0x7fffb88f0990, val = 0, 
            descrip = 0x465390 "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"

Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.9.0 RC1
rhbz: => 0

Fields changed

owner: somebody => jhrozek
status: new => assigned

Fields changed

patch: 0 => 1

Fixed in master: 52828e4

milestone: SSSD 1.9.0 RC1 => SSSD 1.9.0 beta 7
resolution: => fixed
status: assigned => closed

Metadata Update from @sgallagh:
- Issue assigned to jhrozek
- Issue set to the milestone: SSSD 1.9.0 beta 7

2 years ago

Login to comment on this ticket.

Metadata