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 segfaults because of tevent_loop_once nesting #1352

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

sssd_be segfaults because of tevent_loop_once nesting #1352

sssd-bot opened this issue May 2, 2020 · 0 comments
Labels
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/310

  • Created at 2009-12-07 19:46:20 by sgallagh
  • Closed as Fixed
  • Assigned to simo

#0 0x000000341e6326b5 in raise (sig=) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
resultvar = 0
pid =
selftid =
#1 0x000000341e633e95 in abort () at abort.c:92
save_stage = 2
act = {__sigaction_handler = {sa_handler = 0x7fffd0952930, sa_sigaction = 0x7fffd0952930}, sa_mask = {__val = {0, 0, 30073984, 140736692824768, 139780152146584, 223847934728, 139780262522880, 0,
4294967295, 206158430224, 1, 223900372088, 0, 0, 0, 0}}, sa_flags = 505469824, sa_restorer = 0x1}
sigs = {__val = {32, 0 <repeats 15 times>}}
#2 0x00000034216025ae in tevent_abort (ev=, reason=0x1d09bb0 "tevent_loop_once() nesting at ../../server/providers/ldap/sdap_async_accounts.c:684") at tevent.c:340
No locals.
#3 0x00000034216027b5 in _tevent_loop_once (ev=0x1cae480, location=0x7f211a50ba98 "../../server/providers/ldap/sdap_async_accounts.c:684") at tevent.c:469
ret =
nesting_stack_ptr = 0x0
#4 0x00007f211a4e6439 in sdap_find_entry_by_origDN (memctx=0x1cf1530, ev=0x1cae480, handle=0x1cf1d50, domain=0x1caf610, orig_dn=0x1ce7850 "uid=admin,cn=users,cn=accounts,dc=sgallagh,dc=example,dc=com",
localdn=0x1cf1530) at ../../server/providers/ldap/sdap_async_accounts.c:684
req = 0x1d086a0
state = 0x1cfbf90
attrs = {0x0}
base_dn = 0x1cf0bd0
filter = 0x1d08e70 "originalDN=uid=admin,cn=users,cn=accounts,dc=sgallagh,dc=example,dc=com"
msgs = 0x10
num_msgs = 223848401501
ret = 32767
#5 0x00007f211a4e67ed in sdap_fill_memberships (group_attrs=0x1cd53b0, ev=0x1cae480, handle=0x1cf1d50, opts=0x1cc8fd0, domain=0x1caf610, values=0x1cf0190, num_values=1)
at ../../server/providers/ldap/sdap_async_accounts.c:755
el = 0x1d09cf0
i = 0
j = 0
ret = 0
FUNCTION = "sdap_fill_memberships"
#6 0x00007f211a4e7c91 in sdap_save_grpmem_send (memctx=0x1ce06b0, ev=0x1cae480, handle=0x1cf1d50, opts=0x1cc8fd0, dom=0x1caf610, attrs=0x1cd5890) at ../../server/providers/ldap/sdap_async_accounts.c:1053
req = 0x1d07f70
subreq = 0x341f604a7b
state = 0x1ce9dc0
el = 0x1ce7ad0
group_attrs = 0x1cd53b0
ret = 0
FUNCTION = "sdap_save_grpmem_send"
#7 0x00007f211a4e877a in sdap_save_groups_mem_save (req=0x1ce7c10) at ../../server/providers/ldap/sdap_async_accounts.c:1287
subreq = 0x1cf10a0
state = 0x1ce06b0
#8 0x00007f211a4e868d in sdap_save_groups_loop (subreq=0x0) at ../../server/providers/ldap/sdap_async_accounts.c:1265
req = 0x1ce7c10
state = 0x1ce06b0
timestamp = 0x0
ret = 0
FUNCTION = "sdap_save_groups_loop"
#9 0x00007f211a4e78a8 in sdap_save_group_done (subreq=0x0) at ../../server/providers/ldap/sdap_async_accounts.c:972
req = 0x1d09bb0
state = 0x1cf1dd0
ret = 0
FUNCTION = "sdap_save_group_done"
#10 0x0000000000429ab8 in sysdb_store_group_attr_done (subreq=0x0) at ../../server/db/sysdb_ops.c:2952
req = 0x1cee660
ret = 0
FUNCTION = "sysdb_store_group_attr_done"
#11 0x0000000000421efa in sysdb_set_group_attr_done (subreq=0x0) at ../../server/db/sysdb_ops.c:1212
req = 0x1d01870
ret = 0
FUNCTION = "sysdb_set_group_attr_done"
#12 0x000000000041e725 in sysdb_op_default_done (subreq=0x0) at ../../server/db/sysdb_ops.c:241
req = 0x1ceebd0
state = 0x1cf0a10
ret = 0
FUNCTION = "sysdb_op_default_done"
#13 0x000000000041e3ba in sldb_request_callback (ldbreq=0x1cf10a0, ldbreply=0x1d09cf0) at ../../server/db/sysdb_ops.c:163
req = 0x1d07f70
state = 0x1d07da0
err = 0
FUNCTION = "sldb_request_callback"
#14 0x00007f2121526a6a in ldb_module_done (req=0x1cf10a0, ctrls=0x0, response=0x0, error=0) at common/ldb_modules.c:732
ares = 0x6459
#15 0x00007f211a71f497 in mbof_orig_mod_callback (req=0x1d07e20, ares=0x0) at ../../server/ldb_modules/memberof.c:2611
ldb = 0x1cc3fc0
mod_ctx = 0x1cfbea0
ctx = 0x1ce9dc0
ret = 0
#16 0x00007f212153002d in ltdb_callback (ev=, te=, t=..., private_data=) at ldb_tdb/ldb_tdb.c:1129
ctx = 0x1d04240
ret =
#17 0x00000034216035b5 in tevent_common_loop_timer_delay (ev=0x1cae480) at tevent_timed.c:254
current_time = {tv_sec = 0, tv_usec = 0}
te = 0x1cee5b0
#18 0x000000342160541b in std_event_loop_once (ev=0x6459, location=) at tevent_standard.c:537
tval = {tv_sec = 0, tv_usec = 0}
#19 0x0000003421602780 in _tevent_loop_once (ev=0x1cae480, location=0x448238 "../../server/util/server.c:431") at tevent.c:490
ret =
nesting_stack_ptr = 0x0
#20 0x00000034216027fb in tevent_common_loop_wait (ev=0x1cae480, location=0x448238 "../../server/util/server.c:431") at tevent.c:591
ret =
#21 0x00000000004399ac in server_loop (main_ctx=0x1cae5b0) at ../../server/util/server.c:431
No locals.
#22 0x000000000040df6d in main (argc=7, argv=0x7fffd09535d8) at ../../server/providers/data_provider_be.c:1187
opt = -1
pc = 0x1cad030
be_domain = 0x1cad4f0 "sgallagh"
srv_name = 0x1cad0f0 "sssd[be[sgallagh]]"
conf_entry = 0x1cad160 "config/domain/sgallagh"
main_ctx = 0x1cae5b0
ret = 0
long_options = {{longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x64dd40, val = 0, descrip = 0x43d807 "Help options:", argDescrip = 0x0}, {longName = 0x43d815 "debug-level",
shortName = 100 'd', argInfo = 2, arg = 0x64de20, val = 0, descrip = 0x43d821 "Debug level", argDescrip = 0x0}, {longName = 0x43d82d "debug-to-files", shortName = 102 'f', argInfo = 0,
arg = 0x64de28, val = 0, descrip = 0x43d840 "Send the debug output to files instead of stderr", argDescrip = 0x0}, {longName = 0x43d871 "debug-timestamps", shortName = 0 '\000', argInfo = 0,
arg = 0x64de24, val = 0, descrip = 0x43d882 "Add debug timestamps", argDescrip = 0x0}, {longName = 0x43d897 "domain", shortName = 0 '\000', argInfo = 1, arg = 0x7fffd09534b0, val = 0,
descrip = 0x43d8a0 "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 sgallagh at 2009-12-07 22:24:51

Fixed by 0d251eb

fixedin: => 1.0.0
resolution: => fixed
status: new => closed


Comment from dpal at 2012-01-19 02:29:25

Fields changed

rhbz: => 0


Comment from sgallagh at 2017-02-24 14:37:34

Metadata Update from @sgallagh:

  • Issue assigned to simo
  • Issue set to the milestone: SSSD 1.0
@sssd-bot sssd-bot added the Closed: Fixed Issue was closed as fixed. label 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
Closed: Fixed Issue was closed as fixed.
Projects
None yet
Development

No branches or pull requests

1 participant