#256 Segfault in sysdb test for recursive delete
Closed: Fixed None Opened 14 years ago by sgallagh.

(gdb) bt full
#0  ltdb_filter_attrs (msg=0x14a1000, attrs=0x7fffabf5d440) at ldb_tdb/ldb_search.c:330
        i = <value optimized out>
#1  0x00007f204b48d112 in search_func (tdb=<value optimized out>, key={dptr = 0x14a1020 "DN=CN=GROUPS,CN=LOCAL,CN=SYSDB", dsize = 31}, data=
      {dptr = 0x14a103f "g\31\1&\1", dsize = 54}, state=<value optimized out>) at ldb_tdb/ldb_search.c:418
        ldb = 0x14abd00
        msg = 0x14a1000
        ret = <value optimized out>
#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=<value optimized out>) at ldb_tdb/ldb_search.c:447
        data = <value optimized out>
        ret = <value optimized out>
#5  ltdb_search (ctx=<value optimized out>) at ldb_tdb/ldb_search.c:549
        ldb = 0x14abd00
        module = 0x14abdf0
        req = 0x14ac5e0
        data = <value optimized out>
        ret = 1
#6  0x00007f204b48bec8 in ltdb_callback (ev=<value optimized out>, te=<value optimized out>, t={tv_sec = 0, tv_usec = 0}, 
    private_data=<value optimized out>) 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}}

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.

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

Fields changed

tests: 1 => 0

Fixed in 6a8d1e9

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

Fields changed

rhbz: => 0

Metadata Update from @sgallagh:
- Issue assigned to sbose
- Issue set to the milestone: SSSD 1.0 RC

7 years ago

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

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.

Login to comment on this ticket.

Metadata