#1343 sssd_be crashed with SIGSEGV in _tevent_schedule_immediate()
Closed: Fixed Opened by tjaalton.

sssd_be seems to be crashing frequently for some users running 1.8.2 on Ubuntu 12.04, here's one backtrace:

#0  _tevent_schedule_immediate (im=0x1687750, ev=0x656863694d3d4e43, handler=0x7fbd3d7155a0 <tevent_req_trigger>, private_data=0x1196170, handler_name=0x7fbd3d71905e "tevent_req_trigger", location=0x7fbd3d71904a "../tevent_req.c:174") at ../tevent.c:413
No locals.
#1  0x00007fbd3d715505 in tevent_req_post (req=0x1196170, ev=<optimized out>) at ../tevent_req.c:173
No locals.
#2  0x00007fbd349d29d2 in sdap_nested_group_lookup_group (req=0x1196170) at ../src/providers/ldap/sdap_async_groups.c:2589
        ret = 0
        sdap_attrs = <optimized out>
        filter = <optimized out>
        search_bases_filter = 0x0
        subreq = <optimized out>
        state = 0x1448500
        __FUNCTION__ = "sdap_nested_group_lookup_group"
#3  0x00007fbd349d3168 in sdap_nested_group_lookup_user (req=0x1196170, fn=0x7fbd349d3330 <sdap_nested_group_process_ldap_user>) at ../src/providers/ldap/sdap_async_groups.c:2490
        sdap_attrs = <optimized out>
        filter = <optimized out>
        search_bases_filter = 0x0
        subreq = <optimized out>
        state = 0x1448500
        ret = <optimized out>
        __FUNCTION__ = "sdap_nested_group_lookup_user"
#4  0x00007fbd349d2c33 in sdap_nested_group_process_noderef (req=0x1196170) at ../src/providers/ldap/sdap_async_groups.c:2460
        state = 0x1448500
        dctx = <optimized out>
        ret = <optimized out>
        __FUNCTION__ = "sdap_nested_group_process_noderef"
#5  0x00007fbd349d3271 in sdap_group_internal_nesting_done (subreq=0x0) at ../src/providers/ldap/sdap_async_groups.c:2827
        ret = 0
        req = 0x1196170
        state = 0x1448500
#6  0x00007fbd3d714e62 in tevent_common_loop_immediate (ev=0x10745d0) at ../tevent_immediate.c:135
        im = 0x11b8980
        handler = 0x7fbd3d7155a0 <tevent_req_trigger>
        private_data = 0x143dfa0
#7  0x00007fbd3d717386 in std_event_loop_once (ev=0x10745d0, location=<optimized out>) at ../tevent_standard.c:554
        std_ev = 0x1074690
        tval = {tv_sec = 0, tv_usec = 0}
#8  0x00007fbd3d714620 in _tevent_loop_once (ev=0x10745d0, location=0x468a71 "../src/util/server.c:572") at ../tevent.c:504
        ret = <optimized out>
        nesting_stack_ptr = 0x0
#9  0x00007fbd3d7147ab in tevent_common_loop_wait (ev=0x10745d0, location=0x468a71 "../src/util/server.c:572") at ../tevent.c:605
        ret = <optimized out>
#10 0x0000000000443723 in server_loop (main_ctx=0x10756a0) at ../src/util/server.c:572
No locals.
#11 0x000000000040b222 in main (argc=<optimized out>, argv=<optimized out>) at ../src/providers/data_provider_be.c:2105
        opt = <optimized out>
        pc = <optimized out>
        be_domain = 0x1074400 "obfuscated"
        srv_name = <optimized out>
        main_ctx = 0x10756a0
        confdb_path = <optimized out>
        ret = <optimized out>
        long_options = {{longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x673f20, val = 0, descrip = 0x45f538 "Help options:", argDescrip = 0x0}, {longName = 0x45f546 "debug-level", shortName = 100 'd', argInfo = 2, arg = 0x67400c, val = 0, descrip = 0x45f552 "Debug level", argDescrip = 0x0}, {longName = 0x45f55e "debug-to-files", shortName = 102 'f', argInfo = 0, arg = 0x674008, val = 0, descrip = 0x4605f8 "Send the debug output to files instead of stderr", argDescrip = 0x0}, {longName = 0x45f56d "debug-timestamps", shortName = 0 '\000', argInfo = 2, arg = 0x673d74, val = 0, descrip = 0x45f57e "Add debug timestamps", argDescrip = 0x0}, {longName = 0x45f593 "debug-microseconds", shortName = 0 '\000', argInfo = 2, arg = 0x673d70, val = 0, descrip = 0x460630 "Show timestamps with microseconds", argDescrip = 0x0}, {longName = 0x460bfa "domain", shortName = 0 '\000', argInfo = 1, arg = 0x7fff2461f750, val = 0, descrip = 0x460658 "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

cc: => tjaalton

Fields changed

description: sssd_be seems to be crashing frequently for some users running 1.8.2 on Ubuntu 12.04, here's one backtrace:

0 _tevent_schedule_immediate (im=0x1687750, ev=0x656863694d3d4e43, handler=0x7fbd3d7155a0 , private_data=0x1196170, handler_name=0x7fbd3d71905e "tevent_req_trigger", location=0x7fbd3d71904a "../tevent_req.c:174") at ../tevent.c:413

No locals.

1 0x00007fbd3d715505 in tevent_req_post (req=0x1196170, ev=) at ../tevent_req.c:173

No locals.

2 0x00007fbd349d29d2 in sdap_nested_group_lookup_group (req=0x1196170) at ../src/providers/ldap/sdap_async_groups.c:2589

    ret = 0
    sdap_attrs = <optimized out>
    filter = <optimized out>
    search_bases_filter = 0x0
    subreq = <optimized out>
    state = 0x1448500
    __FUNCTION__ = "sdap_nested_group_lookup_group"

3 0x00007fbd349d3168 in sdap_nested_group_lookup_user (req=0x1196170, fn=0x7fbd349d3330 ) at ../src/providers/ldap/sdap_async_groups.c:2490

    sdap_attrs = <optimized out>
    filter = <optimized out>
    search_bases_filter = 0x0
    subreq = <optimized out>
    state = 0x1448500
    ret = <optimized out>
    __FUNCTION__ = "sdap_nested_group_lookup_user"

4 0x00007fbd349d2c33 in sdap_nested_group_process_noderef (req=0x1196170) at ../src/providers/ldap/sdap_async_groups.c:2460

    state = 0x1448500
    dctx = <optimized out>
    ret = <optimized out>
    __FUNCTION__ = "sdap_nested_group_process_noderef"

5 0x00007fbd349d3271 in sdap_group_internal_nesting_done (subreq=0x0) at ../src/providers/ldap/sdap_async_groups.c:2827

    ret = 0
    req = 0x1196170
    state = 0x1448500

6 0x00007fbd3d714e62 in tevent_common_loop_immediate (ev=0x10745d0) at ../tevent_immediate.c:135

    im = 0x11b8980
    handler = 0x7fbd3d7155a0 <tevent_req_trigger>
    private_data = 0x143dfa0

7 0x00007fbd3d717386 in std_event_loop_once (ev=0x10745d0, location=) at ../tevent_standard.c:554

    std_ev = 0x1074690
    tval = {tv_sec = 0, tv_usec = 0}

8 0x00007fbd3d714620 in _tevent_loop_once (ev=0x10745d0, location=0x468a71 "../src/util/server.c:572") at ../tevent.c:504

    ret = <optimized out>
    nesting_stack_ptr = 0x0

9 0x00007fbd3d7147ab in tevent_common_loop_wait (ev=0x10745d0, location=0x468a71 "../src/util/server.c:572") at ../tevent.c:605

    ret = <optimized out>

10 0x0000000000443723 in server_loop (main_ctx=0x10756a0) at ../src/util/server.c:572

No locals.

11 0x000000000040b222 in main (argc=, argv=) at ../src/providers/data_provider_be.c:2105

    opt = <optimized out>
    pc = <optimized out>
    be_domain = 0x1074400 "obfuscated"
    srv_name = <optimized out>
    main_ctx = 0x10756a0
    confdb_path = <optimized out>
    ret = <optimized out>
    long_options = {{longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x673f20, val = 0, descrip = 0x45f538 "Help options:", argDescrip = 0x0}, {longName = 0x45f546 "debug-level", shortName = 100 'd', argInfo = 2, arg = 0x67400c, val = 0, descrip = 0x45f552 "Debug level", argDescrip = 0x0}, {longName = 0x45f55e "debug-to-files", shortName = 102 'f', argInfo = 0, arg = 0x674008, val = 0, descrip = 0x4605f8 "Send the debug output to files instead of stderr", argDescrip = 0x0}, {longName = 0x45f56d "debug-timestamps", shortName = 0 '\000', argInfo = 2, arg = 0x673d74, val = 0, descrip = 0x45f57e "Add debug timestamps", argDescrip = 0x0}, {longName = 0x45f593 "debug-microseconds", shortName = 0 '\000', argInfo = 2, arg = 0x673d70, val = 0, descrip = 0x460630 "Show timestamps with microseconds", argDescrip = 0x0}, {longName = 0x460bfa "domain", shortName = 0 '\000', argInfo = 1, arg = 0x7fff2461f750, val = 0, descrip = 0x460658 "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"

=> sssd_be seems to be crashing frequently for some users running 1.8.2 on Ubuntu 12.04, here's one backtrace:
{{{

0 _tevent_schedule_immediate (im=0x1687750, ev=0x656863694d3d4e43, handler=0x7fbd3d7155a0 , private_data=0x1196170, handler_name=0x7fbd3d71905e "tevent_req_trigger", location=0x7fbd3d71904a "../tevent_req.c:174") at ../tevent.c:413

No locals.

1 0x00007fbd3d715505 in tevent_req_post (req=0x1196170, ev=) at ../tevent_req.c:173

No locals.

2 0x00007fbd349d29d2 in sdap_nested_group_lookup_group (req=0x1196170) at ../src/providers/ldap/sdap_async_groups.c:2589

    ret = 0
    sdap_attrs = <optimized out>
    filter = <optimized out>
    search_bases_filter = 0x0
    subreq = <optimized out>
    state = 0x1448500
    __FUNCTION__ = "sdap_nested_group_lookup_group"

3 0x00007fbd349d3168 in sdap_nested_group_lookup_user (req=0x1196170, fn=0x7fbd349d3330 ) at ../src/providers/ldap/sdap_async_groups.c:2490

    sdap_attrs = <optimized out>
    filter = <optimized out>
    search_bases_filter = 0x0
    subreq = <optimized out>
    state = 0x1448500
    ret = <optimized out>
    __FUNCTION__ = "sdap_nested_group_lookup_user"

4 0x00007fbd349d2c33 in sdap_nested_group_process_noderef (req=0x1196170) at ../src/providers/ldap/sdap_async_groups.c:2460

    state = 0x1448500
    dctx = <optimized out>
    ret = <optimized out>
    __FUNCTION__ = "sdap_nested_group_process_noderef"

5 0x00007fbd349d3271 in sdap_group_internal_nesting_done (subreq=0x0) at ../src/providers/ldap/sdap_async_groups.c:2827

    ret = 0
    req = 0x1196170
    state = 0x1448500

6 0x00007fbd3d714e62 in tevent_common_loop_immediate (ev=0x10745d0) at ../tevent_immediate.c:135

    im = 0x11b8980
    handler = 0x7fbd3d7155a0 <tevent_req_trigger>
    private_data = 0x143dfa0

7 0x00007fbd3d717386 in std_event_loop_once (ev=0x10745d0, location=) at ../tevent_standard.c:554

    std_ev = 0x1074690
    tval = {tv_sec = 0, tv_usec = 0}

8 0x00007fbd3d714620 in _tevent_loop_once (ev=0x10745d0, location=0x468a71 "../src/util/server.c:572") at ../tevent.c:504

    ret = <optimized out>
    nesting_stack_ptr = 0x0

9 0x00007fbd3d7147ab in tevent_common_loop_wait (ev=0x10745d0, location=0x468a71 "../src/util/server.c:572") at ../tevent.c:605

    ret = <optimized out>

10 0x0000000000443723 in server_loop (main_ctx=0x10756a0) at ../src/util/server.c:572

No locals.

11 0x000000000040b222 in main (argc=, argv=) at ../src/providers/data_provider_be.c:2105

    opt = <optimized out>
    pc = <optimized out>
    be_domain = 0x1074400 "obfuscated"
    srv_name = <optimized out>
    main_ctx = 0x10756a0
    confdb_path = <optimized out>
    ret = <optimized out>
    long_options = {{longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x673f20, val = 0, descrip = 0x45f538 "Help options:", argDescrip = 0x0}, {longName = 0x45f546 "debug-level", shortName = 100 'd', argInfo = 2, arg = 0x67400c, val = 0, descrip = 0x45f552 "Debug level", argDescrip = 0x0}, {longName = 0x45f55e "debug-to-files", shortName = 102 'f', argInfo = 0, arg = 0x674008, val = 0, descrip = 0x4605f8 "Send the debug output to files instead of stderr", argDescrip = 0x0}, {longName = 0x45f56d "debug-timestamps", shortName = 0 '\000', argInfo = 2, arg = 0x673d74, val = 0, descrip = 0x45f57e "Add debug timestamps", argDescrip = 0x0}, {longName = 0x45f593 "debug-microseconds", shortName = 0 '\000', argInfo = 2, arg = 0x673d70, val = 0, descrip = 0x460630 "Show timestamps with microseconds", argDescrip = 0x0}, {longName = 0x460bfa "domain", shortName = 0 '\000', argInfo = 1, arg = 0x7fff2461f750, val = 0, descrip = 0x460658 "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"

}}}

Ticket has been cloned to Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=824062

rhbz: => [https://bugzilla.redhat.com/show_bug.cgi?id=824062 824062]

Fixed by:
- b49c47d573208f22a40214a728112949956acb57 (master)
- 6efb62b8b94405cfd0afecbf2d04985b6f44419b (sssd-1-8)

component: SSSD => LDAP Provider
milestone: NEEDS_TRIAGE => SSSD 1.8.4 (LTM)
priority: major => blocker
resolution: => fixed
status: new => closed

Metadata Update from @tjaalton:
- Issue set to the milestone: SSSD 1.8.4 (LTM)

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

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