[PATCHES] GPO support for the AD DC (vers 5)

Garming Sam garming at catalyst.net.nz
Wed Nov 1 22:23:58 UTC 2017


Hi,

Seen a failure in our test suites with the patches:

[57(928)/2209 at 47m30s] samba.tests.tdb_util
[58(929)/2209 at 47m31s] samba.tests.tdb_util.python3
[59(930)/2209 at 47m31s] samba.tests.pam_winbind(local)(ad_member)
ERROR: Testsuite[samba.tests.pam_winbind(local)(ad_member)]
REASON: unable to set up environment ad_member - exiting


Freed frame ../source3/utils/net.c:917, expected 
../source3/libsmb/namequery.c:2871.
PANIC (pid 30133): Frame not freed in order.
BACKTRACE: 10 stack frames:
  #0 bin/shared/libsmbconf.so.0(log_stack_trace+0x1f) [0x2b386416106e]
  #1 bin/shared/libsmbconf.so.0(smb_panic_s3+0x6f) [0x2b3864160eb9]
  #2 bin/shared/libsamba-util.so.0(smb_panic+0x28) [0x2b3863f60df8]
  #3 bin/shared/libsamba-util.so.0(+0x25fe3) [0x2b3863f63fe3]
  #4 bin/shared/private/libtalloc.so.2(+0x36a6) [0x2b38641bd6a6]
  #5 bin/shared/private/libtalloc.so.2(+0x3a2c) [0x2b38641bda2c]
  #6 bin/shared/private/libtalloc.so.2(_talloc_free+0x102) [0x2b38641bece7]
  #7 ./bin/net(main+0xf24) [0x2b38637dc214]
  #8 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) 
[0x2b38658a7f45]
  #9 ./bin/net(+0x246b9) [0x2b38637c26b9]


It looks like the talloc stackframe work hasn't quite been completed. 
There seems be another location which has not yet been included.


Cheers,


Garming


On 02/11/17 10:01, David Mulder via samba-technical wrote:
> Here is a patch to improve the formatting.
>
> On 11/01/2017 01:08 PM, Andrew Bartlett wrote:
>> On Thu, 2017-11-02 at 06:10 +1300, Andrew Bartlett via samba-technical
>> wrote:
>>> On Wed, 2017-11-01 at 11:01 -0600, David Mulder wrote:
>>>> Oh, sorry. It actually all came through in a single email (labeled one
>>>> of thirty).
>>> Sorry, didn't scroll down ;-)
>>>
>>>> But it looks as though I missed a commit anyhow, since there
>>>> should be 31 commits, not 30.
>>>> Here is an attachment, and is posted to my github repo:
>>>> https://github.com/dmulder/samba/tree/garming-gpo-david-rebased
>>> Thanks!
>> I've pushed it back to garming-gpo-david-rebased after some squashing.
>>
>> The diff is:
>>
>> diff --git a/libgpo/pygpo.c b/libgpo/pygpo.c
>> index 38844e5a43e..4f53981ec83 100644
>> --- a/libgpo/pygpo.c
>> +++ b/libgpo/pygpo.c
>> @@ -70,7 +70,7 @@ static PyObject *py_gpo_get_unix_path(PyObject *self, PyObject *args,
>>          TALLOC_CTX *frame = NULL;
>>          static const char *kwlist[] = {"cache_dir", NULL};
>>          struct GROUP_POLICY_OBJECT *gpo_ptr \
>> -               = pytalloc_get_type(self, struct GROUP_POLICY_OBJECT);
>> +               = (struct GROUP_POLICY_OBJECT *)pytalloc_get_ptr(self);
>>   
>>          if (!PyArg_ParseTupleAndKeywords(args, kwds, "|s", discard_const_p(char *, kwlist), &cache_dir)) {
>>                  PyErr_SetString(PyExc_SystemError, "Failed to parse arguments to gpo_get_unix_path()");
>>
>>
>> I'll try to get this reviewed into master during the next little while.
>>
>> Thanks,
>>
>> Andrew Bartlett
>>

-------------- next part --------------
Note: Writing oLschema2ldif.1
[4219/4223] Generating man/gentest.1
Note: Writing smbtorture.1
[4220/4223] Generating man/masktest.1
Note: Writing gentest.1
Note: Writing masktest.1
[4221/4223] Generating man/locktest.1
[4222/4223] Generating man/nmblookup4.1
Note: Writing locktest.1
Note: Writing nmblookup4.1
[4223/4223] Generating man/samba_gpoupdate.8
Note: Writing samba_gpoupdate.8
Waf: Leaving directory `/home/ubuntu/autobuild/b23433/samba/bin'
'build' finished successfully (48m35.150s)
'test' finished successfully (0.104s)
Waf: Entering directory `/home/ubuntu/autobuild/b23433/samba/bin'
	Selected embedded Heimdal build
Waf: Leaving directory `/home/ubuntu/autobuild/b23433/samba/bin'
'build' finished successfully (42.963s)
skipping subunit (testscenarios not available)
OPTIONS --configfile=$SMB_CONF_PATH --option='fss:sequence timeout=1' --maximum-runtime=$SELFTEST_MAXTIME --basedir=$SELFTEST_TMPDIR --format=subunit --option=torture:progress=no
WARNING: The "lsa over netlogon" option is deprecated
WARNING: The "lsa over netlogon" option is deprecated
WARNING: The "lsa over netlogon" option is deprecated
WARNING: The "lsa over netlogon" option is deprecated
WARNING: The "lsa over netlogon" option is deprecated
WARNING: The "lsa over netlogon" option is deprecated
WARNING: The "lsa over netlogon" option is deprecated
WARNING: The "lsa over netlogon" option is deprecated
samba version 4.8.0pre1-DEVELOPERBUILD started.
Copyright Andrew Tridgell and the Samba Team 1992-2017
binary_smbd_main: samba PID 32064 was called with maxruntime 21600 - current ts 1509567978
binary_smbd_main: samba: using 'standard' process model
/home/ubuntu/autobuild/b23433/samba/bin/winbindd: mkdir failed on directory /home/ubuntu/autobuild/b23433/prefix/samba/var/cores: No such file or directory
/home/ubuntu/autobuild/b23433/samba/bin/winbindd: Failed to create /home/ubuntu/autobuild/b23433/prefix/samba/var/cores for user 0 with mode 0700
/home/ubuntu/autobuild/b23433/samba/bin/winbindd: Unable to setup corepath for winbindd: No such file or directory
/home/ubuntu/autobuild/b23433/samba/bin/winbindd: mkdir failed on directory /home/ubuntu/autobuild/b23433/prefix/samba/var/cores: No such file or directory
/home/ubuntu/autobuild/b23433/samba/bin/winbindd: Failed to create /home/ubuntu/autobuild/b23433/prefix/samba/var/cores for user 0 with mode 0700
/home/ubuntu/autobuild/b23433/samba/bin/winbindd: Unable to setup corepath for winbindd: No such file or directory
/home/ubuntu/autobuild/b23433/samba/bin/winbindd: winbindd version 4.8.0pre1-DEVELOPERBUILD started.
/home/ubuntu/autobuild/b23433/samba/bin/winbindd: Copyright Andrew Tridgell and the Samba Team 1992-2017
/home/ubuntu/autobuild/b23433/samba/bin/winbindd: WARNING: The "lsa over netlogon" option is deprecated
/home/ubuntu/autobuild/b23433/samba/bin/winbindd: WARNING: The "lsa over netlogon" option is deprecated
/home/ubuntu/autobuild/b23433/samba/bin/winbindd: initialize_winbindd_cache: clearing cache and re-creating with version number 2
/home/ubuntu/autobuild/b23433/samba/bin/winbindd: daemon_ready: STATUS=daemon 'winbindd' finished starting up and ready to serve connections
/home/ubuntu/autobuild/b23433/samba/source4/scripting/bin/samba_spnupdate: WARNING: The "lsa over netlogon" option is deprecated
/home/ubuntu/autobuild/b23433/samba/source4/scripting/bin/samba_dnsupdate: WARNING: The "lsa over netlogon" option is deprecated
Doing a full scan on DC=ForestDnsZones,DC=samba,DC=example,DC=com and looking for deleted objects
Doing a full scan on DC=DomainDnsZones,DC=samba,DC=example,DC=com and looking for deleted objects
Doing a full scan on CN=Configuration,DC=samba,DC=example,DC=com and looking for deleted objects
Doing a full scan on DC=samba,DC=example,DC=com and looking for deleted objects
/home/ubuntu/autobuild/b23433/samba/source4/scripting/bin/samba_kcc: WARNING: The "lsa over netlogon" option is deprecated
/home/ubuntu/autobuild/b23433/samba/source4/scripting/bin/samba_kcc: WARNING: The "lsa over netlogon" option is deprecated
/home/ubuntu/autobuild/b23433/samba/source4/scripting/bin/samba_spnupdate: WARNING: The "lsa over netlogon" option is deprecated
/home/ubuntu/autobuild/b23433/samba/source4/scripting/bin/samba_dnsupdate: WARNING: The "lsa over netlogon" option is deprecated
/home/ubuntu/autobuild/b23433/samba/source4/scripting/bin/samba_kcc: WARNING: The "lsa over netlogon" option is deprecated
/home/ubuntu/autobuild/b23433/samba/source4/scripting/bin/samba_kcc: WARNING: The "lsa over netlogon" option is deprecated
/home/ubuntu/autobuild/b23433/samba/source4/scripting/bin/samba_spnupdate: WARNING: The "lsa over netlogon" option is deprecated
/home/ubuntu/autobuild/b23433/samba/source4/scripting/bin/samba_dnsupdate: WARNING: The "lsa over netlogon" option is deprecated
/home/ubuntu/autobuild/b23433/samba/source4/scripting/bin/samba_kcc: WARNING: The "lsa over netlogon" option is deprecated
/home/ubuntu/autobuild/b23433/samba/source4/scripting/bin/samba_kcc: WARNING: The "lsa over netlogon" option is deprecated
/home/ubuntu/autobuild/b23433/samba/source4/scripting/bin/samba_spnupdate: WARNING: The "lsa over netlogon" option is deprecated
/home/ubuntu/autobuild/b23433/samba/source4/scripting/bin/samba_dnsupdate: WARNING: The "lsa over netlogon" option is deprecated
/home/ubuntu/autobuild/b23433/samba/source4/scripting/bin/samba_kcc: WARNING: The "lsa over netlogon" option is deprecated
tdbsam_open: Converting version 0.0 database to version 4.0.
tdbsam_convert_backup: updated /home/ubuntu/autobuild/b23433/samba/bin/ab/ad_member/private/passdb.tdb file.
Tkey handshake completed
update count is 3
Freed frame ../source3/utils/net.c:917, expected ../source3/libsmb/namequery.c:2871.
PANIC (pid 30133): Frame not freed in order.
BACKTRACE: 10 stack frames:
 #0 bin/shared/libsmbconf.so.0(log_stack_trace+0x1f) [0x2b386416106e]
 #1 bin/shared/libsmbconf.so.0(smb_panic_s3+0x6f) [0x2b3864160eb9]
 #2 bin/shared/libsamba-util.so.0(smb_panic+0x28) [0x2b3863f60df8]
 #3 bin/shared/libsamba-util.so.0(+0x25fe3) [0x2b3863f63fe3]
 #4 bin/shared/private/libtalloc.so.2(+0x36a6) [0x2b38641bd6a6]
 #5 bin/shared/private/libtalloc.so.2(+0x3a2c) [0x2b38641bda2c]
 #6 bin/shared/private/libtalloc.so.2(_talloc_free+0x102) [0x2b38641bece7]
 #7 ./bin/net(main+0xf24) [0x2b38637dc214]
 #8 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x2b38658a7f45]
 #9 ./bin/net(+0x246b9) [0x2b38637c26b9]
expand_env_var: Environment variable [MAKE_TEST_BINARY] not set
smb_panic(): calling panic action [cd /home/ubuntu/autobuild/b23433/samba && /home/ubuntu/autobuild/b23433/samba/selftest/gdb_backtrace 30133 %$(MAKE_TEST_BINARY)]
sh: 1: MAKE_TEST_BINARY: not found
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00002b386594a95c in __libc_waitpid (pid=30220, stat_loc=stat_loc at entry=0x7fffb5de7940, options=options at entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:31
31	../sysdeps/unix/sysv/linux/waitpid.c: No such file or directory.
#0  0x00002b386594a95c in __libc_waitpid (pid=30220, stat_loc=stat_loc at entry=0x7fffb5de7940, options=options at entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:31
        resultvar = 18446744073709551104
        oldtype = 1707386592
#1  0x00002b38658cc232 in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:148
        __result = <optimized out>
        _buffer = {__routine = 0x2b38658cc4d0 <cancel_handler>, __arg = 0x7fffb5de7910, __canceltype = 0, __prev = 0x0}
        _avail = 1
        status = -1243711120
        save = <optimized out>
        pid = 30220
        sa = {__sigaction_handler = {sa_handler = 0x1, sa_sigaction = 0x1}, sa_mask = {__val = {65536, 0 <repeats 15 times>}}, sa_flags = 0, sa_restorer = 0x2b386bfa4870}
        omask = {__val = {0, 140736244647504, 47521221628744, 47521221595136, 140736244644296, 47521197545832, 704405993920, 0, 140736244644496, 47521211761053, 47521187243664, 47521197545832, 72057594037927936, 206158430224, 140736244644512, 47521192542336}}
#2  0x00002b3864160f74 in smb_panic_s3 (why=0x2b3863fb471d "Frame not freed in order.") at ../source3/lib/util.c:817
        cmd = 0x2b386bfa4870 "cd /home/ubuntu/autobuild/b23433/samba && /home/ubuntu/autobuild/b23433/samba/selftest/gdb_backtrace 30133 %$(MAKE_TEST_BINARY)"
        result = 32767
        __FUNCTION__ = "smb_panic_s3"
#3  0x00002b3863f60df8 in smb_panic (why=0x2b3863fb471d "Frame not freed in order.") at ../lib/util/fault.c:166
No locals.
#4  0x00002b3863f63fe3 in talloc_pop (frame=0x2b386bf8b140) at ../lib/util/talloc_stack.c:106
        ts = 0x2b386bf8b040
        i = 32767
        __FUNCTION__ = "talloc_pop"
#5  0x00002b38641bd6a6 in _tc_free_internal (tc=0x2b386bf8b0e0, location=0x2b3863851e14 "../source3/utils/net.c:1134") at ../lib/talloc/talloc.c:1078
        d = 0x2b3863f63eda <talloc_pop>
        ptr_to_free = 0x16419ef00
        ptr = 0x2b386bf8b140
#6  0x00002b38641bda2c in _talloc_free_internal (ptr=0x2b386bf8b140, location=0x2b3863851e14 "../source3/utils/net.c:1134") at ../lib/talloc/talloc.c:1174
        tc = 0x2b386bf8b0e0
#7  0x00002b38641bece7 in _talloc_free (ptr=0x2b386bf8b140, location=0x2b3863851e14 "../source3/utils/net.c:1134") at ../lib/talloc/talloc.c:1716
        tc = 0x2b386bf8b0e0
#8  0x00002b38637dc214 in main (argc=5, argv=0x7fffb5de8658) at ../source3/utils/net.c:1134
        opt = -1
        i = 2
        p = 0x2b386bf8e68d ""
        rc = 0
        argc_new = 2
        argv_new = 0x2b386bf8dd40
        argv_const = 0x7fffb5de8658
        pc = 0x2b386bf8e000
        frame = 0x2b386bf8b140
        c = 0x2b386bf8b2e0
        status = {v = 0}
        long_options = {{longName = 0x2b3863851a97 "help", shortName = 104 'h', argInfo = 0, arg = 0x0, val = 104, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851b2a "workgroup", shortName = 119 'w', argInfo = 1, arg = 0x2b386bf8b350, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b38638509a5 "user", shortName = 85 'U', argInfo = 1, arg = 0x2b386bf8b2f8, val = 85, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851b34 "ipaddress", shortName = 73 'I', argInfo = 1, arg = 0x0, val = 73, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851b3e "port", shortName = 112 'p', argInfo = 2, arg = 0x2b386bf8b320, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851b43 "myname", shortName = 110 'n', argInfo = 1, arg = 0x2b386bf8b2e0, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863850847 "server", shortName = 83 'S', argInfo = 1, arg = 0x2b386bf8b2e8, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851b4a "encrypt", shortName = 101 'e', argInfo = 0, arg = 0x0, val = 101, descrip = 0x2b3863851b52 "Encrypt SMB transport", argDescrip = 0x0}, {longName = 0x2b3863851b68 "container", shortName = 99 'c', argInfo = 1, arg = 0x2b386bf8b338, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851b72 "comment", shortName = 67 'C', argInfo = 1, arg = 0x2b386bf8b330, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851b7a "maxusers", shortName = 77 'M', argInfo = 2, arg = 0x2b386bf8b328, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851b83 "flags", shortName = 70 'F', argInfo = 2, arg = 0x2b386bf8b340, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851b89 "long", shortName = 108 'l', argInfo = 0, arg = 0x2b386bf8b310, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851b8e "reboot", shortName = 114 'r', argInfo = 0, arg = 0x2b386bf8b314, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851b95 "force", shortName = 102 'f', argInfo = 0, arg = 0x2b386bf8b318, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851b9b "stdin", shortName = 105 'i', argInfo = 0, arg = 0x2b386bf8b31c, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851ba1 "timeout", shortName = 116 't', argInfo = 2, arg = 0x2b386bf8b344, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851ba9 "request-timeout", shortName = 0 '\000', argInfo = 2, arg = 0x2b386bf8b348, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851bb9 "machine-pass", shortName = 80 'P', argInfo = 0, arg = 0x2b386bf8b358, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851bc6 "kerberos", shortName = 107 'k', argInfo = 0, arg = 0x2b386bf8b394, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851bcf "myworkgroup", shortName = 87 'W', argInfo = 1, arg = 0x2b386bf8b308, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851bdb "use-ccache", shortName = 0 '\000', argInfo = 0, arg = 0x2b386bf8b39c, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851be6 "verbose", shortName = 118 'v', argInfo = 0, arg = 0x2b386bf8b324, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851bee "test", shortName = 84 'T', argInfo = 0, arg = 0x2b386bf8b390, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851bf3 "local", shortName = 76 'L', argInfo = 0, arg = 0x2b386bf8b35c, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b38638508b5 "domain", shortName = 68 'D', argInfo = 0, arg = 0x2b386bf8b360, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851bf9 "ntname", shortName = 78 'N', argInfo = 1, arg = 0x2b386bf8b368, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851c00 "rid", shortName = 82 'R', argInfo = 2, arg = 0x2b386bf8b370, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851c04 "acls", shortName = 0 '\000', argInfo = 0, arg = 0x2b386bf8b374, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851c09 "attrs", shortName = 0 '\000', argInfo = 0, arg = 0x2b386bf8b378, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851c0f "timestamps", shortName = 0 '\000', argInfo = 0, arg = 0x2b386bf8b37c, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851c1a "exclude", shortName = 88 'X', argInfo = 1, arg = 0x2b386bf8b380, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851c22 "destination", shortName = 0 '\000', argInfo = 1, arg = 0x2b386bf8b388, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851c2e "tallocreport", shortName = 0 '\000', argInfo = 0, arg = 0x2b386bf8b364, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851c3b "force-full-repl", shortName = 0 '\000', argInfo = 0, arg = 0x2b386bf8b398, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851c4b "single-obj-repl", shortName = 0 '\000', argInfo = 0, arg = 0x2b386bf8b3a0, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851c5b "clean-old-entries", shortName = 0 '\000', argInfo = 0, arg = 0x2b386bf8b3a4, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851c6d "db", shortName = 0 '\000', argInfo = 1, arg = 0x2b386bf8b3a8, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851c70 "lock", shortName = 0 '\000', argInfo = 0, arg = 0x2b386bf8b3b0, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851c75 "auto", shortName = 97 'a', argInfo = 0, arg = 0x2b386bf8b3b4, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851c7a "repair", shortName = 0 '\000', argInfo = 0, arg = 0x2b386bf8b3b8, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851c81 "reg-version", shortName = 0 '\000', argInfo = 2, arg = 0x2b386bf8b3bc, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851c8d "output", shortName = 111 'o', argInfo = 1, arg = 0x2b386bf8b3c0, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851c94 "wipe", shortName = 0 '\000', argInfo = 0, arg = 0x2b386bf8b3c8, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851c99 "precheck", shortName = 0 '\000', argInfo = 1, arg = 0x2b386bf8b3d0, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851ca2 "no-dns-updates", shortName = 0 '\000', argInfo = 0, arg = 0x2b386bf8b3d8, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x2b3863aa3140 <popt_common_samba>, val = 0, descrip = 0x2b3863851cb1 "Common samba options:", argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\000', argInfo = 0, arg = 0x0, val = 0, descrip = 0x0, argDescrip = 0x0}}
        __func__ = "main"
        __FUNCTION__ = "main"

Thread 1 (Thread 0x2b386bf893c0 (LWP 30133)):
#0  0x00002b386594a95c in __libc_waitpid (pid=30220, stat_loc=stat_loc at entry=0x7fffb5de7940, options=options at entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:31
        resultvar = 18446744073709551104
        oldtype = 1707386592
#1  0x00002b38658cc232 in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:148
        __result = <optimized out>
        _buffer = {__routine = 0x2b38658cc4d0 <cancel_handler>, __arg = 0x7fffb5de7910, __canceltype = 0, __prev = 0x0}
        _avail = 1
        status = -1243711120
        save = <optimized out>
        pid = 30220
        sa = {__sigaction_handler = {sa_handler = 0x1, sa_sigaction = 0x1}, sa_mask = {__val = {65536, 0 <repeats 15 times>}}, sa_flags = 0, sa_restorer = 0x2b386bfa4870}
        omask = {__val = {0, 140736244647504, 47521221628744, 47521221595136, 140736244644296, 47521197545832, 704405993920, 0, 140736244644496, 47521211761053, 47521187243664, 47521197545832, 72057594037927936, 206158430224, 140736244644512, 47521192542336}}
#2  0x00002b3864160f74 in smb_panic_s3 (why=0x2b3863fb471d "Frame not freed in order.") at ../source3/lib/util.c:817
        cmd = 0x2b386bfa4870 "cd /home/ubuntu/autobuild/b23433/samba && /home/ubuntu/autobuild/b23433/samba/selftest/gdb_backtrace 30133 %$(MAKE_TEST_BINARY)"
        result = 32767
        __FUNCTION__ = "smb_panic_s3"
#3  0x00002b3863f60df8 in smb_panic (why=0x2b3863fb471d "Frame not freed in order.") at ../lib/util/fault.c:166
No locals.
#4  0x00002b3863f63fe3 in talloc_pop (frame=0x2b386bf8b140) at ../lib/util/talloc_stack.c:106
        ts = 0x2b386bf8b040
        i = 32767
        __FUNCTION__ = "talloc_pop"
#5  0x00002b38641bd6a6 in _tc_free_internal (tc=0x2b386bf8b0e0, location=0x2b3863851e14 "../source3/utils/net.c:1134") at ../lib/talloc/talloc.c:1078
        d = 0x2b3863f63eda <talloc_pop>
        ptr_to_free = 0x16419ef00
        ptr = 0x2b386bf8b140
#6  0x00002b38641bda2c in _talloc_free_internal (ptr=0x2b386bf8b140, location=0x2b3863851e14 "../source3/utils/net.c:1134") at ../lib/talloc/talloc.c:1174
        tc = 0x2b386bf8b0e0
#7  0x00002b38641bece7 in _talloc_free (ptr=0x2b386bf8b140, location=0x2b3863851e14 "../source3/utils/net.c:1134") at ../lib/talloc/talloc.c:1716
        tc = 0x2b386bf8b0e0
#8  0x00002b38637dc214 in main (argc=5, argv=0x7fffb5de8658) at ../source3/utils/net.c:1134
        opt = -1
        i = 2
        p = 0x2b386bf8e68d ""
        rc = 0
        argc_new = 2
        argv_new = 0x2b386bf8dd40
        argv_const = 0x7fffb5de8658
        pc = 0x2b386bf8e000
        frame = 0x2b386bf8b140
        c = 0x2b386bf8b2e0
        status = {v = 0}
        long_options = {{longName = 0x2b3863851a97 "help", shortName = 104 'h', argInfo = 0, arg = 0x0, val = 104, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851b2a "workgroup", shortName = 119 'w', argInfo = 1, arg = 0x2b386bf8b350, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b38638509a5 "user", shortName = 85 'U', argInfo = 1, arg = 0x2b386bf8b2f8, val = 85, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851b34 "ipaddress", shortName = 73 'I', argInfo = 1, arg = 0x0, val = 73, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851b3e "port", shortName = 112 'p', argInfo = 2, arg = 0x2b386bf8b320, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851b43 "myname", shortName = 110 'n', argInfo = 1, arg = 0x2b386bf8b2e0, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863850847 "server", shortName = 83 'S', argInfo = 1, arg = 0x2b386bf8b2e8, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851b4a "encrypt", shortName = 101 'e', argInfo = 0, arg = 0x0, val = 101, descrip = 0x2b3863851b52 "Encrypt SMB transport", argDescrip = 0x0}, {longName = 0x2b3863851b68 "container", shortName = 99 'c', argInfo = 1, arg = 0x2b386bf8b338, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851b72 "comment", shortName = 67 'C', argInfo = 1, arg = 0x2b386bf8b330, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851b7a "maxusers", shortName = 77 'M', argInfo = 2, arg = 0x2b386bf8b328, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851b83 "flags", shortName = 70 'F', argInfo = 2, arg = 0x2b386bf8b340, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851b89 "long", shortName = 108 'l', argInfo = 0, arg = 0x2b386bf8b310, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851b8e "reboot", shortName = 114 'r', argInfo = 0, arg = 0x2b386bf8b314, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851b95 "force", shortName = 102 'f', argInfo = 0, arg = 0x2b386bf8b318, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851b9b "stdin", shortName = 105 'i', argInfo = 0, arg = 0x2b386bf8b31c, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851ba1 "timeout", shortName = 116 't', argInfo = 2, arg = 0x2b386bf8b344, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851ba9 "request-timeout", shortName = 0 '\000', argInfo = 2, arg = 0x2b386bf8b348, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851bb9 "machine-pass", shortName = 80 'P', argInfo = 0, arg = 0x2b386bf8b358, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851bc6 "kerberos", shortName = 107 'k', argInfo = 0, arg = 0x2b386bf8b394, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851bcf "myworkgroup", shortName = 87 'W', argInfo = 1, arg = 0x2b386bf8b308, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851bdb "use-ccache", shortName = 0 '\000', argInfo = 0, arg = 0x2b386bf8b39c, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851be6 "verbose", shortName = 118 'v', argInfo = 0, arg = 0x2b386bf8b324, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851bee "test", shortName = 84 'T', argInfo = 0, arg = 0x2b386bf8b390, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851bf3 "local", shortName = 76 'L', argInfo = 0, arg = 0x2b386bf8b35c, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b38638508b5 "domain", shortName = 68 'D', argInfo = 0, arg = 0x2b386bf8b360, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851bf9 "ntname", shortName = 78 'N', argInfo = 1, arg = 0x2b386bf8b368, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851c00 "rid", shortName = 82 'R', argInfo = 2, arg = 0x2b386bf8b370, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851c04 "acls", shortName = 0 '\000', argInfo = 0, arg = 0x2b386bf8b374, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851c09 "attrs", shortName = 0 '\000', argInfo = 0, arg = 0x2b386bf8b378, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851c0f "timestamps", shortName = 0 '\000', argInfo = 0, arg = 0x2b386bf8b37c, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851c1a "exclude", shortName = 88 'X', argInfo = 1, arg = 0x2b386bf8b380, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851c22 "destination", shortName = 0 '\000', argInfo = 1, arg = 0x2b386bf8b388, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851c2e "tallocreport", shortName = 0 '\000', argInfo = 0, arg = 0x2b386bf8b364, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851c3b "force-full-repl", shortName = 0 '\000', argInfo = 0, arg = 0x2b386bf8b398, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851c4b "single-obj-repl", shortName = 0 '\000', argInfo = 0, arg = 0x2b386bf8b3a0, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851c5b "clean-old-entries", shortName = 0 '\000', argInfo = 0, arg = 0x2b386bf8b3a4, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851c6d "db", shortName = 0 '\000', argInfo = 1, arg = 0x2b386bf8b3a8, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851c70 "lock", shortName = 0 '\000', argInfo = 0, arg = 0x2b386bf8b3b0, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851c75 "auto", shortName = 97 'a', argInfo = 0, arg = 0x2b386bf8b3b4, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851c7a "repair", shortName = 0 '\000', argInfo = 0, arg = 0x2b386bf8b3b8, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851c81 "reg-version", shortName = 0 '\000', argInfo = 2, arg = 0x2b386bf8b3bc, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851c8d "output", shortName = 111 'o', argInfo = 1, arg = 0x2b386bf8b3c0, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851c94 "wipe", shortName = 0 '\000', argInfo = 0, arg = 0x2b386bf8b3c8, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851c99 "precheck", shortName = 0 '\000', argInfo = 1, arg = 0x2b386bf8b3d0, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x2b3863851ca2 "no-dns-updates", shortName = 0 '\000', argInfo = 0, arg = 0x2b386bf8b3d8, val = 0, descrip = 0x0, argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x2b3863aa3140 <popt_common_samba>, val = 0, descrip = 0x2b3863851cb1 "Common samba options:", argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\000', argInfo = 0, arg = 0x0, val = 0, descrip = 0x0, argDescrip = 0x0}}
        __func__ = "main"
        __FUNCTION__ = "main"
resultvar = 18446744073709551104
oldtype = 1707386592
A debugging session is active.

	Inferior 1 [process 30133] will be detached.

Quit anyway? (y or n) [answered Y; input not from terminal]
smb_panic(): action returned status 0
Can not dump core: corepath not set up
Join failed
SOCKET_WRAPPER_DEFAULT_IFACE="29" RESOLV_WRAPPER_HOSTS="/home/ubuntu/autobuild/b23433/samba/bin/ab/dns_host_file" KRB5_CONFIG="/home/ubuntu/autobuild/b23433/samba/bin/ab/ad_member/lib/krb5.conf" SELFTEST_WINBINDD_SOCKET_DIR="/home/ubuntu/autobuild/b23433/samba/bin/ab/ad_member/winbindd" ./bin/net join -s /home/ubuntu/autobuild/b23433/samba/bin/ab/ad_member/lib/server.conf -UAdministrator%locDCpass1 at /home/ubuntu/autobuild/b23433/samba/selftest/target/Samba3.pm line 482.
failed to start up environment 'ad_member' at /home/ubuntu/autobuild/b23433/samba/selftest/target/Samba.pm line 49.
samba can't start up known environment 'ad_member' at /home/ubuntu/autobuild/b23433/samba/selftest/selftest.pl line 942.
/home/ubuntu/autobuild/b23433/samba/selftest/selftest.pl: PID[1923]: Got SIGPIPE teardown environments.
teardown_env(ad_dc_ntvfs)
server_stdin_handler: samba: EOF on stdin - PID 32064 terminating
samba child process 32064 exited with value 0
SAMBA LOG of: LOCALDC pid 32064
Doing a full scan on DC=ForestDnsZones,DC=samba,DC=example,DC=com and looking for deleted objects
Doing a full scan on DC=DomainDnsZones,DC=samba,DC=example,DC=com and looking for deleted objects
Doing a full scan on CN=Configuration,DC=samba,DC=example,DC=com and looking for deleted objects
Doing a full scan on DC=samba,DC=example,DC=com and looking for deleted objects
/home/ubuntu/autobuild/b23433/samba/source4/scripting/bin/samba_kcc: WARNING: The "lsa over netlogon" option is deprecated
/home/ubuntu/autobuild/b23433/samba/source4/scripting/bin/samba_kcc: WARNING: The "lsa over netlogon" option is deprecated
/home/ubuntu/autobuild/b23433/samba/source4/scripting/bin/samba_spnupdate: WARNING: The "lsa over netlogon" option is deprecated
/home/ubuntu/autobuild/b23433/samba/source4/scripting/bin/samba_dnsupdate: WARNING: The "lsa over netlogon" option is deprecated
/home/ubuntu/autobuild/b23433/samba/source4/scripting/bin/samba_kcc: WARNING: The "lsa over netlogon" option is deprecated
/home/ubuntu/autobuild/b23433/samba/source4/scripting/bin/samba_kcc: WARNING: The "lsa over netlogon" option is deprecated
/home/ubuntu/autobuild/b23433/samba/source4/scripting/bin/samba_spnupdate: WARNING: The "lsa over netlogon" option is deprecated
/home/ubuntu/autobuild/b23433/samba/source4/scripting/bin/samba_dnsupdate: WARNING: The "lsa over netlogon" option is deprecated
/home/ubuntu/autobuild/b23433/samba/source4/scripting/bin/samba_kcc: WARNING: The "lsa over netlogon" option is deprecated
/home/ubuntu/autobuild/b23433/samba/source4/scripting/bin/samba_kcc: WARNING: The "lsa over netlogon" option is deprecated
/home/ubuntu/autobuild/b23433/samba/source4/scripting/bin/samba_spnupdate: WARNING: The "lsa over netlogon" option is deprecated
/home/ubuntu/autobuild/b23433/samba/source4/scripting/bin/samba_dnsupdate: WARNING: The "lsa over netlogon" option is deprecated
/home/ubuntu/autobuild/b23433/samba/source4/scripting/bin/samba_kcc: WARNING: The "lsa over netlogon" option is deprecated
Tkey handshake completed
update count is 3
server_stdin_handler: samba: EOF on stdin - PID 32064 terminating
perl(1923)---pstree(30319)
/home/ubuntu/autobuild/b23433/samba/selftest/selftest.pl: PID[1923]: Exiting...
make: *** [test] Error 1


More information about the samba-technical mailing list