On Wed, February 1, 2012 15:04, Simo Sorce wrote: > On Wed, 2012-02-01 at 07:28 -0500, Stephen Gallagher wrote: > >> On Wed, 2012-02-01 at 11:02 +0100, Sigbjorn Lie wrote: >> >>> Hi, >>> >>> >>> Is this more like the expected output? :) >>> >>> >> >> No, I'm afraid it's not. That's a log of a legitimate shutdown, not a >> segmentation fault. (Receiving SIGTERM means that the monitor told the >> process to exit). >> >> Possibly this happened if the time between attaching to the process and >> typing 'cont' was more than about 30 seconds. The monitor will assume the >> sssd_be process isn't >> responding and will kill and restart it. >> >> You will know you got the correct results if you see >> >> >> "Program received signal SIGSEGV, Segmentation fault." >> >> >> and then you can immediately perform the 'bt full' > > For better results with gdb I suggest to kill SIGSTOP the monitor before > attaching gdb to any of the reponders or the providers, this way the monitor > will be prevented from > sending termination signals to the children. However, don't do this for long, > only for short > periods and kill SIGCONT back the monitor immediately after. > >
Please see below. Does this help? (gdb) bt full #0 sysdb_attrs_get_el_int (attrs=0x6c616d726f6e2d72, name=0x43c75d "name", alloc=true, el=0x7fffe9e0dab8) at src/db/sysdb.c:254 e = <value optimized out> i = <value optimized out> #1 0x00000000004221d7 in sysdb_attrs_primary_name (sysdb=0xf725e00, attrs=0x6c616d726f6e2d72, ldap_attr=0xf741110 "cn", _primary=0x7fffe9e0db58) at src/db/sysdb.c:2441 ret = <value optimized out> rdn_attr = 0x0 rdn_val = 0x0 sysdb_name_el = 0x61 orig_dn_el = <value optimized out> i = <value optimized out> tmpctx = 0xf768ce0 __FUNCTION__ = "sysdb_attrs_primary_name" #2 0x000000000042290d in sysdb_attrs_primary_name_list (sysdb=0xf725e00, mem_ctx=<value optimized out>, attr_list=0xf772e20, attr_count=2, ldap_attr=0xf741110 "cn", name_list=0x7fffe9e0dc88) at src/db/sysdb.c:2606 ret = 259427552 i = 1 j = 1 list = <value optimized out> name = 0xf769580 "ac_server-normal" __FUNCTION__ = "sysdb_attrs_primary_name_list" #3 0x00002b20c9684456 in sdap_initgr_nested_get_membership_diff ( state=0xf7726f0) at src/providers/ldap/sdap_async_accounts.c:3061 __FUNCTION__ = "sdap_initgr_nested_get_membership_diff" #4 sdap_initgr_store_group_memberships (state=0xf7726f0) at src/providers/ldap/sdap_async_accounts.c:2820 ret = 3 i = 0 tret = <value optimized out> tmp_ctx = 0xf76e930 miter = <value optimized out> memberships = <value optimized out> __FUNCTION__ = "sdap_initgr_store_group_memberships" #5 0x00002b20c96856fb in sdap_initgr_nested_store ( subreq=<value optimized out>) at src/providers/ldap/sdap_async_accounts.c:2742 __FUNCTION__ = "sdap_initgr_nested_store" #6 sdap_initgr_nested_search (subreq=<value optimized out>) at src/providers/ldap/sdap_async_accounts.c:2706 req = 0xf771fa0 state = 0xf7726f0 groups = 0xf76f110 count = 1 ret = 0 __FUNCTION__ = "sdap_initgr_nested_search" #7 0x00002b20c967babd in sdap_get_generic_done (op=<value optimized out>, reply=0xf76de70, error=0, pvt=<value optimized out>) at src/providers/ldap/sdap_async.c:989 req = 0xf772e20 state = <value optimized out> attrs = <value optimized out> errmsg = 0x0 result = 0 ret = <value optimized out> lret = <value optimized out> total_count = <value optimized out> cookie = {bv_len = 259448432, bv_val = 0x60 <Address 0x60 out of bounds>} returned_controls = 0x0 page_control = <value optimized out> __FUNCTION__ = "sdap_get_generic_done" #8 0x00002b20c967d8ff in sdap_process_message (ev=<value optimized out>, pvt=<value optimized out>) at src/providers/ldap/sdap_async.c:307 msgtype = 101 ret = 0 reply = 0xf76de70 op = 0xf76a970 msgid = <value optimized out> __FUNCTION__ = "sdap_process_message" #9 sdap_process_result (ev=<value optimized out>, pvt=<value optimized out>) at src/providers/ldap/sdap_async.c:207 sh = <value optimized out> no_timeout = {tv_sec = 0, tv_usec = 0} te = <value optimized out> msg = 0xf7610a0 ret = <value optimized out> __FUNCTION__ = "sdap_process_result" #10 0x00000039a2e034d3 in ?? () from /usr/lib64/libtevent.so.0 No symbol table info available. #11 0x00000039a2e0509b in ?? () from /usr/lib64/libtevent.so.0 No symbol table info available. #12 0x00000039a2e02690 in _tevent_loop_once () from /usr/lib64/libtevent.so.0 No symbol table info available. #13 0x00000039a2e026fb in ?? () from /usr/lib64/libtevent.so.0 No symbol table info available. #14 0x0000000000435771 in server_loop (main_ctx=0xf723b10) at src/util/server.c:526 No locals. #15 0x000000000040ef2f in main (argc=6, argv=0x7fffe9e0e408) at src/providers/data_provider_be.c:1333 opt = <value optimized out> pc = 0xf7215e0 be_domain = 0xf7219c0 "dns.domain" pc = 0xf7215e0 be_domain = 0xf7219c0 "dns.domain" ---Type <return> to continue, or q <return> to quit--- srv_name = <value optimized out> conf_entry = <value optimized out> main_ctx = 0xf723b10 ret = <value optimized out> long_options = {{longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x6496a0, val = 0, descrip = 0x43a7d2 "Help options:", argDescrip = 0x0}, {longName = 0x43a7e0 "debug-level", shortName = 100 'd', argInfo = 2, arg = 0x649778, val = 0, descrip = 0x43a7b1 "Debug level", argDescrip = 0x0}, { longName = 0x43a7ec "debug-to-files", shortName = 102 'f', argInfo = 0, arg = 0x64977c, val = 0, descrip = 0x43b448 "Send the debug output to files instead of stderr", argDescrip = 0x0}, {longName = 0x43a7fb "debug-timestamps", shortName = 0 '\000', argInfo = 2, arg = 0x649680, val = 0, descrip = 0x43a7bd "Add debug timestamps", argDescrip = 0x0}, { longName = 0x43bd90 "domain", shortName = 0 '\000', argInfo = 1, arg = 0x7fffe9e0e2c8, val = 0, descrip = 0x43b480 "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" _______________________________________________ Freeipa-users mailing list Freeipa-users@redhat.com https://www.redhat.com/mailman/listinfo/freeipa-users