GNU gdb (GDB) Red Hat Enterprise Linux (7.2-48.el6) Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /home/makerpm/rpmbuild/SOURCES/sssd-1.5.12/sysdb-tests...done. [?1034h(gdb) run Starting program: /home/makerpm/rpmbuild/SOURCES/sssd-1.5.12/sysdb-tests [Thread debugging using libthread_db enabled] Running suite(s): sysdb Program received signal SIGSEGV, Segmentation fault. hash_count (table=0x0) at dhash/dhash.c:722 722 { (gdb) bt full #0 hash_count (table=0x0) at dhash/dhash.c:722 No locals. #1 0x00007ffff7b9c51b in mbof_hash_copy (src=0x0, dst=0x7fffffffdb98) at src/ldb_modules/memberof.c:460 entries = 0x0 ret = 6714495 count = 17179859912 i = 0 #2 0x00007ffff7b9de54 in mbof_update (update_ctx=0x6478e0) at src/ldb_modules/memberof.c:1276 ldb = 0x6499e0 msg = 0x669ab0 child = 0x6520d0 el = 0x665b50 rc_el = 0x665b70 new_el = 0x0 new_rc_el = 0x0 valdn = 0x7fffffffdc70 i = 0 rc = 0 first_rc = 0 key = {type = 4294959932, { str = 0x7ffff7ba2441 "UH\211\345H\203\354`H\211}\270H\211u\260\211U\254\306E\377", ul = 140737349559361}} value = {type = 4156185272, {ptr = 0x3d3d4003a8, i = 1027605416, ui = 1027605416, l = 263020610472, ul = 263020610472, f = 0.0468784869, d = 1.2994944778240761e-312}} process = 0x0 ret = 0 hret = 16843009 is_user = true child_name = 0x64f780 "testuser27000" mod_req = 0x1 flags = 2 del_ctx = 0x7ffff7ba2441 #3 0x00007ffff7ba255c in mbof_mod_del_next_child_cb (pvt=0x64df20, children=0x64db40, num=1) at src/ldb_modules/memberof.c:3433 del_ctx = 0x64df20 mod_ctx = 0x651f50 update_ctx = 0x6478e0 i = 1 ret = 0 dn = 0x66ac30 full_search = false key = {type = HASH_KEY_STRING, { str = 0x66acd0 "name=testuser27000,cn=users,cn=LOCAL,cn=sysdb", ul = 6728912}} #4 0x00007ffff7b9e770 in mbof_subtree_get_cb (req=0x667570, ares=0x651e40) at src/ldb_modules/memberof.c:1543 subtree_ctx = 0x666590 msg = 0x64ffc0 ctx = 0x64dd40 ret = 0 #5 0x000000317fc1b7ed in ltdb_callback (ev=, te=, t=..., private_data=) at ldb_tdb/ldb_tdb.c:1222 ctx = 0x66f210 ret = #6 0x0000003d3c8034e5 in tevent_common_loop_timer_delay (ev=0x644a80) at tevent_timed.c:254 current_time = {tv_sec = 0, tv_usec = 0} te = 0x66f2b0 #7 0x0000003d3c80531b in std_event_loop_once (ev=, location=) at tevent_standard.c:537 std_ev = 0x645260 tval = {tv_sec = 0, tv_usec = 0} #8 0x0000003d3c8026d0 in _tevent_loop_once (ev=0x644a80, location=0x317fc27303 "common/ldb.c:578") at tevent.c:490 ret = nesting_stack_ptr = 0x0 #9 0x000000317fc0a464 in ldb_wait (handle=0x64b740, type=LDB_WAIT_ALL) at common/ldb.c:578 ev = 0x644a80 ret = #10 0x000000317fc0b7ec in ldb_autotransaction_request (ldb=0x6499e0, req=0x66b760) at common/ldb.c:530 ret = 0 #11 0x000000317fc0b971 in ldb_modify (ldb=0x6499e0, message=0x64ce30) at common/ldb.c:1423 req = 0x66b760 ret = 0 #12 0x000000000041d3bf in sysdb_mod_group_member (mem_ctx=0x653e30, ctx=0x654260, member_dn=0x66ba80, group_dn=0x66af00, mod_op=3) at src/db/sysdb_ops.c:1238 msg = 0x64ce30 dn = 0x665130 "name=testuser27000,cn=users,cn=LOCAL,cn=sysdb" ret = 0 __FUNCTION__ = "sysdb_mod_group_member" #13 0x000000000041e646 in sysdb_remove_group_member (ctx=0x654260, domain=0x64c3d0, group=0x64e880 "testgroup28001", member=0x43699a "testuser27000", type=SYSDB_MEMBER_USER) at src/db/sysdb_ops.c:1670 group_dn = 0x66af00 member_dn = 0x66ba80 ret = 0 tmp_ctx = 0x653e30 #14 0x0000000000422e46 in sysdb_update_members (sysdb=0x654260, domain=0x64c3d0, member=0x43699a "testuser27000", type=SYSDB_MEMBER_USER, add_groups=0x64e070, del_groups=0x649ee0) at src/db/sysdb_ops.c:2666 ret = 0 i = 0 tmp_ctx = 0x649b10 __FUNCTION__ = "sysdb_update_members" #15 0x000000000040c688 in test_sysdb_update_members (_i=0) at src/tests/sysdb-tests.c:2238 test_ctx = 0x645a80 add_groups = 0x64e070 del_groups = 0x649ee0 ret = 0 user = 0x43699a "testuser27000" #16 0x00007ffff7de387e in tcase_run_tfun_nofork (sr=0x644360, print_mode=) at check_run.c:297 No locals. #17 srunner_iterate_tcase_tfuns (sr=0x644360, print_mode=) at check_run.c:172 i = 0 tfl = 0x643030 tfun = 0x6433b0 tr = #18 srunner_run_tcase (sr=0x644360, print_mode=) at check_run.c:286 No locals. #19 srunner_iterate_suites (sr=0x644360, print_mode=) at check_run.c:141 s = slst = tcl = tc = 0x643370 #20 srunner_run_all (sr=0x644360, print_mode=) at check_run.c:535 old_action = {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, sa_mask = {__val = {0, 261993005094, 140737488347392, 33, 140737351890480, 1980170558, 262953540423, 262966092368, 140737354031104, 140733193388094, 4294967295, 0, 1, 2124464, 0, 0}}, sa_flags = 0, sa_restorer = 0x3d3a00f490 <__restore_rt>} new_action = {__sigaction_handler = { sa_handler = 0x7ffff7de31f0 , sa_sigaction = 0x7ffff7de31f0 }, sa_mask = {__val = { 0 }}, sa_flags = 0, sa_restorer = 0} #21 0x000000000040ffe8 in main (argc=1, argv=0x7fffffffe5e8) at src/tests/sysdb-tests.c:3139 opt = -1 ret = 0 pc = 0x643010 failure_count = 0 no_cleanup = 0 sysdb_suite = 0x643350 sr = 0x644360 long_options = {{longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x642f00, val = 0, descrip = 0x437c41 "Help options:", argDescrip = 0x0}, {longName = 0x437c4f "debug-level", shortName = 100 'd', argInfo = 2, arg = 0x642fe0, val = 0, descrip = 0x437bb6 "Debug level", argDescrip = 0x0}, { longName = 0x437c5b "debug-to-files", shortName = 102 'f', argInfo = 0, arg = 0x642fe4, val = 0, descrip = 0x437bc8 "Send the debug output to files instead of stderr", argDescrip = 0x0}, {longName = 0x437c6a "debug-timestamps", shortName = 0 '\000', argInfo = 2, arg = 0x642ec0, val = 0, descrip = 0x437bf9 "Add debug timestamps", argDescrip = 0x0}, { longName = 0x437c7b "no-cleanup", shortName = 110 'n', argInfo = 0, arg = 0x7fffffffe4b4, val = 0, descrip = 0x437c10 "Do not delete the test database after a test run", argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\000', argInfo = 0, arg = 0x0, val = 0, descrip = 0x0, argDescrip = 0x0}} (gdb) quit A debugging session is active. Inferior 1 [process 19298] will be killed. Quit anyway? (y or n)