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

Segfault in sysdb test for recursive delete #1298

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

Segfault in sysdb test for recursive delete #1298

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

  • Created at 2009-11-04 16:04:36 by sgallagh
  • Closed as Fixed
  • Assigned to sbose

(gdb) bt full
#0 ltdb_filter_attrs (msg=0x14a1000, attrs=0x7fffabf5d440) at ldb_tdb/ldb_search.c:330
i =
#1 0x00007f204b48d112 in search_func (tdb=, key={dptr = 0x14a1020 "DN=CN=GROUPS,CN=LOCAL,CN=SYSDB", dsize = 31}, data=
{dptr = 0x14a103f "g\31\1&\1", dsize = 54}, state=) at ldb_tdb/ldb_search.c:418
ldb = 0x14abd00
msg = 0x14a1000
ret =
#2 0x0000003fd1a05a6c in ?? () from /usr/lib64/libtdb.so.1
No symbol table info available.
#3 0x0000003fd1a05c7b in tdb_traverse () from /usr/lib64/libtdb.so.1
No symbol table info available.
#4 0x00007f204b48cc51 in ltdb_search_full (ctx=) at ldb_tdb/ldb_search.c:447
data =
ret =
#5 ltdb_search (ctx=) at ldb_tdb/ldb_search.c:549
ldb = 0x14abd00
module = 0x14abdf0
req = 0x14ac5e0
data =
ret = 1
#6 0x00007f204b48bec8 in ltdb_callback (ev=, te=, t={tv_sec = 0, tv_usec = 0},
private_data=) at ldb_tdb/ldb_tdb.c:1096
ctx = 0x14a05a0
ret = 53
#7 0x0000003fbe002f25 in tevent_common_loop_timer_delay (ev=0x149fb10) at tevent_timed.c:254
current_time = {tv_sec = 0, tv_usec = 0}
te = 0x14a0f50
#8 0x0000003fbe00455b in std_event_loop_once (ev=0x149fb10) at tevent_standard.c:543
tval = {tv_sec = 0, tv_usec = 0}
#9 0x00000000004058c9 in test_loop (data=0x14a0ce0) at ../../server/tests/sysdb-tests.c:174
No locals.
#10 0x000000000040acab in test_sysdb_delete_recursive (_i=0) at ../../server/tests/sysdb-tests.c:2305
test_ctx = 0x149f7f0
data = 0x14a0ce0
subreq = 0x14a0ed0
ret = 0
#11 0x00007f204b26dbb8 in srunner_run_all () from /usr/lib64/libcheck.so.0
No symbol table info available.
#12 0x000000000040b4ee in main (argc=1, argv=0x7fffabf5db28) at ../../server/tests/sysdb-tests.c:2448
opt = -1
ret = 0
pc = 0x1496740
failure_count = 0
sysdb_suite = 0x1496a80
sr = 0x1497060
long_options = {{longName = 0x0, shortName = 0 '\0', argInfo = 4, arg = 0x637e00, val = 0, descrip = 0x42e1d8 "Help options:",
argDescrip = 0x0}, {longName = 0x42e1e6 "debug-level", shortName = 100 'd', argInfo = 2, arg = 0x637ee0, val = 0,
descrip = 0x42e1f2 "Debug level", argDescrip = 0x0}, {longName = 0x42e1fe "debug-to-files", shortName = 102 'f', argInfo = 0,
arg = 0x637ee8, val = 0, descrip = 0x42e210 "Send the debug output to files instead of stderr", argDescrip = 0x0}, {
longName = 0x42e241 "debug-timestamps", shortName = 0 '\0', argInfo = 0, arg = 0x637ee4, val = 0,
descrip = 0x42e252 "Add debug timestamps", argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\0', argInfo = 0, arg = 0x0,
val = 0, descrip = 0x0, argDescrip = 0x0}}

Comments


Comment from sgallagh at 2009-11-04 16:06:20

Sorry, forgot to include the steps to reproduce.

I ran with {{{ulimit -c unlimited}}} and {{{make CFLAGS+="-ggdb3 -O0" check}}} to acquire a core dump.


Comment from jgalipea at 2009-11-04 18:39:06

Can this be reproduced outside of a dev environment? If so, can you please add steps to reproduce - I would like to add a regression test for this.

tests: 0 => 1


Comment from jgalipea at 2009-11-04 19:15:05

Fields changed

tests: 1 => 0


Comment from sgallagh at 2009-11-09 20:15:43

Fixed in 6a8d1e9

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


Comment from dpal at 2012-01-19 02:33:19

Fields changed

rhbz: => 0


Comment from sgallagh at 2017-02-24 14:48:15

Metadata Update from @sgallagh:

  • Issue assigned to sbose
  • Issue set to the milestone: SSSD 1.0 RC
@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

2 participants