Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sssd_be crashed with SIGSEGV in _tevent_schedule_immediate() #2385

Closed
sssd-bot opened this issue May 2, 2020 · 0 comments
Closed

sssd_be crashed with SIGSEGV in _tevent_schedule_immediate() #2385

sssd-bot opened this issue May 2, 2020 · 0 comments
Labels
Bugzilla Closed: Fixed Issue was closed as fixed.

Comments

@sssd-bot
Copy link

sssd-bot commented May 2, 2020

Cloned from Pagure issue: https://pagure.io/SSSD/sssd/issue/1343


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"

Comments


Comment from tjaalton at 2012-05-22 14:35:30

Fields changed

cc: => tjaalton


Comment from sgallagh at 2012-05-22 14:38:17

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 <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=) 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 =
filter =
search_bases_filter = 0x0
subreq =
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 =
filter =
search_bases_filter = 0x0
subreq =
state = 0x1448500
ret =
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 =
ret =
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 =
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 =
#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 =
pc =
be_domain = 0x1074400 "obfuscated"
srv_name =
main_ctx = 0x10756a0
confdb_path =
ret =
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 <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=) 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 =
filter =
search_bases_filter = 0x0
subreq =
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 =
filter =
search_bases_filter = 0x0
subreq =
state = 0x1448500
ret =
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 =
ret =
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 =
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 =
#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 =
pc =
be_domain = 0x1074400 "obfuscated"
srv_name =
main_ctx = 0x10756a0
confdb_path =
ret =
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"
}}}


Comment from jhrozek at 2012-05-22 18:27:43

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]


Comment from sgallagh at 2012-05-22 19:25:04

Fixed by:
- b49c47d (master)
- 6efb62b (sssd-1-8)

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


Comment from tjaalton at 2017-02-24 14:26:37

Metadata Update from @tjaalton:

  • Issue set to the milestone: SSSD 1.8.4 (LTM)
@sssd-bot sssd-bot added Bugzilla Closed: Fixed Issue was closed as fixed. labels May 2, 2020
@sssd-bot sssd-bot closed this as completed May 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugzilla Closed: Fixed Issue was closed as fixed.
Projects
None yet
Development

No branches or pull requests

1 participant